agent

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 37 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 {
	ClusterName string
	Allocators  []allocator.Interface
	Store       storepkg.Interface
	Manager     manager.Manager

	Namespace         string
	AgentImage        string
	StrongswanImage   string
	ImagePullPolicy   string
	AgentPodArguments types.AgentArgumentMap

	GetConnectorEndpoint types.EndpointGetter
	NewEndpoint          types.NewEndpointFunc
	GetEndpointName      types.GetNameFunc
	CommunityChan        <-chan event.GenericEvent

	CertManager      certutil.Manager
	CertOrganization string
}

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