Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.ibm.com
Copyright 2021 IBM Corporation ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- type Cert
- type CertIssuer
- type Condition
- type ConditionList
- type ConditionStatus
- type ConditionType
- type IssuerKind
- type ManagementIngress
- type ManagementIngressList
- type ManagementIngressSpec
- type ManagementIngressStatus
- type ManagementState
- type OperandImage
- type OperandState
- type PodStateMap
- type PodStateType
- type StatusType
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "operator.ibm.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 Cert ¶
type Cert struct { // +kubebuilder:validation:Optional Issuer CertIssuer `json:"issuer"` // +kubebuilder:validation:Optional NamespacedIssuer CertIssuer `json:"namespacedIssuer"` CommonName string `json:"repository,omitempty"` DNSNames []string `json:"dnsNames,omitempty"` IPAddresses []string `json:"ipAddresses,omitempty"` }
func (*Cert) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cert.
func (*Cert) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertIssuer ¶
type CertIssuer struct { Name string `json:"name"` Kind IssuerKind `json:"kind"` }
func (*CertIssuer) DeepCopy ¶
func (in *CertIssuer) DeepCopy() *CertIssuer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertIssuer.
func (*CertIssuer) DeepCopyInto ¶
func (in *CertIssuer) DeepCopyInto(out *CertIssuer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct { Type ConditionType `json:"type"` Status ConditionStatus `json:"status"` LastTransitionTime metav1.Time `json:"lastTransitionTime"` Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"` Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` }
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionList ¶
type ConditionList []Condition
func (ConditionList) DeepCopy ¶
func (in ConditionList) DeepCopy() ConditionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionList.
func (ConditionList) DeepCopyInto ¶
func (in ConditionList) DeepCopyInto(out *ConditionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionStatus ¶
type ConditionStatus string
const ( ConditionTrue ConditionStatus = "True" ConditionFalse ConditionStatus = "False" ConditionUnknown ConditionStatus = "Unknown" )
type ConditionType ¶
type ConditionType string
const ( ResourceCreating ConditionType = "ResourceCreating" WaitingResource ConditionType = "WaitingResource" ResourceFailedOnCreation ConditionType = "ResourceFailedOnCreation" DiscoveringClusterInfo ConditionType = "DiscoveringClusterInfo" )
type IssuerKind ¶
type IssuerKind string
const ( ClusterIssuer IssuerKind = "ClusterIssuer" Issuer IssuerKind = "Issuer" )
type ManagementIngress ¶
type ManagementIngress struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagementIngressSpec `json:"spec,omitempty"` Status ManagementIngressStatus `json:"status,omitempty"` }
ManagementIngress is the Schema for the managementingresses API
func (*ManagementIngress) DeepCopy ¶
func (in *ManagementIngress) DeepCopy() *ManagementIngress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIngress.
func (*ManagementIngress) DeepCopyInto ¶
func (in *ManagementIngress) DeepCopyInto(out *ManagementIngress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementIngress) DeepCopyObject ¶
func (in *ManagementIngress) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagementIngressList ¶
type ManagementIngressList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ManagementIngress `json:"items"` }
ManagementIngressList contains a list of ManagementIngress
func (*ManagementIngressList) DeepCopy ¶
func (in *ManagementIngressList) DeepCopy() *ManagementIngressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIngressList.
func (*ManagementIngressList) DeepCopyInto ¶
func (in *ManagementIngressList) DeepCopyInto(out *ManagementIngressList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementIngressList) DeepCopyObject ¶
func (in *ManagementIngressList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagementIngressSpec ¶
type ManagementIngressSpec struct { ManagementState ManagementState `json:"managementState"` ImageRegistry string `json:"imageRegistry"` Image OperandImage `json:"image,omitempty"` Replicas int32 `json:"replicas,omitempty"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` AllowedHostHeader string `json:"allowedHostHeader,omitempty"` Cert *Cert `json:"cert"` RouteHost string `json:"routeHost"` Config map[string]string `json:"config,omitempty"` FIPSEnabled bool `json:"fipsEnabled,omitempty"` IgnoreRouteCert bool `json:"ignoreRouteCert,omitempty"` ProxyRouteHost string `json:"proxyRouteHost,omitempty"` MultipleInstancesEnabled bool `json:"multipleInstancesEnabled,omitempty"` }
ManagementIngressSpec defines the desired state of ManagementIngress
func (*ManagementIngressSpec) DeepCopy ¶
func (in *ManagementIngressSpec) DeepCopy() *ManagementIngressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIngressSpec.
func (*ManagementIngressSpec) DeepCopyInto ¶
func (in *ManagementIngressSpec) DeepCopyInto(out *ManagementIngressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagementIngressStatus ¶
type ManagementIngressStatus struct { Conditions map[string]ConditionList `json:"condition,omitempty"` PodState PodStateMap `json:"podstate"` Host string `json:"host"` State OperandState `json:"operandState"` }
ManagementIngressStatus defines the observed state of ManagementIngress
func (*ManagementIngressStatus) DeepCopy ¶
func (in *ManagementIngressStatus) DeepCopy() *ManagementIngressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIngressStatus.
func (*ManagementIngressStatus) DeepCopyInto ¶
func (in *ManagementIngressStatus) DeepCopyInto(out *ManagementIngressStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagementState ¶
type ManagementState string
const ( // Managed means that the operator is actively managing its resources and trying to keep the component active. // It will only upgrade the component if it is safe to do so. // "managed" (lowercase) is used in the CR. ManagementStateManaged ManagementState = "managed" // Unmanaged means that the operator will not take any action related to the component ManagementStateUnmanaged ManagementState = "Unmanaged" )
type OperandImage ¶
type OperandImage struct { Repository string `json:"repository,omitempty"` Tag string `json:"tag,omitempty"` }
func (*OperandImage) DeepCopy ¶
func (in *OperandImage) DeepCopy() *OperandImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperandImage.
func (*OperandImage) DeepCopyInto ¶
func (in *OperandImage) DeepCopyInto(out *OperandImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperandState ¶
type OperandState struct { Status StatusType `json:"status"` Message string `json:"message"` }
func (*OperandState) DeepCopy ¶
func (in *OperandState) DeepCopy() *OperandState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperandState.
func (*OperandState) DeepCopyInto ¶
func (in *OperandState) DeepCopyInto(out *OperandState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodStateMap ¶
type PodStateMap map[PodStateType][]string
func (PodStateMap) DeepCopy ¶
func (in PodStateMap) DeepCopy() PodStateMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStateMap.
func (PodStateMap) DeepCopyInto ¶
func (in PodStateMap) DeepCopyInto(out *PodStateMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodStateType ¶
type PodStateType string
const ( PodStateTypeReady PodStateType = "ready" PodStateTypeNotReady PodStateType = "notReady" PodStateTypeFailed PodStateType = "failed" )
type StatusType ¶
type StatusType string
const ( StatusFailed StatusType = "Failed" StatusSuccessful StatusType = "Successful" StatusDeploying StatusType = "Deploying" )