mutate

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pods

Pods mutate pods.

Types

type ResGroup

type ResGroup interface {
	IsBelongResGroup(pod *v1.Pod, resGroupConfig wkconfig.ResGroupConfig) bool
}

ResGroup interface for resource group

func GetResGroup

func GetResGroup(resourceGroup wkconfig.ResGroupConfig) ResGroup

GetResGroup return the interface besed on resourceGroup.Object.Key

func NewAnnotationResGroup

func NewAnnotationResGroup() ResGroup

NewAnnotationResGroup create a new structure

func NewNamespaceResGroup

func NewNamespaceResGroup() ResGroup

NewNamespaceResGroup create a new structure

Jump to

Keyboard shortcuts

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