mutate

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 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 Mutate

type Mutate interface {
	Mutate(ctx context.Context, pod *corev1.Pod) (out *corev1.Pod, err error)
}

type SidecarMutate

type SidecarMutate struct {
	Client *k8sclient.K8sClient

	PVC *corev1.PersistentVolumeClaim
	PV  *corev1.PersistentVolume
	// contains filtered or unexported fields
}

func (*SidecarMutate) GetSettings

func (s *SidecarMutate) GetSettings(pv corev1.PersistentVolume) (secrets, volCtx map[string]string, options []string, err error)

func (*SidecarMutate) Mutate

func (s *SidecarMutate) Mutate(ctx context.Context, pod *corev1.Pod) (out *corev1.Pod, err error)

Jump to

Keyboard shortcuts

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