Documentation ¶
Index ¶
- func DefineDaemonSet(namespace string, image string, label map[string]string, name string) *appsv1.DaemonSet
- func DefineDaemonSetWithContainerSpecs(name, namespace string, labels map[string]string, ...) *appsv1.DaemonSet
- func RedefineDaemonSetWithLabel(daemonSet *appsv1.DaemonSet, label map[string]string)
- func RedefineDaemonSetWithNodeSelector(daemonSet *appsv1.DaemonSet, nodeSelector map[string]string)
- func RedefineWithCPUResources(daemonSet *appsv1.DaemonSet, limit string, req string)
- func RedefineWithContainerSpecs(daemonSet *appsv1.DaemonSet, containerSpecs []corev1.Container)
- func RedefineWithImagePullPolicy(daemonSet *appsv1.DaemonSet, pullPolicy corev1.PullPolicy)
- func RedefineWithMultus(daemonSet *appsv1.DaemonSet, nadName string)
- func RedefineWithPrivilegeAndHostNetwork(daemonSet *appsv1.DaemonSet)
- func RedefineWithPrivilegedContainer(daemonSet *appsv1.DaemonSet)
- func RedefineWithRunTimeClass(daemonSet *appsv1.DaemonSet, rtcName string)
- func RedefineWithVolumeMount(daemonSet *appsv1.DaemonSet)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefineDaemonSet ¶
func DefineDaemonSetWithContainerSpecs ¶
func DefineDaemonSetWithContainerSpecs(name, namespace string, labels map[string]string, containerSpecs []corev1.Container) *appsv1.DaemonSet
DefineDaemonSetWithContainerSpecs returns k8s statefulset using configurable labels and container specs.
func RedefineWithImagePullPolicy ¶
func RedefineWithImagePullPolicy(daemonSet *appsv1.DaemonSet, pullPolicy corev1.PullPolicy)
func RedefineWithMultus ¶
func RedefineWithVolumeMount ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.