Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the practice v1alpha1 API group +kubebuilder:object:generate=true +groupName=practice.shipa.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "practice.shipa.io", 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 Ryan ¶
type Ryan struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RyanSpec `json:"spec,omitempty"` Status RyanStatus `json:"status,omitempty"` }
Ryan is the Schema for the ryans API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="AppVersion",type=string,JSONPath=`.status.appVersion`
func (*Ryan) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ryan.
func (*Ryan) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Ryan) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RyanList ¶
type RyanList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Ryan `json:"items"` }
RyanList contains a list of Ryan
func (*RyanList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RyanList.
func (*RyanList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RyanList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RyanSpec ¶
type RyanSpec struct { // ResourceName is the name of the resource to watch ResourceName string `json:"resourceName"` // API version of the resource to watch, reserved for future when we support more than just deployment //+kubebuilder:default="apps/v1" APIVersion string `json:"apiVersion,omitempty"` // Kind of the resource to watch, reserved for future when we support more than just deployment //+kubebuilder:default="Deployment" Kind string `json:"kind,omitempty"` }
RyanSpec defines the desired state of Ryan
func (*RyanSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RyanSpec.
func (*RyanSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RyanStatus ¶
type RyanStatus struct { // ReleaseName is the name of the helm release ReleaseName string `json:"releaseName"` // AppName is the helm app name AppName string `json:"appName"` // AppVersion is the helm app version AppVersion string `json:"appVersion"` }
RyanStatus defines the observed state of Ryan
func (*RyanStatus) DeepCopy ¶
func (in *RyanStatus) DeepCopy() *RyanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RyanStatus.
func (*RyanStatus) DeepCopyInto ¶
func (in *RyanStatus) DeepCopyInto(out *RyanStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.