Versions in this module Expand all Collapse all v0 v0.6.0 Aug 7, 2019 Changes in this version + func ModifyContainerV1(container corev1.Container, modSpec *ResourceModSpec) corev1.Container + func ModifyPodTemplateV1(template corev1.PodTemplateSpec, modSpec *ResourceModSpec) corev1.PodTemplateSpec + type DeploymentV1beta1Modifier struct + func (m *DeploymentV1beta1Modifier) ModifyResource(res *unstructured.Unstructured, modSpec *ResourceModSpec) (*unstructured.Unstructured, error) + type JobV1Modifier struct + func (m *JobV1Modifier) ModifyResource(res *unstructured.Unstructured, modSpec *ResourceModSpec) (*unstructured.Unstructured, error) + type MPIJobV1alpha1Modifier struct + func (m *MPIJobV1alpha1Modifier) ModifyResource(res *unstructured.Unstructured, modSpec *ResourceModSpec) (*unstructured.Unstructured, error) + type MetaV1Modifier struct + func NewMetaV1Modifier() *MetaV1Modifier + func (m *MetaV1Modifier) ModifyResource(res *unstructured.Unstructured, modSpec *ResourceModSpec) (*unstructured.Unstructured, error) + type ResourceModSpec struct + Env []corev1.EnvVar + Labels map[string]string + Namespace string + OwnerReferences []metav1.OwnerReference + VolumeMounts []corev1.VolumeMount + Volumes []corev1.Volume + type ResourceModifier struct + func (m *ResourceModifier) ModifyResource(res *unstructured.Unstructured, modSpec *ResourceModSpec) (*unstructured.Unstructured, error) + type ResourceModifierInterface interface + ModifyResource func(res *unstructured.Unstructured, modSpec *ResourceModSpec) (*unstructured.Unstructured, error) + func NewDeploymentV1beta1Modifier() ResourceModifierInterface + func NewJobV1Modifier() ResourceModifierInterface + func NewMPIJobV1alpha1Modifier() ResourceModifierInterface + func NewResourceModifier() ResourceModifierInterface