Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group.
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type ClusterSecretOperator
- func (in *ClusterSecretOperator) DeepCopy() *ClusterSecretOperator
- func (in *ClusterSecretOperator) DeepCopyInto(out *ClusterSecretOperator)
- func (in *ClusterSecretOperator) DeepCopyObject() runtime.Object
- func (c *ClusterSecretOperator) GetDeploymentName() string
- func (c *ClusterSecretOperator) GetDeploymentNamespace() string
- func (c *ClusterSecretOperator) GetSpec() componentoperatorruntimetypes.Unstructurable
- func (c *ClusterSecretOperator) GetStatus() *component.Status
- type ClusterSecretOperatorList
- type ClusterSecretOperatorSpec
- type ClusterSecretOperatorStatus
- type ControllerSpec
- type WebhookSpec
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.3
func Resource(resource string) schema.GroupResource
Needed by kubernetes/code-generator.
Types ¶
type ClusterSecretOperator ¶
type ClusterSecretOperator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSecretOperatorSpec `json:"spec,omitempty"` // +kubebuilder:default={"observedGeneration":-1} Status ClusterSecretOperatorStatus `json:"status,omitempty"` }
ClusterSecretOperator is the Schema for the clustersecretoperators API.
func (*ClusterSecretOperator) DeepCopy ¶
func (in *ClusterSecretOperator) DeepCopy() *ClusterSecretOperator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretOperator.
func (*ClusterSecretOperator) DeepCopyInto ¶
func (in *ClusterSecretOperator) DeepCopyInto(out *ClusterSecretOperator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterSecretOperator) DeepCopyObject ¶
func (in *ClusterSecretOperator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterSecretOperator) GetDeploymentName ¶
func (c *ClusterSecretOperator) GetDeploymentName() string
func (*ClusterSecretOperator) GetDeploymentNamespace ¶
func (c *ClusterSecretOperator) GetDeploymentNamespace() string
func (*ClusterSecretOperator) GetSpec ¶
func (c *ClusterSecretOperator) GetSpec() componentoperatorruntimetypes.Unstructurable
func (*ClusterSecretOperator) GetStatus ¶
func (c *ClusterSecretOperator) GetStatus() *component.Status
type ClusterSecretOperatorList ¶
type ClusterSecretOperatorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterSecretOperator `json:"items"` }
ClusterSecretOperatorList contains a list of ClusterSecretOperator.
func (*ClusterSecretOperatorList) DeepCopy ¶
func (in *ClusterSecretOperatorList) DeepCopy() *ClusterSecretOperatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretOperatorList.
func (*ClusterSecretOperatorList) DeepCopyInto ¶
func (in *ClusterSecretOperatorList) DeepCopyInto(out *ClusterSecretOperatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterSecretOperatorList) DeepCopyObject ¶
func (in *ClusterSecretOperatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterSecretOperatorSpec ¶
type ClusterSecretOperatorSpec struct { component.Spec `json:",inline"` // +optional Controller ControllerSpec `json:"controller"` // +optional Webhook WebhookSpec `json:"webhook"` }
ClusterSecretOperatorSpec defines the desired state of ClusterSecretOperator.
func (*ClusterSecretOperatorSpec) DeepCopy ¶
func (in *ClusterSecretOperatorSpec) DeepCopy() *ClusterSecretOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretOperatorSpec.
func (*ClusterSecretOperatorSpec) DeepCopyInto ¶
func (in *ClusterSecretOperatorSpec) DeepCopyInto(out *ClusterSecretOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterSecretOperatorSpec) ToUnstructured ¶
func (s *ClusterSecretOperatorSpec) ToUnstructured() map[string]any
type ClusterSecretOperatorStatus ¶
ClusterSecretOperatorStatus defines the observed state of ClusterSecretOperator.
func (*ClusterSecretOperatorStatus) DeepCopy ¶
func (in *ClusterSecretOperatorStatus) DeepCopy() *ClusterSecretOperatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretOperatorStatus.
func (*ClusterSecretOperatorStatus) DeepCopyInto ¶
func (in *ClusterSecretOperatorStatus) DeepCopyInto(out *ClusterSecretOperatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerSpec ¶
type ControllerSpec struct { // +kubebuilder:validation:Minimum=1 // +kubebuilder:default=1 ReplicaCount int `json:"replicaCount,omitempty"` // +optional Image component.ImageSpec `json:"image"` component.KubernetesProperties `json:",inline"` LogLevel int `json:"logLevel,omitempty"` }
ControllerSpec defines the desired state of the controller deployment.
func (*ControllerSpec) DeepCopy ¶
func (in *ControllerSpec) DeepCopy() *ControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerSpec.
func (*ControllerSpec) DeepCopyInto ¶
func (in *ControllerSpec) DeepCopyInto(out *ControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookSpec ¶
type WebhookSpec struct { // +kubebuilder:validation:Minimum=1 // +kubebuilder:default=1 ReplicaCount int `json:"replicaCount,omitempty"` // +optional Image component.ImageSpec `json:"image"` component.KubernetesProperties `json:",inline"` LogLevel int `json:"logLevel,omitempty"` }
WebhookSpec defines the desired state of the webhook deployment.
func (*WebhookSpec) DeepCopy ¶
func (in *WebhookSpec) DeepCopy() *WebhookSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookSpec.
func (*WebhookSpec) DeepCopyInto ¶
func (in *WebhookSpec) DeepCopyInto(out *WebhookSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.