bootstrap

package
v0.0.0-...-83c1a15 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 8 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 {
	config.BaseConfig

	// Address of Envoy Admin
	AdminAddress string `json:"adminAddress" envconfig:"dubbo_bootstrap_server_params_admin_address"`
	// Port of Envoy Admin
	AdminPort uint32 `json:"adminPort" envconfig:"dubbo_bootstrap_server_params_admin_port"`
	// Path to access log file of Envoy Admin
	AdminAccessLogPath string `json:"adminAccessLogPath" envconfig:"dubbo_bootstrap_server_params_admin_access_log_path"`
	// Host of XDS Server. By default it is the same host as the one used by dubbo-dp to connect to the control plane
	XdsHost string `json:"xdsHost" envconfig:"dubbo_bootstrap_server_params_xds_host"`
	// Port of XDS Server. By default it is autoconfigured from DUBBo_XDS_SERVER_GRPC_PORT
	XdsPort uint32 `json:"xdsPort" envconfig:"dubbo_bootstrap_server_params_xds_port"`
	// Connection timeout to the XDS Server
	XdsConnectTimeout config_types.Duration `json:"xdsConnectTimeout" envconfig:"dubbo_bootstrap_server_params_xds_connect_timeout"`
	// Path to the template of Corefile for data planes to use
	CorefileTemplatePath string `json:"corefileTemplatePath" envconfig:"dubbo_bootstrap_server_params_corefile_template_path"`
}

func DefaultBootstrapParamsConfig

func DefaultBootstrapParamsConfig() *BootstrapParamsConfig

func (*BootstrapParamsConfig) Validate

func (b *BootstrapParamsConfig) Validate() error

type BootstrapServerConfig

type BootstrapServerConfig struct {
	// Parameters of bootstrap configuration
	Params *BootstrapParamsConfig `json:"params"`
}

func DefaultBootstrapServerConfig

func DefaultBootstrapServerConfig() *BootstrapServerConfig

func (*BootstrapServerConfig) PostProcess

func (b *BootstrapServerConfig) PostProcess() error

func (*BootstrapServerConfig) Sanitize

func (b *BootstrapServerConfig) Sanitize()

func (*BootstrapServerConfig) Validate

func (b *BootstrapServerConfig) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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