Documentation ¶
Index ¶
- Variables
- func Build(owner metav1.Object, name string, container corev1.Container, ...) (*appsv1.DaemonSet, error)
- func Query(kubeClient client.Client, kubeReader client.Reader, log logd.Logger) query.Generic[*appsv1.DaemonSet, *appsv1.DaemonSetList]
- func SetAffinity(affinity corev1.Affinity) builder.Option[*appsv1.DaemonSet]
- func SetAllAnnotations(annotations, templateAnnotations map[string]string) builder.Option[*appsv1.DaemonSet]
- func SetAllLabels(labels, matchLabels, templateLabels, customLabels map[string]string) builder.Option[*appsv1.DaemonSet]
- func SetAutomountServiceAccountToken(isEnabled bool) builder.Option[*appsv1.DaemonSet]
- func SetContainer(container corev1.Container) builder.Option[*appsv1.DaemonSet]
- func SetDNSPolicy(policy corev1.DNSPolicy) builder.Option[*appsv1.DaemonSet]
- func SetHostPID(isEnabled bool) builder.Option[*appsv1.DaemonSet]
- func SetInitContainer(initContainer corev1.Container) builder.Option[*appsv1.DaemonSet]
- func SetPriorityClass(className string) builder.Option[*appsv1.DaemonSet]
- func SetPullSecret(secretRef ...corev1.LocalObjectReference) builder.Option[*appsv1.DaemonSet]
- func SetServiceAccount(serviceAccountName string) builder.Option[*appsv1.DaemonSet]
- func SetTolerations(tolerations []corev1.Toleration) builder.Option[*appsv1.DaemonSet]
- func SetUpdateStrategy(updateStartegy appsv1.DaemonSetUpdateStrategy) builder.Option[*appsv1.DaemonSet]
- func SetVolumes(volumes []corev1.Volume) builder.Option[*appsv1.DaemonSet]
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Optional fields, provided in constructor as list of options SetLabels = builder.SetLabels[*appsv1.DaemonSet] )
Functions ¶
func SetAffinity ¶ added in v1.4.0
func SetAllAnnotations ¶ added in v1.4.0
func SetAllLabels ¶ added in v1.4.0
func SetAutomountServiceAccountToken ¶ added in v1.4.0
func SetContainer ¶ added in v1.4.0
func SetDNSPolicy ¶ added in v1.4.0
func SetInitContainer ¶ added in v1.4.0
func SetPriorityClass ¶ added in v1.4.0
func SetPullSecret ¶ added in v1.4.0
func SetServiceAccount ¶ added in v1.4.0
func SetTolerations ¶ added in v1.4.0
func SetUpdateStrategy ¶ added in v1.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.