Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the rookout v1alpha1 API group +kubebuilder:object:generate=true +groupName=rookout.rookout.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "rookout.rookout.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 InitContainer ¶
type InitContainer struct { Image string `json:"image,omitempty"` ImagePullPolicy v1.PullPolicy `json:"image_pull_policy,omitempty"` ContainerName string `json:"container_name,omitempty"` }
func (*InitContainer) DeepCopy ¶
func (in *InitContainer) DeepCopy() *InitContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitContainer.
func (*InitContainer) DeepCopyInto ¶
func (in *InitContainer) DeepCopyInto(out *InitContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Matcher ¶
type Matcher struct { Container string `json:"container,omitempty"` Deployment string `json:"deployment,omitempty"` Labels map[string]string `json:"labels,omitempty"` EnvVars []v1.EnvVar `json:"env_vars,omitempty"` Namespace string `json:"namespace,omitempty"` }
func (*Matcher) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Matcher.
func (*Matcher) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rookout ¶
type Rookout struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RookoutSpec `json:"spec,omitempty"` Status RookoutStatus `json:"status,omitempty"` }
Rookout is the Schema for the rookouts API
func (*Rookout) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rookout.
func (*Rookout) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Rookout) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RookoutList ¶
type RookoutList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Rookout `json:"items"` }
RookoutList contains a list of Rookout
func (*RookoutList) DeepCopy ¶
func (in *RookoutList) DeepCopy() *RookoutList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RookoutList.
func (*RookoutList) DeepCopyInto ¶
func (in *RookoutList) DeepCopyInto(out *RookoutList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RookoutList) DeepCopyObject ¶
func (in *RookoutList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RookoutSpec ¶
type RookoutSpec struct { Matchers []Matcher `json:"matchers,omitempty"` InitContainer InitContainer `json:"init_container,omitempty"` RequeueAfter time.Duration `json:"requeue_after,omitempty"` }
RookoutSpec defines the desired state of Rookout
func (*RookoutSpec) DeepCopy ¶
func (in *RookoutSpec) DeepCopy() *RookoutSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RookoutSpec.
func (*RookoutSpec) DeepCopyInto ¶
func (in *RookoutSpec) DeepCopyInto(out *RookoutSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RookoutStatus ¶
type RookoutStatus struct { }
RookoutStatus defines the observed state of Rookout
func (*RookoutStatus) DeepCopy ¶
func (in *RookoutStatus) DeepCopy() *RookoutStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RookoutStatus.
func (*RookoutStatus) DeepCopyInto ¶
func (in *RookoutStatus) DeepCopyInto(out *RookoutStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.