bootstrap

package
v0.0.0-...-7b34d14 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapParamsConfig

type BootstrapParamsConfig struct {
	// Address of Envoy Admin
	AdminAddress string `yaml:"adminAddress" envconfig:"kuma_bootstrap_server_params_admin_address"`
	// Port of Envoy Admin
	AdminPort uint32 `yaml:"adminPort" envconfig:"kuma_bootstrap_server_params_admin_port"`
	// Path to access log file of Envoy Admin
	AdminAccessLogPath string `yaml:"adminAccessLogPath" envconfig:"kuma_bootstrap_server_params_admin_access_log_path"`
	// Host of XDS Server. By default it is autoconfigured from KUMA_GENERAL_ADVERTISED_HOSTNAME
	XdsHost string `yaml:"xdsHost" envconfig:"kuma_bootstrap_server_params_xds_host"`
	// Port of XDS Server. By default it is autoconfigured from KUMA_XDS_SERVER_GRPC_PORT
	XdsPort uint32 `yaml:"xdsPort" envconfig:"kuma_bootstrap_server_params_xds_port"`
	// Connection timeout to the XDS Server
	XdsConnectTimeout time.Duration `yaml:"xdsConnectTimeout" envconfig:"kuma_bootstrap_server_params_xds_connect_timeout"`
}

func DefaultBootstrapParamsConfig

func DefaultBootstrapParamsConfig() *BootstrapParamsConfig

func (*BootstrapParamsConfig) Sanitize

func (b *BootstrapParamsConfig) Sanitize()

func (*BootstrapParamsConfig) Validate

func (b *BootstrapParamsConfig) Validate() error

type BootstrapServerConfig

type BootstrapServerConfig struct {
	// Port of Server that provides bootstrap configuration for dataplanes
	Port uint32 `yaml:"port" envconfig:"kuma_bootstrap_server_port"`
	// Parameters of bootstrap configuration
	Params *BootstrapParamsConfig `yaml:"params"`
}

func DefaultBootstrapServerConfig

func DefaultBootstrapServerConfig() *BootstrapServerConfig

func (*BootstrapServerConfig) Sanitize

func (b *BootstrapServerConfig) Sanitize()

func (*BootstrapServerConfig) Validate

func (b *BootstrapServerConfig) Validate() error

Jump to

Keyboard shortcuts

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