Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the tools v1 API group +kubebuilder:object:generate=true +groupName=tools.opdev.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "tools.opdev.io", Version: "v1"} // 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 DemoResource ¶
type DemoResource struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DemoResourceSpec `json:"spec,omitempty"`
Status DemoResourceStatus `json:"status,omitempty"`
}
DemoResource is the Schema for the demoresources API +kubebuilder:printcolumn:name="Message",type=string,JSONPath=`.status.specMessage`
func (*DemoResource) DeepCopy ¶
func (in *DemoResource) DeepCopy() *DemoResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoResource.
func (*DemoResource) DeepCopyInto ¶
func (in *DemoResource) DeepCopyInto(out *DemoResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DemoResource) DeepCopyObject ¶
func (in *DemoResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DemoResourceList ¶
type DemoResourceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DemoResource `json:"items"`
}
DemoResourceList contains a list of DemoResource
func (*DemoResourceList) DeepCopy ¶
func (in *DemoResourceList) DeepCopy() *DemoResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoResourceList.
func (*DemoResourceList) DeepCopyInto ¶
func (in *DemoResourceList) DeepCopyInto(out *DemoResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DemoResourceList) DeepCopyObject ¶
func (in *DemoResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DemoResourceSpec ¶
type DemoResourceSpec struct {
// Message is a random string.
Message string `json:"message"`
}
DemoResourceSpec defines the desired state of DemoResource
func (*DemoResourceSpec) DeepCopy ¶
func (in *DemoResourceSpec) DeepCopy() *DemoResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoResourceSpec.
func (*DemoResourceSpec) DeepCopyInto ¶
func (in *DemoResourceSpec) DeepCopyInto(out *DemoResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DemoResourceStatus ¶
type DemoResourceStatus struct {
// SpecMessage reflects the message passed by the user in the spec.
SpecMessage string `json:"specMessage,omitempty"`
}
DemoResourceStatus defines the observed state of DemoResource
func (*DemoResourceStatus) DeepCopy ¶
func (in *DemoResourceStatus) DeepCopy() *DemoResourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoResourceStatus.
func (*DemoResourceStatus) DeepCopyInto ¶
func (in *DemoResourceStatus) DeepCopyInto(out *DemoResourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.