opslifecycle

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpsLifecycle

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

func New

func New() *OpsLifecycle

func (*OpsLifecycle) Mutating

func (lc *OpsLifecycle) Mutating(ctx context.Context, c client.Client, oldPod, newPod *corev1.Pod, operation admissionv1.Operation) error

func (*OpsLifecycle) Name

func (lc *OpsLifecycle) Name() string

func (*OpsLifecycle) Validating

func (lc *OpsLifecycle) Validating(ctx context.Context, c client.Client, oldPod, newPod *corev1.Pod, operation admissionv1.Operation) (err error)

type ReadyToOperate

type ReadyToOperate func(pod *corev1.Pod) bool

type TimeLabelValue

type TimeLabelValue func() string

Jump to

Keyboard shortcuts

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