util

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyCRD

func ApplyCRD(ctx context.Context, cfg *rest.Config) error

ApplyCRD applies custom resource definitions for sidecar-injector which is located in cmd/config/crd.

func ApplyRBAC

func ApplyRBAC(ctx context.Context, cfg *rest.Config) error

ApplyRBAC applies role based access control for operator which is located in cmd/config/rbac.

func DeleteCRD

func DeleteCRD(ctx context.Context, cfg *rest.Config) error

DeleteCRD deletes custom resource definitions for sidecar-injector.

func DeleteRBAC

func DeleteRBAC(ctx context.Context, cfg *rest.Config) error

DeleteRBAC deletes role based access control for operator.

func FindContainer

func FindContainer(pod *corev1.Pod, containerName string) *corev1.Container

func FindMount

func FindMount(mounts []corev1.VolumeMount, volumeName string) *corev1.VolumeMount

func FindVolume

func FindVolume(volumes []corev1.Volume, volumeName string) *corev1.Volume

func WaitPodRunning

func WaitPodRunning(podList *corev1.PodList) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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