Documentation ¶
Index ¶
- func AddInitContainers(pod *corev1.Pod, initContainers []*corev1.Container)
- func ContainersPatch(pod *corev1.Pod, patches []*appsv1alpha1.ContainerPatch)
- func MergeEnvByOverwrite(original []corev1.EnvVar, additional []corev1.EnvVar) (res []corev1.EnvVar)
- func MergeTolerations(original []corev1.Toleration, additional []corev1.Toleration) []corev1.Toleration
- func MergeVolumeMountByOverwrite(original []corev1.VolumeMount, additional []corev1.VolumeMount) (res []corev1.VolumeMount)
- func MergeVolumes(original []corev1.Volume, additional []corev1.Volume) []corev1.Volume
- func MergeWithOverwriteTolerations(original []corev1.Toleration, additional []corev1.Toleration) []corev1.Toleration
- func MergeWithOverwriteVolumes(original []corev1.Volume, additional []corev1.Volume) []corev1.Volume
- func PatchAffinity(pod *corev1.Pod, affinity *appsv1alpha1.PodDecorationAffinity)
- func PatchMetadata(oldMetadata *metav1.ObjectMeta, ...) (err error)
- func PrimaryContainerPatch(pod *corev1.Pod, patches []*appsv1alpha1.PrimaryContainerPatch)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddInitContainers ¶
func ContainersPatch ¶
func ContainersPatch(pod *corev1.Pod, patches []*appsv1alpha1.ContainerPatch)
func MergeEnvByOverwrite ¶
func MergeTolerations ¶
func MergeTolerations(original []corev1.Toleration, additional []corev1.Toleration) []corev1.Toleration
func MergeVolumeMountByOverwrite ¶
func MergeVolumeMountByOverwrite(original []corev1.VolumeMount, additional []corev1.VolumeMount) (res []corev1.VolumeMount)
func MergeVolumes ¶
func MergeWithOverwriteTolerations ¶
func MergeWithOverwriteTolerations(original []corev1.Toleration, additional []corev1.Toleration) []corev1.Toleration
func PatchAffinity ¶
func PatchAffinity(pod *corev1.Pod, affinity *appsv1alpha1.PodDecorationAffinity)
func PatchMetadata ¶
func PatchMetadata(oldMetadata *metav1.ObjectMeta, patches []*appsv1alpha1.PodDecorationPodTemplateMeta) (err error)
PatchMetadata patch annotations and labels
func PrimaryContainerPatch ¶
func PrimaryContainerPatch(pod *corev1.Pod, patches []*appsv1alpha1.PrimaryContainerPatch)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.