Documentation ¶
Overview ¶
+kubebuilder:validation:Optional +groupName=scylla.scylladb.com
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type NodeConfig
- type NodeConfigCondition
- type NodeConfigConditionType
- type NodeConfigList
- type NodeConfigNodeStatus
- type NodeConfigPlacement
- type NodeConfigSpec
- type NodeConfigStatus
- type ScyllaOperatorConfig
- type ScyllaOperatorConfigList
- type ScyllaOperatorConfigSpec
- type ScyllaOperatorConfigStatus
Constants ¶
This section is empty.
Variables ¶
var ( GroupName = "scylla.scylladb.com" GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} // Install is a function which adds this version to a scheme Install = schemeBuilder.AddToScheme // SchemeGroupVersion generated code relies on this name // Deprecated SchemeGroupVersion = GroupVersion // AddToScheme exists solely to keep the old generators creating valid code // DEPRECATED AddToScheme = schemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED
Types ¶
type NodeConfig ¶
type NodeConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NodeConfigSpec `json:"spec,omitempty"` Status NodeConfigStatus `json:"status,omitempty"` }
func (*NodeConfig) DeepCopy ¶
func (in *NodeConfig) DeepCopy() *NodeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfig.
func (*NodeConfig) DeepCopyInto ¶
func (in *NodeConfig) DeepCopyInto(out *NodeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeConfig) DeepCopyObject ¶
func (in *NodeConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeConfigCondition ¶
type NodeConfigCondition struct { // type is the type of the NodeConfig condition. Type NodeConfigConditionType `json:"type"` // status represents the state of the condition, one of True, False, or Unknown. Status corev1.ConditionStatus `json:"status"` // lastTransitionTime is last time the condition transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime"` // reason is the reason for condition's last transition. Reason string `json:"reason"` // message is a human-readable message indicating details about the transition. Message string `json:"message"` }
func (*NodeConfigCondition) DeepCopy ¶
func (in *NodeConfigCondition) DeepCopy() *NodeConfigCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigCondition.
func (*NodeConfigCondition) DeepCopyInto ¶
func (in *NodeConfigCondition) DeepCopyInto(out *NodeConfigCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeConfigConditionType ¶
type NodeConfigConditionType string
const ( // Reconciled indicates that the NodeConfig is fully deployed and available. NodeConfigReconciledConditionType NodeConfigConditionType = "Reconciled" )
type NodeConfigList ¶
type NodeConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NodeConfig `json:"items"` }
func (*NodeConfigList) DeepCopy ¶
func (in *NodeConfigList) DeepCopy() *NodeConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigList.
func (*NodeConfigList) DeepCopyInto ¶
func (in *NodeConfigList) DeepCopyInto(out *NodeConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeConfigList) DeepCopyObject ¶
func (in *NodeConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeConfigNodeStatus ¶
type NodeConfigNodeStatus struct { Name string `json:"name"` TunedNode bool `json:"tunedNode"` TunedContainers []string `json:"tunedContainers"` }
func (*NodeConfigNodeStatus) DeepCopy ¶
func (in *NodeConfigNodeStatus) DeepCopy() *NodeConfigNodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigNodeStatus.
func (*NodeConfigNodeStatus) DeepCopyInto ¶
func (in *NodeConfigNodeStatus) DeepCopyInto(out *NodeConfigNodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeConfigPlacement ¶
type NodeConfigPlacement struct { // affinity is a group of affinity scheduling rules for NodeConfig Pods. Affinity corev1.Affinity `json:"affinity"` // tolerations is a group of tolerations NodeConfig Pods are going to have. Tolerations []corev1.Toleration `json:"tolerations"` // nodeSelector is a selector which must be true for the NodeConfig Pod to fit on a node. // Selector which must match a node's labels for the pod to be scheduled on that node. // +kubebuilder:validation:Required NodeSelector map[string]string `json:"nodeSelector"` }
func (*NodeConfigPlacement) DeepCopy ¶
func (in *NodeConfigPlacement) DeepCopy() *NodeConfigPlacement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigPlacement.
func (*NodeConfigPlacement) DeepCopyInto ¶
func (in *NodeConfigPlacement) DeepCopyInto(out *NodeConfigPlacement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeConfigSpec ¶
type NodeConfigSpec struct { // placement contains scheduling rules for NodeConfig Pods. // +kubebuilder:validation:Required Placement NodeConfigPlacement `json:"placement"` // disableOptimizations controls if nodes matching placement requirements // are going to be optimized. Turning off optimizations on already optimized // Nodes does not revert changes. DisableOptimizations bool `json:"disableOptimizations"` }
func (*NodeConfigSpec) DeepCopy ¶
func (in *NodeConfigSpec) DeepCopy() *NodeConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigSpec.
func (*NodeConfigSpec) DeepCopyInto ¶
func (in *NodeConfigSpec) DeepCopyInto(out *NodeConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeConfigStatus ¶
type NodeConfigStatus struct { // observedGeneration indicates the most recent generation observed by the controller. ObservedGeneration int64 `json:"observedGeneration"` // conditions represents the latest available observations of current state. // +optional Conditions []NodeConfigCondition `json:"conditions"` // nodeStatuses hold the status for each tuned node. NodeStatuses []NodeConfigNodeStatus `json:"nodeStatuses"` }
func (*NodeConfigStatus) DeepCopy ¶
func (in *NodeConfigStatus) DeepCopy() *NodeConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigStatus.
func (*NodeConfigStatus) DeepCopyInto ¶
func (in *NodeConfigStatus) DeepCopyInto(out *NodeConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScyllaOperatorConfig ¶
type ScyllaOperatorConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // spec defines the desired state of the operator. Spec ScyllaOperatorConfigSpec `json:"spec,omitempty"` // status defines the observed state of the operator. Status ScyllaOperatorConfigStatus `json:"status,omitempty"` }
func (*ScyllaOperatorConfig) DeepCopy ¶
func (in *ScyllaOperatorConfig) DeepCopy() *ScyllaOperatorConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScyllaOperatorConfig.
func (*ScyllaOperatorConfig) DeepCopyInto ¶
func (in *ScyllaOperatorConfig) DeepCopyInto(out *ScyllaOperatorConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScyllaOperatorConfig) DeepCopyObject ¶
func (in *ScyllaOperatorConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScyllaOperatorConfigList ¶
type ScyllaOperatorConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ScyllaOperatorConfig `json:"items"` }
func (*ScyllaOperatorConfigList) DeepCopy ¶
func (in *ScyllaOperatorConfigList) DeepCopy() *ScyllaOperatorConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScyllaOperatorConfigList.
func (*ScyllaOperatorConfigList) DeepCopyInto ¶
func (in *ScyllaOperatorConfigList) DeepCopyInto(out *ScyllaOperatorConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScyllaOperatorConfigList) DeepCopyObject ¶
func (in *ScyllaOperatorConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScyllaOperatorConfigSpec ¶
type ScyllaOperatorConfigSpec struct { // scyllaUtilsImage is a Scylla image used for running scylla utilities. // +kubebuilder:validation:MinLength=1 ScyllaUtilsImage string `json:"scyllaUtilsImage"` }
func (*ScyllaOperatorConfigSpec) DeepCopy ¶
func (in *ScyllaOperatorConfigSpec) DeepCopy() *ScyllaOperatorConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScyllaOperatorConfigSpec.
func (*ScyllaOperatorConfigSpec) DeepCopyInto ¶
func (in *ScyllaOperatorConfigSpec) DeepCopyInto(out *ScyllaOperatorConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScyllaOperatorConfigStatus ¶
type ScyllaOperatorConfigStatus struct { }
func (*ScyllaOperatorConfigStatus) DeepCopy ¶
func (in *ScyllaOperatorConfigStatus) DeepCopy() *ScyllaOperatorConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScyllaOperatorConfigStatus.
func (*ScyllaOperatorConfigStatus) DeepCopyInto ¶
func (in *ScyllaOperatorConfigStatus) DeepCopyInto(out *ScyllaOperatorConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.