var ( GroupName = "platform.openshift.io" GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} // Install is a function which adds this version to a scheme Install = schemeBuilder.AddToScheme )
ActiveBundleDeployment references a BundleDeployment resource.
type ActiveBundleDeployment struct { // name is the metadata.name of the referenced BundleDeployment object. // +kubebuilder:validation:Required Name string `json:"name"` }
func (in *ActiveBundleDeployment) DeepCopy() *ActiveBundleDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveBundleDeployment.
func (in *ActiveBundleDeployment) DeepCopyInto(out *ActiveBundleDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ActiveBundleDeployment) SwaggerDoc() map[string]string
Package contains fields to configure which OLM package this PlatformOperator will install
type Package struct { // name contains the desired OLM-based Operator package name // that is defined in an existing CatalogSource resource in the cluster. // // This configured package will be managed with the cluster's lifecycle. In // the current implementation, it will be retrieving this name from a list of // supported operators out of the catalogs included with OpenShift. // +kubebuilder:validation:Required // // +kubebuilder:validation:Pattern:=[a-z0-9]([-a-z0-9]*[a-z0-9])? // +kubebuilder:validation:MaxLength:=56 // --- // + More restrictions to package names supported is an intentional design // + decision that, while limiting to user options, allows code built on these // + API's to make more confident assumptions on data structure. Name string `json:"name"` }
func (in *Package) DeepCopy() *Package
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package.
func (in *Package) DeepCopyInto(out *Package)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Package) SwaggerDoc() map[string]string
PlatformOperator is the Schema for the PlatformOperators API.
Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4
type PlatformOperator struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` Spec PlatformOperatorSpec `json:"spec"` Status PlatformOperatorStatus `json:"status,omitempty"` }
func (in *PlatformOperator) DeepCopy() *PlatformOperator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformOperator.
func (in *PlatformOperator) DeepCopyInto(out *PlatformOperator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PlatformOperator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (PlatformOperator) SwaggerDoc() map[string]string
PlatformOperatorList contains a list of PlatformOperators
Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4
type PlatformOperatorList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty"` Items []PlatformOperator `json:"items"` }
func (in *PlatformOperatorList) DeepCopy() *PlatformOperatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformOperatorList.
func (in *PlatformOperatorList) DeepCopyInto(out *PlatformOperatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PlatformOperatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (PlatformOperatorList) SwaggerDoc() map[string]string
PlatformOperatorSpec defines the desired state of PlatformOperator.
type PlatformOperatorSpec struct { // package contains the desired package and its configuration for this // PlatformOperator. // +kubebuilder:validation:Required Package Package `json:"package"` }
func (in *PlatformOperatorSpec) DeepCopy() *PlatformOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformOperatorSpec.
func (in *PlatformOperatorSpec) DeepCopyInto(out *PlatformOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (PlatformOperatorSpec) SwaggerDoc() map[string]string
PlatformOperatorStatus defines the observed state of PlatformOperator
type PlatformOperatorStatus struct { // conditions represent the latest available observations of a platform operator's current state. // +optional // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` // activeBundleDeployment is the reference to the BundleDeployment resource that's // being managed by this PO resource. If this field is not populated in the status // then it means the PlatformOperator has either not been installed yet or is // failing to install. // +optional ActiveBundleDeployment ActiveBundleDeployment `json:"activeBundleDeployment,omitempty"` }
func (in *PlatformOperatorStatus) DeepCopy() *PlatformOperatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformOperatorStatus.
func (in *PlatformOperatorStatus) DeepCopyInto(out *PlatformOperatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (PlatformOperatorStatus) SwaggerDoc() map[string]string