universal

package
v2.13.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spire added in v2.13.0

type Spire struct {
	// SocketPath is the location of the socket file one the host
	SocketPath string `json:"socketPath" envconfig:"kuma_runtime_universal_spire_socket_path"`
}

type UniversalRuntimeConfig

type UniversalRuntimeConfig struct {
	config.BaseConfig

	// DataplaneCleanupAge defines how long Dataplane should be offline to be cleaned up by GC
	DataplaneCleanupAge config_types.Duration `json:"dataplaneCleanupAge" envconfig:"kuma_runtime_universal_dataplane_cleanup_age"`
	// ZoneResourceCleanupAge defines how long ZoneIngress and ZoneEgress should be offline to be cleaned up by GC
	ZoneResourceCleanupAge config_types.Duration `json:"zoneResourceCleanupAge" envconfig:"kuma_runtime_universal_zone_resource_cleanup_age"`
	// VIPRefreshInterval defines how often all meshes' VIPs should be recomputed
	VIPRefreshInterval config_types.Duration `json:"vipRefreshInterval" envconfig:"kuma_runtime_universal_vip_refresh_interval"`
	// Spire defines default configuration of the spire properties
	Spire Spire `json:"spire"`
	// Workload holds configuration for Workload generation features
	Workload WorkloadConfig `json:"workload"`
}

UniversalRuntimeConfig defines Universal-specific configuration

func DefaultUniversalRuntimeConfig

func DefaultUniversalRuntimeConfig() *UniversalRuntimeConfig

func (*UniversalRuntimeConfig) Validate

func (u *UniversalRuntimeConfig) Validate() error

type WorkloadConfig added in v2.13.0

type WorkloadConfig struct {
	// GenerationInterval is how often we check whether Workloads need to be
	// generated from Dataplanes
	GenerationInterval config_types.Duration `json:"generationInterval" envconfig:"KUMA_RUNTIME_UNIVERSAL_WORKLOAD_GENERATION_INTERVAL"`
}

WorkloadConfig holds configuration for Workload generation from Dataplanes.

func (WorkloadConfig) Validate added in v2.13.0

func (i WorkloadConfig) Validate() error

Jump to

Keyboard shortcuts

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