Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds sleep mode feature #17

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkg/licenseapi/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const (
VirtualClusterProDistroIntegrationsKubeVirt FeatureName = "vcp-distro-integrations-kube-virt"
VirtualClusterProDistroExternalDatabase FeatureName = "vcp-distro-external-database"
VirtualClusterProDistroDatabaseConnector FeatureName = "connector-external-database"
VirtualClusterProDistroSleepMode FeatureName = "vcp-distro-sleep-mode"

// Spaces & Clusters
ConnectedClusters FeatureName = "connected-clusters"
Expand Down Expand Up @@ -89,5 +90,6 @@ func GetVClusterFeatures() []FeatureName {
VirtualClusterProDistroIntegrationsExternalSecrets,
VirtualClusterProDistroExternalDatabase,
VirtualClusterProDistroDatabaseConnector,
VirtualClusterSleepMode,
}
}
9 changes: 9 additions & 0 deletions pkg/licenseapi/license_new.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ func New(product ProductName) *License {
Name: string(VirtualClusterProDistroDatabaseConnector),
Status: virtualClusterStatus,
},
{
DisplayName: "SleepMode",
Name: string(VirtualClusterProDistroSleepMode),
Status: virtualClusterStatus,
},
},
},
{
Expand Down Expand Up @@ -327,6 +332,10 @@ func New(product ProductName) *License {
},
},
},
{
DisplayName: "vCluster Sleep Mode",
Name: string(VirtualClusterSleepMode),
},
},
}
}
Loading