Skip to content

Commit

Permalink
Add AceSetupInlineOptions
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Jul 10, 2024
1 parent 37a1d71 commit 739d1a0
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 0 deletions.
22 changes: 22 additions & 0 deletions apis/config/v1alpha1/setupconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,19 @@ type AceSetupInlineConfig struct {
Subscription *MarketplaceSubscriptionInfo `json:"subscription,omitempty"`
}

type AceSetupInlineOptions struct {
// +optional
Admin AcePlatformAdmin `json:"admin"`
// +optional
SelfManagement SelfManagementOptions `json:"selfManagement"`
// +optional
CloudCredential *cloudv1alpha1.Credential `json:"cloudCredential,omitempty"`
// +optional
Cluster *CAPIClusterConfig `json:"cluster,omitempty"`
// +optional
Subscription *MarketplaceSubscriptionInfo `json:"subscription,omitempty"`
}

type AcePlatformAdmin struct {
// +optional
Username string `json:"username"`
Expand All @@ -82,6 +95,15 @@ type SelfManagement struct {
DisableFeatures []string `json:"disableFeatures"`
}

type SelfManagementOptions struct {
// +optional
Import bool `json:"import"`
// +optional
EnableFeatures map[string][]string `json:"enableFeatures"`
// +optional
DisableFeatures map[string][]string `json:"disableFeatures"`
}

type CAPIClusterConfig struct {
ClusterName string `json:"clusterName,omitempty"`
Region string `json:"region,omitempty"`
Expand Down
79 changes: 79 additions & 0 deletions apis/config/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 739d1a0

Please sign in to comment.