Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cache v1alpha1 API group.
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type MetricsProperties
- type PodMonitorProperties
- type PrometheusRuleProperties
- type ValkeyOperator
- func (in *ValkeyOperator) DeepCopy() *ValkeyOperator
- func (in *ValkeyOperator) DeepCopyInto(out *ValkeyOperator)
- func (in *ValkeyOperator) DeepCopyObject() runtime.Object
- func (c *ValkeyOperator) GetDeploymentName() string
- func (c *ValkeyOperator) GetDeploymentNamespace() string
- func (c *ValkeyOperator) GetSpec() componentoperatorruntimetypes.Unstructurable
- func (c *ValkeyOperator) GetStatus() *component.Status
- type ValkeyOperatorList
- type ValkeyOperatorSpec
- type ValkeyOperatorStatus
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 MetricsProperties ¶
type MetricsProperties struct { PodMonitor *PodMonitorProperties `json:"podMonitor,omitempty"` PrometheusRule *PrometheusRuleProperties `json:"prometheusRule,omitempty"` }
MetricsProperties defines the properties for the metrics server.
func (*MetricsProperties) DeepCopy ¶
func (in *MetricsProperties) DeepCopy() *MetricsProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsProperties.
func (*MetricsProperties) DeepCopyInto ¶
func (in *MetricsProperties) DeepCopyInto(out *MetricsProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodMonitorProperties ¶
type PodMonitorProperties struct {
Enabled bool `json:"enabled,omitempty"`
}
PodMonitorProperties defines the properties for the pod monitor.
func (*PodMonitorProperties) DeepCopy ¶
func (in *PodMonitorProperties) DeepCopy() *PodMonitorProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodMonitorProperties.
func (*PodMonitorProperties) DeepCopyInto ¶
func (in *PodMonitorProperties) DeepCopyInto(out *PodMonitorProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrometheusRuleProperties ¶
type PrometheusRuleProperties struct { Enabled bool `json:"enabled,omitempty"` Rules []prometheusv1.Rule `json:"rules,omitempty"` }
PrometheusRuleProperties defines the properties for the prometheus rule.
func (*PrometheusRuleProperties) DeepCopy ¶
func (in *PrometheusRuleProperties) DeepCopy() *PrometheusRuleProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRuleProperties.
func (*PrometheusRuleProperties) DeepCopyInto ¶
func (in *PrometheusRuleProperties) DeepCopyInto(out *PrometheusRuleProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValkeyOperator ¶
type ValkeyOperator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ValkeyOperatorSpec `json:"spec,omitempty"` // +kubebuilder:default={"observedGeneration":-1} Status ValkeyOperatorStatus `json:"status,omitempty"` }
ValkeyOperator is the Schema for the valkeyoperators API.
func (*ValkeyOperator) DeepCopy ¶
func (in *ValkeyOperator) DeepCopy() *ValkeyOperator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValkeyOperator.
func (*ValkeyOperator) DeepCopyInto ¶
func (in *ValkeyOperator) DeepCopyInto(out *ValkeyOperator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ValkeyOperator) DeepCopyObject ¶
func (in *ValkeyOperator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ValkeyOperator) GetDeploymentName ¶
func (c *ValkeyOperator) GetDeploymentName() string
func (*ValkeyOperator) GetDeploymentNamespace ¶
func (c *ValkeyOperator) GetDeploymentNamespace() string
func (*ValkeyOperator) GetSpec ¶
func (c *ValkeyOperator) GetSpec() componentoperatorruntimetypes.Unstructurable
func (*ValkeyOperator) GetStatus ¶
func (c *ValkeyOperator) GetStatus() *component.Status
type ValkeyOperatorList ¶
type ValkeyOperatorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ValkeyOperator `json:"items"` }
ValkeyOperatorList contains a list of ValkeyOperator.
func (*ValkeyOperatorList) DeepCopy ¶
func (in *ValkeyOperatorList) DeepCopy() *ValkeyOperatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValkeyOperatorList.
func (*ValkeyOperatorList) DeepCopyInto ¶
func (in *ValkeyOperatorList) DeepCopyInto(out *ValkeyOperatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ValkeyOperatorList) DeepCopyObject ¶
func (in *ValkeyOperatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ValkeyOperatorSpec ¶
type ValkeyOperatorSpec 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"` Metrics *MetricsProperties `json:"metrics,omitempty"` }
ValkeyOperatorSpec defines the desired state of ValkeyOperator.
func (*ValkeyOperatorSpec) DeepCopy ¶
func (in *ValkeyOperatorSpec) DeepCopy() *ValkeyOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValkeyOperatorSpec.
func (*ValkeyOperatorSpec) DeepCopyInto ¶
func (in *ValkeyOperatorSpec) DeepCopyInto(out *ValkeyOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ValkeyOperatorSpec) ToUnstructured ¶
func (s *ValkeyOperatorSpec) ToUnstructured() map[string]any
type ValkeyOperatorStatus ¶
ValkeyOperatorStatus defines the observed state of ValkeyOperator.
func (*ValkeyOperatorStatus) DeepCopy ¶
func (in *ValkeyOperatorStatus) DeepCopy() *ValkeyOperatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValkeyOperatorStatus.
func (*ValkeyOperatorStatus) DeepCopyInto ¶
func (in *ValkeyOperatorStatus) DeepCopyInto(out *ValkeyOperatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.