agent

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToManager

func AddToManager(cnf Config) error

Types

type Config

type Config struct {
	Allocator allocator.Interface
	Store     storepkg.Interface
	Manager   manager.Manager

	Namespace       string
	ImagePullPolicy string
	AgentLogLevel   int
	AgentImage      string
	StrongswanImage string
	UseXfrm         bool
	MasqOutgoing    bool

	GetConnectorEndpoint types.EndpointGetter
	NewEndpoint          types.NewEndpointFunc
	GetEndpointName      types.GetNameFunc

	CertManager      certutil.Manager
	CertOrganization string

	EnableProxy bool

	EnableEdgeIPAM        bool
	EnableEdgeHairpinMode bool
}

type Handler

type Handler interface {
	Do(ctx context.Context, node corev1.Node) error
	Undo(ctx context.Context, nodeName string) error
}

type ObjectKey

type ObjectKey = client.ObjectKey

Jump to

Keyboard shortcuts

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