plugins

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin interface {
	Name() string
	MatchAnnotations(map[string]string) bool
	Patch(*apiv1.Pod, v1.Operation) []utils.PatchOperation
}

type PluginManager

type PluginManager struct {
	// contains filtered or unexported fields
}

func NewPluginManager

func NewPluginManager() *PluginManager

return singleton

func (*PluginManager) HandlePatchPod

func (pm *PluginManager) HandlePatchPod(pod *apiv1.Pod, operation admissionV1.Operation) ([]byte, error)

handle patch pod operations

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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