bootstrap

package
v0.0.0-...-e09c833 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GRPC_MAX_PINGS_WITHOUT_DATA = 0
	GRPC_KEEPALIVE_TIME_MS      = 10000
	GRPC_KEEPALIVE_TIMEOUT_MS   = 20000
)

Variables

This section is empty.

Functions

func CreateBootstrapYamlFile

func CreateBootstrapYamlFile(agentConfig config.AgentConfig) error

func CreateRelayBootstrapYamlFile

func CreateRelayBootstrapYamlFile(agentConfig config.AgentConfig) error

func GetBootstrapYaml

func GetBootstrapYaml(agentConfig config.AgentConfig) (string, error)

func GetRelayBootstrapYaml

func GetRelayBootstrapYaml(agentConfig config.AgentConfig, fileUtil FileUtil, envoyCLIInst EnvoyCLI) ([]byte, error)

Types

type EnvoyCLI

type EnvoyCLI interface {
	// contains filtered or unexported methods
}

type FileUtil

type FileUtil interface {
	Read(path string) ([]byte, error)
	Write(path string, data []byte, perm fs.FileMode) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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