Documentation ¶
Overview ¶
+groupName=autoscaling.kubedb.com
Index ¶
- Constants
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- func SetDefaultClient(kc client.Client)
- type AutoscalerPhase
- type AutoscalerStatus
- type AutoscalerTrigger
- type BucketWeight
- type CassandraAutoscaler
- func (r CassandraAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *CassandraAutoscaler) DeepCopy() *CassandraAutoscaler
- func (in *CassandraAutoscaler) DeepCopyInto(out *CassandraAutoscaler)
- func (in *CassandraAutoscaler) DeepCopyObject() runtime.Object
- func (r *CassandraAutoscaler) Default()
- func (r *CassandraAutoscaler) GetStatus() AutoscalerStatus
- func (r CassandraAutoscaler) ResourceFQN() string
- func (r CassandraAutoscaler) ResourceKind() string
- func (r CassandraAutoscaler) ResourcePlural() string
- func (r CassandraAutoscaler) ResourceShortCode() string
- func (r CassandraAutoscaler) ResourceSingular() string
- func (r *CassandraAutoscaler) SetStatus(s AutoscalerStatus)
- func (r *CassandraAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (r *CassandraAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (r CassandraAutoscaler) ValidateSpecs() error
- func (r *CassandraAutoscaler) ValidateUpdate(oldObj runtime.Object) (admission.Warnings, error)
- type CassandraAutoscalerList
- type CassandraAutoscalerSpec
- type CassandraComputeAutoscalerSpec
- type CassandraOpsRequestOptions
- type CassandraStorageAutoscalerSpec
- type Checkpoint
- type CheckpointReference
- type ClickHouseAutoscaler
- func (r ClickHouseAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *ClickHouseAutoscaler) DeepCopy() *ClickHouseAutoscaler
- func (in *ClickHouseAutoscaler) DeepCopyInto(out *ClickHouseAutoscaler)
- func (in *ClickHouseAutoscaler) DeepCopyObject() runtime.Object
- func (r *ClickHouseAutoscaler) Default()
- func (r *ClickHouseAutoscaler) GetStatus() AutoscalerStatus
- func (r ClickHouseAutoscaler) ResourceFQN() string
- func (r ClickHouseAutoscaler) ResourceKind() string
- func (r ClickHouseAutoscaler) ResourcePlural() string
- func (r ClickHouseAutoscaler) ResourceShortCode() string
- func (r ClickHouseAutoscaler) ResourceSingular() string
- func (r *ClickHouseAutoscaler) SetStatus(s AutoscalerStatus)
- func (r *ClickHouseAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (r *ClickHouseAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (r ClickHouseAutoscaler) ValidateSpecs() error
- func (r *ClickHouseAutoscaler) ValidateUpdate(oldObj runtime.Object) (admission.Warnings, error)
- type ClickHouseAutoscalerList
- type ClickHouseAutoscalerSpec
- type ClickHouseComputeAutoscalerSpec
- type ClickHouseOpsRequestOptions
- type ClickHouseStorageAutoscalerSpec
- type ComputeAutoscalerSpec
- type ComputeInMemoryStorageSpec
- type ContainerControlledValues
- type ContainerResourcePolicy
- type ContainerScalingMode
- type DruidAutoscaler
- func (_ *DruidAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *DruidAutoscaler) DeepCopy() *DruidAutoscaler
- func (in *DruidAutoscaler) DeepCopyInto(out *DruidAutoscaler)
- func (in *DruidAutoscaler) DeepCopyObject() runtime.Object
- func (d *DruidAutoscaler) Default()
- func (d *DruidAutoscaler) GetStatus() AutoscalerStatus
- func (d *DruidAutoscaler) ResourceFQN() string
- func (d *DruidAutoscaler) ResourceKind() string
- func (d *DruidAutoscaler) ResourcePlural() string
- func (d *DruidAutoscaler) ResourceShortCode() string
- func (d *DruidAutoscaler) ResourceSingular() string
- func (d *DruidAutoscaler) SetStatus(s AutoscalerStatus)
- func (d *DruidAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (_ *DruidAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (d *DruidAutoscaler) ValidateSpecs() error
- func (d *DruidAutoscaler) ValidateUpdate(oldObj runtime.Object) (admission.Warnings, error)
- type DruidAutoscalerList
- type DruidAutoscalerSpec
- type DruidComputeAutoscalerSpec
- type DruidOpsRequestOptions
- type DruidStorageAutoscalerSpec
- type ElasticsearchAutoscaler
- func (_ ElasticsearchAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *ElasticsearchAutoscaler) DeepCopy() *ElasticsearchAutoscaler
- func (in *ElasticsearchAutoscaler) DeepCopyInto(out *ElasticsearchAutoscaler)
- func (in *ElasticsearchAutoscaler) DeepCopyObject() runtime.Object
- func (in *ElasticsearchAutoscaler) Default()
- func (e *ElasticsearchAutoscaler) GetStatus() AutoscalerStatus
- func (e ElasticsearchAutoscaler) ResourceFQN() string
- func (e ElasticsearchAutoscaler) ResourceKind() string
- func (e ElasticsearchAutoscaler) ResourcePlural() string
- func (e ElasticsearchAutoscaler) ResourceShortCode() string
- func (e ElasticsearchAutoscaler) ResourceSingular() string
- func (e *ElasticsearchAutoscaler) SetStatus(s AutoscalerStatus)
- func (in *ElasticsearchAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
- func (in *ElasticsearchAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (_ ElasticsearchAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (e ElasticsearchAutoscaler) ValidateSpecs() error
- func (in *ElasticsearchAutoscaler) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type ElasticsearchAutoscalerList
- type ElasticsearchAutoscalerSpec
- type ElasticsearchComputeAutoscalerSpec
- type ElasticsearchOpsRequestOptions
- type ElasticsearchStorageAutoscalerSpec
- type EtcdAutoscaler
- func (_ EtcdAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *EtcdAutoscaler) DeepCopy() *EtcdAutoscaler
- func (in *EtcdAutoscaler) DeepCopyInto(out *EtcdAutoscaler)
- func (in *EtcdAutoscaler) DeepCopyObject() runtime.Object
- func (e *EtcdAutoscaler) GetStatus() AutoscalerStatus
- func (e EtcdAutoscaler) ResourceFQN() string
- func (e EtcdAutoscaler) ResourceKind() string
- func (e EtcdAutoscaler) ResourcePlural() string
- func (e EtcdAutoscaler) ResourceShortCode() string
- func (e EtcdAutoscaler) ResourceSingular() string
- func (e *EtcdAutoscaler) SetStatus(s AutoscalerStatus)
- func (e EtcdAutoscaler) ValidateSpecs() error
- type EtcdAutoscalerBehavior
- type EtcdAutoscalerList
- type EtcdAutoscalerSpec
- type EtcdScalingPolicy
- type EtcdScalingRules
- type FerretDBAutoscaler
- func (r FerretDBAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *FerretDBAutoscaler) DeepCopy() *FerretDBAutoscaler
- func (in *FerretDBAutoscaler) DeepCopyInto(out *FerretDBAutoscaler)
- func (in *FerretDBAutoscaler) DeepCopyObject() runtime.Object
- func (r *FerretDBAutoscaler) Default()
- func (r *FerretDBAutoscaler) GetStatus() AutoscalerStatus
- func (r FerretDBAutoscaler) ResourceFQN() string
- func (r FerretDBAutoscaler) ResourceKind() string
- func (r FerretDBAutoscaler) ResourcePlural() string
- func (r FerretDBAutoscaler) ResourceShortCode() string
- func (r FerretDBAutoscaler) ResourceSingular() string
- func (r *FerretDBAutoscaler) SetStatus(s AutoscalerStatus)
- func (r *FerretDBAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (r *FerretDBAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (r FerretDBAutoscaler) ValidateSpecs() error
- func (r *FerretDBAutoscaler) ValidateUpdate(oldObj runtime.Object) (admission.Warnings, error)
- type FerretDBAutoscalerList
- type FerretDBAutoscalerSpec
- type FerretDBComputeAutoscalerSpec
- type FerretDBOpsRequestOptions
- type FerretDBStorageAutoscalerSpec
- type HistogramCheckpoint
- type KafkaAutoscaler
- func (_ *KafkaAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *KafkaAutoscaler) DeepCopy() *KafkaAutoscaler
- func (in *KafkaAutoscaler) DeepCopyInto(out *KafkaAutoscaler)
- func (in *KafkaAutoscaler) DeepCopyObject() runtime.Object
- func (k *KafkaAutoscaler) Default()
- func (k *KafkaAutoscaler) GetStatus() AutoscalerStatus
- func (k *KafkaAutoscaler) ResourceFQN() string
- func (k *KafkaAutoscaler) ResourceKind() string
- func (k *KafkaAutoscaler) ResourcePlural() string
- func (k *KafkaAutoscaler) ResourceShortCode() string
- func (k *KafkaAutoscaler) ResourceSingular() string
- func (k *KafkaAutoscaler) SetStatus(s AutoscalerStatus)
- func (k *KafkaAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (_ *KafkaAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (k *KafkaAutoscaler) ValidateSpecs() error
- func (k *KafkaAutoscaler) ValidateUpdate(oldObj runtime.Object) (admission.Warnings, error)
- type KafkaAutoscalerList
- type KafkaAutoscalerSpec
- type KafkaComputeAutoscalerSpec
- type KafkaOpsRequestOptions
- type KafkaStorageAutoscalerSpec
- type MSSQLServerAutoscaler
- func (r MSSQLServerAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *MSSQLServerAutoscaler) DeepCopy() *MSSQLServerAutoscaler
- func (in *MSSQLServerAutoscaler) DeepCopyInto(out *MSSQLServerAutoscaler)
- func (in *MSSQLServerAutoscaler) DeepCopyObject() runtime.Object
- func (r *MSSQLServerAutoscaler) Default()
- func (r *MSSQLServerAutoscaler) GetStatus() AutoscalerStatus
- func (r MSSQLServerAutoscaler) ResourceFQN() string
- func (r MSSQLServerAutoscaler) ResourceKind() string
- func (r MSSQLServerAutoscaler) ResourcePlural() string
- func (r MSSQLServerAutoscaler) ResourceShortCode() string
- func (r MSSQLServerAutoscaler) ResourceSingular() string
- func (r *MSSQLServerAutoscaler) SetStatus(s AutoscalerStatus)
- func (r *MSSQLServerAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (r *MSSQLServerAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (r MSSQLServerAutoscaler) ValidateSpecs() error
- func (r *MSSQLServerAutoscaler) ValidateUpdate(oldObj runtime.Object) (admission.Warnings, error)
- type MSSQLServerAutoscalerList
- type MSSQLServerAutoscalerSpec
- type MSSQLServerComputeAutoscalerSpec
- type MSSQLServerOpsRequestOptions
- type MSSQLServerStorageAutoscalerSpec
- type MariaDBAutoscaler
- func (_ MariaDBAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *MariaDBAutoscaler) DeepCopy() *MariaDBAutoscaler
- func (in *MariaDBAutoscaler) DeepCopyInto(out *MariaDBAutoscaler)
- func (in *MariaDBAutoscaler) DeepCopyObject() runtime.Object
- func (in *MariaDBAutoscaler) Default()
- func (e *MariaDBAutoscaler) GetStatus() AutoscalerStatus
- func (m MariaDBAutoscaler) ResourceFQN() string
- func (m MariaDBAutoscaler) ResourceKind() string
- func (m MariaDBAutoscaler) ResourcePlural() string
- func (m MariaDBAutoscaler) ResourceShortCode() string
- func (m MariaDBAutoscaler) ResourceSingular() string
- func (e *MariaDBAutoscaler) SetStatus(s AutoscalerStatus)
- func (in *MariaDBAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
- func (in *MariaDBAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (_ MariaDBAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (m MariaDBAutoscaler) ValidateSpecs() error
- func (in *MariaDBAutoscaler) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type MariaDBAutoscalerList
- type MariaDBAutoscalerSpec
- type MariaDBComputeAutoscalerSpec
- type MariaDBOpsRequestOptions
- type MariaDBStorageAutoscalerSpec
- type MemcachedAutoscaler
- func (_ MemcachedAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *MemcachedAutoscaler) DeepCopy() *MemcachedAutoscaler
- func (in *MemcachedAutoscaler) DeepCopyInto(out *MemcachedAutoscaler)
- func (in *MemcachedAutoscaler) DeepCopyObject() runtime.Object
- func (r *MemcachedAutoscaler) Default()
- func (e *MemcachedAutoscaler) GetStatus() AutoscalerStatus
- func (m MemcachedAutoscaler) ResourceFQN() string
- func (m MemcachedAutoscaler) ResourceKind() string
- func (m MemcachedAutoscaler) ResourcePlural() string
- func (m MemcachedAutoscaler) ResourceShortCode() string
- func (m MemcachedAutoscaler) ResourceSingular() string
- func (e *MemcachedAutoscaler) SetStatus(s AutoscalerStatus)
- func (r *MemcachedAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (r *MemcachedAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (m MemcachedAutoscaler) ValidateSpecs() error
- func (r *MemcachedAutoscaler) ValidateUpdate(oldObj runtime.Object) (admission.Warnings, error)
- type MemcachedAutoscalerList
- type MemcachedAutoscalerSpec
- type MemcachedComputeAutoscalerSpec
- type MemcachedOpsRequestOptions
- type MemcachedStorageAutoscalerSpec
- type MongoDBAutoscaler
- func (_ MongoDBAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *MongoDBAutoscaler) DeepCopy() *MongoDBAutoscaler
- func (in *MongoDBAutoscaler) DeepCopyInto(out *MongoDBAutoscaler)
- func (in *MongoDBAutoscaler) DeepCopyObject() runtime.Object
- func (in *MongoDBAutoscaler) Default()
- func (e *MongoDBAutoscaler) GetStatus() AutoscalerStatus
- func (m MongoDBAutoscaler) ResourceFQN() string
- func (m MongoDBAutoscaler) ResourceKind() string
- func (m MongoDBAutoscaler) ResourcePlural() string
- func (m MongoDBAutoscaler) ResourceShortCode() string
- func (m MongoDBAutoscaler) ResourceSingular() string
- func (e *MongoDBAutoscaler) SetStatus(s AutoscalerStatus)
- func (in *MongoDBAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
- func (in *MongoDBAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (_ MongoDBAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (m MongoDBAutoscaler) ValidateSpecs() error
- func (in *MongoDBAutoscaler) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type MongoDBAutoscalerList
- type MongoDBAutoscalerSpec
- type MongoDBComputeAutoscalerSpec
- type MongoDBOpsRequestOptions
- type MongoDBStorageAutoscalerSpec
- type MySQLAutoscaler
- func (_ MySQLAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *MySQLAutoscaler) DeepCopy() *MySQLAutoscaler
- func (in *MySQLAutoscaler) DeepCopyInto(out *MySQLAutoscaler)
- func (in *MySQLAutoscaler) DeepCopyObject() runtime.Object
- func (in *MySQLAutoscaler) Default()
- func (e *MySQLAutoscaler) GetStatus() AutoscalerStatus
- func (m MySQLAutoscaler) ResourceFQN() string
- func (m MySQLAutoscaler) ResourceKind() string
- func (m MySQLAutoscaler) ResourcePlural() string
- func (m MySQLAutoscaler) ResourceShortCode() string
- func (m MySQLAutoscaler) ResourceSingular() string
- func (in *MySQLAutoscaler) SetDefaults()
- func (e *MySQLAutoscaler) SetStatus(s AutoscalerStatus)
- func (in *MySQLAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
- func (in *MySQLAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (_ MySQLAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (m MySQLAutoscaler) ValidateSpecs() error
- func (in *MySQLAutoscaler) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type MySQLAutoscalerList
- type MySQLAutoscalerSpec
- type MySQLComputeAutoscalerSpec
- type MySQLOpsRequestOptions
- type MySQLStorageAutoscalerSpec
- type NodeTopology
- type PerconaXtraDBAutoscaler
- func (_ PerconaXtraDBAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *PerconaXtraDBAutoscaler) DeepCopy() *PerconaXtraDBAutoscaler
- func (in *PerconaXtraDBAutoscaler) DeepCopyInto(out *PerconaXtraDBAutoscaler)
- func (in *PerconaXtraDBAutoscaler) DeepCopyObject() runtime.Object
- func (in *PerconaXtraDBAutoscaler) Default()
- func (e *PerconaXtraDBAutoscaler) GetStatus() AutoscalerStatus
- func (p PerconaXtraDBAutoscaler) ResourceFQN() string
- func (p PerconaXtraDBAutoscaler) ResourceKind() string
- func (p PerconaXtraDBAutoscaler) ResourcePlural() string
- func (p PerconaXtraDBAutoscaler) ResourceShortCode() string
- func (p PerconaXtraDBAutoscaler) ResourceSingular() string
- func (e *PerconaXtraDBAutoscaler) SetStatus(s AutoscalerStatus)
- func (in *PerconaXtraDBAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
- func (in *PerconaXtraDBAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (_ PerconaXtraDBAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (p PerconaXtraDBAutoscaler) ValidateSpecs() error
- func (in *PerconaXtraDBAutoscaler) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type PerconaXtraDBAutoscalerList
- type PerconaXtraDBAutoscalerSpec
- type PerconaXtraDBComputeAutoscalerSpec
- type PerconaXtraDBOpsRequestOptions
- type PerconaXtraDBStorageAutoscalerSpec
- type PgBouncerAutoscaler
- func (_ PgBouncerAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *PgBouncerAutoscaler) DeepCopy() *PgBouncerAutoscaler
- func (in *PgBouncerAutoscaler) DeepCopyInto(out *PgBouncerAutoscaler)
- func (in *PgBouncerAutoscaler) DeepCopyObject() runtime.Object
- func (r *PgBouncerAutoscaler) Default()
- func (e *PgBouncerAutoscaler) GetStatus() AutoscalerStatus
- func (p PgBouncerAutoscaler) ResourceFQN() string
- func (p PgBouncerAutoscaler) ResourceKind() string
- func (p PgBouncerAutoscaler) ResourcePlural() string
- func (p PgBouncerAutoscaler) ResourceShortCode() string
- func (p PgBouncerAutoscaler) ResourceSingular() string
- func (e *PgBouncerAutoscaler) SetStatus(s AutoscalerStatus)
- func (in *PgBouncerAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
- func (r *PgBouncerAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (r *PgBouncerAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (p PgBouncerAutoscaler) ValidateSpecs() error
- func (r *PgBouncerAutoscaler) ValidateUpdate(oldObj runtime.Object) (admission.Warnings, error)
- type PgBouncerAutoscalerList
- type PgBouncerAutoscalerSpec
- type PgBouncerComputeAutoscalerSpec
- type PgBouncerOpsRequestOptions
- type PgBouncerStorageAutoscalerSpec
- type PgpoolAutoscaler
- func (r PgpoolAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *PgpoolAutoscaler) DeepCopy() *PgpoolAutoscaler
- func (in *PgpoolAutoscaler) DeepCopyInto(out *PgpoolAutoscaler)
- func (in *PgpoolAutoscaler) DeepCopyObject() runtime.Object
- func (r *PgpoolAutoscaler) Default()
- func (r *PgpoolAutoscaler) GetStatus() AutoscalerStatus
- func (r PgpoolAutoscaler) ResourceFQN() string
- func (r PgpoolAutoscaler) ResourceKind() string
- func (r PgpoolAutoscaler) ResourcePlural() string
- func (r PgpoolAutoscaler) ResourceShortCode() string
- func (r PgpoolAutoscaler) ResourceSingular() string
- func (r *PgpoolAutoscaler) SetStatus(s AutoscalerStatus)
- func (r *PgpoolAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (r *PgpoolAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (r PgpoolAutoscaler) ValidateSpecs() error
- func (r *PgpoolAutoscaler) ValidateUpdate(oldObj runtime.Object) (admission.Warnings, error)
- type PgpoolAutoscalerList
- type PgpoolAutoscalerSpec
- type PgpoolComputeAutoscalerSpec
- type PgpoolOpsRequestOptions
- type PodResourcePolicy
- type PodUpdatePolicy
- type PostgresAutoscaler
- func (_ PostgresAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *PostgresAutoscaler) DeepCopy() *PostgresAutoscaler
- func (in *PostgresAutoscaler) DeepCopyInto(out *PostgresAutoscaler)
- func (in *PostgresAutoscaler) DeepCopyObject() runtime.Object
- func (in *PostgresAutoscaler) Default()
- func (e *PostgresAutoscaler) GetStatus() AutoscalerStatus
- func (p PostgresAutoscaler) ResourceFQN() string
- func (p PostgresAutoscaler) ResourceKind() string
- func (p PostgresAutoscaler) ResourcePlural() string
- func (p PostgresAutoscaler) ResourceShortCode() string
- func (p PostgresAutoscaler) ResourceSingular() string
- func (e *PostgresAutoscaler) SetStatus(s AutoscalerStatus)
- func (in *PostgresAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
- func (in *PostgresAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (_ PostgresAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (p PostgresAutoscaler) ValidateSpecs() error
- func (in *PostgresAutoscaler) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type PostgresAutoscalerList
- type PostgresAutoscalerSpec
- type PostgresComputeAutoscalerSpec
- type PostgresOpsRequestOptions
- type PostgresStorageAutoscalerSpec
- type ProxySQLAutoscaler
- func (_ ProxySQLAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *ProxySQLAutoscaler) DeepCopy() *ProxySQLAutoscaler
- func (in *ProxySQLAutoscaler) DeepCopyInto(out *ProxySQLAutoscaler)
- func (in *ProxySQLAutoscaler) DeepCopyObject() runtime.Object
- func (in *ProxySQLAutoscaler) Default()
- func (e *ProxySQLAutoscaler) GetStatus() AutoscalerStatus
- func (p ProxySQLAutoscaler) ResourceFQN() string
- func (p ProxySQLAutoscaler) ResourceKind() string
- func (p ProxySQLAutoscaler) ResourcePlural() string
- func (p ProxySQLAutoscaler) ResourceShortCode() string
- func (p ProxySQLAutoscaler) ResourceSingular() string
- func (e *ProxySQLAutoscaler) SetStatus(s AutoscalerStatus)
- func (in *ProxySQLAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
- func (in *ProxySQLAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (_ ProxySQLAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (in *ProxySQLAutoscaler) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type ProxySQLAutoscalerList
- type ProxySQLAutoscalerSpec
- type ProxySQLComputeAutoscalerSpec
- type ProxySQLOpsRequestOptions
- type RabbitMQAutoscaler
- func (r RabbitMQAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *RabbitMQAutoscaler) DeepCopy() *RabbitMQAutoscaler
- func (in *RabbitMQAutoscaler) DeepCopyInto(out *RabbitMQAutoscaler)
- func (in *RabbitMQAutoscaler) DeepCopyObject() runtime.Object
- func (r *RabbitMQAutoscaler) Default()
- func (r *RabbitMQAutoscaler) GetStatus() AutoscalerStatus
- func (r RabbitMQAutoscaler) ResourceFQN() string
- func (r RabbitMQAutoscaler) ResourceKind() string
- func (r RabbitMQAutoscaler) ResourcePlural() string
- func (r RabbitMQAutoscaler) ResourceShortCode() string
- func (r RabbitMQAutoscaler) ResourceSingular() string
- func (r *RabbitMQAutoscaler) SetStatus(s AutoscalerStatus)
- func (r *RabbitMQAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (r *RabbitMQAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (r RabbitMQAutoscaler) ValidateSpecs() error
- func (r *RabbitMQAutoscaler) ValidateUpdate(oldObj runtime.Object) (admission.Warnings, error)
- type RabbitMQAutoscalerList
- type RabbitMQAutoscalerSpec
- type RabbitMQComputeAutoscalerSpec
- type RabbitMQOpsRequestOptions
- type RabbitMQStorageAutoscalerSpec
- type RecommendedContainerResources
- type RecommendedPodResources
- type RedisAutoscaler
- func (_ RedisAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *RedisAutoscaler) DeepCopy() *RedisAutoscaler
- func (in *RedisAutoscaler) DeepCopyInto(out *RedisAutoscaler)
- func (in *RedisAutoscaler) DeepCopyObject() runtime.Object
- func (in *RedisAutoscaler) Default()
- func (e *RedisAutoscaler) GetStatus() AutoscalerStatus
- func (r RedisAutoscaler) ResourceFQN() string
- func (r RedisAutoscaler) ResourceKind() string
- func (r RedisAutoscaler) ResourcePlural() string
- func (r RedisAutoscaler) ResourceShortCode() string
- func (r RedisAutoscaler) ResourceSingular() string
- func (e *RedisAutoscaler) SetStatus(s AutoscalerStatus)
- func (in *RedisAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
- func (in *RedisAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (_ RedisAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (r RedisAutoscaler) ValidateSpecs() error
- func (in *RedisAutoscaler) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type RedisAutoscalerList
- type RedisAutoscalerSpec
- type RedisComputeAutoscalerSpec
- type RedisOpsRequestOptions
- type RedisSentinelAutoscaler
- func (_ RedisSentinelAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *RedisSentinelAutoscaler) DeepCopy() *RedisSentinelAutoscaler
- func (in *RedisSentinelAutoscaler) DeepCopyInto(out *RedisSentinelAutoscaler)
- func (in *RedisSentinelAutoscaler) DeepCopyObject() runtime.Object
- func (in *RedisSentinelAutoscaler) Default()
- func (e *RedisSentinelAutoscaler) GetStatus() AutoscalerStatus
- func (r RedisSentinelAutoscaler) ResourceFQN() string
- func (r RedisSentinelAutoscaler) ResourceKind() string
- func (r RedisSentinelAutoscaler) ResourcePlural() string
- func (r RedisSentinelAutoscaler) ResourceShortCode() string
- func (r RedisSentinelAutoscaler) ResourceSingular() string
- func (e *RedisSentinelAutoscaler) SetStatus(s AutoscalerStatus)
- func (in *RedisSentinelAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
- func (in *RedisSentinelAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (_ RedisSentinelAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (r RedisSentinelAutoscaler) ValidateSpecs() error
- func (in *RedisSentinelAutoscaler) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type RedisSentinelAutoscalerList
- type RedisSentinelAutoscalerSpec
- type RedisSentinelComputeAutoscalerSpec
- type RedisSentinelOpsRequestOptions
- type RedisStorageAutoscalerSpec
- type SinglestoreAutoscaler
- func (s SinglestoreAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *SinglestoreAutoscaler) DeepCopy() *SinglestoreAutoscaler
- func (in *SinglestoreAutoscaler) DeepCopyInto(out *SinglestoreAutoscaler)
- func (in *SinglestoreAutoscaler) DeepCopyObject() runtime.Object
- func (s *SinglestoreAutoscaler) Default()
- func (s *SinglestoreAutoscaler) GetStatus() AutoscalerStatus
- func (s SinglestoreAutoscaler) ResourceFQN() string
- func (s SinglestoreAutoscaler) ResourceKind() string
- func (s SinglestoreAutoscaler) ResourcePlural() string
- func (s SinglestoreAutoscaler) ResourceShortCode() string
- func (s SinglestoreAutoscaler) ResourceSingular() string
- func (s *SinglestoreAutoscaler) SetStatus(m AutoscalerStatus)
- func (s *SinglestoreAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (_ *SinglestoreAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (s SinglestoreAutoscaler) ValidateSpecs() error
- func (s *SinglestoreAutoscaler) ValidateUpdate(oldObj runtime.Object) (admission.Warnings, error)
- type SinglestoreAutoscalerList
- type SinglestoreAutoscalerSpec
- type SinglestoreComputeAutoscalerSpec
- type SinglestoreOpsRequestOptions
- type SinglestoreStorageAutoscalerSpec
- type SolrAutoscaler
- func (r SolrAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *SolrAutoscaler) DeepCopy() *SolrAutoscaler
- func (in *SolrAutoscaler) DeepCopyInto(out *SolrAutoscaler)
- func (in *SolrAutoscaler) DeepCopyObject() runtime.Object
- func (r *SolrAutoscaler) Default()
- func (r *SolrAutoscaler) GetStatus() AutoscalerStatus
- func (r SolrAutoscaler) ResourceFQN() string
- func (r SolrAutoscaler) ResourceKind() string
- func (r SolrAutoscaler) ResourcePlural() string
- func (r SolrAutoscaler) ResourceShortCode() string
- func (r SolrAutoscaler) ResourceSingular() string
- func (r *SolrAutoscaler) SetStatus(s AutoscalerStatus)
- func (r *SolrAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (r *SolrAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (r SolrAutoscaler) ValidateSpecs() error
- func (r *SolrAutoscaler) ValidateUpdate(oldObj runtime.Object) (admission.Warnings, error)
- type SolrAutoscalerList
- type SolrAutoscalerSpec
- type SolrComputeAutoscalerSpec
- type SolrOpsRequestOptions
- type SolrStorageAutoscalerSpec
- type StatusAccessor
- type StorageAutoscalerSpec
- type StorageScalingRule
- type UpdateMode
- type VPAStatus
- type VerticalPodAutopilotCondition
- type VerticalPodAutopilotConditionType
- type VerticalPodAutopilotRecommenderSelector
- type ZooKeeperAutoscaler
- func (r ZooKeeperAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *ZooKeeperAutoscaler) DeepCopy() *ZooKeeperAutoscaler
- func (in *ZooKeeperAutoscaler) DeepCopyInto(out *ZooKeeperAutoscaler)
- func (in *ZooKeeperAutoscaler) DeepCopyObject() runtime.Object
- func (r *ZooKeeperAutoscaler) Default()
- func (r *ZooKeeperAutoscaler) GetStatus() AutoscalerStatus
- func (r ZooKeeperAutoscaler) ResourceFQN() string
- func (r ZooKeeperAutoscaler) ResourceKind() string
- func (r ZooKeeperAutoscaler) ResourcePlural() string
- func (r ZooKeeperAutoscaler) ResourceShortCode() string
- func (r ZooKeeperAutoscaler) ResourceSingular() string
- func (r *ZooKeeperAutoscaler) SetStatus(s AutoscalerStatus)
- func (r *ZooKeeperAutoscaler) ValidateCreate() (admission.Warnings, error)
- func (r *ZooKeeperAutoscaler) ValidateDelete() (admission.Warnings, error)
- func (r ZooKeeperAutoscaler) ValidateSpecs() error
- func (r *ZooKeeperAutoscaler) ValidateUpdate(oldObj runtime.Object) (admission.Warnings, error)
- type ZooKeeperAutoscalerList
- type ZooKeeperAutoscalerSpec
- type ZooKeeperComputeAutoscalerSpec
- type ZooKeeperOpsRequestOptions
- type ZooKeeperStorageAutoscalerSpec
Constants ¶
const ( ResourceCodeCassandraAutoscaler = "casscaler" ResourceKindCassandraAutoscaler = "CassandraAutoscaler" ResourceSingularCassandraAutoscaler = "cassandraautoscaler" ResourcePluralCassandraAutoscaler = "cassandraautoscalers" )
const ( ResourceCodeClickHouseAutoscaler = "chscaler" ResourceKindClickHouseAutoscaler = "ClickHouseAutoscaler" ResourceSingularClickHouseAutoscaler = "clickhouseautoscaler" ResourcePluralClickHouseAutoscaler = "clickhouseautoscalers" )
const ( // Ignore change priority that is smaller than 10%. DefaultResourceDiffPercentage = 50 // Pods that live for at least that long can be evicted even if their // request is within the [MinRecommended...MaxRecommended] range. DefaultPodLifeTimeThreshold = time.Minute * 15 DefaultInMemoryStorageUsageThresholdPercentage = 70 DefaultInMemoryStorageScalingFactorPercentage = 50 )
Compute Autoscaler
const ( DefaultStorageUsageThreshold = 80 DefaultStorageScalingThreshold = 50 )
Storage Autoscaler
const ( Failure = "Failure" CreateOpsRequest = "CreateOpsRequest" )
List of possible condition types for an autoscaler
const ( ResourceCodeDruidAutoscaler = "drscaler" ResourceKindDruidAutoscaler = "DruidAutoscaler" ResourceSingularDruidAutoscaler = "druidautoscaler" ResourcePluralDruidAutoscaler = "druidautoscalers" )
const ( ResourceCodeElasticsearchAutoscaler = "esscaler" ResourceKindElasticsearchAutoscaler = "ElasticsearchAutoscaler" ResourceSingularElasticsearchAutoscaler = "elasticsearchautoscaler" ResourcePluralElasticsearchAutoscaler = "elasticsearchautoscalers" )
const ( ResourceCodeEtcdAutoscaler = "etcdscaler" ResourceKindEtcdAutoscaler = "EtcdAutoscaler" ResourceSingularEtcdAutoscaler = "etcdautoscaler" ResourcePluralEtcdAutoscaler = "etcdautoscalers" )
const ( ResourceCodeFerretDBAutoscaler = "frscaler" ResourceKindFerretDBAutoscaler = "FerretDBAutoscaler" ResourceSingularFerretDBAutoscaler = "ferretdbautoscaler" ResourcePluralFerretDBAutoscaler = "ferretdbautoscalers" )
const ( ResourceCodeKafkaAutoscaler = "kfscaler" ResourceKindKafkaAutoscaler = "KafkaAutoscaler" ResourceSingularKafkaAutoscaler = "kafkaautoscaler" ResourcePluralKafkaAutoscaler = "kafkaautoscalers" )
const ( ResourceCodeMariaDBAutoscaler = "mdscaler" ResourceKindMariaDBAutoscaler = "MariaDBAutoscaler" ResourceSingularMariaDBAutoscaler = "mariadbautoscaler" ResourcePluralMariaDBAutoscaler = "mariadbautoscalers" )
const ( ResourceCodeMemcachedAutoscaler = "mcscaler" ResourceKindMemcachedAutoscaler = "MemcachedAutoscaler" ResourceSingularMemcachedAutoscaler = "memcachedautoscaler" ResourcePluralMemcachedAutoscaler = "memcachedautoscalers" )
const ( ResourceCodeMongoDBAutoscaler = "mgscaler" ResourceKindMongoDBAutoscaler = "MongoDBAutoscaler" ResourceSingularMongoDBAutoscaler = "mongodbautoscaler" ResourcePluralMongoDBAutoscaler = "mongodbautoscalers" )
const ( ResourceCodeMSSQLServerAutoscaler = "msscaler" ResourceKindMSSQLServerAutoscaler = "MSSQLServerAutoscaler" ResourceSingularMSSQLServerAutoscaler = "mssqlserverautoscaler" ResourcePluralMSSQLServerAutoscaler = "mssqlserverautoscalers" )
const ( ResourceCodeMySQLAutoscaler = "myscaler" ResourceKindMySQLAutoscaler = "MySQLAutoscaler" ResourceSingularMySQLAutoscaler = "mysqlautoscaler" ResourcePluralMySQLAutoscaler = "mysqlautoscalers" )
const ( ResourceCodePerconaXtraDBAutoscaler = "pxcscaler" ResourceKindPerconaXtraDBAutoscaler = "PerconaXtraDBAutoscaler" ResourceSingularPerconaXtraDBAutoscaler = "perconaxtradbautoscaler" ResourcePluralPerconaXtraDBAutoscaler = "perconaxtradbautoscalers" )
const ( ResourceCodePgBouncerAutoscaler = "pbscaler" ResourceKindPgBouncerAutoscaler = "PgBouncerAutoscaler" ResourceSingularPgBouncerAutoscaler = "pgbouncerautoscaler" ResourcePluralPgBouncerAutoscaler = "pgbouncerautoscalers" )
const ( ResourceCodePgpoolAutoscaler = "ppscaler" ResourceKindPgpoolAutoscaler = "PgpoolAutoscaler" ResourceSingularPgpoolAutoscaler = "pgpoolautoscaler" ResourcePluralPgpoolAutoscaler = "pgpoolautoscalers" )
const ( ResourceCodePostgresAutoscaler = "pgscaler" ResourceKindPostgresAutoscaler = "PostgresAutoscaler" ResourceSingularPostgresAutoscaler = "postgresautoscaler" ResourcePluralPostgresAutoscaler = "postgresautoscalers" )
const ( ResourceCodeProxySQLAutoscaler = "prxscaler" ResourceKindProxySQLAutoscaler = "ProxySQLAutoscaler" ResourceSingularProxySQLAutoscaler = "proxysqlautoscaler" ResourcePluralProxySQLAutoscaler = "proxysqlautoscalers" )
const ( ResourceCodeRabbitMQAutoscaler = "rmscaler" ResourceKindRabbitMQAutoscaler = "RabbitMQAutoscaler" ResourceSingularRabbitMQAutoscaler = "rabbitmqautoscaler" ResourcePluralRabbitMQAutoscaler = "rabbitmqautoscalers" )
const ( ResourceCodeRedisSentinelAutoscaler = "rdsscaler" ResourceKindRedisSentinelAutoscaler = "RedisSentinelAutoscaler" ResourceSingularRedisSentinelAutoscaler = "redissentinelautoscaler" ResourcePluralRedisSentinelAutoscaler = "redissentinelautoscalers" )
const ( ResourceCodeRedisAutoscaler = "rdscaler" ResourceKindRedisAutoscaler = "RedisAutoscaler" ResourceSingularRedisAutoscaler = "redisautoscaler" ResourcePluralRedisAutoscaler = "redisautoscalers" )
const ( ResourceCodeSinglestoreAutoscaler = "sdbscaler" ResourceKindSinglestoreAutoscaler = "SinglestoreAutoscaler" ResourceSingularSinglestoreAutoscaler = "singlestoreautoscaler" ResourcePluralSinglestoreAutoscaler = "singlestoreautoscalers" )
const ( ResourceCodeSolrAutoscaler = "slscaler" ResourceKindSolrAutoscaler = "SolrAutoscaler" ResourceSingularSolrAutoscaler = "solrautoscaler" ResourcePluralSolrAutoscaler = "solrautoscalers" )
const ( ResourceCodeZooKeeperAutoscaler = "zkscaler" ResourceKindZooKeeperAutoscaler = "ZooKeeperAutoscaler" ResourceSingularZooKeeperAutoscaler = "zookeeperautoscaler" ResourcePluralZooKeeperAutoscaler = "zookeeperautoscalers" )
const ( // DefaultContainerResourcePolicy can be passed as // ContainerResourcePolicy.ContainerName to specify the default policy. DefaultContainerResourcePolicy = "*" )
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var (
DefaultClient client.Client
)
var SchemeGroupVersion = schema.GroupVersion{Group: autoscaling.GroupName, Version: "v1alpha1"}
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func SetDefaultClient ¶ added in v0.41.0
Types ¶
type AutoscalerPhase ¶
type AutoscalerPhase string
+kubebuilder:validation:Enum=InProgress;Current;Terminating;Failed
const ( // AutoscalerPhaseInProgress is used when autoscaler is waiting for the initialization // if referred db is not found, It will also be in InProgress AutoscalerPhaseInProgress AutoscalerPhase = "InProgress" // AutoscalerPhaseCurrent is used as long as autoscaler is running properly AutoscalerPhaseCurrent AutoscalerPhase = "Current" // AutoscalerPhaseTerminating is used when an autoscaler object is being terminated AutoscalerPhaseTerminating AutoscalerPhase = "Terminating" // AutoscalerPhaseFailed is used when some unexpected error occurred AutoscalerPhaseFailed AutoscalerPhase = "Failed" )
type AutoscalerStatus ¶ added in v0.28.0
type AutoscalerStatus struct { // Specifies the current phase of the autoscaler // +optional Phase AutoscalerPhase `json:"phase,omitempty"` // observedGeneration is the most recent generation observed by this autoscaler. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Conditions is the set of conditions required for this autoscaler to scale its target, // and indicates whether or not those conditions are met. // +optional // +patchMergeKey=type // +patchStrategy=merge Conditions []kmapi.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` // This field is equivalent to this one: // https://github.com/kubernetes/autoscaler/blob/273e35b88cb50c5aac383c5eceb88fb337cb31b6/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/types.go#L218-L230 // +optional VPAs []VPAStatus `json:"vpas,omitempty"` // Checkpoints hold all the Checkpoint those are associated // with this Autoscaler object. Equivalent to : // https://github.com/kubernetes/autoscaler/blob/273e35b88cb50c5aac383c5eceb88fb337cb31b6/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/types.go#L354-L378 // +optional Checkpoints []Checkpoint `json:"checkpoints,omitempty"` }
AutoscalerStatus describes the runtime state of the autoscaler.
func (*AutoscalerStatus) DeepCopy ¶ added in v0.28.0
func (in *AutoscalerStatus) DeepCopy() *AutoscalerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscalerStatus.
func (*AutoscalerStatus) DeepCopyInto ¶ added in v0.28.0
func (in *AutoscalerStatus) DeepCopyInto(out *AutoscalerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutoscalerTrigger ¶ added in v0.16.0
type AutoscalerTrigger string
AutoscalerTrigger controls if autoscaler is enabled.
const ( // AutoscalerTriggerOn means the autoscaler is enabled. AutoscalerTriggerOn AutoscalerTrigger = "On" // AutoscalerTriggerOff means the autoscaler is disabled. AutoscalerTriggerOff AutoscalerTrigger = "Off" )
type BucketWeight ¶ added in v0.28.0
func (*BucketWeight) DeepCopy ¶ added in v0.28.0
func (in *BucketWeight) DeepCopy() *BucketWeight
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketWeight.
func (*BucketWeight) DeepCopyInto ¶ added in v0.28.0
func (in *BucketWeight) DeepCopyInto(out *BucketWeight)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CassandraAutoscaler ¶ added in v0.48.0
type CassandraAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec CassandraAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=cassandraautoscalers,singular=cassandraautoscaler,shortName=casscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (CassandraAutoscaler) CustomResourceDefinition ¶ added in v0.48.0
func (r CassandraAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*CassandraAutoscaler) DeepCopy ¶ added in v0.48.0
func (in *CassandraAutoscaler) DeepCopy() *CassandraAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CassandraAutoscaler.
func (*CassandraAutoscaler) DeepCopyInto ¶ added in v0.48.0
func (in *CassandraAutoscaler) DeepCopyInto(out *CassandraAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CassandraAutoscaler) DeepCopyObject ¶ added in v0.48.0
func (in *CassandraAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CassandraAutoscaler) Default ¶ added in v0.48.0
func (r *CassandraAutoscaler) Default()
Default implements webhook.CustomDefaulter so a webhook will be registered for the type
func (*CassandraAutoscaler) GetStatus ¶ added in v0.48.0
func (r *CassandraAutoscaler) GetStatus() AutoscalerStatus
func (CassandraAutoscaler) ResourceFQN ¶ added in v0.48.0
func (r CassandraAutoscaler) ResourceFQN() string
func (CassandraAutoscaler) ResourceKind ¶ added in v0.48.0
func (r CassandraAutoscaler) ResourceKind() string
func (CassandraAutoscaler) ResourcePlural ¶ added in v0.48.0
func (r CassandraAutoscaler) ResourcePlural() string
func (CassandraAutoscaler) ResourceShortCode ¶ added in v0.48.0
func (r CassandraAutoscaler) ResourceShortCode() string
func (CassandraAutoscaler) ResourceSingular ¶ added in v0.48.0
func (r CassandraAutoscaler) ResourceSingular() string
func (*CassandraAutoscaler) SetStatus ¶ added in v0.48.0
func (r *CassandraAutoscaler) SetStatus(s AutoscalerStatus)
func (*CassandraAutoscaler) ValidateCreate ¶ added in v0.48.0
func (r *CassandraAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*CassandraAutoscaler) ValidateDelete ¶ added in v0.48.0
func (r *CassandraAutoscaler) ValidateDelete() (admission.Warnings, error)
func (CassandraAutoscaler) ValidateSpecs ¶ added in v0.48.0
func (r CassandraAutoscaler) ValidateSpecs() error
func (*CassandraAutoscaler) ValidateUpdate ¶ added in v0.48.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type CassandraAutoscalerList ¶ added in v0.48.0
type CassandraAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of cassandra database autoscaler objects. Items []CassandraAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object CassandraAutoscalerList is a list of CassandraAutoscaler objects.
func (*CassandraAutoscalerList) DeepCopy ¶ added in v0.48.0
func (in *CassandraAutoscalerList) DeepCopy() *CassandraAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CassandraAutoscalerList.
func (*CassandraAutoscalerList) DeepCopyInto ¶ added in v0.48.0
func (in *CassandraAutoscalerList) DeepCopyInto(out *CassandraAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CassandraAutoscalerList) DeepCopyObject ¶ added in v0.48.0
func (in *CassandraAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CassandraAutoscalerSpec ¶ added in v0.48.0
type CassandraAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *CassandraOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *CassandraComputeAutoscalerSpec `json:"compute,omitempty"` Storage *CassandraStorageAutoscalerSpec `json:"storage,omitempty"` }
CassandraAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*CassandraAutoscalerSpec) DeepCopy ¶ added in v0.48.0
func (in *CassandraAutoscalerSpec) DeepCopy() *CassandraAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CassandraAutoscalerSpec.
func (*CassandraAutoscalerSpec) DeepCopyInto ¶ added in v0.48.0
func (in *CassandraAutoscalerSpec) DeepCopyInto(out *CassandraAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CassandraComputeAutoscalerSpec ¶ added in v0.48.0
type CassandraComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` Cassandra *ComputeAutoscalerSpec `json:"cassandra,omitempty"` }
func (*CassandraComputeAutoscalerSpec) DeepCopy ¶ added in v0.48.0
func (in *CassandraComputeAutoscalerSpec) DeepCopy() *CassandraComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CassandraComputeAutoscalerSpec.
func (*CassandraComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.48.0
func (in *CassandraComputeAutoscalerSpec) DeepCopyInto(out *CassandraComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CassandraOpsRequestOptions ¶ added in v0.48.0
type CassandraOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*CassandraOpsRequestOptions) DeepCopy ¶ added in v0.48.0
func (in *CassandraOpsRequestOptions) DeepCopy() *CassandraOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CassandraOpsRequestOptions.
func (*CassandraOpsRequestOptions) DeepCopyInto ¶ added in v0.48.0
func (in *CassandraOpsRequestOptions) DeepCopyInto(out *CassandraOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CassandraStorageAutoscalerSpec ¶ added in v0.48.0
type CassandraStorageAutoscalerSpec struct {
Cassandra *StorageAutoscalerSpec `json:"cassandra,omitempty"`
}
func (*CassandraStorageAutoscalerSpec) DeepCopy ¶ added in v0.48.0
func (in *CassandraStorageAutoscalerSpec) DeepCopy() *CassandraStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CassandraStorageAutoscalerSpec.
func (*CassandraStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.48.0
func (in *CassandraStorageAutoscalerSpec) DeepCopyInto(out *CassandraStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Checkpoint ¶ added in v0.28.0
type Checkpoint struct { // Metedata of the checkpoint // It is used for the identification Ref CheckpointReference `json:"ref,omitempty"` // The time when the status was last refreshed. // +nullable LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` // Version of the format of the stored data. Version string `json:"version,omitempty"` // Checkpoint of histogram for consumption of CPU. CPUHistogram HistogramCheckpoint `json:"cpuHistogram,omitempty"` // Checkpoint of histogram for consumption of memory. MemoryHistogram HistogramCheckpoint `json:"memoryHistogram,omitempty"` // Timestamp of the fist sample from the histograms. // +nullable FirstSampleStart metav1.Time `json:"firstSampleStart,omitempty"` // Timestamp of the last sample from the histograms. // +nullable LastSampleStart metav1.Time `json:"lastSampleStart,omitempty"` // Total number of samples in the histograms. TotalSamplesCount int `json:"totalSamplesCount,omitempty"` }
Checkpoint contains data of the checkpoint.
func (*Checkpoint) DeepCopy ¶ added in v0.28.0
func (in *Checkpoint) DeepCopy() *Checkpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Checkpoint.
func (*Checkpoint) DeepCopyInto ¶ added in v0.28.0
func (in *Checkpoint) DeepCopyInto(out *Checkpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CheckpointReference ¶ added in v0.28.0
type CheckpointReference struct { // Name of the VPA object that stored VerticalPodAutopilotCheckpoint object. VPAObjectName string `json:"vpaObjectName,omitempty"` // Name of the checkpointed container. ContainerName string `json:"containerName,omitempty"` }
CheckpointReference is the metedata of the checkpoint.
func (*CheckpointReference) DeepCopy ¶ added in v0.28.0
func (in *CheckpointReference) DeepCopy() *CheckpointReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckpointReference.
func (*CheckpointReference) DeepCopyInto ¶ added in v0.28.0
func (in *CheckpointReference) DeepCopyInto(out *CheckpointReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClickHouseAutoscaler ¶ added in v0.47.0
type ClickHouseAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec ClickHouseAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=clickhouseautoscalers,singular=clickhouseautoscaler,shortName=chscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (ClickHouseAutoscaler) CustomResourceDefinition ¶ added in v0.47.0
func (r ClickHouseAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*ClickHouseAutoscaler) DeepCopy ¶ added in v0.47.0
func (in *ClickHouseAutoscaler) DeepCopy() *ClickHouseAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClickHouseAutoscaler.
func (*ClickHouseAutoscaler) DeepCopyInto ¶ added in v0.47.0
func (in *ClickHouseAutoscaler) DeepCopyInto(out *ClickHouseAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClickHouseAutoscaler) DeepCopyObject ¶ added in v0.47.0
func (in *ClickHouseAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClickHouseAutoscaler) Default ¶ added in v0.47.0
func (r *ClickHouseAutoscaler) Default()
Default implements webhook.CustomDefaulter so a webhook will be registered for the type
func (*ClickHouseAutoscaler) GetStatus ¶ added in v0.47.0
func (r *ClickHouseAutoscaler) GetStatus() AutoscalerStatus
func (ClickHouseAutoscaler) ResourceFQN ¶ added in v0.47.0
func (r ClickHouseAutoscaler) ResourceFQN() string
func (ClickHouseAutoscaler) ResourceKind ¶ added in v0.47.0
func (r ClickHouseAutoscaler) ResourceKind() string
func (ClickHouseAutoscaler) ResourcePlural ¶ added in v0.47.0
func (r ClickHouseAutoscaler) ResourcePlural() string
func (ClickHouseAutoscaler) ResourceShortCode ¶ added in v0.47.0
func (r ClickHouseAutoscaler) ResourceShortCode() string
func (ClickHouseAutoscaler) ResourceSingular ¶ added in v0.47.0
func (r ClickHouseAutoscaler) ResourceSingular() string
func (*ClickHouseAutoscaler) SetStatus ¶ added in v0.47.0
func (r *ClickHouseAutoscaler) SetStatus(s AutoscalerStatus)
func (*ClickHouseAutoscaler) ValidateCreate ¶ added in v0.47.0
func (r *ClickHouseAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ClickHouseAutoscaler) ValidateDelete ¶ added in v0.47.0
func (r *ClickHouseAutoscaler) ValidateDelete() (admission.Warnings, error)
func (ClickHouseAutoscaler) ValidateSpecs ¶ added in v0.47.0
func (r ClickHouseAutoscaler) ValidateSpecs() error
func (*ClickHouseAutoscaler) ValidateUpdate ¶ added in v0.47.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ClickHouseAutoscalerList ¶ added in v0.47.0
type ClickHouseAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of clickhouse database autoscaler objects. Items []ClickHouseAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object ClickHouseAutoscalerList is a list of ClickHouseAutoscaler objects.
func (*ClickHouseAutoscalerList) DeepCopy ¶ added in v0.47.0
func (in *ClickHouseAutoscalerList) DeepCopy() *ClickHouseAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClickHouseAutoscalerList.
func (*ClickHouseAutoscalerList) DeepCopyInto ¶ added in v0.47.0
func (in *ClickHouseAutoscalerList) DeepCopyInto(out *ClickHouseAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClickHouseAutoscalerList) DeepCopyObject ¶ added in v0.47.0
func (in *ClickHouseAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClickHouseAutoscalerSpec ¶ added in v0.47.0
type ClickHouseAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *ClickHouseOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *ClickHouseComputeAutoscalerSpec `json:"compute,omitempty"` Storage *ClickHouseStorageAutoscalerSpec `json:"storage,omitempty"` }
ClickHouseAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*ClickHouseAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *ClickHouseAutoscalerSpec) DeepCopy() *ClickHouseAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClickHouseAutoscalerSpec.
func (*ClickHouseAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *ClickHouseAutoscalerSpec) DeepCopyInto(out *ClickHouseAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClickHouseComputeAutoscalerSpec ¶ added in v0.47.0
type ClickHouseComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` ClickHouse *ComputeAutoscalerSpec `json:"clickhouse,omitempty"` }
func (*ClickHouseComputeAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *ClickHouseComputeAutoscalerSpec) DeepCopy() *ClickHouseComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClickHouseComputeAutoscalerSpec.
func (*ClickHouseComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *ClickHouseComputeAutoscalerSpec) DeepCopyInto(out *ClickHouseComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClickHouseOpsRequestOptions ¶ added in v0.47.0
type ClickHouseOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*ClickHouseOpsRequestOptions) DeepCopy ¶ added in v0.47.0
func (in *ClickHouseOpsRequestOptions) DeepCopy() *ClickHouseOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClickHouseOpsRequestOptions.
func (*ClickHouseOpsRequestOptions) DeepCopyInto ¶ added in v0.47.0
func (in *ClickHouseOpsRequestOptions) DeepCopyInto(out *ClickHouseOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClickHouseStorageAutoscalerSpec ¶ added in v0.47.0
type ClickHouseStorageAutoscalerSpec struct {
ClickHouse *StorageAutoscalerSpec `json:"clickhouse,omitempty"`
}
func (*ClickHouseStorageAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *ClickHouseStorageAutoscalerSpec) DeepCopy() *ClickHouseStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClickHouseStorageAutoscalerSpec.
func (*ClickHouseStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *ClickHouseStorageAutoscalerSpec) DeepCopyInto(out *ClickHouseStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComputeAutoscalerSpec ¶ added in v0.16.0
type ComputeAutoscalerSpec struct { // Whether compute autoscaler is enabled. The default is Off". Trigger AutoscalerTrigger `json:"trigger,omitempty"` // Specifies the minimal amount of resources that will be recommended. // The default is no minimum. // +optional MinAllowed core.ResourceList `json:"minAllowed,omitempty"` // Specifies the maximum amount of resources that will be recommended. // The default is no maximum. // +optional MaxAllowed core.ResourceList `json:"maxAllowed,omitempty"` // Specifies the type of recommendations that will be computed // (and possibly applied) by VPA. // If not specified, the default of [ResourceCPU, ResourceMemory] will be used. // +optional // +patchStrategy=merge ControlledResources []core.ResourceName `json:"controlledResources,omitempty" patchStrategy:"merge"` // Specifies which resource values should be controlled. // The default is "RequestsAndLimits". // +optional ContainerControlledValues *ContainerControlledValues `json:"containerControlledValues,omitempty"` // Specifies the minimum resource difference in percentage. The default is 50%. // If the difference between current & recommended resource is less than ResourceDiffPercentage, // Autoscaler Operator will ignore the updating. // +optional ResourceDiffPercentage int32 `json:"resourceDiffPercentage,omitempty"` // Specifies the minimum pod lifetime. The default is 15m. // If the resource Request is inside the recommended range & there is no quickOOM (out-of-memory), // we can still update the pod, if that pod's lifeTime is greater than this threshold. // +optional PodLifeTimeThreshold metav1.Duration `json:"podLifeTimeThreshold,omitempty"` // Specifies the dbStorage scaling when db data is stored in Memory InMemoryStorage *ComputeInMemoryStorageSpec `json:"inMemoryStorage,omitempty"` }
func (*ComputeAutoscalerSpec) DeepCopy ¶ added in v0.16.0
func (in *ComputeAutoscalerSpec) DeepCopy() *ComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeAutoscalerSpec.
func (*ComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.16.0
func (in *ComputeAutoscalerSpec) DeepCopyInto(out *ComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComputeInMemoryStorageSpec ¶ added in v0.28.0
type ComputeInMemoryStorageSpec struct { // For InMemory storageType, if db uses more than UsageThresholdPercentage of the total memory() , // memoryStorage should be increased by ScalingThreshold percent // Default is 70% // +optional UsageThresholdPercentage int32 `json:"usageThresholdPercentage,omitempty"` // For InMemory storageType, if db uses more than UsageThresholdPercentage // of the total memory() memoryStorage should be increased by ScalingFactor percent // Default is 50% // +optional ScalingFactorPercentage int32 `json:"scalingFactorPercentage,omitempty"` }
func (*ComputeInMemoryStorageSpec) DeepCopy ¶ added in v0.28.0
func (in *ComputeInMemoryStorageSpec) DeepCopy() *ComputeInMemoryStorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeInMemoryStorageSpec.
func (*ComputeInMemoryStorageSpec) DeepCopyInto ¶ added in v0.28.0
func (in *ComputeInMemoryStorageSpec) DeepCopyInto(out *ComputeInMemoryStorageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerControlledValues ¶
type ContainerControlledValues string
ContainerControlledValues controls which resource value should be autoscaled. +kubebuilder:validation:Enum=RequestsAndLimits;RequestsOnly
const ( // ContainerControlledValuesRequestsAndLimits means resource request and limits // are scaled automatically. The limit is scaled proportionally to the request. ContainerControlledValuesRequestsAndLimits ContainerControlledValues = "RequestsAndLimits" // ContainerControlledValuesRequestsOnly means only requested resource is autoscaled. ContainerControlledValuesRequestsOnly ContainerControlledValues = "RequestsOnly" )
type ContainerResourcePolicy ¶
type ContainerResourcePolicy struct { // Name of the container or DefaultContainerResourcePolicy, in which // case the policy is used by the containers that don't have their own // policy specified. ContainerName string `json:"containerName,omitempty"` // Whether autopilot is enabled for the container. The default is "Auto". // +optional Mode *ContainerScalingMode `json:"mode,omitempty"` }
ContainerResourcePolicy controls how autopilot computes the recommended resources for a specific container.
func (*ContainerResourcePolicy) DeepCopy ¶
func (in *ContainerResourcePolicy) DeepCopy() *ContainerResourcePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerResourcePolicy.
func (*ContainerResourcePolicy) DeepCopyInto ¶
func (in *ContainerResourcePolicy) DeepCopyInto(out *ContainerResourcePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerScalingMode ¶
type ContainerScalingMode string
ContainerScalingMode controls whether autopilot is enabled for a specific container. +kubebuilder:validation:Enum=Auto;Off
const ( // ContainerScalingModeAuto means autopilot is enabled for a container. ContainerScalingModeAuto ContainerScalingMode = "Auto" // ContainerScalingModeOff means autopilot is disabled for a container. ContainerScalingModeOff ContainerScalingMode = "Off" )
type DruidAutoscaler ¶ added in v0.46.0
type DruidAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec DruidAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=druidautoscalers,singular=druidautoscaler,shortName=drscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (*DruidAutoscaler) CustomResourceDefinition ¶ added in v0.46.0
func (_ *DruidAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*DruidAutoscaler) DeepCopy ¶ added in v0.46.0
func (in *DruidAutoscaler) DeepCopy() *DruidAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidAutoscaler.
func (*DruidAutoscaler) DeepCopyInto ¶ added in v0.46.0
func (in *DruidAutoscaler) DeepCopyInto(out *DruidAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DruidAutoscaler) DeepCopyObject ¶ added in v0.46.0
func (in *DruidAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DruidAutoscaler) Default ¶ added in v0.46.0
func (d *DruidAutoscaler) Default()
Default implements webhook.CustomDefaulter so a webhook will be registered for the type
func (*DruidAutoscaler) GetStatus ¶ added in v0.46.0
func (d *DruidAutoscaler) GetStatus() AutoscalerStatus
func (*DruidAutoscaler) ResourceFQN ¶ added in v0.46.0
func (d *DruidAutoscaler) ResourceFQN() string
func (*DruidAutoscaler) ResourceKind ¶ added in v0.46.0
func (d *DruidAutoscaler) ResourceKind() string
func (*DruidAutoscaler) ResourcePlural ¶ added in v0.46.0
func (d *DruidAutoscaler) ResourcePlural() string
func (*DruidAutoscaler) ResourceShortCode ¶ added in v0.46.0
func (d *DruidAutoscaler) ResourceShortCode() string
func (*DruidAutoscaler) ResourceSingular ¶ added in v0.46.0
func (d *DruidAutoscaler) ResourceSingular() string
func (*DruidAutoscaler) SetStatus ¶ added in v0.46.0
func (d *DruidAutoscaler) SetStatus(s AutoscalerStatus)
func (*DruidAutoscaler) ValidateCreate ¶ added in v0.46.0
func (d *DruidAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*DruidAutoscaler) ValidateDelete ¶ added in v0.46.0
func (_ *DruidAutoscaler) ValidateDelete() (admission.Warnings, error)
func (*DruidAutoscaler) ValidateSpecs ¶ added in v0.46.0
func (d *DruidAutoscaler) ValidateSpecs() error
func (*DruidAutoscaler) ValidateUpdate ¶ added in v0.46.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type DruidAutoscalerList ¶ added in v0.46.0
type DruidAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of druid autoscaler objects. Items []DruidAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object DruidAutoscalerList is a list of DruidAutoscaler objects.
func (*DruidAutoscalerList) DeepCopy ¶ added in v0.46.0
func (in *DruidAutoscalerList) DeepCopy() *DruidAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidAutoscalerList.
func (*DruidAutoscalerList) DeepCopyInto ¶ added in v0.46.0
func (in *DruidAutoscalerList) DeepCopyInto(out *DruidAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DruidAutoscalerList) DeepCopyObject ¶ added in v0.46.0
func (in *DruidAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DruidAutoscalerSpec ¶ added in v0.46.0
type DruidAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *DruidOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *DruidComputeAutoscalerSpec `json:"compute,omitempty"` Storage *DruidStorageAutoscalerSpec `json:"storage,omitempty"` }
DruidAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*DruidAutoscalerSpec) DeepCopy ¶ added in v0.46.0
func (in *DruidAutoscalerSpec) DeepCopy() *DruidAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidAutoscalerSpec.
func (*DruidAutoscalerSpec) DeepCopyInto ¶ added in v0.46.0
func (in *DruidAutoscalerSpec) DeepCopyInto(out *DruidAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DruidComputeAutoscalerSpec ¶ added in v0.46.0
type DruidComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` Coordinators *ComputeAutoscalerSpec `json:"coordinators,omitempty"` Overlords *ComputeAutoscalerSpec `json:"overlords,omitempty"` Historicals *ComputeAutoscalerSpec `json:"historicals,omitempty"` MiddleManagers *ComputeAutoscalerSpec `json:"middleManagers,omitempty"` Brokers *ComputeAutoscalerSpec `json:"brokers,omitempty"` Routers *ComputeAutoscalerSpec `json:"routers,omitempty"` }
func (*DruidComputeAutoscalerSpec) DeepCopy ¶ added in v0.46.0
func (in *DruidComputeAutoscalerSpec) DeepCopy() *DruidComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidComputeAutoscalerSpec.
func (*DruidComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.46.0
func (in *DruidComputeAutoscalerSpec) DeepCopyInto(out *DruidComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DruidOpsRequestOptions ¶ added in v0.46.0
type DruidOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*DruidOpsRequestOptions) DeepCopy ¶ added in v0.46.0
func (in *DruidOpsRequestOptions) DeepCopy() *DruidOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidOpsRequestOptions.
func (*DruidOpsRequestOptions) DeepCopyInto ¶ added in v0.46.0
func (in *DruidOpsRequestOptions) DeepCopyInto(out *DruidOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DruidStorageAutoscalerSpec ¶ added in v0.46.0
type DruidStorageAutoscalerSpec struct { Historicals *StorageAutoscalerSpec `json:"historicals,omitempty"` MiddleManagers *StorageAutoscalerSpec `json:"middleManagers,omitempty"` }
func (*DruidStorageAutoscalerSpec) DeepCopy ¶ added in v0.46.0
func (in *DruidStorageAutoscalerSpec) DeepCopy() *DruidStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidStorageAutoscalerSpec.
func (*DruidStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.46.0
func (in *DruidStorageAutoscalerSpec) DeepCopyInto(out *DruidStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchAutoscaler ¶
type ElasticsearchAutoscaler struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // spec is the specification for the behaviour of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. // +optional Spec ElasticsearchAutoscalerSpec `json:"spec,omitempty"` // status is the current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=elasticsearchautoscalers,singular=elasticsearchautoscaler,shortName=esscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (ElasticsearchAutoscaler) CustomResourceDefinition ¶
func (_ ElasticsearchAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*ElasticsearchAutoscaler) DeepCopy ¶
func (in *ElasticsearchAutoscaler) DeepCopy() *ElasticsearchAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAutoscaler.
func (*ElasticsearchAutoscaler) DeepCopyInto ¶
func (in *ElasticsearchAutoscaler) DeepCopyInto(out *ElasticsearchAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElasticsearchAutoscaler) DeepCopyObject ¶
func (in *ElasticsearchAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ElasticsearchAutoscaler) Default ¶ added in v0.28.0
func (in *ElasticsearchAutoscaler) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*ElasticsearchAutoscaler) GetStatus ¶ added in v0.28.0
func (e *ElasticsearchAutoscaler) GetStatus() AutoscalerStatus
func (ElasticsearchAutoscaler) ResourceFQN ¶ added in v0.16.0
func (e ElasticsearchAutoscaler) ResourceFQN() string
func (ElasticsearchAutoscaler) ResourceKind ¶
func (e ElasticsearchAutoscaler) ResourceKind() string
func (ElasticsearchAutoscaler) ResourcePlural ¶
func (e ElasticsearchAutoscaler) ResourcePlural() string
func (ElasticsearchAutoscaler) ResourceShortCode ¶
func (e ElasticsearchAutoscaler) ResourceShortCode() string
func (ElasticsearchAutoscaler) ResourceSingular ¶
func (e ElasticsearchAutoscaler) ResourceSingular() string
func (*ElasticsearchAutoscaler) SetStatus ¶ added in v0.28.0
func (e *ElasticsearchAutoscaler) SetStatus(s AutoscalerStatus)
func (*ElasticsearchAutoscaler) SetupWebhookWithManager ¶ added in v0.28.0
func (in *ElasticsearchAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
func (*ElasticsearchAutoscaler) ValidateCreate ¶ added in v0.28.0
func (in *ElasticsearchAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (ElasticsearchAutoscaler) ValidateDelete ¶ added in v0.28.0
func (_ ElasticsearchAutoscaler) ValidateDelete() (admission.Warnings, error)
func (ElasticsearchAutoscaler) ValidateSpecs ¶
func (e ElasticsearchAutoscaler) ValidateSpecs() error
func (*ElasticsearchAutoscaler) ValidateUpdate ¶ added in v0.28.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ElasticsearchAutoscalerList ¶
type ElasticsearchAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of elasticsearch database autoscaler objects. Items []ElasticsearchAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object ElasticsearchAutoscalerList is a list of ElasticsearchAutoscaler objects.
func (*ElasticsearchAutoscalerList) DeepCopy ¶
func (in *ElasticsearchAutoscalerList) DeepCopy() *ElasticsearchAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAutoscalerList.
func (*ElasticsearchAutoscalerList) DeepCopyInto ¶
func (in *ElasticsearchAutoscalerList) DeepCopyInto(out *ElasticsearchAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElasticsearchAutoscalerList) DeepCopyObject ¶
func (in *ElasticsearchAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElasticsearchAutoscalerSpec ¶
type ElasticsearchAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *ElasticsearchOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *ElasticsearchComputeAutoscalerSpec `json:"compute,omitempty"` Storage *ElasticsearchStorageAutoscalerSpec `json:"storage,omitempty"` }
ElasticsearchAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*ElasticsearchAutoscalerSpec) DeepCopy ¶
func (in *ElasticsearchAutoscalerSpec) DeepCopy() *ElasticsearchAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAutoscalerSpec.
func (*ElasticsearchAutoscalerSpec) DeepCopyInto ¶
func (in *ElasticsearchAutoscalerSpec) DeepCopyInto(out *ElasticsearchAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchComputeAutoscalerSpec ¶ added in v0.16.0
type ElasticsearchComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` Node *ComputeAutoscalerSpec `json:"node,omitempty"` Master *ComputeAutoscalerSpec `json:"master,omitempty"` Ingest *ComputeAutoscalerSpec `json:"ingest,omitempty"` Data *ComputeAutoscalerSpec `json:"data,omitempty"` DataContent *ComputeAutoscalerSpec `json:"dataContent,omitempty"` DataHot *ComputeAutoscalerSpec `json:"dataHot,omitempty"` DataWarm *ComputeAutoscalerSpec `json:"dataWarm,omitempty"` DataCold *ComputeAutoscalerSpec `json:"dataCold,omitempty"` DataFrozen *ComputeAutoscalerSpec `json:"dataFrozen,omitempty"` ML *ComputeAutoscalerSpec `json:"ml,omitempty"` Transform *ComputeAutoscalerSpec `json:"transform,omitempty"` Coordinating *ComputeAutoscalerSpec `json:"coordinating,omitempty"` }
func (*ElasticsearchComputeAutoscalerSpec) DeepCopy ¶ added in v0.16.0
func (in *ElasticsearchComputeAutoscalerSpec) DeepCopy() *ElasticsearchComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchComputeAutoscalerSpec.
func (*ElasticsearchComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.16.0
func (in *ElasticsearchComputeAutoscalerSpec) DeepCopyInto(out *ElasticsearchComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchOpsRequestOptions ¶ added in v0.29.0
type ElasticsearchOpsRequestOptions struct { // Specifies the Readiness Criteria ReadinessCriteria *opsapi.ElasticsearchReplicaReadinessCriteria `json:"readinessCriteria,omitempty"` // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*ElasticsearchOpsRequestOptions) DeepCopy ¶ added in v0.29.0
func (in *ElasticsearchOpsRequestOptions) DeepCopy() *ElasticsearchOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchOpsRequestOptions.
func (*ElasticsearchOpsRequestOptions) DeepCopyInto ¶ added in v0.29.0
func (in *ElasticsearchOpsRequestOptions) DeepCopyInto(out *ElasticsearchOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchStorageAutoscalerSpec ¶ added in v0.16.0
type ElasticsearchStorageAutoscalerSpec struct { Node *StorageAutoscalerSpec `json:"node,omitempty"` Master *StorageAutoscalerSpec `json:"master,omitempty"` Ingest *StorageAutoscalerSpec `json:"ingest,omitempty"` Data *StorageAutoscalerSpec `json:"data,omitempty"` DataContent *StorageAutoscalerSpec `json:"dataContent,omitempty"` DataHot *StorageAutoscalerSpec `json:"dataHot,omitempty"` DataWarm *StorageAutoscalerSpec `json:"dataWarm,omitempty"` DataCold *StorageAutoscalerSpec `json:"dataCold,omitempty"` DataFrozen *StorageAutoscalerSpec `json:"dataFrozen,omitempty"` ML *StorageAutoscalerSpec `json:"ml,omitempty"` Transform *StorageAutoscalerSpec `json:"transform,omitempty"` Coordinating *StorageAutoscalerSpec `json:"coordinating,omitempty"` }
func (*ElasticsearchStorageAutoscalerSpec) DeepCopy ¶ added in v0.16.0
func (in *ElasticsearchStorageAutoscalerSpec) DeepCopy() *ElasticsearchStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchStorageAutoscalerSpec.
func (*ElasticsearchStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.16.0
func (in *ElasticsearchStorageAutoscalerSpec) DeepCopyInto(out *ElasticsearchStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdAutoscaler ¶
type EtcdAutoscaler struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // spec is the specification for the behaviour of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. // +optional Spec EtcdAutoscalerSpec `json:"spec,omitempty"` // status is the current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=etcdautoscalers,singular=etcdautoscaler,shortName=etcdscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (EtcdAutoscaler) CustomResourceDefinition ¶
func (_ EtcdAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*EtcdAutoscaler) DeepCopy ¶
func (in *EtcdAutoscaler) DeepCopy() *EtcdAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdAutoscaler.
func (*EtcdAutoscaler) DeepCopyInto ¶
func (in *EtcdAutoscaler) DeepCopyInto(out *EtcdAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EtcdAutoscaler) DeepCopyObject ¶
func (in *EtcdAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EtcdAutoscaler) GetStatus ¶ added in v0.28.0
func (e *EtcdAutoscaler) GetStatus() AutoscalerStatus
func (EtcdAutoscaler) ResourceFQN ¶ added in v0.16.0
func (e EtcdAutoscaler) ResourceFQN() string
func (EtcdAutoscaler) ResourceKind ¶
func (e EtcdAutoscaler) ResourceKind() string
func (EtcdAutoscaler) ResourcePlural ¶
func (e EtcdAutoscaler) ResourcePlural() string
func (EtcdAutoscaler) ResourceShortCode ¶
func (e EtcdAutoscaler) ResourceShortCode() string
func (EtcdAutoscaler) ResourceSingular ¶
func (e EtcdAutoscaler) ResourceSingular() string
func (*EtcdAutoscaler) SetStatus ¶ added in v0.28.0
func (e *EtcdAutoscaler) SetStatus(s AutoscalerStatus)
func (EtcdAutoscaler) ValidateSpecs ¶
func (e EtcdAutoscaler) ValidateSpecs() error
type EtcdAutoscalerBehavior ¶
type EtcdAutoscalerBehavior struct { // scaleUp is scaling policy for scaling Up. // If not set, the default value is the higher of: // * increase no more than 4 pods per 60 seconds // * double the number of pods per 60 seconds // No stabilization is used. // +optional ScaleUp *EtcdScalingRules `json:"scaleUp,omitempty"` // scaleDown is scaling policy for scaling Down. // If not set, the default value is to allow to scale down to minReplicas pods, with a // 300 second stabilization window (i.e., the highest recommendation for // the last 300sec is used). // +optional ScaleDown *EtcdScalingRules `json:"scaleDown,omitempty"` }
EtcdAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
func (*EtcdAutoscalerBehavior) DeepCopy ¶
func (in *EtcdAutoscalerBehavior) DeepCopy() *EtcdAutoscalerBehavior
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdAutoscalerBehavior.
func (*EtcdAutoscalerBehavior) DeepCopyInto ¶
func (in *EtcdAutoscalerBehavior) DeepCopyInto(out *EtcdAutoscalerBehavior)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdAutoscalerList ¶
type EtcdAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata,omitempty"` // items is the list of horizontal pod autoscaler objects. Items []EtcdAutoscaler `json:"items"` }
EtcdAutoscalerList is a list of horizontal pod autoscaler objects.
func (*EtcdAutoscalerList) DeepCopy ¶
func (in *EtcdAutoscalerList) DeepCopy() *EtcdAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdAutoscalerList.
func (*EtcdAutoscalerList) DeepCopyInto ¶
func (in *EtcdAutoscalerList) DeepCopyInto(out *EtcdAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EtcdAutoscalerList) DeepCopyObject ¶
func (in *EtcdAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EtcdAutoscalerSpec ¶
type EtcdAutoscalerSpec struct { // scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics // should be collected, as well as to actually change the replica count. ScaleTargetRef core.LocalObjectReference `json:"scaleTargetRef"` // minReplicas is the lower limit for the number of replicas to which the autoscaler // can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the // alpha feature gate HPAScaleToZero is enabled and at least one Object or External // metric is configured. Scaling is active as long as at least one metric value is // available. // +optional MinReplicas *int32 `json:"minReplicas,omitempty"` // maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. // It cannot be less that minReplicas. MaxReplicas int32 `json:"maxReplicas"` // metrics contains the specifications for which to use to calculate the // desired replica count (the maximum replica count across all metrics will // be used). The desired replica count is calculated multiplying the // ratio between the target value and the current value by the current // number of pods. Ergo, metrics used must decrease as the pod count is // increased, and vice-versa. See the individual metric source types for // more information about how each type of metric must respond. // If not set, the default metric will be set to 80% average CPU utilization. // +optional Metrics []v2beta2.MetricSpec `json:"metrics,omitempty"` // behavior configures the scaling behavior of the target // in both Up and Down directions (scaleUp and scaleDown fields respectively). // If not set, the default EtcdScalingRules for scale up and scale down are used. // +optional Behavior *EtcdAutoscalerBehavior `json:"behavior,omitempty"` }
EtcdAutoscalerSpec describes the desired functionality of the EtcdAutoscaler.
func (*EtcdAutoscalerSpec) DeepCopy ¶
func (in *EtcdAutoscalerSpec) DeepCopy() *EtcdAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdAutoscalerSpec.
func (*EtcdAutoscalerSpec) DeepCopyInto ¶
func (in *EtcdAutoscalerSpec) DeepCopyInto(out *EtcdAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdScalingPolicy ¶
type EtcdScalingPolicy struct { // Type is used to specify the scaling policy. Type v2beta2.HPAScalingPolicyType `json:"type"` // Value contains the amount of change which is permitted by the policy. // It must be greater than zero Value int32 `json:"value"` // PeriodSeconds specifies the window of time for which the policy should hold true. // PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). PeriodSeconds int32 `json:"periodSeconds"` }
EtcdScalingPolicy is a single policy which must hold true for a specified past interval.
func (*EtcdScalingPolicy) DeepCopy ¶
func (in *EtcdScalingPolicy) DeepCopy() *EtcdScalingPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdScalingPolicy.
func (*EtcdScalingPolicy) DeepCopyInto ¶
func (in *EtcdScalingPolicy) DeepCopyInto(out *EtcdScalingPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdScalingRules ¶
type EtcdScalingRules struct { // StabilizationWindowSeconds is the number of seconds for which past recommendations should be // considered while scaling up or scaling down. // StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). // If not set, use the default values: // - For scale up: 0 (i.e. no stabilization is done). // - For scale down: 300 (i.e. the stabilization window is 300 seconds long). // +optional StabilizationWindowSeconds *int32 `json:"stabilizationWindowSeconds"` // selectPolicy is used to specify which policy should be used. // If not set, the default value MaxPolicySelect is used. // +optional SelectPolicy *v2beta2.ScalingPolicySelect `json:"selectPolicy,omitempty"` // policies is a list of potential scaling polices which can be used during scaling. // At least one policy must be specified, otherwise the EtcdScalingRules will be discarded as invalid // +optional Policies []EtcdScalingPolicy `json:"policies,omitempty"` }
EtcdScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
func (*EtcdScalingRules) DeepCopy ¶
func (in *EtcdScalingRules) DeepCopy() *EtcdScalingRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdScalingRules.
func (*EtcdScalingRules) DeepCopyInto ¶
func (in *EtcdScalingRules) DeepCopyInto(out *EtcdScalingRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FerretDBAutoscaler ¶ added in v0.47.0
type FerretDBAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec FerretDBAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=ferretdbautoscalers,singular=ferretdbautoscaler,shortName=frscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (FerretDBAutoscaler) CustomResourceDefinition ¶ added in v0.47.0
func (r FerretDBAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*FerretDBAutoscaler) DeepCopy ¶ added in v0.47.0
func (in *FerretDBAutoscaler) DeepCopy() *FerretDBAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FerretDBAutoscaler.
func (*FerretDBAutoscaler) DeepCopyInto ¶ added in v0.47.0
func (in *FerretDBAutoscaler) DeepCopyInto(out *FerretDBAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FerretDBAutoscaler) DeepCopyObject ¶ added in v0.47.0
func (in *FerretDBAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FerretDBAutoscaler) Default ¶ added in v0.47.0
func (r *FerretDBAutoscaler) Default()
Default implements webhook.CustomDefaulter so a webhook will be registered for the type
func (*FerretDBAutoscaler) GetStatus ¶ added in v0.47.0
func (r *FerretDBAutoscaler) GetStatus() AutoscalerStatus
func (FerretDBAutoscaler) ResourceFQN ¶ added in v0.47.0
func (r FerretDBAutoscaler) ResourceFQN() string
func (FerretDBAutoscaler) ResourceKind ¶ added in v0.47.0
func (r FerretDBAutoscaler) ResourceKind() string
func (FerretDBAutoscaler) ResourcePlural ¶ added in v0.47.0
func (r FerretDBAutoscaler) ResourcePlural() string
func (FerretDBAutoscaler) ResourceShortCode ¶ added in v0.47.0
func (r FerretDBAutoscaler) ResourceShortCode() string
func (FerretDBAutoscaler) ResourceSingular ¶ added in v0.47.0
func (r FerretDBAutoscaler) ResourceSingular() string
func (*FerretDBAutoscaler) SetStatus ¶ added in v0.47.0
func (r *FerretDBAutoscaler) SetStatus(s AutoscalerStatus)
func (*FerretDBAutoscaler) ValidateCreate ¶ added in v0.47.0
func (r *FerretDBAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*FerretDBAutoscaler) ValidateDelete ¶ added in v0.47.0
func (r *FerretDBAutoscaler) ValidateDelete() (admission.Warnings, error)
func (FerretDBAutoscaler) ValidateSpecs ¶ added in v0.47.0
func (r FerretDBAutoscaler) ValidateSpecs() error
func (*FerretDBAutoscaler) ValidateUpdate ¶ added in v0.47.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type FerretDBAutoscalerList ¶ added in v0.47.0
type FerretDBAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of ferretdb database autoscaler objects. Items []FerretDBAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object FerretDBAutoscalerList is a list of FerretDBAutoscaler objects.
func (*FerretDBAutoscalerList) DeepCopy ¶ added in v0.47.0
func (in *FerretDBAutoscalerList) DeepCopy() *FerretDBAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FerretDBAutoscalerList.
func (*FerretDBAutoscalerList) DeepCopyInto ¶ added in v0.47.0
func (in *FerretDBAutoscalerList) DeepCopyInto(out *FerretDBAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FerretDBAutoscalerList) DeepCopyObject ¶ added in v0.47.0
func (in *FerretDBAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FerretDBAutoscalerSpec ¶ added in v0.47.0
type FerretDBAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *FerretDBOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *FerretDBComputeAutoscalerSpec `json:"compute,omitempty"` Storage *FerretDBStorageAutoscalerSpec `json:"storage,omitempty"` }
FerretDBAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*FerretDBAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *FerretDBAutoscalerSpec) DeepCopy() *FerretDBAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FerretDBAutoscalerSpec.
func (*FerretDBAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *FerretDBAutoscalerSpec) DeepCopyInto(out *FerretDBAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FerretDBComputeAutoscalerSpec ¶ added in v0.47.0
type FerretDBComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` FerretDB *ComputeAutoscalerSpec `json:"ferretdb,omitempty"` }
func (*FerretDBComputeAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *FerretDBComputeAutoscalerSpec) DeepCopy() *FerretDBComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FerretDBComputeAutoscalerSpec.
func (*FerretDBComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *FerretDBComputeAutoscalerSpec) DeepCopyInto(out *FerretDBComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FerretDBOpsRequestOptions ¶ added in v0.47.0
type FerretDBOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*FerretDBOpsRequestOptions) DeepCopy ¶ added in v0.47.0
func (in *FerretDBOpsRequestOptions) DeepCopy() *FerretDBOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FerretDBOpsRequestOptions.
func (*FerretDBOpsRequestOptions) DeepCopyInto ¶ added in v0.47.0
func (in *FerretDBOpsRequestOptions) DeepCopyInto(out *FerretDBOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FerretDBStorageAutoscalerSpec ¶ added in v0.47.0
type FerretDBStorageAutoscalerSpec struct {
FerretDB *StorageAutoscalerSpec `json:"ferretdb,omitempty"`
}
func (*FerretDBStorageAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *FerretDBStorageAutoscalerSpec) DeepCopy() *FerretDBStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FerretDBStorageAutoscalerSpec.
func (*FerretDBStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *FerretDBStorageAutoscalerSpec) DeepCopyInto(out *FerretDBStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HistogramCheckpoint ¶
type HistogramCheckpoint struct { // Reference timestamp for samples collected within this histogram. // +nullable ReferenceTimestamp metav1.Time `json:"referenceTimestamp,omitempty"` // Map from bucket index to bucket weight. // +kubebuilder:validation:XPreserveUnknownFields BucketWeights []BucketWeight `json:"bucketWeights,omitempty"` // Sum of samples to be used as denominator for weights from BucketWeights. TotalWeight float64 `json:"totalWeight,omitempty"` }
HistogramCheckpoint contains data needed to reconstruct the histogram.
func (*HistogramCheckpoint) DeepCopy ¶
func (in *HistogramCheckpoint) DeepCopy() *HistogramCheckpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HistogramCheckpoint.
func (*HistogramCheckpoint) DeepCopyInto ¶
func (in *HistogramCheckpoint) DeepCopyInto(out *HistogramCheckpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaAutoscaler ¶ added in v0.44.0
type KafkaAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec KafkaAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=kafkaautoscalers,singular=kafkaautoscaler,shortName=kfscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (*KafkaAutoscaler) CustomResourceDefinition ¶ added in v0.44.0
func (_ *KafkaAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*KafkaAutoscaler) DeepCopy ¶ added in v0.44.0
func (in *KafkaAutoscaler) DeepCopy() *KafkaAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaAutoscaler.
func (*KafkaAutoscaler) DeepCopyInto ¶ added in v0.44.0
func (in *KafkaAutoscaler) DeepCopyInto(out *KafkaAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KafkaAutoscaler) DeepCopyObject ¶ added in v0.44.0
func (in *KafkaAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KafkaAutoscaler) Default ¶ added in v0.44.0
func (k *KafkaAutoscaler) Default()
Default implements webhook.CustomDefaulter so a webhook will be registered for the type
func (*KafkaAutoscaler) GetStatus ¶ added in v0.44.0
func (k *KafkaAutoscaler) GetStatus() AutoscalerStatus
func (*KafkaAutoscaler) ResourceFQN ¶ added in v0.44.0
func (k *KafkaAutoscaler) ResourceFQN() string
func (*KafkaAutoscaler) ResourceKind ¶ added in v0.44.0
func (k *KafkaAutoscaler) ResourceKind() string
func (*KafkaAutoscaler) ResourcePlural ¶ added in v0.44.0
func (k *KafkaAutoscaler) ResourcePlural() string
func (*KafkaAutoscaler) ResourceShortCode ¶ added in v0.44.0
func (k *KafkaAutoscaler) ResourceShortCode() string
func (*KafkaAutoscaler) ResourceSingular ¶ added in v0.44.0
func (k *KafkaAutoscaler) ResourceSingular() string
func (*KafkaAutoscaler) SetStatus ¶ added in v0.44.0
func (k *KafkaAutoscaler) SetStatus(s AutoscalerStatus)
func (*KafkaAutoscaler) ValidateCreate ¶ added in v0.44.0
func (k *KafkaAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*KafkaAutoscaler) ValidateDelete ¶ added in v0.44.0
func (_ *KafkaAutoscaler) ValidateDelete() (admission.Warnings, error)
func (*KafkaAutoscaler) ValidateSpecs ¶ added in v0.44.0
func (k *KafkaAutoscaler) ValidateSpecs() error
func (*KafkaAutoscaler) ValidateUpdate ¶ added in v0.44.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type KafkaAutoscalerList ¶ added in v0.44.0
type KafkaAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of kafka autoscaler objects. Items []KafkaAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object KafkaAutoscalerList is a list of KafkaAutoscaler objects.
func (*KafkaAutoscalerList) DeepCopy ¶ added in v0.44.0
func (in *KafkaAutoscalerList) DeepCopy() *KafkaAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaAutoscalerList.
func (*KafkaAutoscalerList) DeepCopyInto ¶ added in v0.44.0
func (in *KafkaAutoscalerList) DeepCopyInto(out *KafkaAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KafkaAutoscalerList) DeepCopyObject ¶ added in v0.44.0
func (in *KafkaAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KafkaAutoscalerSpec ¶ added in v0.44.0
type KafkaAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *KafkaOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *KafkaComputeAutoscalerSpec `json:"compute,omitempty"` Storage *KafkaStorageAutoscalerSpec `json:"storage,omitempty"` }
KafkaAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*KafkaAutoscalerSpec) DeepCopy ¶ added in v0.44.0
func (in *KafkaAutoscalerSpec) DeepCopy() *KafkaAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaAutoscalerSpec.
func (*KafkaAutoscalerSpec) DeepCopyInto ¶ added in v0.44.0
func (in *KafkaAutoscalerSpec) DeepCopyInto(out *KafkaAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaComputeAutoscalerSpec ¶ added in v0.44.0
type KafkaComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` Node *ComputeAutoscalerSpec `json:"node,omitempty"` Broker *ComputeAutoscalerSpec `json:"broker,omitempty"` Controller *ComputeAutoscalerSpec `json:"controller,omitempty"` }
func (*KafkaComputeAutoscalerSpec) DeepCopy ¶ added in v0.44.0
func (in *KafkaComputeAutoscalerSpec) DeepCopy() *KafkaComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaComputeAutoscalerSpec.
func (*KafkaComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.44.0
func (in *KafkaComputeAutoscalerSpec) DeepCopyInto(out *KafkaComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaOpsRequestOptions ¶ added in v0.44.0
type KafkaOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*KafkaOpsRequestOptions) DeepCopy ¶ added in v0.44.0
func (in *KafkaOpsRequestOptions) DeepCopy() *KafkaOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaOpsRequestOptions.
func (*KafkaOpsRequestOptions) DeepCopyInto ¶ added in v0.44.0
func (in *KafkaOpsRequestOptions) DeepCopyInto(out *KafkaOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaStorageAutoscalerSpec ¶ added in v0.44.0
type KafkaStorageAutoscalerSpec struct { Node *StorageAutoscalerSpec `json:"node,omitempty"` Broker *StorageAutoscalerSpec `json:"broker,omitempty"` Controller *StorageAutoscalerSpec `json:"controller,omitempty"` }
func (*KafkaStorageAutoscalerSpec) DeepCopy ¶ added in v0.44.0
func (in *KafkaStorageAutoscalerSpec) DeepCopy() *KafkaStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaStorageAutoscalerSpec.
func (*KafkaStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.44.0
func (in *KafkaStorageAutoscalerSpec) DeepCopyInto(out *KafkaStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MSSQLServerAutoscaler ¶ added in v0.47.0
type MSSQLServerAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec MSSQLServerAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=mssqlserverautoscalers,singular=mssqlserverautoscaler,shortName=msscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (MSSQLServerAutoscaler) CustomResourceDefinition ¶ added in v0.47.0
func (r MSSQLServerAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*MSSQLServerAutoscaler) DeepCopy ¶ added in v0.47.0
func (in *MSSQLServerAutoscaler) DeepCopy() *MSSQLServerAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerAutoscaler.
func (*MSSQLServerAutoscaler) DeepCopyInto ¶ added in v0.47.0
func (in *MSSQLServerAutoscaler) DeepCopyInto(out *MSSQLServerAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MSSQLServerAutoscaler) DeepCopyObject ¶ added in v0.47.0
func (in *MSSQLServerAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MSSQLServerAutoscaler) Default ¶ added in v0.47.0
func (r *MSSQLServerAutoscaler) Default()
Default implements webhook.CustomDefaulter so a webhook will be registered for the type
func (*MSSQLServerAutoscaler) GetStatus ¶ added in v0.47.0
func (r *MSSQLServerAutoscaler) GetStatus() AutoscalerStatus
func (MSSQLServerAutoscaler) ResourceFQN ¶ added in v0.47.0
func (r MSSQLServerAutoscaler) ResourceFQN() string
func (MSSQLServerAutoscaler) ResourceKind ¶ added in v0.47.0
func (r MSSQLServerAutoscaler) ResourceKind() string
func (MSSQLServerAutoscaler) ResourcePlural ¶ added in v0.47.0
func (r MSSQLServerAutoscaler) ResourcePlural() string
func (MSSQLServerAutoscaler) ResourceShortCode ¶ added in v0.47.0
func (r MSSQLServerAutoscaler) ResourceShortCode() string
func (MSSQLServerAutoscaler) ResourceSingular ¶ added in v0.47.0
func (r MSSQLServerAutoscaler) ResourceSingular() string
func (*MSSQLServerAutoscaler) SetStatus ¶ added in v0.47.0
func (r *MSSQLServerAutoscaler) SetStatus(s AutoscalerStatus)
func (*MSSQLServerAutoscaler) ValidateCreate ¶ added in v0.47.0
func (r *MSSQLServerAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*MSSQLServerAutoscaler) ValidateDelete ¶ added in v0.47.0
func (r *MSSQLServerAutoscaler) ValidateDelete() (admission.Warnings, error)
func (MSSQLServerAutoscaler) ValidateSpecs ¶ added in v0.47.0
func (r MSSQLServerAutoscaler) ValidateSpecs() error
func (*MSSQLServerAutoscaler) ValidateUpdate ¶ added in v0.47.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type MSSQLServerAutoscalerList ¶ added in v0.47.0
type MSSQLServerAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of mssqlserver database autoscaler objects. Items []MSSQLServerAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object MSSQLServerAutoscalerList is a list of MSSQLServerAutoscaler objects.
func (*MSSQLServerAutoscalerList) DeepCopy ¶ added in v0.47.0
func (in *MSSQLServerAutoscalerList) DeepCopy() *MSSQLServerAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerAutoscalerList.
func (*MSSQLServerAutoscalerList) DeepCopyInto ¶ added in v0.47.0
func (in *MSSQLServerAutoscalerList) DeepCopyInto(out *MSSQLServerAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MSSQLServerAutoscalerList) DeepCopyObject ¶ added in v0.47.0
func (in *MSSQLServerAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MSSQLServerAutoscalerSpec ¶ added in v0.47.0
type MSSQLServerAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *MSSQLServerOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *MSSQLServerComputeAutoscalerSpec `json:"compute,omitempty"` Storage *MSSQLServerStorageAutoscalerSpec `json:"storage,omitempty"` }
MSSQLServerAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*MSSQLServerAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *MSSQLServerAutoscalerSpec) DeepCopy() *MSSQLServerAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerAutoscalerSpec.
func (*MSSQLServerAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *MSSQLServerAutoscalerSpec) DeepCopyInto(out *MSSQLServerAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MSSQLServerComputeAutoscalerSpec ¶ added in v0.47.0
type MSSQLServerComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` MSSQLServer *ComputeAutoscalerSpec `json:"mssqlserver,omitempty"` }
func (*MSSQLServerComputeAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *MSSQLServerComputeAutoscalerSpec) DeepCopy() *MSSQLServerComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerComputeAutoscalerSpec.
func (*MSSQLServerComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *MSSQLServerComputeAutoscalerSpec) DeepCopyInto(out *MSSQLServerComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MSSQLServerOpsRequestOptions ¶ added in v0.47.0
type MSSQLServerOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*MSSQLServerOpsRequestOptions) DeepCopy ¶ added in v0.47.0
func (in *MSSQLServerOpsRequestOptions) DeepCopy() *MSSQLServerOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerOpsRequestOptions.
func (*MSSQLServerOpsRequestOptions) DeepCopyInto ¶ added in v0.47.0
func (in *MSSQLServerOpsRequestOptions) DeepCopyInto(out *MSSQLServerOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MSSQLServerStorageAutoscalerSpec ¶ added in v0.47.0
type MSSQLServerStorageAutoscalerSpec struct {
MSSQLServer *StorageAutoscalerSpec `json:"mssqlserver,omitempty"`
}
func (*MSSQLServerStorageAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *MSSQLServerStorageAutoscalerSpec) DeepCopy() *MSSQLServerStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerStorageAutoscalerSpec.
func (*MSSQLServerStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *MSSQLServerStorageAutoscalerSpec) DeepCopyInto(out *MSSQLServerStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBAutoscaler ¶
type MariaDBAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec MariaDBAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=mariadbautoscalers,singular=mariadbautoscaler,shortName=mdscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (MariaDBAutoscaler) CustomResourceDefinition ¶
func (_ MariaDBAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*MariaDBAutoscaler) DeepCopy ¶
func (in *MariaDBAutoscaler) DeepCopy() *MariaDBAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBAutoscaler.
func (*MariaDBAutoscaler) DeepCopyInto ¶
func (in *MariaDBAutoscaler) DeepCopyInto(out *MariaDBAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MariaDBAutoscaler) DeepCopyObject ¶
func (in *MariaDBAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MariaDBAutoscaler) Default ¶ added in v0.28.0
func (in *MariaDBAutoscaler) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*MariaDBAutoscaler) GetStatus ¶ added in v0.28.0
func (e *MariaDBAutoscaler) GetStatus() AutoscalerStatus
func (MariaDBAutoscaler) ResourceFQN ¶ added in v0.16.0
func (m MariaDBAutoscaler) ResourceFQN() string
func (MariaDBAutoscaler) ResourceKind ¶
func (m MariaDBAutoscaler) ResourceKind() string
func (MariaDBAutoscaler) ResourcePlural ¶
func (m MariaDBAutoscaler) ResourcePlural() string
func (MariaDBAutoscaler) ResourceShortCode ¶
func (m MariaDBAutoscaler) ResourceShortCode() string
func (MariaDBAutoscaler) ResourceSingular ¶
func (m MariaDBAutoscaler) ResourceSingular() string
func (*MariaDBAutoscaler) SetStatus ¶ added in v0.28.0
func (e *MariaDBAutoscaler) SetStatus(s AutoscalerStatus)
func (*MariaDBAutoscaler) SetupWebhookWithManager ¶ added in v0.28.0
func (in *MariaDBAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
func (*MariaDBAutoscaler) ValidateCreate ¶ added in v0.28.0
func (in *MariaDBAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (MariaDBAutoscaler) ValidateDelete ¶ added in v0.28.0
func (_ MariaDBAutoscaler) ValidateDelete() (admission.Warnings, error)
func (MariaDBAutoscaler) ValidateSpecs ¶
func (m MariaDBAutoscaler) ValidateSpecs() error
func (*MariaDBAutoscaler) ValidateUpdate ¶ added in v0.28.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type MariaDBAutoscalerList ¶
type MariaDBAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of mariadb database autoscaler objects. Items []MariaDBAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object MariaDBAutoscalerList is a list of MariaDBAutoscaler objects.
func (*MariaDBAutoscalerList) DeepCopy ¶
func (in *MariaDBAutoscalerList) DeepCopy() *MariaDBAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBAutoscalerList.
func (*MariaDBAutoscalerList) DeepCopyInto ¶
func (in *MariaDBAutoscalerList) DeepCopyInto(out *MariaDBAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MariaDBAutoscalerList) DeepCopyObject ¶
func (in *MariaDBAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MariaDBAutoscalerSpec ¶
type MariaDBAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *MariaDBOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *MariaDBComputeAutoscalerSpec `json:"compute,omitempty"` Storage *MariaDBStorageAutoscalerSpec `json:"storage,omitempty"` }
MariaDBAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*MariaDBAutoscalerSpec) DeepCopy ¶
func (in *MariaDBAutoscalerSpec) DeepCopy() *MariaDBAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBAutoscalerSpec.
func (*MariaDBAutoscalerSpec) DeepCopyInto ¶
func (in *MariaDBAutoscalerSpec) DeepCopyInto(out *MariaDBAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBComputeAutoscalerSpec ¶ added in v0.25.0
type MariaDBComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` MariaDB *ComputeAutoscalerSpec `json:"mariadb,omitempty"` }
func (*MariaDBComputeAutoscalerSpec) DeepCopy ¶ added in v0.25.0
func (in *MariaDBComputeAutoscalerSpec) DeepCopy() *MariaDBComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBComputeAutoscalerSpec.
func (*MariaDBComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.25.0
func (in *MariaDBComputeAutoscalerSpec) DeepCopyInto(out *MariaDBComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBOpsRequestOptions ¶ added in v0.29.0
type MariaDBOpsRequestOptions struct { // Specifies the Readiness Criteria ReadinessCriteria *opsapi.MariaDBReplicaReadinessCriteria `json:"readinessCriteria,omitempty"` // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*MariaDBOpsRequestOptions) DeepCopy ¶ added in v0.29.0
func (in *MariaDBOpsRequestOptions) DeepCopy() *MariaDBOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBOpsRequestOptions.
func (*MariaDBOpsRequestOptions) DeepCopyInto ¶ added in v0.29.0
func (in *MariaDBOpsRequestOptions) DeepCopyInto(out *MariaDBOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBStorageAutoscalerSpec ¶ added in v0.25.0
type MariaDBStorageAutoscalerSpec struct {
MariaDB *StorageAutoscalerSpec `json:"mariadb,omitempty"`
}
func (*MariaDBStorageAutoscalerSpec) DeepCopy ¶ added in v0.25.0
func (in *MariaDBStorageAutoscalerSpec) DeepCopy() *MariaDBStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBStorageAutoscalerSpec.
func (*MariaDBStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.25.0
func (in *MariaDBStorageAutoscalerSpec) DeepCopyInto(out *MariaDBStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcachedAutoscaler ¶
type MemcachedAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec MemcachedAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=memcachedautoscalers,singular=memcachedautoscaler,shortName=mcscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (MemcachedAutoscaler) CustomResourceDefinition ¶
func (_ MemcachedAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*MemcachedAutoscaler) DeepCopy ¶
func (in *MemcachedAutoscaler) DeepCopy() *MemcachedAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedAutoscaler.
func (*MemcachedAutoscaler) DeepCopyInto ¶
func (in *MemcachedAutoscaler) DeepCopyInto(out *MemcachedAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MemcachedAutoscaler) DeepCopyObject ¶
func (in *MemcachedAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MemcachedAutoscaler) Default ¶ added in v0.47.0
func (r *MemcachedAutoscaler) Default()
Default implements webhook.CustomDefaulter so a webhook will be registered for the type
func (*MemcachedAutoscaler) GetStatus ¶ added in v0.28.0
func (e *MemcachedAutoscaler) GetStatus() AutoscalerStatus
func (MemcachedAutoscaler) ResourceFQN ¶ added in v0.16.0
func (m MemcachedAutoscaler) ResourceFQN() string
func (MemcachedAutoscaler) ResourceKind ¶
func (m MemcachedAutoscaler) ResourceKind() string
func (MemcachedAutoscaler) ResourcePlural ¶
func (m MemcachedAutoscaler) ResourcePlural() string
func (MemcachedAutoscaler) ResourceShortCode ¶
func (m MemcachedAutoscaler) ResourceShortCode() string
func (MemcachedAutoscaler) ResourceSingular ¶
func (m MemcachedAutoscaler) ResourceSingular() string
func (*MemcachedAutoscaler) SetStatus ¶ added in v0.28.0
func (e *MemcachedAutoscaler) SetStatus(s AutoscalerStatus)
func (*MemcachedAutoscaler) ValidateCreate ¶ added in v0.47.0
func (r *MemcachedAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*MemcachedAutoscaler) ValidateDelete ¶ added in v0.47.0
func (r *MemcachedAutoscaler) ValidateDelete() (admission.Warnings, error)
func (MemcachedAutoscaler) ValidateSpecs ¶
func (m MemcachedAutoscaler) ValidateSpecs() error
func (*MemcachedAutoscaler) ValidateUpdate ¶ added in v0.47.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type MemcachedAutoscalerList ¶
type MemcachedAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of memcached database autoscaler objects. Items []MemcachedAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object MemcachedAutoscalerList is a list of MemcachedAutoscaler objects.
func (*MemcachedAutoscalerList) DeepCopy ¶
func (in *MemcachedAutoscalerList) DeepCopy() *MemcachedAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedAutoscalerList.
func (*MemcachedAutoscalerList) DeepCopyInto ¶
func (in *MemcachedAutoscalerList) DeepCopyInto(out *MemcachedAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MemcachedAutoscalerList) DeepCopyObject ¶
func (in *MemcachedAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MemcachedAutoscalerSpec ¶
type MemcachedAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *MemcachedOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *MemcachedComputeAutoscalerSpec `json:"compute,omitempty"` Storage *MemcachedStorageAutoscalerSpec `json:"storage,omitempty"` }
MemcachedAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*MemcachedAutoscalerSpec) DeepCopy ¶
func (in *MemcachedAutoscalerSpec) DeepCopy() *MemcachedAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedAutoscalerSpec.
func (*MemcachedAutoscalerSpec) DeepCopyInto ¶
func (in *MemcachedAutoscalerSpec) DeepCopyInto(out *MemcachedAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcachedComputeAutoscalerSpec ¶ added in v0.47.0
type MemcachedComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` Memcached *ComputeAutoscalerSpec `json:"memcached,omitempty"` }
func (*MemcachedComputeAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *MemcachedComputeAutoscalerSpec) DeepCopy() *MemcachedComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedComputeAutoscalerSpec.
func (*MemcachedComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *MemcachedComputeAutoscalerSpec) DeepCopyInto(out *MemcachedComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcachedOpsRequestOptions ¶ added in v0.47.0
type MemcachedOpsRequestOptions struct { // Specifies the Readiness Criteria ReadinessCriteria *opsapi.MemcachedReplicaReadinessCriteria `json:"readinessCriteria,omitempty"` // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*MemcachedOpsRequestOptions) DeepCopy ¶ added in v0.47.0
func (in *MemcachedOpsRequestOptions) DeepCopy() *MemcachedOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedOpsRequestOptions.
func (*MemcachedOpsRequestOptions) DeepCopyInto ¶ added in v0.47.0
func (in *MemcachedOpsRequestOptions) DeepCopyInto(out *MemcachedOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcachedStorageAutoscalerSpec ¶ added in v0.47.0
type MemcachedStorageAutoscalerSpec struct {
Memcached *StorageAutoscalerSpec `json:"memcached,omitempty"`
}
func (*MemcachedStorageAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *MemcachedStorageAutoscalerSpec) DeepCopy() *MemcachedStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedStorageAutoscalerSpec.
func (*MemcachedStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *MemcachedStorageAutoscalerSpec) DeepCopyInto(out *MemcachedStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBAutoscaler ¶
type MongoDBAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec MongoDBAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=mongodbautoscalers,singular=mongodbautoscaler,shortName=mgscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (MongoDBAutoscaler) CustomResourceDefinition ¶
func (_ MongoDBAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*MongoDBAutoscaler) DeepCopy ¶
func (in *MongoDBAutoscaler) DeepCopy() *MongoDBAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAutoscaler.
func (*MongoDBAutoscaler) DeepCopyInto ¶
func (in *MongoDBAutoscaler) DeepCopyInto(out *MongoDBAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongoDBAutoscaler) DeepCopyObject ¶
func (in *MongoDBAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MongoDBAutoscaler) Default ¶ added in v0.28.0
func (in *MongoDBAutoscaler) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*MongoDBAutoscaler) GetStatus ¶ added in v0.28.0
func (e *MongoDBAutoscaler) GetStatus() AutoscalerStatus
func (MongoDBAutoscaler) ResourceFQN ¶ added in v0.16.0
func (m MongoDBAutoscaler) ResourceFQN() string
func (MongoDBAutoscaler) ResourceKind ¶
func (m MongoDBAutoscaler) ResourceKind() string
func (MongoDBAutoscaler) ResourcePlural ¶
func (m MongoDBAutoscaler) ResourcePlural() string
func (MongoDBAutoscaler) ResourceShortCode ¶
func (m MongoDBAutoscaler) ResourceShortCode() string
func (MongoDBAutoscaler) ResourceSingular ¶
func (m MongoDBAutoscaler) ResourceSingular() string
func (*MongoDBAutoscaler) SetStatus ¶ added in v0.28.0
func (e *MongoDBAutoscaler) SetStatus(s AutoscalerStatus)
func (*MongoDBAutoscaler) SetupWebhookWithManager ¶ added in v0.28.0
func (in *MongoDBAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
func (*MongoDBAutoscaler) ValidateCreate ¶ added in v0.28.0
func (in *MongoDBAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (MongoDBAutoscaler) ValidateDelete ¶ added in v0.28.0
func (_ MongoDBAutoscaler) ValidateDelete() (admission.Warnings, error)
func (MongoDBAutoscaler) ValidateSpecs ¶
func (m MongoDBAutoscaler) ValidateSpecs() error
func (*MongoDBAutoscaler) ValidateUpdate ¶ added in v0.28.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type MongoDBAutoscalerList ¶
type MongoDBAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of mongodb database autoscaler objects. Items []MongoDBAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object MongoDBAutoscalerList is a list of MongoDBAutoscaler objects.
func (*MongoDBAutoscalerList) DeepCopy ¶
func (in *MongoDBAutoscalerList) DeepCopy() *MongoDBAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAutoscalerList.
func (*MongoDBAutoscalerList) DeepCopyInto ¶
func (in *MongoDBAutoscalerList) DeepCopyInto(out *MongoDBAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongoDBAutoscalerList) DeepCopyObject ¶
func (in *MongoDBAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MongoDBAutoscalerSpec ¶
type MongoDBAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *MongoDBOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *MongoDBComputeAutoscalerSpec `json:"compute,omitempty"` Storage *MongoDBStorageAutoscalerSpec `json:"storage,omitempty"` }
MongoDBAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*MongoDBAutoscalerSpec) DeepCopy ¶
func (in *MongoDBAutoscalerSpec) DeepCopy() *MongoDBAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAutoscalerSpec.
func (*MongoDBAutoscalerSpec) DeepCopyInto ¶
func (in *MongoDBAutoscalerSpec) DeepCopyInto(out *MongoDBAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBComputeAutoscalerSpec ¶ added in v0.16.0
type MongoDBComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` Standalone *ComputeAutoscalerSpec `json:"standalone,omitempty"` ReplicaSet *ComputeAutoscalerSpec `json:"replicaSet,omitempty"` ConfigServer *ComputeAutoscalerSpec `json:"configServer,omitempty"` Shard *ComputeAutoscalerSpec `json:"shard,omitempty"` Mongos *ComputeAutoscalerSpec `json:"mongos,omitempty"` Arbiter *ComputeAutoscalerSpec `json:"arbiter,omitempty"` Hidden *ComputeAutoscalerSpec `json:"hidden,omitempty"` }
func (*MongoDBComputeAutoscalerSpec) DeepCopy ¶ added in v0.16.0
func (in *MongoDBComputeAutoscalerSpec) DeepCopy() *MongoDBComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBComputeAutoscalerSpec.
func (*MongoDBComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.16.0
func (in *MongoDBComputeAutoscalerSpec) DeepCopyInto(out *MongoDBComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBOpsRequestOptions ¶ added in v0.28.0
type MongoDBOpsRequestOptions struct { // Specifies the Readiness Criteria ReadinessCriteria *opsapi.MongoDBReplicaReadinessCriteria `json:"readinessCriteria,omitempty"` // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*MongoDBOpsRequestOptions) DeepCopy ¶ added in v0.28.0
func (in *MongoDBOpsRequestOptions) DeepCopy() *MongoDBOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBOpsRequestOptions.
func (*MongoDBOpsRequestOptions) DeepCopyInto ¶ added in v0.28.0
func (in *MongoDBOpsRequestOptions) DeepCopyInto(out *MongoDBOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBStorageAutoscalerSpec ¶ added in v0.16.0
type MongoDBStorageAutoscalerSpec struct { Standalone *StorageAutoscalerSpec `json:"standalone,omitempty"` ReplicaSet *StorageAutoscalerSpec `json:"replicaSet,omitempty"` ConfigServer *StorageAutoscalerSpec `json:"configServer,omitempty"` Shard *StorageAutoscalerSpec `json:"shard,omitempty"` Hidden *StorageAutoscalerSpec `json:"hidden,omitempty"` }
func (*MongoDBStorageAutoscalerSpec) DeepCopy ¶ added in v0.16.0
func (in *MongoDBStorageAutoscalerSpec) DeepCopy() *MongoDBStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBStorageAutoscalerSpec.
func (*MongoDBStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.16.0
func (in *MongoDBStorageAutoscalerSpec) DeepCopyInto(out *MongoDBStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLAutoscaler ¶
type MySQLAutoscaler struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // spec is the specification for the behaviour of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. // +optional Spec MySQLAutoscalerSpec `json:"spec,omitempty"` // status is the current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=mysqlautoscalers,singular=mysqlautoscaler,shortName=myscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (MySQLAutoscaler) CustomResourceDefinition ¶
func (_ MySQLAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*MySQLAutoscaler) DeepCopy ¶
func (in *MySQLAutoscaler) DeepCopy() *MySQLAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLAutoscaler.
func (*MySQLAutoscaler) DeepCopyInto ¶
func (in *MySQLAutoscaler) DeepCopyInto(out *MySQLAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQLAutoscaler) DeepCopyObject ¶
func (in *MySQLAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MySQLAutoscaler) Default ¶ added in v0.29.0
func (in *MySQLAutoscaler) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*MySQLAutoscaler) GetStatus ¶ added in v0.28.0
func (e *MySQLAutoscaler) GetStatus() AutoscalerStatus
func (MySQLAutoscaler) ResourceFQN ¶ added in v0.16.0
func (m MySQLAutoscaler) ResourceFQN() string
func (MySQLAutoscaler) ResourceKind ¶
func (m MySQLAutoscaler) ResourceKind() string
func (MySQLAutoscaler) ResourcePlural ¶
func (m MySQLAutoscaler) ResourcePlural() string
func (MySQLAutoscaler) ResourceShortCode ¶
func (m MySQLAutoscaler) ResourceShortCode() string
func (MySQLAutoscaler) ResourceSingular ¶
func (m MySQLAutoscaler) ResourceSingular() string
func (*MySQLAutoscaler) SetDefaults ¶ added in v0.29.0
func (in *MySQLAutoscaler) SetDefaults()
func (*MySQLAutoscaler) SetStatus ¶ added in v0.28.0
func (e *MySQLAutoscaler) SetStatus(s AutoscalerStatus)
func (*MySQLAutoscaler) SetupWebhookWithManager ¶ added in v0.29.0
func (in *MySQLAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
func (*MySQLAutoscaler) ValidateCreate ¶ added in v0.29.0
func (in *MySQLAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (MySQLAutoscaler) ValidateDelete ¶ added in v0.29.0
func (_ MySQLAutoscaler) ValidateDelete() (admission.Warnings, error)
func (MySQLAutoscaler) ValidateSpecs ¶
func (m MySQLAutoscaler) ValidateSpecs() error
func (*MySQLAutoscaler) ValidateUpdate ¶ added in v0.29.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type MySQLAutoscalerList ¶
type MySQLAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata,omitempty"` // items is the list of horizontal pod autoscaler objects. Items []MySQLAutoscaler `json:"items"` }
MySQLAutoscalerList is a list of horizontal pod autoscaler objects.
func (*MySQLAutoscalerList) DeepCopy ¶
func (in *MySQLAutoscalerList) DeepCopy() *MySQLAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLAutoscalerList.
func (*MySQLAutoscalerList) DeepCopyInto ¶
func (in *MySQLAutoscalerList) DeepCopyInto(out *MySQLAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQLAutoscalerList) DeepCopyObject ¶
func (in *MySQLAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MySQLAutoscalerSpec ¶
type MySQLAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *MySQLOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *MySQLComputeAutoscalerSpec `json:"compute,omitempty"` Storage *MySQLStorageAutoscalerSpec `json:"storage,omitempty"` }
MySQLAutoscalerSpec describes the desired functionality of the MySQLAutoscaler.
func (*MySQLAutoscalerSpec) DeepCopy ¶
func (in *MySQLAutoscalerSpec) DeepCopy() *MySQLAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLAutoscalerSpec.
func (*MySQLAutoscalerSpec) DeepCopyInto ¶
func (in *MySQLAutoscalerSpec) DeepCopyInto(out *MySQLAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLComputeAutoscalerSpec ¶ added in v0.29.0
type MySQLComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` MySQL *ComputeAutoscalerSpec `json:"mysql,omitempty"` }
func (*MySQLComputeAutoscalerSpec) DeepCopy ¶ added in v0.29.0
func (in *MySQLComputeAutoscalerSpec) DeepCopy() *MySQLComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLComputeAutoscalerSpec.
func (*MySQLComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.29.0
func (in *MySQLComputeAutoscalerSpec) DeepCopyInto(out *MySQLComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLOpsRequestOptions ¶ added in v0.29.0
type MySQLOpsRequestOptions struct { // Specifies the Readiness Criteria ReadinessCriteria *opsapi.MySQLReplicaReadinessCriteria `json:"readinessCriteria,omitempty"` // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*MySQLOpsRequestOptions) DeepCopy ¶ added in v0.29.0
func (in *MySQLOpsRequestOptions) DeepCopy() *MySQLOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLOpsRequestOptions.
func (*MySQLOpsRequestOptions) DeepCopyInto ¶ added in v0.29.0
func (in *MySQLOpsRequestOptions) DeepCopyInto(out *MySQLOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLStorageAutoscalerSpec ¶ added in v0.29.0
type MySQLStorageAutoscalerSpec struct {
MySQL *StorageAutoscalerSpec `json:"mysql,omitempty"`
}
func (*MySQLStorageAutoscalerSpec) DeepCopy ¶ added in v0.29.0
func (in *MySQLStorageAutoscalerSpec) DeepCopy() *MySQLStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLStorageAutoscalerSpec.
func (*MySQLStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.29.0
func (in *MySQLStorageAutoscalerSpec) DeepCopyInto(out *MySQLStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeTopology ¶ added in v0.40.0
type NodeTopology struct { // Name of the NodeTopology object Name string `json:"name,omitempty"` // ScaleUpDiffPercentage describes in which difference (between recommended resource and the capacity of the nodePool) the opsReq should be triggered while scaling up // Defaults to 15 // +optional // +kubebuilder:default=15 ScaleUpDiffPercentage *int32 `json:"scaleUpDiffPercentage"` // ScaleDownDiffPercentage describes in which difference (between recommended resource and the capacity of the nodePool) the opsReq should be triggered while scaling down // Defaults to 25 // +optional // +kubebuilder:default=25 ScaleDownDiffPercentage *int32 `json:"scaleDownDiffPercentage"` }
func (*NodeTopology) DeepCopy ¶ added in v0.40.0
func (in *NodeTopology) DeepCopy() *NodeTopology
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeTopology.
func (*NodeTopology) DeepCopyInto ¶ added in v0.40.0
func (in *NodeTopology) DeepCopyInto(out *NodeTopology)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PerconaXtraDBAutoscaler ¶
type PerconaXtraDBAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec PerconaXtraDBAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=perconaxtradbautoscalers,singular=perconaxtradbautoscaler,shortName=pxcscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (PerconaXtraDBAutoscaler) CustomResourceDefinition ¶
func (_ PerconaXtraDBAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*PerconaXtraDBAutoscaler) DeepCopy ¶
func (in *PerconaXtraDBAutoscaler) DeepCopy() *PerconaXtraDBAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBAutoscaler.
func (*PerconaXtraDBAutoscaler) DeepCopyInto ¶
func (in *PerconaXtraDBAutoscaler) DeepCopyInto(out *PerconaXtraDBAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PerconaXtraDBAutoscaler) DeepCopyObject ¶
func (in *PerconaXtraDBAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PerconaXtraDBAutoscaler) Default ¶ added in v0.29.0
func (in *PerconaXtraDBAutoscaler) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*PerconaXtraDBAutoscaler) GetStatus ¶ added in v0.28.0
func (e *PerconaXtraDBAutoscaler) GetStatus() AutoscalerStatus
func (PerconaXtraDBAutoscaler) ResourceFQN ¶ added in v0.16.0
func (p PerconaXtraDBAutoscaler) ResourceFQN() string
func (PerconaXtraDBAutoscaler) ResourceKind ¶
func (p PerconaXtraDBAutoscaler) ResourceKind() string
func (PerconaXtraDBAutoscaler) ResourcePlural ¶
func (p PerconaXtraDBAutoscaler) ResourcePlural() string
func (PerconaXtraDBAutoscaler) ResourceShortCode ¶
func (p PerconaXtraDBAutoscaler) ResourceShortCode() string
func (PerconaXtraDBAutoscaler) ResourceSingular ¶
func (p PerconaXtraDBAutoscaler) ResourceSingular() string
func (*PerconaXtraDBAutoscaler) SetStatus ¶ added in v0.28.0
func (e *PerconaXtraDBAutoscaler) SetStatus(s AutoscalerStatus)
func (*PerconaXtraDBAutoscaler) SetupWebhookWithManager ¶ added in v0.29.0
func (in *PerconaXtraDBAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
func (*PerconaXtraDBAutoscaler) ValidateCreate ¶ added in v0.29.0
func (in *PerconaXtraDBAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (PerconaXtraDBAutoscaler) ValidateDelete ¶ added in v0.29.0
func (_ PerconaXtraDBAutoscaler) ValidateDelete() (admission.Warnings, error)
func (PerconaXtraDBAutoscaler) ValidateSpecs ¶
func (p PerconaXtraDBAutoscaler) ValidateSpecs() error
func (*PerconaXtraDBAutoscaler) ValidateUpdate ¶ added in v0.29.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type PerconaXtraDBAutoscalerList ¶
type PerconaXtraDBAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of perconaxtradb autoscaler objects. Items []PerconaXtraDBAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object PerconaXtraDBAutoscalerList is a list of PerconaXtraDBAutoscaler objects.
func (*PerconaXtraDBAutoscalerList) DeepCopy ¶
func (in *PerconaXtraDBAutoscalerList) DeepCopy() *PerconaXtraDBAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBAutoscalerList.
func (*PerconaXtraDBAutoscalerList) DeepCopyInto ¶
func (in *PerconaXtraDBAutoscalerList) DeepCopyInto(out *PerconaXtraDBAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PerconaXtraDBAutoscalerList) DeepCopyObject ¶
func (in *PerconaXtraDBAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PerconaXtraDBAutoscalerSpec ¶
type PerconaXtraDBAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *PerconaXtraDBOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *PerconaXtraDBComputeAutoscalerSpec `json:"compute,omitempty"` Storage *PerconaXtraDBStorageAutoscalerSpec `json:"storage,omitempty"` }
PerconaXtraDBAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*PerconaXtraDBAutoscalerSpec) DeepCopy ¶
func (in *PerconaXtraDBAutoscalerSpec) DeepCopy() *PerconaXtraDBAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBAutoscalerSpec.
func (*PerconaXtraDBAutoscalerSpec) DeepCopyInto ¶
func (in *PerconaXtraDBAutoscalerSpec) DeepCopyInto(out *PerconaXtraDBAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PerconaXtraDBComputeAutoscalerSpec ¶ added in v0.29.0
type PerconaXtraDBComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` PerconaXtraDB *ComputeAutoscalerSpec `json:"perconaxtradb,omitempty"` }
func (*PerconaXtraDBComputeAutoscalerSpec) DeepCopy ¶ added in v0.29.0
func (in *PerconaXtraDBComputeAutoscalerSpec) DeepCopy() *PerconaXtraDBComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBComputeAutoscalerSpec.
func (*PerconaXtraDBComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.29.0
func (in *PerconaXtraDBComputeAutoscalerSpec) DeepCopyInto(out *PerconaXtraDBComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PerconaXtraDBOpsRequestOptions ¶ added in v0.29.0
type PerconaXtraDBOpsRequestOptions struct { // Specifies the Readiness Criteria ReadinessCriteria *opsapi.PerconaXtraDBReplicaReadinessCriteria `json:"readinessCriteria,omitempty"` // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*PerconaXtraDBOpsRequestOptions) DeepCopy ¶ added in v0.29.0
func (in *PerconaXtraDBOpsRequestOptions) DeepCopy() *PerconaXtraDBOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBOpsRequestOptions.
func (*PerconaXtraDBOpsRequestOptions) DeepCopyInto ¶ added in v0.29.0
func (in *PerconaXtraDBOpsRequestOptions) DeepCopyInto(out *PerconaXtraDBOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PerconaXtraDBStorageAutoscalerSpec ¶ added in v0.29.0
type PerconaXtraDBStorageAutoscalerSpec struct {
PerconaXtraDB *StorageAutoscalerSpec `json:"perconaxtradb,omitempty"`
}
func (*PerconaXtraDBStorageAutoscalerSpec) DeepCopy ¶ added in v0.29.0
func (in *PerconaXtraDBStorageAutoscalerSpec) DeepCopy() *PerconaXtraDBStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBStorageAutoscalerSpec.
func (*PerconaXtraDBStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.29.0
func (in *PerconaXtraDBStorageAutoscalerSpec) DeepCopyInto(out *PerconaXtraDBStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgBouncerAutoscaler ¶
type PgBouncerAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec PgBouncerAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=pgbouncerautoscalers,singular=pgbouncerautoscaler,shortName=pbscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (PgBouncerAutoscaler) CustomResourceDefinition ¶
func (_ PgBouncerAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*PgBouncerAutoscaler) DeepCopy ¶
func (in *PgBouncerAutoscaler) DeepCopy() *PgBouncerAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerAutoscaler.
func (*PgBouncerAutoscaler) DeepCopyInto ¶
func (in *PgBouncerAutoscaler) DeepCopyInto(out *PgBouncerAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PgBouncerAutoscaler) DeepCopyObject ¶
func (in *PgBouncerAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PgBouncerAutoscaler) Default ¶ added in v0.47.0
func (r *PgBouncerAutoscaler) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*PgBouncerAutoscaler) GetStatus ¶ added in v0.28.0
func (e *PgBouncerAutoscaler) GetStatus() AutoscalerStatus
func (PgBouncerAutoscaler) ResourceFQN ¶ added in v0.16.0
func (p PgBouncerAutoscaler) ResourceFQN() string
func (PgBouncerAutoscaler) ResourceKind ¶
func (p PgBouncerAutoscaler) ResourceKind() string
func (PgBouncerAutoscaler) ResourcePlural ¶
func (p PgBouncerAutoscaler) ResourcePlural() string
func (PgBouncerAutoscaler) ResourceShortCode ¶
func (p PgBouncerAutoscaler) ResourceShortCode() string
func (PgBouncerAutoscaler) ResourceSingular ¶
func (p PgBouncerAutoscaler) ResourceSingular() string
func (*PgBouncerAutoscaler) SetStatus ¶ added in v0.28.0
func (e *PgBouncerAutoscaler) SetStatus(s AutoscalerStatus)
func (*PgBouncerAutoscaler) SetupWebhookWithManager ¶ added in v0.47.0
func (in *PgBouncerAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
func (*PgBouncerAutoscaler) ValidateCreate ¶ added in v0.47.0
func (r *PgBouncerAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*PgBouncerAutoscaler) ValidateDelete ¶ added in v0.47.0
func (r *PgBouncerAutoscaler) ValidateDelete() (admission.Warnings, error)
func (PgBouncerAutoscaler) ValidateSpecs ¶
func (p PgBouncerAutoscaler) ValidateSpecs() error
func (*PgBouncerAutoscaler) ValidateUpdate ¶ added in v0.47.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type PgBouncerAutoscalerList ¶
type PgBouncerAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of pgbouncer database autoscaler objects. Items []PgBouncerAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object PgBouncerAutoscalerList is a list of PgBouncerAutoscaler objects.
func (*PgBouncerAutoscalerList) DeepCopy ¶
func (in *PgBouncerAutoscalerList) DeepCopy() *PgBouncerAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerAutoscalerList.
func (*PgBouncerAutoscalerList) DeepCopyInto ¶
func (in *PgBouncerAutoscalerList) DeepCopyInto(out *PgBouncerAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PgBouncerAutoscalerList) DeepCopyObject ¶
func (in *PgBouncerAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PgBouncerAutoscalerSpec ¶
type PgBouncerAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // OpsRequestOptions will be used to control the behaviour of ops-manager OpsRequestOptions *PgBouncerOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *PgBouncerComputeAutoscalerSpec `json:"compute,omitempty"` }
PgBouncerAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*PgBouncerAutoscalerSpec) DeepCopy ¶
func (in *PgBouncerAutoscalerSpec) DeepCopy() *PgBouncerAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerAutoscalerSpec.
func (*PgBouncerAutoscalerSpec) DeepCopyInto ¶
func (in *PgBouncerAutoscalerSpec) DeepCopyInto(out *PgBouncerAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgBouncerComputeAutoscalerSpec ¶ added in v0.47.0
type PgBouncerComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` PgBouncer *ComputeAutoscalerSpec `json:"pgbouncer,omitempty"` }
func (*PgBouncerComputeAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *PgBouncerComputeAutoscalerSpec) DeepCopy() *PgBouncerComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerComputeAutoscalerSpec.
func (*PgBouncerComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *PgBouncerComputeAutoscalerSpec) DeepCopyInto(out *PgBouncerComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgBouncerOpsRequestOptions ¶ added in v0.47.0
type PgBouncerOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // Apply is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*PgBouncerOpsRequestOptions) DeepCopy ¶ added in v0.47.0
func (in *PgBouncerOpsRequestOptions) DeepCopy() *PgBouncerOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerOpsRequestOptions.
func (*PgBouncerOpsRequestOptions) DeepCopyInto ¶ added in v0.47.0
func (in *PgBouncerOpsRequestOptions) DeepCopyInto(out *PgBouncerOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgBouncerStorageAutoscalerSpec ¶ added in v0.47.0
type PgBouncerStorageAutoscalerSpec struct {
PgBouncer *StorageAutoscalerSpec `json:"pgbouncer,omitempty"`
}
func (*PgBouncerStorageAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *PgBouncerStorageAutoscalerSpec) DeepCopy() *PgBouncerStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerStorageAutoscalerSpec.
func (*PgBouncerStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *PgBouncerStorageAutoscalerSpec) DeepCopyInto(out *PgBouncerStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgpoolAutoscaler ¶ added in v0.46.0
type PgpoolAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec PgpoolAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=pgpoolautoscalers,singular=pgpoolautoscaler,shortName=ppscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (PgpoolAutoscaler) CustomResourceDefinition ¶ added in v0.46.0
func (r PgpoolAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*PgpoolAutoscaler) DeepCopy ¶ added in v0.46.0
func (in *PgpoolAutoscaler) DeepCopy() *PgpoolAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolAutoscaler.
func (*PgpoolAutoscaler) DeepCopyInto ¶ added in v0.46.0
func (in *PgpoolAutoscaler) DeepCopyInto(out *PgpoolAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PgpoolAutoscaler) DeepCopyObject ¶ added in v0.46.0
func (in *PgpoolAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PgpoolAutoscaler) Default ¶ added in v0.46.0
func (r *PgpoolAutoscaler) Default()
Default implements webhook.CustomDefaulter so a webhook will be registered for the type
func (*PgpoolAutoscaler) GetStatus ¶ added in v0.46.0
func (r *PgpoolAutoscaler) GetStatus() AutoscalerStatus
func (PgpoolAutoscaler) ResourceFQN ¶ added in v0.46.0
func (r PgpoolAutoscaler) ResourceFQN() string
func (PgpoolAutoscaler) ResourceKind ¶ added in v0.46.0
func (r PgpoolAutoscaler) ResourceKind() string
func (PgpoolAutoscaler) ResourcePlural ¶ added in v0.46.0
func (r PgpoolAutoscaler) ResourcePlural() string
func (PgpoolAutoscaler) ResourceShortCode ¶ added in v0.46.0
func (r PgpoolAutoscaler) ResourceShortCode() string
func (PgpoolAutoscaler) ResourceSingular ¶ added in v0.46.0
func (r PgpoolAutoscaler) ResourceSingular() string
func (*PgpoolAutoscaler) SetStatus ¶ added in v0.46.0
func (r *PgpoolAutoscaler) SetStatus(s AutoscalerStatus)
func (*PgpoolAutoscaler) ValidateCreate ¶ added in v0.46.0
func (r *PgpoolAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*PgpoolAutoscaler) ValidateDelete ¶ added in v0.46.0
func (r *PgpoolAutoscaler) ValidateDelete() (admission.Warnings, error)
func (PgpoolAutoscaler) ValidateSpecs ¶ added in v0.46.0
func (r PgpoolAutoscaler) ValidateSpecs() error
func (*PgpoolAutoscaler) ValidateUpdate ¶ added in v0.46.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type PgpoolAutoscalerList ¶ added in v0.46.0
type PgpoolAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of pgpool database autoscaler objects. Items []PgpoolAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object PgpoolAutoscalerList is a list of PgpoolAutoscaler objects.
func (*PgpoolAutoscalerList) DeepCopy ¶ added in v0.46.0
func (in *PgpoolAutoscalerList) DeepCopy() *PgpoolAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolAutoscalerList.
func (*PgpoolAutoscalerList) DeepCopyInto ¶ added in v0.46.0
func (in *PgpoolAutoscalerList) DeepCopyInto(out *PgpoolAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PgpoolAutoscalerList) DeepCopyObject ¶ added in v0.46.0
func (in *PgpoolAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PgpoolAutoscalerSpec ¶ added in v0.46.0
type PgpoolAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // OpsRequestOptions will be used to control the behaviour of ops-manager OpsRequestOptions *PgpoolOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *PgpoolComputeAutoscalerSpec `json:"compute,omitempty"` }
PgpoolAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*PgpoolAutoscalerSpec) DeepCopy ¶ added in v0.46.0
func (in *PgpoolAutoscalerSpec) DeepCopy() *PgpoolAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolAutoscalerSpec.
func (*PgpoolAutoscalerSpec) DeepCopyInto ¶ added in v0.46.0
func (in *PgpoolAutoscalerSpec) DeepCopyInto(out *PgpoolAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgpoolComputeAutoscalerSpec ¶ added in v0.46.0
type PgpoolComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` Pgpool *ComputeAutoscalerSpec `json:"pgpool,omitempty"` }
func (*PgpoolComputeAutoscalerSpec) DeepCopy ¶ added in v0.46.0
func (in *PgpoolComputeAutoscalerSpec) DeepCopy() *PgpoolComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolComputeAutoscalerSpec.
func (*PgpoolComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.46.0
func (in *PgpoolComputeAutoscalerSpec) DeepCopyInto(out *PgpoolComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgpoolOpsRequestOptions ¶ added in v0.46.0
type PgpoolOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*PgpoolOpsRequestOptions) DeepCopy ¶ added in v0.46.0
func (in *PgpoolOpsRequestOptions) DeepCopy() *PgpoolOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolOpsRequestOptions.
func (*PgpoolOpsRequestOptions) DeepCopyInto ¶ added in v0.46.0
func (in *PgpoolOpsRequestOptions) DeepCopyInto(out *PgpoolOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodResourcePolicy ¶
type PodResourcePolicy struct { // Per-container resource policies. // +optional // +patchMergeKey=containerName // +patchStrategy=merge ContainerPolicies []ContainerResourcePolicy `json:"containerPolicies,omitempty" patchStrategy:"merge" patchMergeKey:"containerName"` }
PodResourcePolicy controls how autopilot computes the recommended resources for containers belonging to the pod. There can be at most one entry for every named container and optionally a single wildcard entry with `containerName` = '*', which handles all containers that don't have individual policies.
func (*PodResourcePolicy) DeepCopy ¶
func (in *PodResourcePolicy) DeepCopy() *PodResourcePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodResourcePolicy.
func (*PodResourcePolicy) DeepCopyInto ¶
func (in *PodResourcePolicy) DeepCopyInto(out *PodResourcePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodUpdatePolicy ¶
type PodUpdatePolicy struct { // Controls when autopilot applies changes to the pod resources. // The default is 'Auto'. // +optional UpdateMode *UpdateMode `json:"updateMode,omitempty"` // Minimal number of replicas which need to be alive for Updater to attempt // pod eviction (pending other checks like PDB). Only positive values are // allowed. Overrides global '--min-replicas' flag. // +optional MinReplicas *int32 `json:"minReplicas,omitempty"` }
PodUpdatePolicy describes the rules on how changes are applied to the pods.
func (*PodUpdatePolicy) DeepCopy ¶
func (in *PodUpdatePolicy) DeepCopy() *PodUpdatePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodUpdatePolicy.
func (*PodUpdatePolicy) DeepCopyInto ¶
func (in *PodUpdatePolicy) DeepCopyInto(out *PodUpdatePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresAutoscaler ¶
type PostgresAutoscaler struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // spec is the specification for the behaviour of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. // +optional Spec PostgresAutoscalerSpec `json:"spec,omitempty"` // status is the current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=postgresautoscalers,singular=postgresautoscaler,shortName=pgscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (PostgresAutoscaler) CustomResourceDefinition ¶
func (_ PostgresAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*PostgresAutoscaler) DeepCopy ¶
func (in *PostgresAutoscaler) DeepCopy() *PostgresAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAutoscaler.
func (*PostgresAutoscaler) DeepCopyInto ¶
func (in *PostgresAutoscaler) DeepCopyInto(out *PostgresAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresAutoscaler) DeepCopyObject ¶
func (in *PostgresAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgresAutoscaler) Default ¶ added in v0.29.0
func (in *PostgresAutoscaler) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*PostgresAutoscaler) GetStatus ¶ added in v0.28.0
func (e *PostgresAutoscaler) GetStatus() AutoscalerStatus
func (PostgresAutoscaler) ResourceFQN ¶ added in v0.16.0
func (p PostgresAutoscaler) ResourceFQN() string
func (PostgresAutoscaler) ResourceKind ¶
func (p PostgresAutoscaler) ResourceKind() string
func (PostgresAutoscaler) ResourcePlural ¶
func (p PostgresAutoscaler) ResourcePlural() string
func (PostgresAutoscaler) ResourceShortCode ¶
func (p PostgresAutoscaler) ResourceShortCode() string
func (PostgresAutoscaler) ResourceSingular ¶
func (p PostgresAutoscaler) ResourceSingular() string
func (*PostgresAutoscaler) SetStatus ¶ added in v0.28.0
func (e *PostgresAutoscaler) SetStatus(s AutoscalerStatus)
func (*PostgresAutoscaler) SetupWebhookWithManager ¶ added in v0.29.0
func (in *PostgresAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
func (*PostgresAutoscaler) ValidateCreate ¶ added in v0.29.0
func (in *PostgresAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (PostgresAutoscaler) ValidateDelete ¶ added in v0.29.0
func (_ PostgresAutoscaler) ValidateDelete() (admission.Warnings, error)
func (PostgresAutoscaler) ValidateSpecs ¶
func (p PostgresAutoscaler) ValidateSpecs() error
func (*PostgresAutoscaler) ValidateUpdate ¶ added in v0.29.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type PostgresAutoscalerList ¶
type PostgresAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata,omitempty"` // items is the list of horizontal pod autoscaler objects. Items []PostgresAutoscaler `json:"items"` }
PostgresAutoscalerList is a list of horizontal pod autoscaler objects.
func (*PostgresAutoscalerList) DeepCopy ¶
func (in *PostgresAutoscalerList) DeepCopy() *PostgresAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAutoscalerList.
func (*PostgresAutoscalerList) DeepCopyInto ¶
func (in *PostgresAutoscalerList) DeepCopyInto(out *PostgresAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresAutoscalerList) DeepCopyObject ¶
func (in *PostgresAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PostgresAutoscalerSpec ¶
type PostgresAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // OpsRequestOptions will be used to control the behaviour of ops-manager OpsRequestOptions *PostgresOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *PostgresComputeAutoscalerSpec `json:"compute,omitempty"` Storage *PostgresStorageAutoscalerSpec `json:"storage,omitempty"` }
PostgresAutoscalerSpec describes the desired functionality of the PostgresAutoscaler.
func (*PostgresAutoscalerSpec) DeepCopy ¶
func (in *PostgresAutoscalerSpec) DeepCopy() *PostgresAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAutoscalerSpec.
func (*PostgresAutoscalerSpec) DeepCopyInto ¶
func (in *PostgresAutoscalerSpec) DeepCopyInto(out *PostgresAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresComputeAutoscalerSpec ¶ added in v0.29.0
type PostgresComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` Postgres *ComputeAutoscalerSpec `json:"postgres,omitempty"` }
func (*PostgresComputeAutoscalerSpec) DeepCopy ¶ added in v0.29.0
func (in *PostgresComputeAutoscalerSpec) DeepCopy() *PostgresComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresComputeAutoscalerSpec.
func (*PostgresComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.29.0
func (in *PostgresComputeAutoscalerSpec) DeepCopyInto(out *PostgresComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresOpsRequestOptions ¶ added in v0.29.0
type PostgresOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*PostgresOpsRequestOptions) DeepCopy ¶ added in v0.29.0
func (in *PostgresOpsRequestOptions) DeepCopy() *PostgresOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresOpsRequestOptions.
func (*PostgresOpsRequestOptions) DeepCopyInto ¶ added in v0.29.0
func (in *PostgresOpsRequestOptions) DeepCopyInto(out *PostgresOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresStorageAutoscalerSpec ¶ added in v0.29.0
type PostgresStorageAutoscalerSpec struct {
Postgres *StorageAutoscalerSpec `json:"postgres,omitempty"`
}
func (*PostgresStorageAutoscalerSpec) DeepCopy ¶ added in v0.29.0
func (in *PostgresStorageAutoscalerSpec) DeepCopy() *PostgresStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresStorageAutoscalerSpec.
func (*PostgresStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.29.0
func (in *PostgresStorageAutoscalerSpec) DeepCopyInto(out *PostgresStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxySQLAutoscaler ¶
type ProxySQLAutoscaler struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // spec is the specification for the behaviour of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. // +optional Spec ProxySQLAutoscalerSpec `json:"spec,omitempty"` // status is the current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=proxysqlautoscalers,singular=proxysqlautoscaler,shortName=prxscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (ProxySQLAutoscaler) CustomResourceDefinition ¶
func (_ ProxySQLAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*ProxySQLAutoscaler) DeepCopy ¶
func (in *ProxySQLAutoscaler) DeepCopy() *ProxySQLAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLAutoscaler.
func (*ProxySQLAutoscaler) DeepCopyInto ¶
func (in *ProxySQLAutoscaler) DeepCopyInto(out *ProxySQLAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProxySQLAutoscaler) DeepCopyObject ¶
func (in *ProxySQLAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProxySQLAutoscaler) Default ¶ added in v0.30.0
func (in *ProxySQLAutoscaler) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*ProxySQLAutoscaler) GetStatus ¶ added in v0.28.0
func (e *ProxySQLAutoscaler) GetStatus() AutoscalerStatus
func (ProxySQLAutoscaler) ResourceFQN ¶ added in v0.16.0
func (p ProxySQLAutoscaler) ResourceFQN() string
func (ProxySQLAutoscaler) ResourceKind ¶
func (p ProxySQLAutoscaler) ResourceKind() string
func (ProxySQLAutoscaler) ResourcePlural ¶
func (p ProxySQLAutoscaler) ResourcePlural() string
func (ProxySQLAutoscaler) ResourceShortCode ¶
func (p ProxySQLAutoscaler) ResourceShortCode() string
func (ProxySQLAutoscaler) ResourceSingular ¶
func (p ProxySQLAutoscaler) ResourceSingular() string
func (*ProxySQLAutoscaler) SetStatus ¶ added in v0.28.0
func (e *ProxySQLAutoscaler) SetStatus(s AutoscalerStatus)
func (*ProxySQLAutoscaler) SetupWebhookWithManager ¶ added in v0.30.0
func (in *ProxySQLAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
func (*ProxySQLAutoscaler) ValidateCreate ¶ added in v0.30.0
func (in *ProxySQLAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (ProxySQLAutoscaler) ValidateDelete ¶ added in v0.30.0
func (_ ProxySQLAutoscaler) ValidateDelete() (admission.Warnings, error)
func (*ProxySQLAutoscaler) ValidateUpdate ¶ added in v0.30.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ProxySQLAutoscalerList ¶
type ProxySQLAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata,omitempty"` // items is the list of horizontal pod autoscaler objects. Items []ProxySQLAutoscaler `json:"items"` }
ProxySQLAutoscalerList is a list of horizontal pod autoscaler objects.
func (*ProxySQLAutoscalerList) DeepCopy ¶
func (in *ProxySQLAutoscalerList) DeepCopy() *ProxySQLAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLAutoscalerList.
func (*ProxySQLAutoscalerList) DeepCopyInto ¶
func (in *ProxySQLAutoscalerList) DeepCopyInto(out *ProxySQLAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProxySQLAutoscalerList) DeepCopyObject ¶
func (in *ProxySQLAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProxySQLAutoscalerSpec ¶
type ProxySQLAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *ProxySQLOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *ProxySQLComputeAutoscalerSpec `json:"compute,omitempty"` }
ProxySQLAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*ProxySQLAutoscalerSpec) DeepCopy ¶
func (in *ProxySQLAutoscalerSpec) DeepCopy() *ProxySQLAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLAutoscalerSpec.
func (*ProxySQLAutoscalerSpec) DeepCopyInto ¶
func (in *ProxySQLAutoscalerSpec) DeepCopyInto(out *ProxySQLAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxySQLComputeAutoscalerSpec ¶ added in v0.30.0
type ProxySQLComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` ProxySQL *ComputeAutoscalerSpec `json:"proxysql,omitempty"` }
func (*ProxySQLComputeAutoscalerSpec) DeepCopy ¶ added in v0.30.0
func (in *ProxySQLComputeAutoscalerSpec) DeepCopy() *ProxySQLComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLComputeAutoscalerSpec.
func (*ProxySQLComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.30.0
func (in *ProxySQLComputeAutoscalerSpec) DeepCopyInto(out *ProxySQLComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxySQLOpsRequestOptions ¶ added in v0.30.0
type ProxySQLOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*ProxySQLOpsRequestOptions) DeepCopy ¶ added in v0.30.0
func (in *ProxySQLOpsRequestOptions) DeepCopy() *ProxySQLOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLOpsRequestOptions.
func (*ProxySQLOpsRequestOptions) DeepCopyInto ¶ added in v0.30.0
func (in *ProxySQLOpsRequestOptions) DeepCopyInto(out *ProxySQLOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RabbitMQAutoscaler ¶ added in v0.45.0
type RabbitMQAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec RabbitMQAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=rabbitmqautoscalers,singular=rabbitmqautoscaler,shortName=rmscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (RabbitMQAutoscaler) CustomResourceDefinition ¶ added in v0.45.0
func (r RabbitMQAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*RabbitMQAutoscaler) DeepCopy ¶ added in v0.45.0
func (in *RabbitMQAutoscaler) DeepCopy() *RabbitMQAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitMQAutoscaler.
func (*RabbitMQAutoscaler) DeepCopyInto ¶ added in v0.45.0
func (in *RabbitMQAutoscaler) DeepCopyInto(out *RabbitMQAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RabbitMQAutoscaler) DeepCopyObject ¶ added in v0.45.0
func (in *RabbitMQAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RabbitMQAutoscaler) Default ¶ added in v0.45.0
func (r *RabbitMQAutoscaler) Default()
Default implements webhook.CustomDefaulter so a webhook will be registered for the type
func (*RabbitMQAutoscaler) GetStatus ¶ added in v0.45.0
func (r *RabbitMQAutoscaler) GetStatus() AutoscalerStatus
func (RabbitMQAutoscaler) ResourceFQN ¶ added in v0.45.0
func (r RabbitMQAutoscaler) ResourceFQN() string
func (RabbitMQAutoscaler) ResourceKind ¶ added in v0.45.0
func (r RabbitMQAutoscaler) ResourceKind() string
func (RabbitMQAutoscaler) ResourcePlural ¶ added in v0.45.0
func (r RabbitMQAutoscaler) ResourcePlural() string
func (RabbitMQAutoscaler) ResourceShortCode ¶ added in v0.45.0
func (r RabbitMQAutoscaler) ResourceShortCode() string
func (RabbitMQAutoscaler) ResourceSingular ¶ added in v0.45.0
func (r RabbitMQAutoscaler) ResourceSingular() string
func (*RabbitMQAutoscaler) SetStatus ¶ added in v0.45.0
func (r *RabbitMQAutoscaler) SetStatus(s AutoscalerStatus)
func (*RabbitMQAutoscaler) ValidateCreate ¶ added in v0.45.0
func (r *RabbitMQAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*RabbitMQAutoscaler) ValidateDelete ¶ added in v0.45.0
func (r *RabbitMQAutoscaler) ValidateDelete() (admission.Warnings, error)
func (RabbitMQAutoscaler) ValidateSpecs ¶ added in v0.45.0
func (r RabbitMQAutoscaler) ValidateSpecs() error
func (*RabbitMQAutoscaler) ValidateUpdate ¶ added in v0.45.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type RabbitMQAutoscalerList ¶ added in v0.45.0
type RabbitMQAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of rabbitmq database autoscaler objects. Items []RabbitMQAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object RabbitMQAutoscalerList is a list of RabbitMQAutoscaler objects.
func (*RabbitMQAutoscalerList) DeepCopy ¶ added in v0.45.0
func (in *RabbitMQAutoscalerList) DeepCopy() *RabbitMQAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitMQAutoscalerList.
func (*RabbitMQAutoscalerList) DeepCopyInto ¶ added in v0.45.0
func (in *RabbitMQAutoscalerList) DeepCopyInto(out *RabbitMQAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RabbitMQAutoscalerList) DeepCopyObject ¶ added in v0.45.0
func (in *RabbitMQAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RabbitMQAutoscalerSpec ¶ added in v0.45.0
type RabbitMQAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *RabbitMQOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *RabbitMQComputeAutoscalerSpec `json:"compute,omitempty"` Storage *RabbitMQStorageAutoscalerSpec `json:"storage,omitempty"` }
RabbitMQAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*RabbitMQAutoscalerSpec) DeepCopy ¶ added in v0.45.0
func (in *RabbitMQAutoscalerSpec) DeepCopy() *RabbitMQAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitMQAutoscalerSpec.
func (*RabbitMQAutoscalerSpec) DeepCopyInto ¶ added in v0.45.0
func (in *RabbitMQAutoscalerSpec) DeepCopyInto(out *RabbitMQAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RabbitMQComputeAutoscalerSpec ¶ added in v0.45.0
type RabbitMQComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` RabbitMQ *ComputeAutoscalerSpec `json:"rabbitmq,omitempty"` }
func (*RabbitMQComputeAutoscalerSpec) DeepCopy ¶ added in v0.45.0
func (in *RabbitMQComputeAutoscalerSpec) DeepCopy() *RabbitMQComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitMQComputeAutoscalerSpec.
func (*RabbitMQComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.45.0
func (in *RabbitMQComputeAutoscalerSpec) DeepCopyInto(out *RabbitMQComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RabbitMQOpsRequestOptions ¶ added in v0.45.0
type RabbitMQOpsRequestOptions struct { // Specifies the Readiness Criteria ReadinessCriteria *opsapi.RabbitMQReplicaReadinessCriteria `json:"readinessCriteria,omitempty"` // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*RabbitMQOpsRequestOptions) DeepCopy ¶ added in v0.45.0
func (in *RabbitMQOpsRequestOptions) DeepCopy() *RabbitMQOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitMQOpsRequestOptions.
func (*RabbitMQOpsRequestOptions) DeepCopyInto ¶ added in v0.45.0
func (in *RabbitMQOpsRequestOptions) DeepCopyInto(out *RabbitMQOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RabbitMQStorageAutoscalerSpec ¶ added in v0.45.0
type RabbitMQStorageAutoscalerSpec struct {
RabbitMQ *StorageAutoscalerSpec `json:"rabbitmq,omitempty"`
}
func (*RabbitMQStorageAutoscalerSpec) DeepCopy ¶ added in v0.45.0
func (in *RabbitMQStorageAutoscalerSpec) DeepCopy() *RabbitMQStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitMQStorageAutoscalerSpec.
func (*RabbitMQStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.45.0
func (in *RabbitMQStorageAutoscalerSpec) DeepCopyInto(out *RabbitMQStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecommendedContainerResources ¶
type RecommendedContainerResources struct { // Name of the container. ContainerName string `json:"containerName,omitempty" ` // Recommended amount of resources. Observes ContainerResourcePolicy. Target v1.ResourceList `json:"target" ` // Minimum recommended amount of resources. Observes ContainerResourcePolicy. // This amount is not guaranteed to be sufficient for the application to operate in a stable way, however // running with less resources is likely to have significant impact on performance/availability. // +optional LowerBound v1.ResourceList `json:"lowerBound,omitempty"` // Maximum recommended amount of resources. Observes ContainerResourcePolicy. // Any resources allocated beyond this value are likely wasted. This value may be larger than the maximum // amount of application is actually capable of consuming. // +optional UpperBound v1.ResourceList `json:"upperBound,omitempty"` // The most recent recommended resources target computed by the autopilot // for the controlled pods, based only on actual resource usage, not taking // into account the ContainerResourcePolicy. // May differ from the Recommendation if the actual resource usage causes // the target to violate the ContainerResourcePolicy (lower than MinAllowed // or higher that MaxAllowed). // Used only as status indication, will not affect actual resource assignment. // +optional UncappedTarget v1.ResourceList `json:"uncappedTarget,omitempty"` }
RecommendedContainerResources is the recommendation of resources computed by autopilot for a specific container. Respects the container resource policy if present in the spec. In particular the recommendation is not produced for containers with `ContainerScalingMode` set to 'Off'.
func (*RecommendedContainerResources) DeepCopy ¶
func (in *RecommendedContainerResources) DeepCopy() *RecommendedContainerResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecommendedContainerResources.
func (*RecommendedContainerResources) DeepCopyInto ¶
func (in *RecommendedContainerResources) DeepCopyInto(out *RecommendedContainerResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecommendedPodResources ¶
type RecommendedPodResources struct { // Resources recommended by the autopilot for each container. // +optional ContainerRecommendations []RecommendedContainerResources `json:"containerRecommendations,omitempty"` }
RecommendedPodResources is the recommendation of resources computed by autopilot. It contains a recommendation for each container in the pod (except for those with `ContainerScalingMode` set to 'Off').
func (*RecommendedPodResources) DeepCopy ¶
func (in *RecommendedPodResources) DeepCopy() *RecommendedPodResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecommendedPodResources.
func (*RecommendedPodResources) DeepCopyInto ¶
func (in *RecommendedPodResources) DeepCopyInto(out *RecommendedPodResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisAutoscaler ¶
type RedisAutoscaler struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // spec is the specification for the behaviour of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. // +optional Spec RedisAutoscalerSpec `json:"spec,omitempty"` // status is the current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=redisautoscalers,singular=redisautoscaler,shortName=rdscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (RedisAutoscaler) CustomResourceDefinition ¶
func (_ RedisAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*RedisAutoscaler) DeepCopy ¶
func (in *RedisAutoscaler) DeepCopy() *RedisAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAutoscaler.
func (*RedisAutoscaler) DeepCopyInto ¶
func (in *RedisAutoscaler) DeepCopyInto(out *RedisAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisAutoscaler) DeepCopyObject ¶
func (in *RedisAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RedisAutoscaler) Default ¶ added in v0.29.0
func (in *RedisAutoscaler) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*RedisAutoscaler) GetStatus ¶ added in v0.28.0
func (e *RedisAutoscaler) GetStatus() AutoscalerStatus
func (RedisAutoscaler) ResourceFQN ¶ added in v0.16.0
func (r RedisAutoscaler) ResourceFQN() string
func (RedisAutoscaler) ResourceKind ¶
func (r RedisAutoscaler) ResourceKind() string
func (RedisAutoscaler) ResourcePlural ¶
func (r RedisAutoscaler) ResourcePlural() string
func (RedisAutoscaler) ResourceShortCode ¶
func (r RedisAutoscaler) ResourceShortCode() string
func (RedisAutoscaler) ResourceSingular ¶
func (r RedisAutoscaler) ResourceSingular() string
func (*RedisAutoscaler) SetStatus ¶ added in v0.28.0
func (e *RedisAutoscaler) SetStatus(s AutoscalerStatus)
func (*RedisAutoscaler) SetupWebhookWithManager ¶ added in v0.29.0
func (in *RedisAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
func (*RedisAutoscaler) ValidateCreate ¶ added in v0.29.0
func (in *RedisAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (RedisAutoscaler) ValidateDelete ¶ added in v0.29.0
func (_ RedisAutoscaler) ValidateDelete() (admission.Warnings, error)
func (RedisAutoscaler) ValidateSpecs ¶
func (r RedisAutoscaler) ValidateSpecs() error
func (*RedisAutoscaler) ValidateUpdate ¶ added in v0.29.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type RedisAutoscalerList ¶
type RedisAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata,omitempty"` // items is the list of horizontal pod autoscaler objects. Items []RedisAutoscaler `json:"items"` }
RedisAutoscalerList is a list of horizontal pod autoscaler objects.
func (*RedisAutoscalerList) DeepCopy ¶
func (in *RedisAutoscalerList) DeepCopy() *RedisAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAutoscalerList.
func (*RedisAutoscalerList) DeepCopyInto ¶
func (in *RedisAutoscalerList) DeepCopyInto(out *RedisAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisAutoscalerList) DeepCopyObject ¶
func (in *RedisAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisAutoscalerSpec ¶
type RedisAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *RedisOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *RedisComputeAutoscalerSpec `json:"compute,omitempty"` Storage *RedisStorageAutoscalerSpec `json:"storage,omitempty"` }
RedisAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*RedisAutoscalerSpec) DeepCopy ¶
func (in *RedisAutoscalerSpec) DeepCopy() *RedisAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAutoscalerSpec.
func (*RedisAutoscalerSpec) DeepCopyInto ¶
func (in *RedisAutoscalerSpec) DeepCopyInto(out *RedisAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisComputeAutoscalerSpec ¶ added in v0.29.0
type RedisComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` Standalone *ComputeAutoscalerSpec `json:"standalone,omitempty"` Cluster *ComputeAutoscalerSpec `json:"cluster,omitempty"` Sentinel *ComputeAutoscalerSpec `json:"sentinel,omitempty"` }
func (*RedisComputeAutoscalerSpec) DeepCopy ¶ added in v0.29.0
func (in *RedisComputeAutoscalerSpec) DeepCopy() *RedisComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisComputeAutoscalerSpec.
func (*RedisComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.29.0
func (in *RedisComputeAutoscalerSpec) DeepCopyInto(out *RedisComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisOpsRequestOptions ¶ added in v0.29.0
type RedisOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*RedisOpsRequestOptions) DeepCopy ¶ added in v0.29.0
func (in *RedisOpsRequestOptions) DeepCopy() *RedisOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisOpsRequestOptions.
func (*RedisOpsRequestOptions) DeepCopyInto ¶ added in v0.29.0
func (in *RedisOpsRequestOptions) DeepCopyInto(out *RedisOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisSentinelAutoscaler ¶ added in v0.29.0
type RedisSentinelAutoscaler struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // spec is the specification for the behaviour of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. // +optional Spec RedisSentinelAutoscalerSpec `json:"spec,omitempty"` // status is the current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=redissentinelautoscalers,singular=redissentinelautoscaler,shortName=rdsscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (RedisSentinelAutoscaler) CustomResourceDefinition ¶ added in v0.29.0
func (_ RedisSentinelAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*RedisSentinelAutoscaler) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelAutoscaler) DeepCopy() *RedisSentinelAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelAutoscaler.
func (*RedisSentinelAutoscaler) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelAutoscaler) DeepCopyInto(out *RedisSentinelAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisSentinelAutoscaler) DeepCopyObject ¶ added in v0.29.0
func (in *RedisSentinelAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RedisSentinelAutoscaler) Default ¶ added in v0.29.0
func (in *RedisSentinelAutoscaler) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*RedisSentinelAutoscaler) GetStatus ¶ added in v0.29.0
func (e *RedisSentinelAutoscaler) GetStatus() AutoscalerStatus
func (RedisSentinelAutoscaler) ResourceFQN ¶ added in v0.29.0
func (r RedisSentinelAutoscaler) ResourceFQN() string
func (RedisSentinelAutoscaler) ResourceKind ¶ added in v0.29.0
func (r RedisSentinelAutoscaler) ResourceKind() string
func (RedisSentinelAutoscaler) ResourcePlural ¶ added in v0.29.0
func (r RedisSentinelAutoscaler) ResourcePlural() string
func (RedisSentinelAutoscaler) ResourceShortCode ¶ added in v0.29.0
func (r RedisSentinelAutoscaler) ResourceShortCode() string
func (RedisSentinelAutoscaler) ResourceSingular ¶ added in v0.29.0
func (r RedisSentinelAutoscaler) ResourceSingular() string
func (*RedisSentinelAutoscaler) SetStatus ¶ added in v0.29.0
func (e *RedisSentinelAutoscaler) SetStatus(s AutoscalerStatus)
func (*RedisSentinelAutoscaler) SetupWebhookWithManager ¶ added in v0.29.0
func (in *RedisSentinelAutoscaler) SetupWebhookWithManager(mgr manager.Manager) error
func (*RedisSentinelAutoscaler) ValidateCreate ¶ added in v0.29.0
func (in *RedisSentinelAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (RedisSentinelAutoscaler) ValidateDelete ¶ added in v0.29.0
func (_ RedisSentinelAutoscaler) ValidateDelete() (admission.Warnings, error)
func (RedisSentinelAutoscaler) ValidateSpecs ¶ added in v0.29.0
func (r RedisSentinelAutoscaler) ValidateSpecs() error
func (*RedisSentinelAutoscaler) ValidateUpdate ¶ added in v0.29.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type RedisSentinelAutoscalerList ¶ added in v0.29.0
type RedisSentinelAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata,omitempty"` // items is the list of horizontal pod autoscaler objects. Items []RedisSentinelAutoscaler `json:"items"` }
RedisSentinelAutoscalerList is a list of horizontal pod autoscaler objects.
func (*RedisSentinelAutoscalerList) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelAutoscalerList) DeepCopy() *RedisSentinelAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelAutoscalerList.
func (*RedisSentinelAutoscalerList) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelAutoscalerList) DeepCopyInto(out *RedisSentinelAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisSentinelAutoscalerList) DeepCopyObject ¶ added in v0.29.0
func (in *RedisSentinelAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisSentinelAutoscalerSpec ¶ added in v0.29.0
type RedisSentinelAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *RedisSentinelOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *RedisSentinelComputeAutoscalerSpec `json:"compute,omitempty"` }
RedisSentinelAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*RedisSentinelAutoscalerSpec) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelAutoscalerSpec) DeepCopy() *RedisSentinelAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelAutoscalerSpec.
func (*RedisSentinelAutoscalerSpec) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelAutoscalerSpec) DeepCopyInto(out *RedisSentinelAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisSentinelComputeAutoscalerSpec ¶ added in v0.29.0
type RedisSentinelComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` Sentinel *ComputeAutoscalerSpec `json:"sentinel,omitempty"` }
func (*RedisSentinelComputeAutoscalerSpec) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelComputeAutoscalerSpec) DeepCopy() *RedisSentinelComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelComputeAutoscalerSpec.
func (*RedisSentinelComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelComputeAutoscalerSpec) DeepCopyInto(out *RedisSentinelComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisSentinelOpsRequestOptions ¶ added in v0.29.0
type RedisSentinelOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*RedisSentinelOpsRequestOptions) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelOpsRequestOptions) DeepCopy() *RedisSentinelOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelOpsRequestOptions.
func (*RedisSentinelOpsRequestOptions) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelOpsRequestOptions) DeepCopyInto(out *RedisSentinelOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisStorageAutoscalerSpec ¶ added in v0.29.0
type RedisStorageAutoscalerSpec struct { Standalone *StorageAutoscalerSpec `json:"standalone,omitempty"` Cluster *StorageAutoscalerSpec `json:"cluster,omitempty"` Sentinel *StorageAutoscalerSpec `json:"sentinel,omitempty"` }
func (*RedisStorageAutoscalerSpec) DeepCopy ¶ added in v0.29.0
func (in *RedisStorageAutoscalerSpec) DeepCopy() *RedisStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisStorageAutoscalerSpec.
func (*RedisStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.29.0
func (in *RedisStorageAutoscalerSpec) DeepCopyInto(out *RedisStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SinglestoreAutoscaler ¶ added in v0.46.0
type SinglestoreAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec SinglestoreAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=singlestoreautoscalers,singular=singlestoreautoscaler,shortName=sdbscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (SinglestoreAutoscaler) CustomResourceDefinition ¶ added in v0.46.0
func (s SinglestoreAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*SinglestoreAutoscaler) DeepCopy ¶ added in v0.46.0
func (in *SinglestoreAutoscaler) DeepCopy() *SinglestoreAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreAutoscaler.
func (*SinglestoreAutoscaler) DeepCopyInto ¶ added in v0.46.0
func (in *SinglestoreAutoscaler) DeepCopyInto(out *SinglestoreAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SinglestoreAutoscaler) DeepCopyObject ¶ added in v0.46.0
func (in *SinglestoreAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SinglestoreAutoscaler) Default ¶ added in v0.46.0
func (s *SinglestoreAutoscaler) Default()
Default implements webhook.CustomDefaulter so a webhook will be registered for the type
func (*SinglestoreAutoscaler) GetStatus ¶ added in v0.46.0
func (s *SinglestoreAutoscaler) GetStatus() AutoscalerStatus
func (SinglestoreAutoscaler) ResourceFQN ¶ added in v0.46.0
func (s SinglestoreAutoscaler) ResourceFQN() string
func (SinglestoreAutoscaler) ResourceKind ¶ added in v0.46.0
func (s SinglestoreAutoscaler) ResourceKind() string
func (SinglestoreAutoscaler) ResourcePlural ¶ added in v0.46.0
func (s SinglestoreAutoscaler) ResourcePlural() string
func (SinglestoreAutoscaler) ResourceShortCode ¶ added in v0.46.0
func (s SinglestoreAutoscaler) ResourceShortCode() string
func (SinglestoreAutoscaler) ResourceSingular ¶ added in v0.46.0
func (s SinglestoreAutoscaler) ResourceSingular() string
func (*SinglestoreAutoscaler) SetStatus ¶ added in v0.46.0
func (s *SinglestoreAutoscaler) SetStatus(m AutoscalerStatus)
func (*SinglestoreAutoscaler) ValidateCreate ¶ added in v0.46.0
func (s *SinglestoreAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*SinglestoreAutoscaler) ValidateDelete ¶ added in v0.46.0
func (_ *SinglestoreAutoscaler) ValidateDelete() (admission.Warnings, error)
func (SinglestoreAutoscaler) ValidateSpecs ¶ added in v0.46.0
func (s SinglestoreAutoscaler) ValidateSpecs() error
func (*SinglestoreAutoscaler) ValidateUpdate ¶ added in v0.46.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type SinglestoreAutoscalerList ¶ added in v0.46.0
type SinglestoreAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of mongodb database autoscaler objects. Items []SinglestoreAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object SinglestoreAutoscalerList is a list of SinglestoreAutoscaler objects.
func (*SinglestoreAutoscalerList) DeepCopy ¶ added in v0.46.0
func (in *SinglestoreAutoscalerList) DeepCopy() *SinglestoreAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreAutoscalerList.
func (*SinglestoreAutoscalerList) DeepCopyInto ¶ added in v0.46.0
func (in *SinglestoreAutoscalerList) DeepCopyInto(out *SinglestoreAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SinglestoreAutoscalerList) DeepCopyObject ¶ added in v0.46.0
func (in *SinglestoreAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SinglestoreAutoscalerSpec ¶ added in v0.46.0
type SinglestoreAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *SinglestoreOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *SinglestoreComputeAutoscalerSpec `json:"compute,omitempty"` Storage *SinglestoreStorageAutoscalerSpec `json:"storage,omitempty"` }
SinglestoreAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*SinglestoreAutoscalerSpec) DeepCopy ¶ added in v0.46.0
func (in *SinglestoreAutoscalerSpec) DeepCopy() *SinglestoreAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreAutoscalerSpec.
func (*SinglestoreAutoscalerSpec) DeepCopyInto ¶ added in v0.46.0
func (in *SinglestoreAutoscalerSpec) DeepCopyInto(out *SinglestoreAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SinglestoreComputeAutoscalerSpec ¶ added in v0.46.0
type SinglestoreComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` Node *ComputeAutoscalerSpec `json:"node,omitempty"` Aggregator *ComputeAutoscalerSpec `json:"aggregator,omitempty"` Leaf *ComputeAutoscalerSpec `json:"leaf,omitempty"` }
func (*SinglestoreComputeAutoscalerSpec) DeepCopy ¶ added in v0.46.0
func (in *SinglestoreComputeAutoscalerSpec) DeepCopy() *SinglestoreComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreComputeAutoscalerSpec.
func (*SinglestoreComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.46.0
func (in *SinglestoreComputeAutoscalerSpec) DeepCopyInto(out *SinglestoreComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SinglestoreOpsRequestOptions ¶ added in v0.46.0
type SinglestoreOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*SinglestoreOpsRequestOptions) DeepCopy ¶ added in v0.46.0
func (in *SinglestoreOpsRequestOptions) DeepCopy() *SinglestoreOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreOpsRequestOptions.
func (*SinglestoreOpsRequestOptions) DeepCopyInto ¶ added in v0.46.0
func (in *SinglestoreOpsRequestOptions) DeepCopyInto(out *SinglestoreOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SinglestoreStorageAutoscalerSpec ¶ added in v0.46.0
type SinglestoreStorageAutoscalerSpec struct { Node *StorageAutoscalerSpec `json:"node,omitempty"` Aggregator *StorageAutoscalerSpec `json:"aggregator,omitempty"` Leaf *StorageAutoscalerSpec `json:"leaf,omitempty"` }
func (*SinglestoreStorageAutoscalerSpec) DeepCopy ¶ added in v0.46.0
func (in *SinglestoreStorageAutoscalerSpec) DeepCopy() *SinglestoreStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreStorageAutoscalerSpec.
func (*SinglestoreStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.46.0
func (in *SinglestoreStorageAutoscalerSpec) DeepCopyInto(out *SinglestoreStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SolrAutoscaler ¶ added in v0.47.0
type SolrAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec SolrAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=solrautoscalers,singular=solrautoscaler,shortName=slscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (SolrAutoscaler) CustomResourceDefinition ¶ added in v0.47.0
func (r SolrAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*SolrAutoscaler) DeepCopy ¶ added in v0.47.0
func (in *SolrAutoscaler) DeepCopy() *SolrAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrAutoscaler.
func (*SolrAutoscaler) DeepCopyInto ¶ added in v0.47.0
func (in *SolrAutoscaler) DeepCopyInto(out *SolrAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SolrAutoscaler) DeepCopyObject ¶ added in v0.47.0
func (in *SolrAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SolrAutoscaler) Default ¶ added in v0.47.0
func (r *SolrAutoscaler) Default()
Default implements webhook.CustomDefaulter so a webhook will be registered for the type
func (*SolrAutoscaler) GetStatus ¶ added in v0.47.0
func (r *SolrAutoscaler) GetStatus() AutoscalerStatus
func (SolrAutoscaler) ResourceFQN ¶ added in v0.47.0
func (r SolrAutoscaler) ResourceFQN() string
func (SolrAutoscaler) ResourceKind ¶ added in v0.47.0
func (r SolrAutoscaler) ResourceKind() string
func (SolrAutoscaler) ResourcePlural ¶ added in v0.47.0
func (r SolrAutoscaler) ResourcePlural() string
func (SolrAutoscaler) ResourceShortCode ¶ added in v0.47.0
func (r SolrAutoscaler) ResourceShortCode() string
func (SolrAutoscaler) ResourceSingular ¶ added in v0.47.0
func (r SolrAutoscaler) ResourceSingular() string
func (*SolrAutoscaler) SetStatus ¶ added in v0.47.0
func (r *SolrAutoscaler) SetStatus(s AutoscalerStatus)
func (*SolrAutoscaler) ValidateCreate ¶ added in v0.47.0
func (r *SolrAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*SolrAutoscaler) ValidateDelete ¶ added in v0.47.0
func (r *SolrAutoscaler) ValidateDelete() (admission.Warnings, error)
func (SolrAutoscaler) ValidateSpecs ¶ added in v0.47.0
func (r SolrAutoscaler) ValidateSpecs() error
func (*SolrAutoscaler) ValidateUpdate ¶ added in v0.47.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type SolrAutoscalerList ¶ added in v0.47.0
type SolrAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of solr database autoscaler objects. Items []SolrAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object SolrAutoscalerList is a list of SolrAutoscaler objects.
func (*SolrAutoscalerList) DeepCopy ¶ added in v0.47.0
func (in *SolrAutoscalerList) DeepCopy() *SolrAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrAutoscalerList.
func (*SolrAutoscalerList) DeepCopyInto ¶ added in v0.47.0
func (in *SolrAutoscalerList) DeepCopyInto(out *SolrAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SolrAutoscalerList) DeepCopyObject ¶ added in v0.47.0
func (in *SolrAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SolrAutoscalerSpec ¶ added in v0.47.0
type SolrAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *SolrOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *SolrComputeAutoscalerSpec `json:"compute,omitempty"` Storage *SolrStorageAutoscalerSpec `json:"storage,omitempty"` }
SolrAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*SolrAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *SolrAutoscalerSpec) DeepCopy() *SolrAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrAutoscalerSpec.
func (*SolrAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *SolrAutoscalerSpec) DeepCopyInto(out *SolrAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SolrComputeAutoscalerSpec ¶ added in v0.47.0
type SolrComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` Node *ComputeAutoscalerSpec `json:"node,omitempty"` Overseer *ComputeAutoscalerSpec `json:"overseer,omitempty"` Data *ComputeAutoscalerSpec `json:"data,omitempty"` Coordinator *ComputeAutoscalerSpec `json:"coordinator,omitempty"` }
func (*SolrComputeAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *SolrComputeAutoscalerSpec) DeepCopy() *SolrComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrComputeAutoscalerSpec.
func (*SolrComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *SolrComputeAutoscalerSpec) DeepCopyInto(out *SolrComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SolrOpsRequestOptions ¶ added in v0.47.0
type SolrOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*SolrOpsRequestOptions) DeepCopy ¶ added in v0.47.0
func (in *SolrOpsRequestOptions) DeepCopy() *SolrOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrOpsRequestOptions.
func (*SolrOpsRequestOptions) DeepCopyInto ¶ added in v0.47.0
func (in *SolrOpsRequestOptions) DeepCopyInto(out *SolrOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SolrStorageAutoscalerSpec ¶ added in v0.47.0
type SolrStorageAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` Node *StorageAutoscalerSpec `json:"node,omitempty"` Overseer *StorageAutoscalerSpec `json:"overseer,omitempty"` Data *StorageAutoscalerSpec `json:"data,omitempty"` Coordinator *StorageAutoscalerSpec `json:"coordinator,omitempty"` }
func (*SolrStorageAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *SolrStorageAutoscalerSpec) DeepCopy() *SolrStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrStorageAutoscalerSpec.
func (*SolrStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *SolrStorageAutoscalerSpec) DeepCopyInto(out *SolrStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusAccessor ¶ added in v0.28.0
type StatusAccessor interface { GetStatus() AutoscalerStatus SetStatus(_ AutoscalerStatus) }
type StorageAutoscalerSpec ¶ added in v0.16.0
type StorageAutoscalerSpec struct { // Whether storage autoscaler is enabled. The default is Off". Trigger AutoscalerTrigger `json:"trigger,omitempty"` // If PVC usage percentage is less than the UsageThreshold, // we don't need to scale it. The Default is 80% UsageThreshold *int32 `json:"usageThreshold,omitempty"` // If PVC usage percentage >= UsageThreshold, // we need to scale that by ScalingThreshold percentage. The Default is 50% ScalingThreshold *int32 `json:"scalingThreshold,omitempty"` // ScalingRules are to support more dynamic ScalingThreshold // For example, Upto certain Size (GB) increase in %, after that increase in absolute value. ScalingRules []StorageScalingRule `json:"scalingRules,omitempty"` // Set a max size limit for volume increase UpperBound *resource.Quantity `json:"upperBound,omitempty"` // ExpansionMode can be `Online` or `Offline` ExpansionMode opsapi.VolumeExpansionMode `json:"expansionMode"` }
func (*StorageAutoscalerSpec) DeepCopy ¶ added in v0.16.0
func (in *StorageAutoscalerSpec) DeepCopy() *StorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAutoscalerSpec.
func (*StorageAutoscalerSpec) DeepCopyInto ¶ added in v0.16.0
func (in *StorageAutoscalerSpec) DeepCopyInto(out *StorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageScalingRule ¶ added in v0.45.1
type StorageScalingRule struct { AppliesUpto string `json:"appliesUpto"` Threshold string `json:"threshold"` }
StorageScalingRule format:
- appliesUpto: 500GB threshold: 30pc
- appliesUpto: 1000GB threshold: 20pc
- appliesUpto: "" threshold: 50GB
Note that, `pc` & `%` both is supported
func (*StorageScalingRule) DeepCopy ¶ added in v0.45.1
func (in *StorageScalingRule) DeepCopy() *StorageScalingRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageScalingRule.
func (*StorageScalingRule) DeepCopyInto ¶ added in v0.45.1
func (in *StorageScalingRule) DeepCopyInto(out *StorageScalingRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpdateMode ¶
type UpdateMode string
UpdateMode controls when autopilot applies changes to the pod resoures. +kubebuilder:validation:Enum=Off;Initial;Recreate;Auto
const ( // UpdateModeOff means that autopilot never changes Pod resources. // The recommender still sets the recommended resources in the // VerticalPodAutopilot object. This can be used for a "dry run". UpdateModeOff UpdateMode = "Off" // UpdateModeInitial means that autopilot only assigns resources on pod // creation and does not change them during the lifetime of the pod. UpdateModeInitial UpdateMode = "Initial" // UpdateModeRecreate means that autopilot assigns resources on pod // creation and additionally can update them during the lifetime of the // pod by deleting and recreating the pod. UpdateModeRecreate UpdateMode = "Recreate" // UpdateModeAuto means that autopilot assigns resources on pod creation // and additionally can update them during the lifetime of the pod, // using any available update method. Currently this is equivalent to // Recreate, which is the only available update method. UpdateModeAuto UpdateMode = "Auto" )
type VPAStatus ¶ added in v0.28.0
type VPAStatus struct { // The name of the VerticalPodAutoscaler. // This field will help us to get the corresponding vpa. VPAName string `json:"vpaName,omitempty"` // The most recently computed amount of resources recommended by the // autopilot for the controlled pods. // +optional Recommendation *RecommendedPodResources `json:"recommendation,omitempty"` // Conditions is the set of conditions required for this autopilot to scale its target, // and indicates whether or not those conditions are met. // +optional // +patchMergeKey=type // +patchStrategy=merge Conditions []VerticalPodAutopilotCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` }
VPAStatus describes the runtime state of the autopilot.
func (*VPAStatus) DeepCopy ¶ added in v0.28.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPAStatus.
func (*VPAStatus) DeepCopyInto ¶ added in v0.28.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VerticalPodAutopilotCondition ¶ added in v0.28.0
type VerticalPodAutopilotCondition struct { // type describes the current condition Type VerticalPodAutopilotConditionType `json:"type" ` // status is the status of the condition (True, False, Unknown) Status v1.ConditionStatus `json:"status"` // lastTransitionTime is the last time the condition transitioned from // one status to another // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // reason is the reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty"` // message is a human-readable explanation containing details about // the transition // +optional Message string `json:"message,omitempty"` }
VerticalPodAutopilotCondition describes the state of a VerticalPodAutopilot at a certain point.
func (*VerticalPodAutopilotCondition) DeepCopy ¶ added in v0.28.0
func (in *VerticalPodAutopilotCondition) DeepCopy() *VerticalPodAutopilotCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerticalPodAutopilotCondition.
func (*VerticalPodAutopilotCondition) DeepCopyInto ¶ added in v0.28.0
func (in *VerticalPodAutopilotCondition) DeepCopyInto(out *VerticalPodAutopilotCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VerticalPodAutopilotConditionType ¶ added in v0.28.0
type VerticalPodAutopilotConditionType string
VerticalPodAutopilotConditionType are the valid conditions of a VerticalPodAutopilot.
var ( // RecommendationProvided indicates whether the VPA recommender was able to calculate a recommendation. RecommendationProvided VerticalPodAutopilotConditionType = "RecommendationProvided" // LowConfidence indicates whether the VPA recommender has low confidence in the recommendation for // some of containers. LowConfidence VerticalPodAutopilotConditionType = "LowConfidence" // NoPodsMatched indicates that label selector used with VPA object didn't match any pods. NoPodsMatched VerticalPodAutopilotConditionType = "NoPodsMatched" // FetchingHistory indicates that VPA recommender is in the process of loading additional history samples. FetchingHistory VerticalPodAutopilotConditionType = "FetchingHistory" // ConfigDeprecated indicates that this VPA configuration is deprecated // and will stop being supported soon. ConfigDeprecated VerticalPodAutopilotConditionType = "ConfigDeprecated" // ConfigUnsupported indicates that this VPA configuration is unsupported // and recommendations will not be provided for it. ConfigUnsupported VerticalPodAutopilotConditionType = "ConfigUnsupported" )
type VerticalPodAutopilotRecommenderSelector ¶ added in v0.28.0
type VerticalPodAutopilotRecommenderSelector struct { // Name of the recommender responsible for generating recommendation for this object. Name string `json:"name"` }
VerticalPodAutopilotRecommenderSelector points to a specific Vertical Pod autopilot recommender. In the future it might pass parameters to the recommender.
func (*VerticalPodAutopilotRecommenderSelector) DeepCopy ¶ added in v0.28.0
func (in *VerticalPodAutopilotRecommenderSelector) DeepCopy() *VerticalPodAutopilotRecommenderSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerticalPodAutopilotRecommenderSelector.
func (*VerticalPodAutopilotRecommenderSelector) DeepCopyInto ¶ added in v0.28.0
func (in *VerticalPodAutopilotRecommenderSelector) DeepCopyInto(out *VerticalPodAutopilotRecommenderSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ZooKeeperAutoscaler ¶ added in v0.47.0
type ZooKeeperAutoscaler struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the behavior of the autoscaler. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Spec ZooKeeperAutoscalerSpec `json:"spec"` // Current information about the autoscaler. // +optional Status AutoscalerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=zookeeperautoscalers,singular=zookeeperautoscaler,shortName=zkscaler,categories={autoscaler,kubedb,appscode} +kubebuilder:subresource:status
func (ZooKeeperAutoscaler) CustomResourceDefinition ¶ added in v0.47.0
func (r ZooKeeperAutoscaler) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*ZooKeeperAutoscaler) DeepCopy ¶ added in v0.47.0
func (in *ZooKeeperAutoscaler) DeepCopy() *ZooKeeperAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZooKeeperAutoscaler.
func (*ZooKeeperAutoscaler) DeepCopyInto ¶ added in v0.47.0
func (in *ZooKeeperAutoscaler) DeepCopyInto(out *ZooKeeperAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ZooKeeperAutoscaler) DeepCopyObject ¶ added in v0.47.0
func (in *ZooKeeperAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ZooKeeperAutoscaler) Default ¶ added in v0.47.0
func (r *ZooKeeperAutoscaler) Default()
Default implements webhook.CustomDefaulter so a webhook will be registered for the type
func (*ZooKeeperAutoscaler) GetStatus ¶ added in v0.47.0
func (r *ZooKeeperAutoscaler) GetStatus() AutoscalerStatus
func (ZooKeeperAutoscaler) ResourceFQN ¶ added in v0.47.0
func (r ZooKeeperAutoscaler) ResourceFQN() string
func (ZooKeeperAutoscaler) ResourceKind ¶ added in v0.47.0
func (r ZooKeeperAutoscaler) ResourceKind() string
func (ZooKeeperAutoscaler) ResourcePlural ¶ added in v0.47.0
func (r ZooKeeperAutoscaler) ResourcePlural() string
func (ZooKeeperAutoscaler) ResourceShortCode ¶ added in v0.47.0
func (r ZooKeeperAutoscaler) ResourceShortCode() string
func (ZooKeeperAutoscaler) ResourceSingular ¶ added in v0.47.0
func (r ZooKeeperAutoscaler) ResourceSingular() string
func (*ZooKeeperAutoscaler) SetStatus ¶ added in v0.47.0
func (r *ZooKeeperAutoscaler) SetStatus(s AutoscalerStatus)
func (*ZooKeeperAutoscaler) ValidateCreate ¶ added in v0.47.0
func (r *ZooKeeperAutoscaler) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ZooKeeperAutoscaler) ValidateDelete ¶ added in v0.47.0
func (r *ZooKeeperAutoscaler) ValidateDelete() (admission.Warnings, error)
func (ZooKeeperAutoscaler) ValidateSpecs ¶ added in v0.47.0
func (r ZooKeeperAutoscaler) ValidateSpecs() error
func (*ZooKeeperAutoscaler) ValidateUpdate ¶ added in v0.47.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ZooKeeperAutoscalerList ¶ added in v0.47.0
type ZooKeeperAutoscalerList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list metadata. // +optional metav1.ListMeta `json:"metadata"` // items is the list of zookeeper database autoscaler objects. Items []ZooKeeperAutoscaler `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object ZooKeeperAutoscalerList is a list of ZooKeeperAutoscaler objects.
func (*ZooKeeperAutoscalerList) DeepCopy ¶ added in v0.47.0
func (in *ZooKeeperAutoscalerList) DeepCopy() *ZooKeeperAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZooKeeperAutoscalerList.
func (*ZooKeeperAutoscalerList) DeepCopyInto ¶ added in v0.47.0
func (in *ZooKeeperAutoscalerList) DeepCopyInto(out *ZooKeeperAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ZooKeeperAutoscalerList) DeepCopyObject ¶ added in v0.47.0
func (in *ZooKeeperAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ZooKeeperAutoscalerSpec ¶ added in v0.47.0
type ZooKeeperAutoscalerSpec struct { DatabaseRef *core.LocalObjectReference `json:"databaseRef"` // This field will be used to control the behaviour of ops-manager OpsRequestOptions *ZooKeeperOpsRequestOptions `json:"opsRequestOptions,omitempty"` Compute *ZooKeeperComputeAutoscalerSpec `json:"compute,omitempty"` Storage *ZooKeeperStorageAutoscalerSpec `json:"storage,omitempty"` }
ZooKeeperAutoscalerSpec is the specification of the behavior of the autoscaler.
func (*ZooKeeperAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *ZooKeeperAutoscalerSpec) DeepCopy() *ZooKeeperAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZooKeeperAutoscalerSpec.
func (*ZooKeeperAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *ZooKeeperAutoscalerSpec) DeepCopyInto(out *ZooKeeperAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ZooKeeperComputeAutoscalerSpec ¶ added in v0.47.0
type ZooKeeperComputeAutoscalerSpec struct { // +optional NodeTopology *NodeTopology `json:"nodeTopology,omitempty"` ZooKeeper *ComputeAutoscalerSpec `json:"zookeeper,omitempty"` }
func (*ZooKeeperComputeAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *ZooKeeperComputeAutoscalerSpec) DeepCopy() *ZooKeeperComputeAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZooKeeperComputeAutoscalerSpec.
func (*ZooKeeperComputeAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *ZooKeeperComputeAutoscalerSpec) DeepCopyInto(out *ZooKeeperComputeAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ZooKeeperOpsRequestOptions ¶ added in v0.47.0
type ZooKeeperOpsRequestOptions struct { // Timeout for each step of the ops request in second. If a step doesn't finish within the specified timeout, the ops request will result in failure. Timeout *metav1.Duration `json:"timeout,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply opsapi.ApplyOption `json:"apply,omitempty"` }
func (*ZooKeeperOpsRequestOptions) DeepCopy ¶ added in v0.47.0
func (in *ZooKeeperOpsRequestOptions) DeepCopy() *ZooKeeperOpsRequestOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZooKeeperOpsRequestOptions.
func (*ZooKeeperOpsRequestOptions) DeepCopyInto ¶ added in v0.47.0
func (in *ZooKeeperOpsRequestOptions) DeepCopyInto(out *ZooKeeperOpsRequestOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ZooKeeperStorageAutoscalerSpec ¶ added in v0.47.0
type ZooKeeperStorageAutoscalerSpec struct {
ZooKeeper *StorageAutoscalerSpec `json:"zookeeper,omitempty"`
}
func (*ZooKeeperStorageAutoscalerSpec) DeepCopy ¶ added in v0.47.0
func (in *ZooKeeperStorageAutoscalerSpec) DeepCopy() *ZooKeeperStorageAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZooKeeperStorageAutoscalerSpec.
func (*ZooKeeperStorageAutoscalerSpec) DeepCopyInto ¶ added in v0.47.0
func (in *ZooKeeperStorageAutoscalerSpec) DeepCopyInto(out *ZooKeeperStorageAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- cassandra_helpers.go
- cassandra_types.go
- cassandra_webhook.go
- clickhouse_helpers.go
- clickhouse_types.go
- clickhouse_webhook.go
- constants.go
- doc.go
- druid_helpers.go
- druid_types.go
- druid_webhook.go
- elasticsearch_helpers.go
- elasticsearch_types.go
- elasticsearch_webhook.go
- etcd_helpers.go
- etcd_types.go
- ferretdb_helpers.go
- ferretdb_types.go
- ferretdb_webhook.go
- kafka_helpers.go
- kafka_types.go
- kafka_webhook.go
- mariadb_helpers.go
- mariadb_types.go
- mariadb_webhook.go
- memcached_helpers.go
- memcached_types.go
- memcached_webhook.go
- mongodb_helpers.go
- mongodb_types.go
- mongodb_webhook.go
- mssqlserver_helpers.go
- mssqlserver_types.go
- mssqlserver_webhook.go
- mysql_helpers.go
- mysql_types.go
- mysql_webhook.go
- openapi_generated.go
- perconaxtradb_helpers.go
- perconaxtradb_types.go
- perconaxtradb_webhook.go
- pgbouncer_helpers.go
- pgbouncer_types.go
- pgbouncer_webhook.go
- pgpool_helpers.go
- pgpool_types.go
- pgpool_webhook.go
- postgres_helpers.go
- postgres_types.go
- postgres_webhook.go
- proxysql_helpers.go
- proxysql_types.go
- proxysql_webhook.go
- rabbitmq_helpers.go
- rabbitmq_types.go
- rabbitmq_webhook.go
- redis_helpers.go
- redis_sentinel_helpers.go
- redis_sentinel_types.go
- redis_sentinel_webhook.go
- redis_types.go
- redis_webhook.go
- register.go
- singlestore_helpers.go
- singlestore_types.go
- singlestore_webhook.go
- solr_helpers.go
- solr_types.go
- solr_webhook.go
- type.go
- vpa_checkpoints.go
- vpa_types.go
- webhook_helpers.go
- zookeeper_helpers.go
- zookeeper_types.go
- zookeeper_webhook.go
- zz_generated.deepcopy.go