Documentation
¶
Index ¶
- func AppendPodTemplateContainerArgsFunc(container string, vals []string) transform.TransformFunc
- func AppendSequenceNodeFunc(value *kyaml.RNode, path ...string) transform.TransformFunc
- func SetClusterRoleBindingSubjectNamespaceFunc(name, namespace string) transform.TransformFunc
- func SetConfigMapData(key, value string) transform.TransformFunc
- func SetDefaultServicePortNameFunc(name string) transform.TransformFunc
- func SetEnvVarStringFunc(val string, path ...string) transform.TransformFunc
- func SetEnvVarValueFromFieldFunc(fieldPath string, path ...string) transform.TransformFunc
- func SetEnvVarValueFromSecretFunc(secretName, secretKey string, path ...string) transform.TransformFunc
- func SetKubeSchedulerLeaderElectionRNamespaceFunc(namespace string) transform.TransformFunc
- func SetMetadataNameFunc(name string) transform.TransformFunc
- func SetMetadataNamespaceFunc(namespace string) transform.TransformFunc
- func SetPodTemplateConfigMapVolumeFunc(volume string, configmapName string, keyToPaths []corev1.KeyToPath) transform.TransformFunc
- func SetPodTemplateContainerEnvVarStringFunc(container, key, val string) transform.TransformFunc
- func SetPodTemplateContainerEnvVarValueFromFieldFunc(container, key, fieldPath string) transform.TransformFunc
- func SetPodTemplateContainerEnvVarValueFromSecretFunc(container, key, secretName, secretKey string) transform.TransformFunc
- func SetPodTemplateContainerResourceFunc(container string, resReq corev1.ResourceRequirements) transform.TransformFunc
- func SetPodTemplateHostPathVolumeFunc(volume, path string, pathType *corev1.HostPathType) transform.TransformFunc
- func SetPodTemplateInitContainerEnvVarStringFunc(container, key, val string) transform.TransformFunc
- func SetPodTemplateInitContainerEnvVarValueFromFieldFunc(container, key, fieldPath string) transform.TransformFunc
- func SetPodTemplateInitContainerEnvVarValueFromSecretFunc(container, key, secretName, secretKey string) transform.TransformFunc
- func SetPodTemplateNodeSelectorTermsFunc(nodeSelectors []corev1.NodeSelectorTerm) transform.TransformFunc
- func SetPodTemplateSecretVolumeFunc(volume string, secretName string, keyToPaths []corev1.KeyToPath) transform.TransformFunc
- func SetPodTemplateTolerationFunc(tolerations []corev1.Toleration) transform.TransformFunc
- func SetPodTemplateVolumeFunc(volume string, volumeSource string, value *kyaml.RNode) transform.TransformFunc
- func SetPodTemplateVolumeMountFunc(container, volName, mountPath string, ...) transform.TransformFunc
- func SetScalarNodeFunc(valField string, value *kyaml.RNode, path ...string) transform.TransformFunc
- func SetScalarNodeStringValueFunc(valField string, value string, path ...string) transform.TransformFunc
- func SetServiceExternalPortFunc(portName string, port int) transform.TransformFunc
- func SetServiceInternalPortFunc(portName string, port int) transform.TransformFunc
- func SetServiceTypeFunc(serviceType corev1.ServiceType) transform.TransformFunc
- func SetVolumeMountFunc(value *kyaml.RNode, mountPropagationValue *kyaml.RNode, path ...string) transform.TransformFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendPodTemplateContainerArgsFunc ¶
func AppendPodTemplateContainerArgsFunc(container string, vals []string) transform.TransformFunc
AppendPodTemplateContainerArgsFunc adds a list of args in a given container in a PodTemplate.
func AppendSequenceNodeFunc ¶
func AppendSequenceNodeFunc(value *kyaml.RNode, path ...string) transform.TransformFunc
AppendSequenceNodeFunc appends a sequence node field with the given values at the given path.
func SetClusterRoleBindingSubjectNamespaceFunc ¶
func SetClusterRoleBindingSubjectNamespaceFunc(name, namespace string) transform.TransformFunc
SetClusterRoleBindingSubjectNamespaceFunc sets the namespace of a subject in a ClusterRoleBinding.
func SetConfigMapData ¶
func SetConfigMapData(key, value string) transform.TransformFunc
SetConfigMapData sets the given key-value data in a ConfigMap.
func SetDefaultServicePortNameFunc ¶
func SetDefaultServicePortNameFunc(name string) transform.TransformFunc
SetDefaultServicePortNameFunc sets the default port name of the Service.
func SetEnvVarStringFunc ¶
func SetEnvVarStringFunc(val string, path ...string) transform.TransformFunc
SetEnvVarStringFunc sets a string value environment variable for a given container path.
func SetEnvVarValueFromFieldFunc ¶
func SetEnvVarValueFromFieldFunc(fieldPath string, path ...string) transform.TransformFunc
SetEnvVarValueFromFieldFunc sets a valueFrom fieldRef environment variable for a given container path.
func SetEnvVarValueFromSecretFunc ¶
func SetEnvVarValueFromSecretFunc(secretName, secretKey string, path ...string) transform.TransformFunc
SetEnvVarValueFromSecretFunc sets a valueFrom secretKeyRef environment variable for a given container path.
func SetKubeSchedulerLeaderElectionRNamespaceFunc ¶
func SetKubeSchedulerLeaderElectionRNamespaceFunc(namespace string) transform.TransformFunc
SetKubeSchedulerLeaderElectionRNamespaceFunc sets the leader election resource namespace in a KubeSchedulerConfiguration.
func SetMetadataNameFunc ¶
func SetMetadataNameFunc(name string) transform.TransformFunc
SetMetadataNameFunc sets the metadata name of a given resource.
func SetMetadataNamespaceFunc ¶
func SetMetadataNamespaceFunc(namespace string) transform.TransformFunc
SetMetadataNamespaceFunc sets the metadata namespace of a given resource.
func SetPodTemplateConfigMapVolumeFunc ¶
func SetPodTemplateConfigMapVolumeFunc(volume string, configmapName string, keyToPaths []corev1.KeyToPath) transform.TransformFunc
SetPodTemplateConfigMapVolumeFunc sets a volume in a PodTemplate for a configmap volume source.
func SetPodTemplateContainerEnvVarStringFunc ¶
func SetPodTemplateContainerEnvVarStringFunc(container, key, val string) transform.TransformFunc
SetPodTemplateContainerEnvVarStringFunc sets a string value env var for a container.
func SetPodTemplateContainerEnvVarValueFromFieldFunc ¶
func SetPodTemplateContainerEnvVarValueFromFieldFunc(container, key, fieldPath string) transform.TransformFunc
SetPodTemplateContainerEnvVarValueFromFieldFunc sets a valueFrom fieldRef env var for a container.
func SetPodTemplateContainerEnvVarValueFromSecretFunc ¶
func SetPodTemplateContainerEnvVarValueFromSecretFunc(container, key, secretName, secretKey string) transform.TransformFunc
SetPodTemplateContainerEnvVarValueFromSecretFunc sets a valueFrom secretKeyRef env var for a container.
func SetPodTemplateContainerResourceFunc ¶
func SetPodTemplateContainerResourceFunc(container string, resReq corev1.ResourceRequirements) transform.TransformFunc
SetPodTemplateContainerResourceFunc sets the resource requirements of a container in a PodTemplate.
func SetPodTemplateHostPathVolumeFunc ¶
func SetPodTemplateHostPathVolumeFunc(volume, path string, pathType *corev1.HostPathType) transform.TransformFunc
SetPodTemplateHostPathVolumeFunc sets a volume in a PodTemplate for a host path volume source.
func SetPodTemplateInitContainerEnvVarStringFunc ¶
func SetPodTemplateInitContainerEnvVarStringFunc(container, key, val string) transform.TransformFunc
SetPodTemplateInitContainerEnvVarStringFunc sets a string value env var for an init container.
func SetPodTemplateInitContainerEnvVarValueFromFieldFunc ¶
func SetPodTemplateInitContainerEnvVarValueFromFieldFunc(container, key, fieldPath string) transform.TransformFunc
SetPodTemplateInitContainerEnvVarValueFromFieldFunc sets a valueFrom fieldRef env var for an init container.
func SetPodTemplateInitContainerEnvVarValueFromSecretFunc ¶
func SetPodTemplateInitContainerEnvVarValueFromSecretFunc(container, key, secretName, secretKey string) transform.TransformFunc
SetPodTemplateInitContainerEnvVarValueFromSecretFunc sets a valueFrom secretKeyRef env var for an init container.
func SetPodTemplateNodeSelectorTermsFunc ¶
func SetPodTemplateNodeSelectorTermsFunc(nodeSelectors []corev1.NodeSelectorTerm) transform.TransformFunc
SetPodTemplateNodeSelectorTermsFunc sets the node selector terms for node affinity in a PodTemplate.
func SetPodTemplateSecretVolumeFunc ¶
func SetPodTemplateSecretVolumeFunc(volume string, secretName string, keyToPaths []corev1.KeyToPath) transform.TransformFunc
SetPodTemplateSecretVolumeFunc sets a volume in a PodTemplate for a secret volume source.
func SetPodTemplateTolerationFunc ¶
func SetPodTemplateTolerationFunc(tolerations []corev1.Toleration) transform.TransformFunc
SetPodTemplateTolerationFunc sets the pod tolerations in a PodTemplate.
func SetPodTemplateVolumeFunc ¶
func SetPodTemplateVolumeFunc(volume string, volumeSource string, value *kyaml.RNode) transform.TransformFunc
SetPodTemplateVolumeFunc sets a volume in a PodTemplate for the given name and volume source.
func SetPodTemplateVolumeMountFunc ¶
func SetPodTemplateVolumeMountFunc(container, volName, mountPath string, mountPropagation corev1.MountPropagationMode) transform.TransformFunc
SetPodTemplateVolumeMountFunc sets a volumeMount for a given container in a PodTemplate.
func SetScalarNodeFunc ¶
SetScalarNodeFunc sets a scalar node field with the given value at the given path.
func SetScalarNodeStringValueFunc ¶
func SetScalarNodeStringValueFunc(valField string, value string, path ...string) transform.TransformFunc
SetScalarNodeStringValueFunc sets a scalar node field with the given string value at the given path.
func SetServiceExternalPortFunc ¶
func SetServiceExternalPortFunc(portName string, port int) transform.TransformFunc
SetServiceExternalPortFunc sets the external port of a Service port.
func SetServiceInternalPortFunc ¶
func SetServiceInternalPortFunc(portName string, port int) transform.TransformFunc
SetServiceInternalPortFunc sets the internal port of a Service port.
func SetServiceTypeFunc ¶
func SetServiceTypeFunc(serviceType corev1.ServiceType) transform.TransformFunc
SetServiceTypeFunc sets the type of a Service.
func SetVolumeMountFunc ¶
func SetVolumeMountFunc(value *kyaml.RNode, mountPropagationValue *kyaml.RNode, path ...string) transform.TransformFunc
SetVolumeMountFunc sets the volume mount at a given path.
Types ¶
This section is empty.