Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the flipper.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=flipper.io.github.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "flipper.io.github.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Flipper ¶
type Flipper struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FlipperSpec `json:"spec,omitempty"` Status FlipperStatus `json:"status,omitempty"` }
Flipper is the Schema for the flippers API
func (*Flipper) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Flipper.
func (*Flipper) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Flipper) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FlipperList ¶
type FlipperList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Flipper `json:"items"` }
FlipperList contains a list of Flipper
func (*FlipperList) DeepCopy ¶
func (in *FlipperList) DeepCopy() *FlipperList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlipperList.
func (*FlipperList) DeepCopyInto ¶
func (in *FlipperList) DeepCopyInto(out *FlipperList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FlipperList) DeepCopyObject ¶
func (in *FlipperList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FlipperSpec ¶
type FlipperSpec struct { // +kubebuilder:validation:Format=duration Interval metav1.Duration `json:"interval,omitempty"` Match MatchSpec `json:"match,omitempty"` }
FlipperSpec defines the desired state of Flipper
func (*FlipperSpec) DeepCopy ¶
func (in *FlipperSpec) DeepCopy() *FlipperSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlipperSpec.
func (*FlipperSpec) DeepCopyInto ¶
func (in *FlipperSpec) DeepCopyInto(out *FlipperSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FlipperStatus ¶
type FlipperStatus struct { }
FlipperStatus defines the observed state of Flipper
func (*FlipperStatus) DeepCopy ¶
func (in *FlipperStatus) DeepCopy() *FlipperStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlipperStatus.
func (*FlipperStatus) DeepCopyInto ¶
func (in *FlipperStatus) DeepCopyInto(out *FlipperStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatchSpec ¶
type MatchSpec struct { Labels map[string]string `json:"labels,omitempty"` Namespaces []string `json:"namespaces,omitempty"` }
MatchSpec defines specification of the deployment to be matched
func (*MatchSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchSpec.
func (*MatchSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.