Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountInfoControllerConfig ¶ added in v0.12.1
type AccountInfoControllerConfig struct {
Enabled bool `mapstructure:"controllers-account-info-enabled" default:"true"`
}
type AccountInfoSubroutineConfig ¶ added in v0.12.1
type AccountInfoSubroutineConfig struct {
Enabled bool `mapstructure:"subroutines-account-info-enabled" default:"true"`
}
type ControllersConfig ¶ added in v0.12.1
type ControllersConfig struct {
AccountInfo AccountInfoControllerConfig `mapstructure:",squash"`
}
type OperatorConfig ¶
type OperatorConfig struct {
Webhooks WebhooksConfig `mapstructure:",squash"`
Subroutines SubroutinesConfig `mapstructure:",squash"`
Controllers ControllersConfig `mapstructure:",squash"`
Kcp KcpConfig `mapstructure:",squash"`
}
func NewOperatorConfig ¶ added in v0.12.1
func NewOperatorConfig() OperatorConfig
func (*OperatorConfig) AddFlags ¶ added in v0.12.1
func (c *OperatorConfig) AddFlags(fs *pflag.FlagSet)
type SubroutinesConfig ¶ added in v0.12.1
type SubroutinesConfig struct {
WorkspaceType WorkspaceTypeSubroutineConfig `mapstructure:",squash"`
Workspace WorkspaceSubroutineConfig `mapstructure:",squash"`
WorkspaceReady WorkspaceReadySubroutineConfig `mapstructure:",squash"`
AccountInfo AccountInfoSubroutineConfig `mapstructure:",squash"`
}
type WebhooksConfig ¶ added in v0.12.1
type WebhooksConfig 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"`
}
type WorkspaceReadySubroutineConfig ¶ added in v0.12.1
type WorkspaceReadySubroutineConfig struct {
Enabled bool `mapstructure:"subroutines-workspace-ready-enabled" default:"true"`
}
type WorkspaceSubroutineConfig ¶ added in v0.12.1
type WorkspaceSubroutineConfig struct {
Enabled bool `mapstructure:"subroutines-workspace-enabled" default:"true"`
}
type WorkspaceTypeSubroutineConfig ¶ added in v0.12.1
type WorkspaceTypeSubroutineConfig struct {
Enabled bool `mapstructure:"subroutines-workspace-type-enabled" default:"true"`
}
Click to show internal directories.
Click to hide internal directories.