Documentation ¶
Index ¶
- Constants
- func BuildContainer(container *corev1.Container, buildFn func(*corev1.Container)) corev1.Container
- func BuildVolume(volume *corev1.Volume, buildFn func(*corev1.Volume)) corev1.Volume
- func ComputeHash(s string) string
- func EnsureOwnerRef(resource client.Object, ownerRef *metav1.OwnerReference)
- func EnsurePullSecret(serviceAccount *corev1.ServiceAccount, secretName string)
- func ReconcileWorkerManifest(cm *corev1.ConfigMap, resource client.Object) error
- type ContainerVolumeMounts
- type PodVolumeMounts
Constants ¶
View Source
const (
UserDataKey = "data"
)
Variables ¶
This section is empty.
Functions ¶
func BuildContainer ¶
func BuildVolume ¶
func ComputeHash ¶
func EnsureOwnerRef ¶
func EnsureOwnerRef(resource client.Object, ownerRef *metav1.OwnerReference)
func EnsurePullSecret ¶
func EnsurePullSecret(serviceAccount *corev1.ServiceAccount, secretName string)
Types ¶
type ContainerVolumeMounts ¶
type PodVolumeMounts ¶
type PodVolumeMounts map[string]ContainerVolumeMounts
func (PodVolumeMounts) ContainerMounts ¶
func (m PodVolumeMounts) ContainerMounts(container string) []corev1.VolumeMount
func (PodVolumeMounts) Path ¶
func (m PodVolumeMounts) Path(container, volume string) string
Click to show internal directories.
Click to hide internal directories.