config

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

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 KcpConfig added in v0.12.1

type KcpConfig struct {
	ApiExportEndpointSliceName string `mapstructure:"kcp-api-export-endpoint-slice-name" default:"core.platform-mesh.io"`
	ProviderWorkspace          string `mapstructure:"kcp-provider-workspace" default:"root"`
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL