Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group.
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type CFServiceOperator
- func (in *CFServiceOperator) DeepCopy() *CFServiceOperator
- func (in *CFServiceOperator) DeepCopyInto(out *CFServiceOperator)
- func (in *CFServiceOperator) DeepCopyObject() runtime.Object
- func (c *CFServiceOperator) GetDeploymentName() string
- func (c *CFServiceOperator) GetDeploymentNamespace() string
- func (c *CFServiceOperator) GetSpec() componentoperatorruntimetypes.Unstructurable
- func (c *CFServiceOperator) GetStatus() *component.Status
- type CFServiceOperatorList
- type CFServiceOperatorSpec
- type CFServiceOperatorStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "operator.kyma-project.io", 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 CFServiceOperator ¶
type CFServiceOperator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CFServiceOperatorSpec `json:"spec,omitempty"` // +kubebuilder:default={"observedGeneration":-1} Status CFServiceOperatorStatus `json:"status,omitempty"` }
CFServiceOperator is the Schema for the cfserviceoperators API.
func (*CFServiceOperator) DeepCopy ¶
func (in *CFServiceOperator) DeepCopy() *CFServiceOperator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFServiceOperator.
func (*CFServiceOperator) DeepCopyInto ¶
func (in *CFServiceOperator) DeepCopyInto(out *CFServiceOperator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CFServiceOperator) DeepCopyObject ¶
func (in *CFServiceOperator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CFServiceOperator) GetDeploymentName ¶
func (c *CFServiceOperator) GetDeploymentName() string
func (*CFServiceOperator) GetDeploymentNamespace ¶
func (c *CFServiceOperator) GetDeploymentNamespace() string
func (*CFServiceOperator) GetSpec ¶
func (c *CFServiceOperator) GetSpec() componentoperatorruntimetypes.Unstructurable
func (*CFServiceOperator) GetStatus ¶
func (c *CFServiceOperator) GetStatus() *component.Status
type CFServiceOperatorList ¶
type CFServiceOperatorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CFServiceOperator `json:"items"` }
CFServiceOperatorList contains a list of CFServiceOperator.
func (*CFServiceOperatorList) DeepCopy ¶
func (in *CFServiceOperatorList) DeepCopy() *CFServiceOperatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFServiceOperatorList.
func (*CFServiceOperatorList) DeepCopyInto ¶
func (in *CFServiceOperatorList) DeepCopyInto(out *CFServiceOperatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CFServiceOperatorList) DeepCopyObject ¶
func (in *CFServiceOperatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CFServiceOperatorSpec ¶
type CFServiceOperatorSpec struct { component.Spec `json:",inline"` // +kubebuilder:validation:Minimum=1 // +kubebuilder:default=1 ReplicaCount int `json:"replicaCount,omitempty"` // +optional Image component.ImageSpec `json:"image"` component.KubernetesProperties `json:",inline"` }
CFServiceOperatorSpec defines the desired state of CFServiceOperator.
func (*CFServiceOperatorSpec) DeepCopy ¶
func (in *CFServiceOperatorSpec) DeepCopy() *CFServiceOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFServiceOperatorSpec.
func (*CFServiceOperatorSpec) DeepCopyInto ¶
func (in *CFServiceOperatorSpec) DeepCopyInto(out *CFServiceOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CFServiceOperatorSpec) ToUnstructured ¶
func (s *CFServiceOperatorSpec) ToUnstructured() map[string]any
type CFServiceOperatorStatus ¶
CFServiceOperatorStatus defines the observed state of CFServiceOperator.
func (*CFServiceOperatorStatus) DeepCopy ¶
func (in *CFServiceOperatorStatus) DeepCopy() *CFServiceOperatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFServiceOperatorStatus.
func (*CFServiceOperatorStatus) DeepCopyInto ¶
func (in *CFServiceOperatorStatus) DeepCopyInto(out *CFServiceOperatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.