Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.sme.sap.com
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type CAPOperator
- func (in *CAPOperator) DeepCopy() *CAPOperator
- func (in *CAPOperator) DeepCopyInto(out *CAPOperator)
- func (in *CAPOperator) DeepCopyObject() runtime.Object
- func (c *CAPOperator) GetDeploymentName() string
- func (c *CAPOperator) GetDeploymentNamespace() string
- func (c *CAPOperator) GetSpec() runtimetypes.Unstructurable
- func (c *CAPOperator) GetStatus() *component.Status
- type CAPOperatorList
- type CAPOperatorSpec
- type CAPOperatorStatus
- type NameValue
- type SubscriptionServer
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "operator.sme.sap.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 // Needed by kubernetes/code-generator. SchemeGroupVersion = GroupVersion )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Needed by kubernetes/code-generator.
Types ¶
type CAPOperator ¶
type CAPOperator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CAPOperatorSpec `json:"spec,omitempty"` Status CAPOperatorStatus `json:"status,omitempty"` }
CAPOperator is the Schema for the CAPOperators API
func (*CAPOperator) DeepCopy ¶
func (in *CAPOperator) DeepCopy() *CAPOperator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPOperator.
func (*CAPOperator) DeepCopyInto ¶
func (in *CAPOperator) DeepCopyInto(out *CAPOperator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAPOperator) DeepCopyObject ¶
func (in *CAPOperator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CAPOperator) GetDeploymentName ¶
func (c *CAPOperator) GetDeploymentName() string
func (*CAPOperator) GetDeploymentNamespace ¶
func (c *CAPOperator) GetDeploymentNamespace() string
func (*CAPOperator) GetSpec ¶
func (c *CAPOperator) GetSpec() runtimetypes.Unstructurable
func (*CAPOperator) GetStatus ¶
func (c *CAPOperator) GetStatus() *component.Status
type CAPOperatorList ¶
type CAPOperatorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CAPOperator `json:"items"` }
CAPOperatorList contains a list of CAPOperator
func (*CAPOperatorList) DeepCopy ¶
func (in *CAPOperatorList) DeepCopy() *CAPOperatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPOperatorList.
func (*CAPOperatorList) DeepCopyInto ¶
func (in *CAPOperatorList) DeepCopyInto(out *CAPOperatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAPOperatorList) DeepCopyObject ¶
func (in *CAPOperatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CAPOperatorSpec ¶
type CAPOperatorSpec struct { // SubscriptionServer info SubscriptionServer SubscriptionServer `json:"subscriptionServer"` // +kubebuilder:validation:Pattern=^[a-z0-9-.]*$ // Public ingress URL for the cluster Load Balancer DNSTarget string `json:"dnsTarget,omitempty"` // +kubebuilder:validation:MinItems=1 // Labels used to identify the istio ingress-gateway component and its corresponding namespace. Usually {"app":"istio-ingressgateway","istio":"ingressgateway"} IngressGatewayLabels []NameValue `json:"ingressGatewayLabels,omitempty"` }
CAPOperatorSpec defines the desired state of CAPOperator
func (*CAPOperatorSpec) DeepCopy ¶
func (in *CAPOperatorSpec) DeepCopy() *CAPOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPOperatorSpec.
func (*CAPOperatorSpec) DeepCopyInto ¶
func (in *CAPOperatorSpec) DeepCopyInto(out *CAPOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAPOperatorSpec) ToUnstructured ¶
func (c *CAPOperatorSpec) ToUnstructured() map[string]any
type CAPOperatorStatus ¶
type CAPOperatorStatus struct { // add other fields to status subresource here component.Status `json:",inline"` }
func (*CAPOperatorStatus) DeepCopy ¶
func (in *CAPOperatorStatus) DeepCopy() *CAPOperatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPOperatorStatus.
func (*CAPOperatorStatus) DeepCopyInto ¶
func (in *CAPOperatorStatus) DeepCopyInto(out *CAPOperatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NameValue ¶
Generic Name/Value configuration
func (*NameValue) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameValue.
func (*NameValue) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionServer ¶
type SubscriptionServer struct {
Subdomain string `json:"subDomain"`
}
func (*SubscriptionServer) DeepCopy ¶
func (in *SubscriptionServer) DeepCopy() *SubscriptionServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionServer.
func (*SubscriptionServer) DeepCopyInto ¶
func (in *SubscriptionServer) DeepCopyInto(out *SubscriptionServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.