v1alpha1

package
v0.0.0-...-8f29c5c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.sme.sap.com

Index

Constants

This section is empty.

Variables

View Source
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 (*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

type NameValue struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Generic Name/Value configuration

func (*NameValue) DeepCopy

func (in *NameValue) DeepCopy() *NameValue

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameValue.

func (*NameValue) DeepCopyInto

func (in *NameValue) DeepCopyInto(out *NameValue)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL