Documentation ¶
Index ¶
- func ApplyCRD(ctx context.Context, cfg *rest.Config) error
- func ApplyRBAC(ctx context.Context, cfg *rest.Config) error
- func DeleteCRD(ctx context.Context, cfg *rest.Config) error
- func DeleteRBAC(ctx context.Context, cfg *rest.Config) error
- func EncryptString(str, keyID, region string) ([]byte, error)
- func FindContainer(pod *corev1.Pod, containerName string) *corev1.Container
- func FindMount(mounts []corev1.VolumeMount, volumeName string) *corev1.VolumeMount
- func FindVolume(volumes []corev1.Volume, volumeName string) *corev1.Volume
- func WaitPodRunning(podList *corev1.PodList) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyCRD ¶
ApplyCRD applies custom resource definitions for kms-secrets which is located in config/crd.
func ApplyRBAC ¶
ApplyRBAC applies role based access control for operator which is located in config/rbac.
func DeleteRBAC ¶
DeleteRBAC deletes role based access control for operator.
func EncryptString ¶
EncryptString encrypts a string using provided KMSKeyID.
func FindContainer ¶
FindContainer finds a container in the pod.
func FindMount ¶
func FindMount(mounts []corev1.VolumeMount, volumeName string) *corev1.VolumeMount
FindMount finds a volume in the volumeMounts.
func FindVolume ¶
FindVolume finds a volume in the volumes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.