Documentation ¶
Overview ¶
Package test contains unit-test helper functions.
Index ¶
- func NewExtendedDaemonSet(ns, name string, options *NewExtendedDaemonSetOptions) *datadoghqv1alpha1.ExtendedDaemonSet
- func NewExtendedDaemonSetReplicaSet(ns, name string, options *NewExtendedDaemonSetReplicaSetOptions) *datadoghqv1alpha1.ExtendedDaemonSetReplicaSet
- func NewExtendedDaemonsetSetting(ns, name, reference string, options *NewExtendedDaemonsetSettingOptions) *datadoghqv1alpha1.ExtendedDaemonsetSetting
- type NewExtendedDaemonSetOptions
- type NewExtendedDaemonSetReplicaSetOptions
- type NewExtendedDaemonsetSettingOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExtendedDaemonSet ¶
func NewExtendedDaemonSet(ns, name string, options *NewExtendedDaemonSetOptions) *datadoghqv1alpha1.ExtendedDaemonSet
NewExtendedDaemonSet return new ExtendedDDaemonset instance for test purpose.
func NewExtendedDaemonSetReplicaSet ¶
func NewExtendedDaemonSetReplicaSet(ns, name string, options *NewExtendedDaemonSetReplicaSetOptions) *datadoghqv1alpha1.ExtendedDaemonSetReplicaSet
NewExtendedDaemonSetReplicaSet returns new ExtendedDaemonSetReplicaSet instance for testing purpose.
func NewExtendedDaemonsetSetting ¶
func NewExtendedDaemonsetSetting(ns, name, reference string, options *NewExtendedDaemonsetSettingOptions) *datadoghqv1alpha1.ExtendedDaemonsetSetting
NewExtendedDaemonsetSetting returns new ExtendedDaemonsetSetting instance.
Types ¶
type NewExtendedDaemonSetOptions ¶
type NewExtendedDaemonSetOptions struct { CreationTime *time.Time Annotations map[string]string Labels map[string]string RollingUpdate *datadoghqv1alpha1.ExtendedDaemonSetSpecStrategyRollingUpdate Canary *datadoghqv1alpha1.ExtendedDaemonSetSpecStrategyCanary Status *datadoghqv1alpha1.ExtendedDaemonSetStatus PodTemplateSpec *corev1.PodTemplateSpec }
NewExtendedDaemonSetOptions set of option for the ExtendedDaemonset creation.
type NewExtendedDaemonSetReplicaSetOptions ¶
type NewExtendedDaemonSetReplicaSetOptions struct { CreationTime *time.Time Annotations map[string]string Labels map[string]string GenerateName string OwnerRefName string Status *datadoghqv1alpha1.ExtendedDaemonSetReplicaSetStatus }
NewExtendedDaemonSetReplicaSetOptions set of option for the ExtendedDaemonsetReplicaSet creation.
type NewExtendedDaemonsetSettingOptions ¶
type NewExtendedDaemonsetSettingOptions struct { CreationTime time.Time Selector map[string]string Resources map[string]corev1.ResourceRequirements SelectorRequirement []metav1.LabelSelectorRequirement }
NewExtendedDaemonsetSettingOptions used to provide creation options to the NewExtendedDaemonsetSetting function.
Click to show internal directories.
Click to hide internal directories.