vm

package
v0.0.0-...-4638b96 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Config for CA Client
	CAClientConfig caclient.Config

	// LoggingOptions is the options for Istio logging.
	LoggingOptions *log.Options

	// SecretDirectory is the directory to to save keys/certs when using file mode SecretServer.
	SecretDirectory string

	// DualUse defines whether the generated CSRs are for dual-use mode (SAN+CN).
	DualUse bool
}

Config is Node agent configuration.

func NewConfig

func NewConfig() *Config

NewConfig creates a new Config instance with default values.

type NodeAgent

type NodeAgent interface {
	Start() error
}

NodeAgent interface that should be implemented by various platform specific node agents.

func NewNodeAgent

func NewNodeAgent(cfg *Config) (NodeAgent, error)

NewNodeAgent is constructor for Node agent based on the provided Environment variable.

Jump to

Keyboard shortcuts

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