Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the config v1 API group +kubebuilder:object:generate=true +groupName=config.dbaas.bedag.ch
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "config.dbaas.bedag.ch", Version: "v1"} // 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 )
Functions ¶
This section is empty.
Types ¶
type OperatorConfig ¶
type OperatorConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:Optional // ControllerManagerConfigurationSpec returns the configurations for controllers. See https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/config/v1alpha1#ControllerManagerConfigurationSpec cfg.ControllerManagerConfigurationSpec `json:",inline"` // rps configures the rate limiter to allow only a certain amount of operations per second per endpoint. If set to 0, // operations won't be rate-limited. Rps int `json:"rps,omitempty"` // keepalive configures the interval between pings to endpoints. If set to 0, pings won't be performed. Keepalive int `json:"keepalive,omitempty"` // +kubebuilder:kubebuilder:validation:MinItems=1 // DbmsList returns the configuration for the database endpoints. DbmsList database.DbmsList `json:"dbms"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status OperatorConfig is the Schema for the operatorconfigs API
func (OperatorConfig) Complete ¶
func (c OperatorConfig) Complete() (cfg.ControllerManagerConfigurationSpec, error)
+kubebuilder:object:root=true
func (*OperatorConfig) DeepCopy ¶
func (in *OperatorConfig) DeepCopy() *OperatorConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorConfig.
func (*OperatorConfig) DeepCopyInto ¶
func (in *OperatorConfig) DeepCopyInto(out *OperatorConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OperatorConfig) DeepCopyObject ¶
func (in *OperatorConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Click to show internal directories.
Click to hide internal directories.