Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the saffire v1alpha1 API group +kubebuilder:object:generate=true +groupName=saffire.fairwinds.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "saffire.fairwinds.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AlternateImageSource ¶
type AlternateImageSource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AlternateImageSourceSpec `json:"spec,omitempty"` Status AlternateImageSourceStatus `json:"status,omitempty"` }
AlternateImageSource is the Schema for the alternateimagesources API
func (*AlternateImageSource) DeepCopy ¶
func (in *AlternateImageSource) DeepCopy() *AlternateImageSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlternateImageSource.
func (*AlternateImageSource) DeepCopyInto ¶
func (in *AlternateImageSource) DeepCopyInto(out *AlternateImageSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlternateImageSource) DeepCopyObject ¶
func (in *AlternateImageSource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlternateImageSourceList ¶
type AlternateImageSourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AlternateImageSource `json:"items"` }
AlternateImageSourceList contains a list of AlternateImageSource
func (*AlternateImageSourceList) DeepCopy ¶
func (in *AlternateImageSourceList) DeepCopy() *AlternateImageSourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlternateImageSourceList.
func (*AlternateImageSourceList) DeepCopyInto ¶
func (in *AlternateImageSourceList) DeepCopyInto(out *AlternateImageSourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlternateImageSourceList) DeepCopyObject ¶
func (in *AlternateImageSourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlternateImageSourceSpec ¶
type AlternateImageSourceSpec struct {
ImageSourceReplacements []ImageSourceReplacement `json:"imageSourceReplacements"`
}
AlternateImageSourceSpec defines the desired state of AlternateImageSource
func (*AlternateImageSourceSpec) DeepCopy ¶
func (in *AlternateImageSourceSpec) DeepCopy() *AlternateImageSourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlternateImageSourceSpec.
func (*AlternateImageSourceSpec) DeepCopyInto ¶
func (in *AlternateImageSourceSpec) DeepCopyInto(out *AlternateImageSourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlternateImageSourceStatus ¶
type AlternateImageSourceStatus struct { // ObservedGeneration is the last observed generation of the object ObservedGeneration int64 `json:"observedGeneration"` // Switches is each occurence of an image switch Switches []SwitchStatus `json:"switches,omitempty"` }
AlternateImageSourceStatus defines the observed state of AlternateImageSource
func (*AlternateImageSourceStatus) DeepCopy ¶
func (in *AlternateImageSourceStatus) DeepCopy() *AlternateImageSourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlternateImageSourceStatus.
func (*AlternateImageSourceStatus) DeepCopyInto ¶
func (in *AlternateImageSourceStatus) DeepCopyInto(out *AlternateImageSourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSourceReplacement ¶
type ImageSourceReplacement struct { // EquivalentRepositories is a list of possible replacement repositories // they should each have the same set of tags available EquivalentRepositories []string `json:"equivalentRepositories"` }
ImageSourceReplacement is a single replacement
func (*ImageSourceReplacement) DeepCopy ¶
func (in *ImageSourceReplacement) DeepCopy() *ImageSourceReplacement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSourceReplacement.
func (*ImageSourceReplacement) DeepCopyInto ¶
func (in *ImageSourceReplacement) DeepCopyInto(out *ImageSourceReplacement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SwitchStatus ¶
type SwitchStatus struct { Time metav1.Time `json:"time"` OldImage string `json:"oldImage"` NewImage string `json:"newImage"` Target Target `json:"target"` }
SwitchStatus is a switch event
func (*SwitchStatus) DeepCopy ¶
func (in *SwitchStatus) DeepCopy() *SwitchStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwitchStatus.
func (*SwitchStatus) DeepCopyInto ¶
func (in *SwitchStatus) DeepCopyInto(out *SwitchStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Target ¶
type Target struct { Name string `json:"name"` Type metav1.GroupKind `json:"type"` // Container is the container that matches our list Container string `json:"container,omitempty"` UID types.UID `json:"uid,omitempty"` }
Target is a target for image replacement
func (*Target) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.