Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group.
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type RedisOperator
- func (in *RedisOperator) DeepCopy() *RedisOperator
- func (in *RedisOperator) DeepCopyInto(out *RedisOperator)
- func (in *RedisOperator) DeepCopyObject() runtime.Object
- func (c *RedisOperator) GetDeploymentName() string
- func (c *RedisOperator) GetDeploymentNamespace() string
- func (c *RedisOperator) GetSpec() componentoperatorruntimetypes.Unstructurable
- func (c *RedisOperator) GetStatus() *component.Status
- type RedisOperatorList
- type RedisOperatorSpec
- type RedisOperatorStatus
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 ¶ added in v0.1.1
func Resource(resource string) schema.GroupResource
Needed by kubernetes/code-generator.
Types ¶
type RedisOperator ¶
type RedisOperator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RedisOperatorSpec `json:"spec,omitempty"` // +kubebuilder:default={"observedGeneration":-1} Status RedisOperatorStatus `json:"status,omitempty"` }
RedisOperator is the Schema for the redisoperators API.
func (*RedisOperator) DeepCopy ¶
func (in *RedisOperator) DeepCopy() *RedisOperator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisOperator.
func (*RedisOperator) DeepCopyInto ¶
func (in *RedisOperator) DeepCopyInto(out *RedisOperator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisOperator) DeepCopyObject ¶
func (in *RedisOperator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RedisOperator) GetDeploymentName ¶
func (c *RedisOperator) GetDeploymentName() string
func (*RedisOperator) GetDeploymentNamespace ¶
func (c *RedisOperator) GetDeploymentNamespace() string
func (*RedisOperator) GetSpec ¶
func (c *RedisOperator) GetSpec() componentoperatorruntimetypes.Unstructurable
func (*RedisOperator) GetStatus ¶
func (c *RedisOperator) GetStatus() *component.Status
type RedisOperatorList ¶
type RedisOperatorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RedisOperator `json:"items"` }
RedisOperatorList contains a list of RedisOperator.
func (*RedisOperatorList) DeepCopy ¶
func (in *RedisOperatorList) DeepCopy() *RedisOperatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisOperatorList.
func (*RedisOperatorList) DeepCopyInto ¶
func (in *RedisOperatorList) DeepCopyInto(out *RedisOperatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisOperatorList) DeepCopyObject ¶
func (in *RedisOperatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisOperatorSpec ¶
type RedisOperatorSpec 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"` }
RedisOperatorSpec defines the desired state of RedisOperator.
func (*RedisOperatorSpec) DeepCopy ¶
func (in *RedisOperatorSpec) DeepCopy() *RedisOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisOperatorSpec.
func (*RedisOperatorSpec) DeepCopyInto ¶
func (in *RedisOperatorSpec) DeepCopyInto(out *RedisOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisOperatorSpec) ToUnstructured ¶
func (s *RedisOperatorSpec) ToUnstructured() map[string]any
type RedisOperatorStatus ¶
RedisOperatorStatus defines the observed state of RedisOperator.
func (*RedisOperatorStatus) DeepCopy ¶
func (in *RedisOperatorStatus) DeepCopy() *RedisOperatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisOperatorStatus.
func (*RedisOperatorStatus) DeepCopyInto ¶
func (in *RedisOperatorStatus) DeepCopyInto(out *RedisOperatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.