daemonset

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 Build added in v1.4.0

func Build(owner metav1.Object, name string, container corev1.Container, options ...builder.Option[*appsv1.DaemonSet]) (*appsv1.DaemonSet, error)

func Query added in v1.3.0

func Query(kubeClient client.Client, kubeReader client.Reader, log logd.Logger) query.Generic[*appsv1.DaemonSet, *appsv1.DaemonSetList]

func SetAffinity added in v1.4.0

func SetAffinity(affinity corev1.Affinity) builder.Option[*appsv1.DaemonSet]

func SetAllAnnotations added in v1.4.0

func SetAllAnnotations(annotations, templateAnnotations map[string]string) builder.Option[*appsv1.DaemonSet]

func SetAllLabels added in v1.4.0

func SetAllLabels(labels, matchLabels, templateLabels, customLabels map[string]string) builder.Option[*appsv1.DaemonSet]

func SetAutomountServiceAccountToken added in v1.4.0

func SetAutomountServiceAccountToken(isEnabled bool) builder.Option[*appsv1.DaemonSet]

func SetContainer added in v1.4.0

func SetContainer(container corev1.Container) builder.Option[*appsv1.DaemonSet]

func SetDNSPolicy added in v1.4.0

func SetDNSPolicy(policy corev1.DNSPolicy) builder.Option[*appsv1.DaemonSet]

func SetHostPID added in v1.4.0

func SetHostPID(isEnabled bool) builder.Option[*appsv1.DaemonSet]

func SetInitContainer added in v1.4.0

func SetInitContainer(initContainer corev1.Container) builder.Option[*appsv1.DaemonSet]

func SetPriorityClass added in v1.4.0

func SetPriorityClass(className string) builder.Option[*appsv1.DaemonSet]

func SetPullSecret added in v1.4.0

func SetPullSecret(secretRef ...corev1.LocalObjectReference) builder.Option[*appsv1.DaemonSet]

func SetServiceAccount added in v1.4.0

func SetServiceAccount(serviceAccountName string) builder.Option[*appsv1.DaemonSet]

func SetTolerations added in v1.4.0

func SetTolerations(tolerations []corev1.Toleration) builder.Option[*appsv1.DaemonSet]

func SetUpdateStrategy added in v1.4.0

func SetUpdateStrategy(updateStartegy appsv1.DaemonSetUpdateStrategy) builder.Option[*appsv1.DaemonSet]

func SetVolumes added in v1.4.0

func SetVolumes(volumes []corev1.Volume) builder.Option[*appsv1.DaemonSet]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL