mutator

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWatcher added in v2.6.0

func NewWatcher(name string, namespaces ...string) *configWatcher

func RegenerateAgentMaps added in v2.7.4

func RegenerateAgentMaps(ctx context.Context, agentImage string) error

RegenerateAgentMaps load the telepresence-agents config map, regenerates all entries in it, and then, if any of the entries changed, it updates the map.

func ServeMutator

func ServeMutator(ctx context.Context) error

Types

type Map added in v2.6.0

type Map interface {
	GetInto(string, string, any) (bool, error)
	Run(context.Context) error
	Delete(context.Context, string, string) error
	Store(context.Context, *agentconfig.Sidecar, bool) error
	DeleteMapsAndRolloutAll(ctx context.Context)
	UninstallV25(ctx context.Context)
}

func Load added in v2.6.0

func Load(ctx context.Context) (m Map, err error)

Directories

Path Synopsis
Package mock_kubernetes is a generated GoMock package.
Package mock_kubernetes is a generated GoMock package.

Jump to

Keyboard shortcuts

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