commonservice

package
v4.9.0-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Defaulter

type Defaulter struct {
	Reader    client.Reader
	Client    client.Client
	IsDormant bool
	// contains filtered or unexported fields
}

CommonServiceDefaulter points to correct ServicesNamespace

func (*Defaulter) CheckConfig

func (r *Defaulter) CheckConfig(config, parameter string) bool

func (*Defaulter) CheckNamespace

func (r *Defaulter) CheckNamespace(name string) (bool, error)

func (*Defaulter) Handle

podAnnotator adds an annotation to every incoming pods.

func (*Defaulter) HugePageSettingDenied

func (r *Defaulter) HugePageSettingDenied(cs *unstructured.Unstructured) (bool, error)

func (*Defaulter) InjectDecoder

func (r *Defaulter) InjectDecoder(decoder *admission.Decoder) error

func (*Defaulter) SetupWebhookWithManager

func (r *Defaulter) SetupWebhookWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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