na

package
v0.0.0-...-f113805 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 10 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

	// WorkloadOpts configures how to create handler for each workload api.
	WorkloadOpts handler.Options

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

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