Documentation ¶
Overview ¶
Package testutils contains helper function used for the unit-tests.
Index ¶
- func NewDaemonset(ns, name, image string, options *NewDaemonsetOptions) *appsv1.DaemonSet
- func NewExtendedDaemonset(ns, name, image string, options *NewExtendedDaemonsetOptions) *datadoghqv1alpha1.ExtendedDaemonSet
- func NewExtendedDaemonsetSetting(ns, name, reference string, options *NewExtendedDaemonsetSettingOptions) *datadoghqv1alpha1.ExtendedDaemonsetSetting
- func NewNode(name string, labels map[string]string) *corev1.Node
- type NewDaemonsetOptions
- type NewExtendedDaemonsetOptions
- type NewExtendedDaemonsetSettingOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDaemonset ¶
func NewDaemonset(ns, name, image string, options *NewDaemonsetOptions) *appsv1.DaemonSet
NewDaemonset returns new ExtendedDaemonSet instance.
func NewExtendedDaemonset ¶
func NewExtendedDaemonset(ns, name, image string, options *NewExtendedDaemonsetOptions) *datadoghqv1alpha1.ExtendedDaemonSet
NewExtendedDaemonset returns new ExtendedDaemonSet instance.
func NewExtendedDaemonsetSetting ¶
func NewExtendedDaemonsetSetting(ns, name, reference string, options *NewExtendedDaemonsetSettingOptions) *datadoghqv1alpha1.ExtendedDaemonsetSetting
NewExtendedDaemonsetSetting returns new ExtendedDaemonsetSetting instance.
Types ¶
type NewDaemonsetOptions ¶
NewDaemonsetOptions used to provide creation options to the NewdDaemonset function.
type NewExtendedDaemonsetOptions ¶
type NewExtendedDaemonsetOptions struct { ExtraLabels map[string]string ExtraAnnotations map[string]string CanaryStrategy *datadoghqv1alpha1.ExtendedDaemonSetSpecStrategyCanary RollingUpdate *datadoghqv1alpha1.ExtendedDaemonSetSpecStrategyRollingUpdate ReconcileFrequency *metav1.Duration }
NewExtendedDaemonsetOptions used to provide creation options to the NewExtendedDaemonset function.
type NewExtendedDaemonsetSettingOptions ¶
type NewExtendedDaemonsetSettingOptions struct { Selector map[string]string Resources map[string]corev1.ResourceRequirements }
NewExtendedDaemonsetSettingOptions used to provide creation options to the NewExtendedDaemonsetSetting function.
Click to show internal directories.
Click to hide internal directories.