Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperatorConfig ¶
type OperatorConfig struct {
Webhooks struct {
Enabled bool `mapstructure:"webhooks-enabled" default:"false"`
CertDir string `mapstructure:"webhooks-cert-dir" default:"certs"`
Port int `mapstructure:"webhooks-port" default:"9443"`
DenyList string `mapstructure:"webhooks-deny-list"`
AdditionalAccountTypes []string `mapstructure:"webhooks-additional-account-types"`
} `mapstructure:",squash"`
Subroutines struct {
WorkspaceType struct {
Enabled bool `mapstructure:"subroutines-workspace-type-enabled" default:"true"`
} `mapstructure:",squash"`
Workspace struct {
Enabled bool `mapstructure:"subroutines-workspace-enabled" default:"true"`
} `mapstructure:",squash"`
WorkspaceReady struct {
Enabled bool `mapstructure:"subroutines-workspace-ready-enabled" default:"true"`
} `mapstructure:",squash"`
AccountInfo struct {
Enabled bool `mapstructure:"subroutines-account-info-enabled" default:"true"`
} `mapstructure:",squash"`
} `mapstructure:",squash"`
Controllers struct {
AccountInfo struct {
Enabled bool `mapstructure:"controllers-account-info-enabled" default:"true"`
} `mapstructure:",squash"`
} `mapstructure:",squash"`
Kcp struct {
ApiExportEndpointSliceName string `mapstructure:"kcp-api-export-endpoint-slice-name" default:"core.platform-mesh.io"`
ProviderWorkspace string `mapstructure:"kcp-provider-workspace" default:"root"`
} `mapstructure:",squash"`
}
OperatorConfig struct to hold the app config
Click to show internal directories.
Click to hide internal directories.