Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PullPolicy ¶ added in v1.9.0
type PullPolicy string
PullPolicy is the image pull policy. Use a custom type to share the validation marker.
type Ref ¶
type Ref struct {
// Custom image repository
// +kubebuilder:example:="docker.io/dynatrace/image-name"
Repository string `json:"repository,omitempty"`
// Indicates a tag of the image to use
Tag string `json:"tag,omitempty"`
// Image pull policy to use
PullPolicy PullPolicy `json:"pullPolicy,omitempty"`
}
func (*Ref) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ref.
func (*Ref) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Ref) GetPullPolicy ¶ added in v1.9.0
func (ref Ref) GetPullPolicy() corev1.PullPolicy
GetPolicy returns the image pull policy.
func (*Ref) IsZero ¶ added in v1.8.0
IsZero returns true if the image ref is empty. Prefer this name over IsEmpty for compatibility with JSON omitzero.
func (Ref) StringWithDefaults ¶
StringWithDefaults will use the provided default values for fields that were not already set.
Click to show internal directories.
Click to hide internal directories.