Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the lca v1 API group +kubebuilder:object:generate=true +groupName=lca.openshift.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "lca.openshift.io", Version: "v1"} // SchemeGroupVersion is expected by k8s.io/code-generator SchemeGroupVersion = schema.GroupVersion{Group: "lca.openshift.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 ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource. Expected by k8s.io/code-generator
Types ¶
type SeedGenerator ¶
type SeedGenerator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` //+kubebuilder:validation:XValidation:rule="self == oldSelf",message="cannot modify spec, cr must be deleted and recreated" Spec SeedGeneratorSpec `json:"spec,omitempty"` Status SeedGeneratorStatus `json:"status,omitempty"` }
SeedGenerator is the Schema for the seedgenerators API +operator-sdk:csv:customresourcedefinitions:displayName="Seed Generator",resources={{Namespace, v1}}
func (*SeedGenerator) DeepCopy ¶
func (in *SeedGenerator) DeepCopy() *SeedGenerator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeedGenerator.
func (*SeedGenerator) DeepCopyInto ¶
func (in *SeedGenerator) DeepCopyInto(out *SeedGenerator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SeedGenerator) DeepCopyObject ¶
func (in *SeedGenerator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SeedGeneratorList ¶
type SeedGeneratorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SeedGenerator `json:"items"` }
SeedGeneratorList contains a list of SeedGenerator
func (*SeedGeneratorList) DeepCopy ¶
func (in *SeedGeneratorList) DeepCopy() *SeedGeneratorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeedGeneratorList.
func (*SeedGeneratorList) DeepCopyInto ¶
func (in *SeedGeneratorList) DeepCopyInto(out *SeedGeneratorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SeedGeneratorList) DeepCopyObject ¶
func (in *SeedGeneratorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SeedGeneratorSpec ¶
type SeedGeneratorSpec struct { //+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Seed Image",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Pattern="^([a-z0-9]+://)?[\\S]+$" // SeedImage defines the full pull-spec of the seed container image to be created. SeedImage string `json:"seedImage,omitempty"` //+operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Pattern="^([a-z0-9]+://)?[\\S]+$" // RecertImage defines the full pull-spec of the recert container image to use. RecertImage string `json:"recertImage,omitempty"` }
SeedGeneratorSpec defines the desired state of SeedGenerator
func (*SeedGeneratorSpec) DeepCopy ¶
func (in *SeedGeneratorSpec) DeepCopy() *SeedGeneratorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeedGeneratorSpec.
func (*SeedGeneratorSpec) DeepCopyInto ¶
func (in *SeedGeneratorSpec) DeepCopyInto(out *SeedGeneratorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SeedGeneratorStatus ¶
type SeedGeneratorStatus struct { // +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Status" ObservedGeneration int64 `json:"observedGeneration,omitempty"` StartedAt metav1.Time `json:"startedAt,omitempty"` CompletedAt metav1.Time `json:"completedAt,omitempty"` // +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Conditions",xDescriptors={"urn:alm:descriptor:io.kubernetes.conditions"} Conditions []metav1.Condition `json:"conditions,omitempty"` }
SeedGeneratorStatus defines the observed state of SeedGenerator
func (*SeedGeneratorStatus) DeepCopy ¶
func (in *SeedGeneratorStatus) DeepCopy() *SeedGeneratorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeedGeneratorStatus.
func (*SeedGeneratorStatus) DeepCopyInto ¶
func (in *SeedGeneratorStatus) DeepCopyInto(out *SeedGeneratorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.