Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // General configuration General *GeneralConfig `yaml:"general,omitempty"` // Environment Type, can be either "kubernetes" or "universal" Environment core.EnvironmentType `yaml:"environment,omitempty" envconfig:"kuma_environment"` // Resource Store configuration Store *store.StoreConfig `yaml:"store,omitempty"` // Configuration of Bootstrap Server, which provides bootstrap config to Dataplanes BootstrapServer *bootstrap.BootstrapServerConfig `yaml:"bootstrapServer,omitempty"` // Envoy XDS server configuration XdsServer *xds.XdsServerConfig `yaml:"xdsServer,omitempty"` // Envoy SDS server configuration SdsServer *sds.SdsServerConfig `yaml:"sdsServer,omitempty"` // Dataplane Token server configuration (DEPRECATED: use adminServer) DataplaneTokenServer *token_server.DataplaneTokenServerConfig `yaml:"dataplaneTokenServer,omitempty"` // Monitoring Assignment Discovery Service (MADS) server configuration MonitoringAssignmentServer *mads.MonitoringAssignmentServerConfig `yaml:"monitoringAssignmentServer,omitempty"` // Admin server configuration AdminServer *admin_server.AdminServerConfig `yaml:"adminServer,omitempty"` // API Server configuration ApiServer *api_server.ApiServerConfig `yaml:"apiServer,omitempty"` // Environment-specific configuration Runtime *runtime.RuntimeConfig // Default Kuma entities configuration Defaults *Defaults `yaml:"defaults,omitempty"` // Metrics configuration Metrics *Metrics `yaml:"metrics,omitempty"` // Reports configuration Reports *Reports `yaml:"reports,omitempty"` // GUI Server Config GuiServer *gui_server.GuiServerConfig `yaml:"guiServer,omitempty"` // Kuma CP Mode Mode *mode.ModeConfig `yaml:"mode,omitempty"` // DNS Server Config DNSServer *dns_server.DNSServerConfig `yaml:"dnsServer,omitempty"` // KDS configuration KDS *kds.KdsConfig `yaml:"kds,omitempty"` }
func DefaultConfig ¶
func DefaultConfig() Config
type DataplaneMetrics ¶
type DataplaneMetrics struct { Enabled bool `yaml:"enabled" envconfig:"kuma_metrics_dataplane_enabled"` SubscriptionLimit int `yaml:"subscriptionLimit" envconfig:"kuma_metrics_dataplane_subscription_limit"` }
func (*DataplaneMetrics) Sanitize ¶
func (d *DataplaneMetrics) Sanitize()
func (*DataplaneMetrics) Validate ¶
func (d *DataplaneMetrics) Validate() error
type Defaults ¶
type Defaults struct { // Default Mesh configuration in YAML that will be applied on first usage of Kuma CP Mesh string `yaml:"mesh"` }
type GeneralConfig ¶
type GeneralConfig struct { // Hostname that other components should use in order to connect to the Control Plane. // Control Plane will use this value in configuration generated for dataplanes, in responses to `kumactl`, etc. AdvertisedHostname string `yaml:"advertisedHostname" envconfig:"kuma_general_advertised_hostname"` }
func DefaultGeneralConfig ¶
func DefaultGeneralConfig() *GeneralConfig
func (*GeneralConfig) Sanitize ¶
func (g *GeneralConfig) Sanitize()
func (*GeneralConfig) Validate ¶
func (g *GeneralConfig) Validate() error
type Metrics ¶
type Metrics struct {
Dataplane *DataplaneMetrics `yaml:"dataplane"`
}
Click to show internal directories.
Click to hide internal directories.