Back to godoc.org
istio.io/istio/security/pkg/nodeagent/vm

package vm

v0.0.0 (dc107a1)
Latest Go to latest
Published: 2 days ago | License: Apache-2.0 | Module: istio.io/istio

Index

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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier