Documentation ¶
Overview ¶
+groupName=ops.kubedb.com
Index ¶
- Constants
- Variables
- func ElasticsearchOpsRequestTypeNames() []string
- func EtcdOpsRequestTypeNames() []string
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Kind(kind string) schema.GroupKind
- func MariaDBOpsRequestTypeNames() []string
- func MemcachedOpsRequestTypeNames() []string
- func MongoDBOpsRequestTypeNames() []string
- func MySQLOpsRequestTypeNames() []string
- func PerconaXtraDBOpsRequestTypeNames() []string
- func PgBouncerOpsRequestTypeNames() []string
- func PostgresOpsRequestTypeNames() []string
- func ProxySQLOpsRequestTypeNames() []string
- func RedisOpsRequestTypeNames() []string
- func RedisSentinelOpsRequestTypeNames() []string
- func Resource(resource string) schema.GroupResource
- type Accessor
- type ApplyOption
- type ConfigNode
- type ElasticsearchCustomConfiguration
- type ElasticsearchCustomConfigurationSpec
- type ElasticsearchHorizontalScalingSpec
- type ElasticsearchHorizontalScalingTopologySpec
- type ElasticsearchOpsRequest
- func (_ ElasticsearchOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *ElasticsearchOpsRequest) DeepCopy() *ElasticsearchOpsRequest
- func (in *ElasticsearchOpsRequest) DeepCopyInto(out *ElasticsearchOpsRequest)
- func (in *ElasticsearchOpsRequest) DeepCopyObject() runtime.Object
- func (e *ElasticsearchOpsRequest) GetDBRefName() string
- func (e *ElasticsearchOpsRequest) GetObjectMeta() metav1.ObjectMeta
- func (e ElasticsearchOpsRequest) GetRequestType() any
- func (e *ElasticsearchOpsRequest) GetStatus() OpsRequestStatus
- func (e ElasticsearchOpsRequest) GetUpdateVersionSpec() *ElasticsearchUpdateVersionSpec
- func (e ElasticsearchOpsRequest) ResourceFQN() string
- func (e ElasticsearchOpsRequest) ResourceKind() string
- func (e ElasticsearchOpsRequest) ResourcePlural() string
- func (e ElasticsearchOpsRequest) ResourceShortCode() string
- func (e ElasticsearchOpsRequest) ResourceSingular() string
- func (e *ElasticsearchOpsRequest) SetStatus(s OpsRequestStatus)
- func (e ElasticsearchOpsRequest) ValidateSpecs() error
- type ElasticsearchOpsRequestList
- type ElasticsearchOpsRequestSpec
- type ElasticsearchOpsRequestType
- type ElasticsearchReplicaReadinessCriteria
- type ElasticsearchUpdateVersionSpec
- type ElasticsearchVerticalScalingSpec
- type ElasticsearchVerticalScalingTopologySpec
- type ElasticsearchVolumeExpansionSpec
- type ElasticsearchVolumeExpansionTopologySpec
- type EtcdCustomConfiguration
- type EtcdCustomConfigurationSpec
- type EtcdHorizontalScalingSpec
- type EtcdOpsRequest
- func (_ EtcdOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *EtcdOpsRequest) DeepCopy() *EtcdOpsRequest
- func (in *EtcdOpsRequest) DeepCopyInto(out *EtcdOpsRequest)
- func (in *EtcdOpsRequest) DeepCopyObject() runtime.Object
- func (e *EtcdOpsRequest) GetDBRefName() string
- func (e *EtcdOpsRequest) GetObjectMeta() metav1.ObjectMeta
- func (e EtcdOpsRequest) GetRequestType() any
- func (e *EtcdOpsRequest) GetStatus() OpsRequestStatus
- func (e EtcdOpsRequest) GetUpdateVersionSpec() *EtcdUpdateVersionSpec
- func (e EtcdOpsRequest) ResourceFQN() string
- func (e EtcdOpsRequest) ResourceKind() string
- func (e EtcdOpsRequest) ResourcePlural() string
- func (e EtcdOpsRequest) ResourceShortCode() string
- func (e EtcdOpsRequest) ResourceSingular() string
- func (e *EtcdOpsRequest) SetStatus(s OpsRequestStatus)
- func (e EtcdOpsRequest) ValidateSpecs() error
- type EtcdOpsRequestList
- type EtcdOpsRequestSpec
- type EtcdOpsRequestType
- type EtcdReplicaReadinessCriteria
- type EtcdUpdateVersionSpec
- type EtcdVerticalScalingSpec
- type EtcdVolumeExpansionSpec
- type HiddenNode
- type MariaDBCustomConfiguration
- type MariaDBCustomConfigurationSpec
- type MariaDBHorizontalScalingSpec
- type MariaDBOpsRequest
- func (m MariaDBOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *MariaDBOpsRequest) DeepCopy() *MariaDBOpsRequest
- func (in *MariaDBOpsRequest) DeepCopyInto(out *MariaDBOpsRequest)
- func (in *MariaDBOpsRequest) DeepCopyObject() runtime.Object
- func (m *MariaDBOpsRequest) GetDBRefName() string
- func (m MariaDBOpsRequest) GetKey() string
- func (m *MariaDBOpsRequest) GetObjectMeta() metav1.ObjectMeta
- func (m MariaDBOpsRequest) GetRequestType() any
- func (m *MariaDBOpsRequest) GetStatus() OpsRequestStatus
- func (m MariaDBOpsRequest) GetUpdateVersionSpec() *MariaDBUpdateVersionSpec
- func (m MariaDBOpsRequest) OffshootLabels() map[string]string
- func (m MariaDBOpsRequest) OffshootName() string
- func (m MariaDBOpsRequest) OffshootSelectors() map[string]string
- func (m MariaDBOpsRequest) ResourceFQN() string
- func (m MariaDBOpsRequest) ResourceKind() string
- func (m MariaDBOpsRequest) ResourcePlural() string
- func (m MariaDBOpsRequest) ResourceShortCode() string
- func (m MariaDBOpsRequest) ResourceSingular() string
- func (m *MariaDBOpsRequest) SetStatus(s OpsRequestStatus)
- func (m MariaDBOpsRequest) ValidateSpecs() error
- type MariaDBOpsRequestList
- type MariaDBOpsRequestSpec
- type MariaDBOpsRequestType
- type MariaDBReplicaReadinessCriteria
- type MariaDBTLSSpec
- type MariaDBUpdateVersionSpec
- type MariaDBVerticalScalingSpec
- type MariaDBVolumeExpansionSpec
- type MemcachedCustomConfiguration
- type MemcachedCustomConfigurationSpec
- type MemcachedHorizontalScalingSpec
- type MemcachedOpsRequest
- func (m MemcachedOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *MemcachedOpsRequest) DeepCopy() *MemcachedOpsRequest
- func (in *MemcachedOpsRequest) DeepCopyInto(out *MemcachedOpsRequest)
- func (in *MemcachedOpsRequest) DeepCopyObject() runtime.Object
- func (m *MemcachedOpsRequest) GetDBRefName() string
- func (m *MemcachedOpsRequest) GetObjectMeta() metav1.ObjectMeta
- func (m MemcachedOpsRequest) GetRequestType() any
- func (m *MemcachedOpsRequest) GetStatus() OpsRequestStatus
- func (m MemcachedOpsRequest) GetUpdateVersionSpec() *MemcachedUpdateVersionSpec
- func (m MemcachedOpsRequest) ResourceFQN() string
- func (m MemcachedOpsRequest) ResourceKind() string
- func (m MemcachedOpsRequest) ResourcePlural() string
- func (m MemcachedOpsRequest) ResourceShortCode() string
- func (m MemcachedOpsRequest) ResourceSingular() string
- func (m *MemcachedOpsRequest) SetStatus(s OpsRequestStatus)
- func (m MemcachedOpsRequest) ValidateSpecs() error
- type MemcachedOpsRequestList
- type MemcachedOpsRequestSpec
- type MemcachedOpsRequestType
- type MemcachedReplicaReadinessCriteria
- type MemcachedUpdateVersionSpec
- type MemcachedVerticalScalingSpec
- type MemcachedVolumeExpansionSpec
- type MongoDBCustomConfiguration
- type MongoDBCustomConfigurationSpec
- type MongoDBHorizontalScalingSpec
- type MongoDBOpsRequest
- func (m MongoDBOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *MongoDBOpsRequest) DeepCopy() *MongoDBOpsRequest
- func (in *MongoDBOpsRequest) DeepCopyInto(out *MongoDBOpsRequest)
- func (in *MongoDBOpsRequest) DeepCopyObject() runtime.Object
- func (m *MongoDBOpsRequest) GetDBRefName() string
- func (m *MongoDBOpsRequest) GetObjectMeta() metav1.ObjectMeta
- func (m MongoDBOpsRequest) GetRequestType() any
- func (m *MongoDBOpsRequest) GetStatus() OpsRequestStatus
- func (m MongoDBOpsRequest) GetUpdateVersionSpec() *MongoDBUpdateVersionSpec
- func (m MongoDBOpsRequest) ResourceFQN() string
- func (m MongoDBOpsRequest) ResourceKind() string
- func (m MongoDBOpsRequest) ResourcePlural() string
- func (m MongoDBOpsRequest) ResourceShortCode() string
- func (m MongoDBOpsRequest) ResourceSingular() string
- func (m *MongoDBOpsRequest) SetStatus(s OpsRequestStatus)
- func (m MongoDBOpsRequest) ValidateSpecs() error
- type MongoDBOpsRequestList
- type MongoDBOpsRequestSpec
- type MongoDBOpsRequestType
- type MongoDBReplicaReadinessCriteria
- type MongoDBShardNode
- type MongoDBUpdateVersionSpec
- type MongoDBVerticalScalingSpec
- type MongoDBVolumeExpansionSpec
- type MongosNode
- type MySQLCustomConfigurationSpec
- type MySQLHorizontalScalingSpec
- type MySQLOpsRequest
- func (m MySQLOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *MySQLOpsRequest) DeepCopy() *MySQLOpsRequest
- func (in *MySQLOpsRequest) DeepCopyInto(out *MySQLOpsRequest)
- func (in *MySQLOpsRequest) DeepCopyObject() runtime.Object
- func (m *MySQLOpsRequest) GetDBRefName() string
- func (m MySQLOpsRequest) GetKey() string
- func (m *MySQLOpsRequest) GetObjectMeta() metav1.ObjectMeta
- func (m MySQLOpsRequest) GetRequestType() any
- func (m *MySQLOpsRequest) GetStatus() OpsRequestStatus
- func (m MySQLOpsRequest) GetUpdateVersionSpec() *MySQLUpdateVersionSpec
- func (m MySQLOpsRequest) OffshootLabels() map[string]string
- func (m MySQLOpsRequest) OffshootName() string
- func (m MySQLOpsRequest) OffshootSelectors() map[string]string
- func (m MySQLOpsRequest) ResourceFQN() string
- func (m MySQLOpsRequest) ResourceKind() string
- func (m MySQLOpsRequest) ResourcePlural() string
- func (m MySQLOpsRequest) ResourceShortCode() string
- func (m MySQLOpsRequest) ResourceSingular() string
- func (m *MySQLOpsRequest) SetStatus(s OpsRequestStatus)
- func (m MySQLOpsRequest) ValidateSpecs() error
- type MySQLOpsRequestList
- type MySQLOpsRequestSpec
- type MySQLOpsRequestType
- type MySQLQueryRules
- type MySQLReplicaReadinessCriteria
- type MySQLTLSSpec
- type MySQLUpdateVersionSpec
- type MySQLUsers
- type MySQLVerticalScalingSpec
- type MySQLVolumeExpansionSpec
- type OperationType
- type OpsRequestPhase
- type OpsRequestStatus
- type PerconaXtraDBCustomConfigurationSpec
- type PerconaXtraDBHorizontalScalingSpec
- type PerconaXtraDBOpsRequest
- func (p PerconaXtraDBOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *PerconaXtraDBOpsRequest) DeepCopy() *PerconaXtraDBOpsRequest
- func (in *PerconaXtraDBOpsRequest) DeepCopyInto(out *PerconaXtraDBOpsRequest)
- func (in *PerconaXtraDBOpsRequest) DeepCopyObject() runtime.Object
- func (p *PerconaXtraDBOpsRequest) GetDBRefName() string
- func (p *PerconaXtraDBOpsRequest) GetObjectMeta() metav1.ObjectMeta
- func (p PerconaXtraDBOpsRequest) GetRequestType() any
- func (p *PerconaXtraDBOpsRequest) GetStatus() OpsRequestStatus
- func (p PerconaXtraDBOpsRequest) GetUpdateVersionSpec() *PerconaXtraDBUpdateVersionSpec
- func (p PerconaXtraDBOpsRequest) ResourceFQN() string
- func (p PerconaXtraDBOpsRequest) ResourceKind() string
- func (p PerconaXtraDBOpsRequest) ResourcePlural() string
- func (p PerconaXtraDBOpsRequest) ResourceShortCode() string
- func (p PerconaXtraDBOpsRequest) ResourceSingular() string
- func (p *PerconaXtraDBOpsRequest) SetStatus(s OpsRequestStatus)
- func (p PerconaXtraDBOpsRequest) ValidateSpecs() error
- type PerconaXtraDBOpsRequestList
- type PerconaXtraDBOpsRequestSpec
- type PerconaXtraDBOpsRequestType
- type PerconaXtraDBReplicaReadinessCriteria
- type PerconaXtraDBTLSSpec
- type PerconaXtraDBUpdateVersionSpec
- type PerconaXtraDBVerticalScalingSpec
- type PerconaXtraDBVolumeExpansionSpec
- type PgBouncerCustomConfiguration
- type PgBouncerCustomConfigurationSpec
- type PgBouncerHorizontalScalingSpec
- type PgBouncerOpsRequest
- func (p PgBouncerOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *PgBouncerOpsRequest) DeepCopy() *PgBouncerOpsRequest
- func (in *PgBouncerOpsRequest) DeepCopyInto(out *PgBouncerOpsRequest)
- func (in *PgBouncerOpsRequest) DeepCopyObject() runtime.Object
- func (p *PgBouncerOpsRequest) GetDBRefName() string
- func (p *PgBouncerOpsRequest) GetObjectMeta() metav1.ObjectMeta
- func (p PgBouncerOpsRequest) GetRequestType() any
- func (p *PgBouncerOpsRequest) GetStatus() OpsRequestStatus
- func (p PgBouncerOpsRequest) GetUpdateVersionSpec() *PgBouncerUpdateVersionSpec
- func (p PgBouncerOpsRequest) ResourceFQN() string
- func (p PgBouncerOpsRequest) ResourceKind() string
- func (p PgBouncerOpsRequest) ResourcePlural() string
- func (p PgBouncerOpsRequest) ResourceShortCode() string
- func (p PgBouncerOpsRequest) ResourceSingular() string
- func (p *PgBouncerOpsRequest) SetStatus(s OpsRequestStatus)
- func (p PgBouncerOpsRequest) ValidateSpecs() error
- type PgBouncerOpsRequestList
- type PgBouncerOpsRequestSpec
- type PgBouncerOpsRequestType
- type PgBouncerReplicaReadinessCriteria
- type PgBouncerUpdateVersionSpec
- type PgBouncerVerticalScalingSpec
- type PostgresCustomConfiguration
- type PostgresCustomConfigurationSpec
- type PostgresHorizontalScalingSpec
- type PostgresOpsRequest
- func (p PostgresOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *PostgresOpsRequest) DeepCopy() *PostgresOpsRequest
- func (in *PostgresOpsRequest) DeepCopyInto(out *PostgresOpsRequest)
- func (in *PostgresOpsRequest) DeepCopyObject() runtime.Object
- func (p *PostgresOpsRequest) GetDBRefName() string
- func (p *PostgresOpsRequest) GetObjectMeta() metav1.ObjectMeta
- func (p PostgresOpsRequest) GetRequestType() any
- func (p *PostgresOpsRequest) GetStatus() OpsRequestStatus
- func (p PostgresOpsRequest) GetUpdateVersionSpec() *PostgresUpdateVersionSpec
- func (p PostgresOpsRequest) ResourceFQN() string
- func (p PostgresOpsRequest) ResourceKind() string
- func (p PostgresOpsRequest) ResourcePlural() string
- func (p PostgresOpsRequest) ResourceShortCode() string
- func (p PostgresOpsRequest) ResourceSingular() string
- func (p *PostgresOpsRequest) SetStatus(s OpsRequestStatus)
- func (p PostgresOpsRequest) ValidateSpecs() error
- type PostgresOpsRequestList
- type PostgresOpsRequestSpec
- type PostgresOpsRequestType
- type PostgresStandbyMode
- type PostgresStreamingMode
- type PostgresTLSSpec
- type PostgresUpdateVersionSpec
- type PostgresVerticalScalingSpec
- type PostgresVolumeExpansionSpec
- type ProxySQLCustomConfiguration
- type ProxySQLCustomConfigurationSpec
- type ProxySQLHorizontalScalingSpec
- type ProxySQLOpsRequest
- func (p ProxySQLOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *ProxySQLOpsRequest) DeepCopy() *ProxySQLOpsRequest
- func (in *ProxySQLOpsRequest) DeepCopyInto(out *ProxySQLOpsRequest)
- func (in *ProxySQLOpsRequest) DeepCopyObject() runtime.Object
- func (p *ProxySQLOpsRequest) GetDBRefName() string
- func (p *ProxySQLOpsRequest) GetObjectMeta() metav1.ObjectMeta
- func (p ProxySQLOpsRequest) GetRequestType() any
- func (p *ProxySQLOpsRequest) GetStatus() OpsRequestStatus
- func (p ProxySQLOpsRequest) GetUpdateVersionSpec() *ProxySQLUpdateVersionSpec
- func (p ProxySQLOpsRequest) ResourceFQN() string
- func (p ProxySQLOpsRequest) ResourceKind() string
- func (p ProxySQLOpsRequest) ResourcePlural() string
- func (p ProxySQLOpsRequest) ResourceShortCode() string
- func (p ProxySQLOpsRequest) ResourceSingular() string
- func (p *ProxySQLOpsRequest) SetStatus(s OpsRequestStatus)
- type ProxySQLOpsRequestList
- type ProxySQLOpsRequestSpec
- type ProxySQLOpsRequestType
- type ProxySQLReplicaReadinessCriteria
- type ProxySQLUpdateVersionSpec
- type ProxySQLVerticalScalingSpec
- type RedisCustomConfigurationSpec
- type RedisHorizontalScalingSpec
- type RedisOpsRequest
- func (r RedisOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *RedisOpsRequest) DeepCopy() *RedisOpsRequest
- func (in *RedisOpsRequest) DeepCopyInto(out *RedisOpsRequest)
- func (in *RedisOpsRequest) DeepCopyObject() runtime.Object
- func (r *RedisOpsRequest) GetDBRefName() string
- func (r *RedisOpsRequest) GetObjectMeta() metav1.ObjectMeta
- func (r RedisOpsRequest) GetRequestType() any
- func (r *RedisOpsRequest) GetStatus() OpsRequestStatus
- func (r RedisOpsRequest) GetUpdateVersionSpec() *RedisUpdateVersionSpec
- func (r RedisOpsRequest) ResourceFQN() string
- func (r RedisOpsRequest) ResourceKind() string
- func (r RedisOpsRequest) ResourcePlural() string
- func (r RedisOpsRequest) ResourceShortCode() string
- func (r RedisOpsRequest) ResourceSingular() string
- func (r *RedisOpsRequest) SetStatus(s OpsRequestStatus)
- func (r RedisOpsRequest) ValidateSpecs() error
- type RedisOpsRequestList
- type RedisOpsRequestSpec
- type RedisOpsRequestType
- type RedisReplicaReadinessCriteria
- type RedisSentinelCustomConfigurationSpec
- type RedisSentinelHorizontalScalingSpec
- type RedisSentinelOpsRequest
- func (r RedisSentinelOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *RedisSentinelOpsRequest) DeepCopy() *RedisSentinelOpsRequest
- func (in *RedisSentinelOpsRequest) DeepCopyInto(out *RedisSentinelOpsRequest)
- func (in *RedisSentinelOpsRequest) DeepCopyObject() runtime.Object
- func (r *RedisSentinelOpsRequest) GetDBRefName() string
- func (r *RedisSentinelOpsRequest) GetObjectMeta() metav1.ObjectMeta
- func (r RedisSentinelOpsRequest) GetRequestType() any
- func (r *RedisSentinelOpsRequest) GetStatus() OpsRequestStatus
- func (r RedisSentinelOpsRequest) GetUpdateVersionSpec() *RedisSentinelUpdateVersionSpec
- func (r RedisSentinelOpsRequest) ResourceFQN() string
- func (r RedisSentinelOpsRequest) ResourceKind() string
- func (r RedisSentinelOpsRequest) ResourcePlural() string
- func (r RedisSentinelOpsRequest) ResourceShortCode() string
- func (r RedisSentinelOpsRequest) ResourceSingular() string
- func (r *RedisSentinelOpsRequest) SetStatus(s OpsRequestStatus)
- func (r RedisSentinelOpsRequest) ValidateSpecs() error
- type RedisSentinelOpsRequestList
- type RedisSentinelOpsRequestSpec
- type RedisSentinelOpsRequestType
- type RedisSentinelRef
- type RedisSentinelReplicaReadinessCriteria
- type RedisSentinelSpec
- type RedisSentinelUpdateVersionSpec
- type RedisSentinelVerticalScalingSpec
- type RedisSentinelVolumeExpansionSpec
- type RedisTLSSpec
- type RedisUpdateVersionSpec
- type RedisVerticalScalingSpec
- type RedisVolumeExpansionSpec
- type Reprovision
- type RestartSpec
- type TLSSpec
- type VolumeExpansionMode
Constants ¶
const ( GenericKey = "ops.kubedb.com" LabelOpsRequestKind = GenericKey + "/kind" LabelOpsRequestName = GenericKey + "/name" OpsRequestProgressingStarted = "OpsRequestProgressingStarted" OpsRequestFailedToProgressing = "OpsRequestFailedToProgressing" SuccessfullyPausedDatabase = "SuccessfullyPausedDatabase" FailedToPauseDatabase = "FailedToPauseDatabase" SuccessfullyResumedDatabase = "SuccessfullyResumedDatabase" FailedToResumedDatabase = "FailedToResumedDatabase" DatabaseVersionUpgradingStarted = "DatabaseVersionUpgradingStarted" SuccessfullyUpgradedDatabaseVersion = "SuccessfullyUpgradedDatabaseVersion" FailedToUpgradeDatabaseVersion = "FailedToUpgradeDatabaseVersion" HorizontalScalingStarted = "HorizontalScalingStarted" SuccessfullyPerformedHorizontalScaling = "SuccessfullyPerformedHorizontalScaling" FailedToPerformHorizontalScaling = "FailedToPerformHorizontalScaling" VerticalScalingStarted = "VerticalScalingStarted" SuccessfullyPerformedVerticalScaling = "SuccessfullyPerformedVerticalScaling" FailedToPerformVerticalScaling = "FailedToPerformVerticalScaling" OpsRequestProcessedSuccessfully = "OpsRequestProcessedSuccessfully" SuccessfullyVolumeExpanded = "SuccessfullyVolumeExpanded" FailedToVolumeExpand = "FailedToVolumeExpand" SuccessfullyDBReconfigured = "SuccessfullyDBReconfigured" FailedToReconfigureDB = "FailedToReconfigureDB" SuccessfullyRestartedDBMembers = "SuccessfullyRestartedDBMembers" FailToRestartDBMembers = "FailToRestartDBMembers" SuccessfullyRestartedStatefulSet = "SuccessfullyRestartedStatefulSet" FailedToRestartStatefulSet = "FailedToRestartStatefulSet" SuccessfullyRemovedTLSConfig = "SuccessfullyRemovedTLSConfig" FailedToRemoveTLSConfig = "FailedToRemoveTLSConfig" SuccessfullyAddedTLSConfig = "SuccessfullyAddedTLSConfig" FailedToAddTLSConfig = "FailedToAddTLSConfig" SuccessfullyIssuedCertificates = "SuccessfullyIssuedCertificates" FailedToIssueCertificates = "FailedToIssueCertificates" SuccessfullyReconfiguredTLS = "SuccessfullyReconfiguredTLS" )
const ( ResourceCodeElasticsearchOpsRequest = "esops" ResourceKindElasticsearchOpsRequest = "ElasticsearchOpsRequest" ResourceSingularElasticsearchOpsRequest = "elasticsearchopsrequest" ResourcePluralElasticsearchOpsRequest = "elasticsearchopsrequests" )
const ( ResourceCodeEtcdOpsRequest = "etcdops" ResourceKindEtcdOpsRequest = "EtcdOpsRequest" ResourceSingularEtcdOpsRequest = "etcdopsrequest" ResourcePluralEtcdOpsRequest = "etcdopsrequests" )
const ( ResourceCodeMariaDBOpsRequest = "mariaops" ResourceKindMariaDBOpsRequest = "MariaDBOpsRequest" ResourceSingularMariaDBOpsRequest = "mariadbopsrequest" ResourcePluralMariaDBOpsRequest = "mariadbopsrequests" )
const ( ResourceCodeMemcachedOpsRequest = "mcops" ResourceKindMemcachedOpsRequest = "MemcachedOpsRequest" ResourceSingularMemcachedOpsRequest = "memcachedopsrequest" ResourcePluralMemcachedOpsRequest = "memcachedopsrequests" )
const ( ResourceCodeMongoDBOpsRequest = "mgops" ResourceKindMongoDBOpsRequest = "MongoDBOpsRequest" ResourceSingularMongoDBOpsRequest = "mongodbopsrequest" ResourcePluralMongoDBOpsRequest = "mongodbopsrequests" )
const ( ResourceCodeMySQLOpsRequest = "myops" ResourceKindMySQLOpsRequest = "MySQLOpsRequest" ResourceSingularMySQLOpsRequest = "mysqlopsrequest" ResourcePluralMySQLOpsRequest = "mysqlopsrequests" )
const ( ResourceCodePerconaXtraDBOpsRequest = "pxcops" ResourceKindPerconaXtraDBOpsRequest = "PerconaXtraDBOpsRequest" ResourceSingularPerconaXtraDBOpsRequest = "perconaxtradbopsrequest" ResourcePluralPerconaXtraDBOpsRequest = "perconaxtradbopsrequests" )
const ( ResourceCodePgBouncerOpsRequest = "pbops" ResourceKindPgBouncerOpsRequest = "PgBouncerOpsRequest" ResourceSingularPgBouncerOpsRequest = "pgbounceropsrequest" ResourcePluralPgBouncerOpsRequest = "pgbounceropsrequests" )
const ( ResourceCodePostgresOpsRequest = "pgops" ResourceKindPostgresOpsRequest = "PostgresOpsRequest" ResourceSingularPostgresOpsRequest = "postgresopsrequest" ResourcePluralPostgresOpsRequest = "postgresopsrequests" )
const ( ResourceCodeProxySQLOpsRequest = "prxops" ResourceKindProxySQLOpsRequest = "ProxySQLOpsRequest" ResourceSingularProxySQLOpsRequest = "proxysqlopsrequest" ResourcePluralProxySQLOpsRequest = "proxysqlopsrequests" )
const ( ResourceCodeRedisOpsRequest = "rdops" ResourceKindRedisOpsRequest = "RedisOpsRequest" ResourceSingularRedisOpsRequest = "redisopsrequest" ResourcePluralRedisOpsRequest = "redisopsrequests" )
const ( ResourceCodeRedisSentinelOpsRequest = "rdsops" ResourceKindRedisSentinelOpsRequest = "RedisSentinelOpsRequest" ResourceSingularRedisSentinelOpsRequest = "redissentinelopsrequest" ResourcePluralRedisSentinelOpsRequest = "redissentinelopsrequests" )
const ( AccessApproved = "Approved" AccessDenied = "Denied" DisableSharding = "DisableSharding" EnableSharding = "EnableSharding" Failed = "Failed" HorizontalScalingDatabase = "HorizontalScaling" MigratingData = "MigratingData" NodeCreated = "NodeCreated" NodeDeleted = "NodeDeleted" NodeRestarted = "NodeRestarted" PauseDatabase = "PauseDatabase" Progressing = "Progressing" ResumeDatabase = "ResumeDatabase" ScalingDatabase = "Scaling" ScalingDown = "ScalingDown" ScalingUp = "ScalingUp" Successful = "Successful" Running = "Running" Updating = "Updating" Upgrading = "Upgrading" UpgradeVersion = "UpgradeVersion" VerticalScalingDatabase = "VerticalScaling" VotingExclusionAdded = "VotingExclusionAdded" VotingExclusionDeleted = "VotingExclusionDeleted" UpdateStatefulSets = "UpdateStatefulSets" VolumeExpansion = "VolumeExpansion" Reconfigure = "Reconfigure" UpgradeNodes = "UpgradeNodes" RestartNodes = "RestartNodes" TLSRemoved = "TLSRemoved" TLSAdded = "TLSAdded" TLSChanged = "TLSChanged" IssuingConditionUpdated = "IssuingConditionUpdated" CertificateIssuingSuccessful = "CertificateIssuingSuccessful" TLSEnabling = "TLSEnabling" Restart = "Restart" RestartStatefulSet = "RestartStatefulSet" CertificateSynced = "CertificateSynced" Reconciled = "Reconciled" RestartStatefulSetPods = "RestartStatefulSetPods" // MongoDB Constants StartingBalancer = "StartingBalancer" StoppingBalancer = "StoppingBalancer" UpdateShardImage = "UpdateShardImage" UpdateStatefulSetResources = "UpdateStatefulSetResources" UpdateShardResources = "UpdateShardResources" UpdateArbiterResources = "UpdateArbiterResources" UpdateHiddenResources = "UpdateHiddenResources" ScaleDownShard = "ScaleDownShard" ScaleUpShard = "ScaleUpShard" ScaleDownHidden = "ScaleDownHidden" ScaleUpHidden = "ScaleUpHidden" UpdateReplicaSetImage = "UpdateReplicaSetImage" UpdateConfigServerImage = "UpdateConfigServerImage" UpdateMongosImage = "UpdateMongosImage" UpdateReplicaSetResources = "UpdateReplicaSetResources" UpdateConfigServerResources = "UpdateConfigServerResources" UpdateMongosResources = "UpdateMongosResources" FlushRouterConfig = "FlushRouterConfig" ScaleDownReplicaSet = "ScaleDownReplicaSet" ScaleUpReplicaSet = "ScaleUpReplicaSet" ScaleUpShardReplicas = "ScaleUpShardReplicas" ScaleDownShardReplicas = "ScaleDownShardReplicas" ScaleDownConfigServer = "ScaleDownConfigServer " ScaleUpConfigServer = "ScaleUpConfigServer " ScaleMongos = "ScaleMongos" ReconfigureReplicaset = "ReconfigureReplicaset" ReconfigureStandalone = "ReconfigureStandalone" ReconfigureMongos = "ReconfigureMongos" ReconfigureShard = "ReconfigureShard" ReconfigureConfigServer = "ReconfigureConfigServer" ReconfigureArbiter = "ReconfigureArbiter" ReconfigureHidden = "ReconfigureHidden" UpdateStandaloneImage = "UpdateStandaloneImage" UpdateStandaloneResources = "UpdateStandaloneResources" ScaleDownStandalone = "ScaleDownStandalone" ScaleUpStandalone = "ScaleUpStandalone" StandaloneVolumeExpansion = "StandaloneVolumeExpansion" ReplicasetVolumeExpansion = "ReplicasetVolumeExpansion" ShardVolumeExpansion = "ShardVolumeExpansion" HiddenVolumeExpansion = "HiddenVolumeExpansion" ConfigServerVolumeExpansion = "ConfigServerVolumeExpansion" RestartStandalone = "RestartStandalone" RestartReplicaSet = "RestartReplicaSet" RestartMongos = "RestartMongos" RestartConfigServer = "RestartConfigServer" RestartShard = "RestartShard" RestartArbiter = "RestartArbiter" RestartHidden = "RestartHidden" DeleteStatefulSets = "DeleteStatefulSets" DatabaseReady = "DatabaseReady" // Elasticsearch Constant OrphanStatefulSetPods = "OrphanStatefulSetPods" ReadyStatefulSets = "ReadyStatefulSets" ScaleMasterNode = "ScaleMasterNode" ScaleDataNode = "ScaleDataNode" ScaleDataHotNode = "ScaleDataHotNode" ScaleDataWarmNode = "ScaleDataWarmNode" ScaleDataColdNode = "ScaleDataColdNode" ScaleDataFrozenNode = "ScaleDataFrozenNode" ScaleDataContentNode = "ScaleDataContentNode" ScaleMLNode = "ScaleMLNode" ScaleTransformNode = "ScaleTransformNode" ScaleCoordinatingNode = "ScaleCoordinatingNode" ScaleIngestNode = "ScaleIngestNode" ScaleCombinedNode = "ScaleCombinedNode" UpdateCombinedNodePVCs = "UpdateCombinedNodePVCs" UpdateMasterNodePVCs = "UpdateMasterNodePVCs" UpdateIngestNodePVCs = "UpdateIngestNodePVCs" UpdateDataNodePVCs = "UpdateDataNodePVCs" UpdateDataContentNodePVCs = "UpdateDataContentNodePVCs" UpdateDataHotNodePVCs = "UpdateDataHotNodePVCs" UpdateDataWarmNodePVCs = "UpdateDataWarmNodePVCs" UpdateDataColdNodePVCs = "UpdateDataColdNodePVCs" UpdateDataFrozenNodePVCs = "UpdateDataFrozenNodePVCs" UpdateMLNodePVCs = "UpdateMLNodePVCs" UpdateTransformNodePVCs = "UpdateTransformNodePVCs" UpdateCoordinatingNodePVCs = "UpdateCoordinatingNodePVCs" UpdateElasticsearchCR = "UpdateElasticsearchCR" UpdateNodeResources = "UpdateNodeResources" UpdateMasterStatefulSetResources = "UpdateMasterStatefulSetResources" UpdateDataStatefulSetResources = "UpdateDataStatefulSetResources" UpdateIngestStatefulSetResources = "UpdateIngestStatefulSetResources" UpdateCombinedStatefulSetResources = "UpdateCombinedStatefulSetResources" UpdateMasterNodeResources = "UpdateMasterNodeResources" UpdateDataNodeResources = "UpdateDataNodeResources" UpdateIngestNodeResources = "UpdateIngestNodeResources" UpdateCombinedNodeResources = "UpdateCombinedNodeResources" PrepareCustomConfig = "PrepareCustomConfig" PrepareSecureCustomConfig = "PrepareSecureCustomConfig" ReconfigureSecurityAdmin = "ReconfigureSecurityAdmin" // Redis Constants PatchedSecret = "patchedSecret" ConfigKeyRedis = "redis.conf" RedisTLSArg = "--tls-port 6379" DBReady = "DBReady" RestartedPods = "RestartedPods" ScaleUpReplicas = "ScaleUpReplicas" ScaleDownReplicas = "ScaleDownReplicas" ScaleUpSentinel = "ScaleUpSentinel" ScaleDownSentinel = "ScaleDownSentinel" UpdateRedisImage = "UpdateRedisImage" RestartPodWithResources = "RestartedPodsWithResources" ReplaceSentinel = "ReplaceSentinel" ScaleUpRedisReplicasInSentinelMode = "ScaleUpRedisReplicasInSentinelMode" ScaleDownRedisReplicasInSentinelMode = "ScaleDownRedisReplicasInSentinelMode" // Stash Constants PauseBackupConfiguration = "PauseBackupConfiguration" ResumeBackupConfiguration = "ResumeBackupConfiguration" // Postgres Constants UpdatePrimaryPodImage = "UpdatePrimaryImage" UpdateStandbyPodImage = "UpdateStandbyPodImage" // PausePgCoordinator is used when need to pause postgres failover with pg coordinator. // This is useful when we don't want failover for a certain period. PausePgCoordinator = "PausePgCoordinator" // ResumePgCoordinator is used when need to resume postgres failover with pg coordinator. // This is set when we are done with all the process necessary to do failover again. ResumePgCoordinator = "ResumePgCoordinator" // DataDirectoryInitialized condition is used in major upgrade ops request. // In major upgrade we need to initialized new directory wit initDB to run pg_upgrade. DataDirectoryInitialized = "DataDirectoryInitialized" // PgUpgraded is set when pg_upgrade command ran successfully. // This is used in major upgrade. PgUpgraded = "PgUpgraded" // ReplacedDataDirectory condition is used in major upgrade. After pg_upgrade we need to replace old data directory with new one. // after replace data directory successfully set this condition true. ReplacedDataDirectory = "ReplacedDataDirectory" PgCoordinatorStatusResumeDefaultPrimary = "ResumeDefaultPrimary" PostgresPrimaryPodReady = "PostgresPrimaryPodReady" RestartPrimaryPods = "RestartPrimaryPods" RestartStandbyPods = "RestartStandbyPods" // TransferLeaderShipToFirstNode is set when we need to set the pod-0 as primary. // This condition is set after pod-0 restart process done. TransferLeaderShipToFirstNode = "TransferPrimaryRoleToDefault" // TransferLeaderShipToFirstNodeBeforeCoordinatorPaused is set when we need to set the pod-0 as primary Before pgcoordinator paused // This is the initial step where we need to set pod-0 as primary. the condition is set before the pod-0 restart process. TransferLeaderShipToFirstNodeBeforeCoordinatorPaused = "TransferLeaderShipToFirstNodeBeforeCoordinatorPaused" // CopiedOldBinaries condition is used when we are done copying old postgres binary. // This is needed when we are doing major upgrade. CopiedOldBinaries = "CopiedOldBinaries" UpdateStatefulSetImage = "UpdateStatefulSetImage" // ResumePrimaryPgCoordinator condition is set when we have set pg-coordinator status to NonTranferableResume this is useful when primary need to run after restart. ResumePrimaryPgCoordinator = "NonTransferableResumePgCoordinator" ReconfigurePrimaryPod = "ReconfigurePrimaryPod" ReconfigureStandbyPods = "ReconfigureStandbyPods" // MySQL/MariaDB Constants TempIniFilesPath = "/tmp/kubedb-custom-ini-files" )
List of possible condition types for a ops request
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 ErrInvalidElasticsearchOpsRequestType = fmt.Errorf("not a valid ElasticsearchOpsRequestType, try [%s]", strings.Join(_ElasticsearchOpsRequestTypeNames, ", "))
var ErrInvalidEtcdOpsRequestType = fmt.Errorf("not a valid EtcdOpsRequestType, try [%s]", strings.Join(_EtcdOpsRequestTypeNames, ", "))
var ErrInvalidMariaDBOpsRequestType = fmt.Errorf("not a valid MariaDBOpsRequestType, try [%s]", strings.Join(_MariaDBOpsRequestTypeNames, ", "))
var ErrInvalidMemcachedOpsRequestType = fmt.Errorf("not a valid MemcachedOpsRequestType, try [%s]", strings.Join(_MemcachedOpsRequestTypeNames, ", "))
var ErrInvalidMongoDBOpsRequestType = fmt.Errorf("not a valid MongoDBOpsRequestType, try [%s]", strings.Join(_MongoDBOpsRequestTypeNames, ", "))
var ErrInvalidMySQLOpsRequestType = fmt.Errorf("not a valid MySQLOpsRequestType, try [%s]", strings.Join(_MySQLOpsRequestTypeNames, ", "))
var ErrInvalidPerconaXtraDBOpsRequestType = fmt.Errorf("not a valid PerconaXtraDBOpsRequestType, try [%s]", strings.Join(_PerconaXtraDBOpsRequestTypeNames, ", "))
var ErrInvalidPgBouncerOpsRequestType = fmt.Errorf("not a valid PgBouncerOpsRequestType, try [%s]", strings.Join(_PgBouncerOpsRequestTypeNames, ", "))
var ErrInvalidPostgresOpsRequestType = fmt.Errorf("not a valid PostgresOpsRequestType, try [%s]", strings.Join(_PostgresOpsRequestTypeNames, ", "))
var ErrInvalidProxySQLOpsRequestType = fmt.Errorf("not a valid ProxySQLOpsRequestType, try [%s]", strings.Join(_ProxySQLOpsRequestTypeNames, ", "))
var ErrInvalidRedisOpsRequestType = fmt.Errorf("not a valid RedisOpsRequestType, try [%s]", strings.Join(_RedisOpsRequestTypeNames, ", "))
var ErrInvalidRedisSentinelOpsRequestType = fmt.Errorf("not a valid RedisSentinelOpsRequestType, try [%s]", strings.Join(_RedisSentinelOpsRequestTypeNames, ", "))
var SchemeGroupVersion = schema.GroupVersion{Group: ops.GroupName, Version: "v1alpha1"}
Functions ¶
func ElasticsearchOpsRequestTypeNames ¶ added in v0.33.0
func ElasticsearchOpsRequestTypeNames() []string
ElasticsearchOpsRequestTypeNames returns a list of possible string values of ElasticsearchOpsRequestType.
func EtcdOpsRequestTypeNames ¶ added in v0.33.0
func EtcdOpsRequestTypeNames() []string
EtcdOpsRequestTypeNames returns a list of possible string values of EtcdOpsRequestType.
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func MariaDBOpsRequestTypeNames ¶ added in v0.33.0
func MariaDBOpsRequestTypeNames() []string
MariaDBOpsRequestTypeNames returns a list of possible string values of MariaDBOpsRequestType.
func MemcachedOpsRequestTypeNames ¶ added in v0.33.0
func MemcachedOpsRequestTypeNames() []string
MemcachedOpsRequestTypeNames returns a list of possible string values of MemcachedOpsRequestType.
func MongoDBOpsRequestTypeNames ¶ added in v0.33.0
func MongoDBOpsRequestTypeNames() []string
MongoDBOpsRequestTypeNames returns a list of possible string values of MongoDBOpsRequestType.
func MySQLOpsRequestTypeNames ¶ added in v0.33.0
func MySQLOpsRequestTypeNames() []string
MySQLOpsRequestTypeNames returns a list of possible string values of MySQLOpsRequestType.
func PerconaXtraDBOpsRequestTypeNames ¶ added in v0.33.0
func PerconaXtraDBOpsRequestTypeNames() []string
PerconaXtraDBOpsRequestTypeNames returns a list of possible string values of PerconaXtraDBOpsRequestType.
func PgBouncerOpsRequestTypeNames ¶ added in v0.33.0
func PgBouncerOpsRequestTypeNames() []string
PgBouncerOpsRequestTypeNames returns a list of possible string values of PgBouncerOpsRequestType.
func PostgresOpsRequestTypeNames ¶ added in v0.33.0
func PostgresOpsRequestTypeNames() []string
PostgresOpsRequestTypeNames returns a list of possible string values of PostgresOpsRequestType.
func ProxySQLOpsRequestTypeNames ¶ added in v0.33.0
func ProxySQLOpsRequestTypeNames() []string
ProxySQLOpsRequestTypeNames returns a list of possible string values of ProxySQLOpsRequestType.
func RedisOpsRequestTypeNames ¶ added in v0.33.0
func RedisOpsRequestTypeNames() []string
RedisOpsRequestTypeNames returns a list of possible string values of RedisOpsRequestType.
func RedisSentinelOpsRequestTypeNames ¶ added in v0.33.0
func RedisSentinelOpsRequestTypeNames() []string
RedisSentinelOpsRequestTypeNames returns a list of possible string values of RedisSentinelOpsRequestType.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Accessor ¶ added in v0.28.1
type Accessor interface { GetObjectMeta() metav1.ObjectMeta GetDBRefName() string GetRequestType() any GetStatus() OpsRequestStatus SetStatus(_ OpsRequestStatus) }
type ApplyOption ¶ added in v0.28.0
type ApplyOption string
+kubebuilder:validation:Enum=IfReady;Always
const ( ApplyOptionIfReady ApplyOption = "IfReady" ApplyOptionAlways ApplyOption = "Always" )
type ConfigNode ¶
type ConfigNode struct {
Replicas int32 `json:"replicas,omitempty"`
}
ConfigNode is the spec for mongodb ConfigServer
func (*ConfigNode) DeepCopy ¶
func (in *ConfigNode) DeepCopy() *ConfigNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigNode.
func (*ConfigNode) DeepCopyInto ¶
func (in *ConfigNode) DeepCopyInto(out *ConfigNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchCustomConfiguration ¶
type ElasticsearchCustomConfiguration struct { ConfigMap *core.LocalObjectReference `json:"configMap,omitempty"` Data map[string]string `json:"data,omitempty"` Remove bool `json:"remove,omitempty"` }
func (*ElasticsearchCustomConfiguration) DeepCopy ¶
func (in *ElasticsearchCustomConfiguration) DeepCopy() *ElasticsearchCustomConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchCustomConfiguration.
func (*ElasticsearchCustomConfiguration) DeepCopyInto ¶
func (in *ElasticsearchCustomConfiguration) DeepCopyInto(out *ElasticsearchCustomConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchCustomConfigurationSpec ¶
type ElasticsearchCustomConfigurationSpec struct { // ConfigSecret is an optional field to provide custom configuration file for database. // +optional ConfigSecret *core.LocalObjectReference `json:"configSecret,omitempty"` // SecureConfigSecret is an optional field to provide secure settings for database. // - Ref: https://www.elastic.co/guide/en/elasticsearch/reference/7.14/secure-settings.html // +optional SecureConfigSecret *core.LocalObjectReference `json:"secureConfigSecret,omitempty"` // ApplyConfig is an optional field to provide Elasticsearch configuration. // Provided configuration will be applied to config files stored in ConfigSecret. // If the ConfigSecret is missing, the operator will create a new k8s secret by the // following naming convention: {db-name}-user-config . // Expected input format: // applyConfig: // file-name.yml: | // key: value // elasticsearch.yml: | // thread_pool: // write: // size: 30 // +optional ApplyConfig map[string]string `json:"applyConfig,omitempty"` // If set to "true", the user provided configuration will be removed. // The Elasticsearch cluster will start will default configuration that is generated by the operator. // +optional RemoveCustomConfig bool `json:"removeCustomConfig,omitempty"` // If set to "true", the user provided secure settings will be removed. // The elasticsearch.keystore will start will default password (i.e. ""). // +optional RemoveSecureCustomConfig bool `json:"removeSecureCustomConfig,omitempty"` }
ElasticsearchCustomConfigurationSpec is the spec for Reconfiguring the Elasticsearch Settings
func (*ElasticsearchCustomConfigurationSpec) DeepCopy ¶
func (in *ElasticsearchCustomConfigurationSpec) DeepCopy() *ElasticsearchCustomConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchCustomConfigurationSpec.
func (*ElasticsearchCustomConfigurationSpec) DeepCopyInto ¶
func (in *ElasticsearchCustomConfigurationSpec) DeepCopyInto(out *ElasticsearchCustomConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchHorizontalScalingSpec ¶
type ElasticsearchHorizontalScalingSpec struct { // Number of combined (i.e. master, data, ingest) node Node *int32 `json:"node,omitempty"` // Node topology specification Topology *ElasticsearchHorizontalScalingTopologySpec `json:"topology,omitempty"` }
ElasticsearchHorizontalScalingSpec contains the horizontal scaling information of an Elasticsearch cluster
func (*ElasticsearchHorizontalScalingSpec) DeepCopy ¶
func (in *ElasticsearchHorizontalScalingSpec) DeepCopy() *ElasticsearchHorizontalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchHorizontalScalingSpec.
func (*ElasticsearchHorizontalScalingSpec) DeepCopyInto ¶
func (in *ElasticsearchHorizontalScalingSpec) DeepCopyInto(out *ElasticsearchHorizontalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchHorizontalScalingTopologySpec ¶ added in v0.16.0
type ElasticsearchHorizontalScalingTopologySpec struct { // Number of master nodes Master *int32 `json:"master,omitempty"` // Number of ingest nodes Ingest *int32 `json:"ingest,omitempty"` // Number of data nodes Data *int32 `json:"data,omitempty"` DataContent *int32 `json:"dataContent,omitempty"` DataHot *int32 `json:"dataHot,omitempty"` DataWarm *int32 `json:"dataWarm,omitempty"` DataCold *int32 `json:"dataCold,omitempty"` DataFrozen *int32 `json:"dataFrozen,omitempty"` ML *int32 `json:"ml,omitempty"` Transform *int32 `json:"transform,omitempty"` Coordinating *int32 `json:"coordinating,omitempty"` }
ElasticsearchHorizontalScalingTopologySpec contains the horizontal scaling information in cluster topology mode
func (*ElasticsearchHorizontalScalingTopologySpec) DeepCopy ¶ added in v0.16.0
func (in *ElasticsearchHorizontalScalingTopologySpec) DeepCopy() *ElasticsearchHorizontalScalingTopologySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchHorizontalScalingTopologySpec.
func (*ElasticsearchHorizontalScalingTopologySpec) DeepCopyInto ¶ added in v0.16.0
func (in *ElasticsearchHorizontalScalingTopologySpec) DeepCopyInto(out *ElasticsearchHorizontalScalingTopologySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchOpsRequest ¶
type ElasticsearchOpsRequest struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ElasticsearchOpsRequestSpec `json:"spec,omitempty"` Status OpsRequestStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=elasticsearchopsrequests,singular=elasticsearchopsrequest,shortName=esops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (ElasticsearchOpsRequest) CustomResourceDefinition ¶
func (_ ElasticsearchOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*ElasticsearchOpsRequest) DeepCopy ¶
func (in *ElasticsearchOpsRequest) DeepCopy() *ElasticsearchOpsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchOpsRequest.
func (*ElasticsearchOpsRequest) DeepCopyInto ¶
func (in *ElasticsearchOpsRequest) DeepCopyInto(out *ElasticsearchOpsRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElasticsearchOpsRequest) DeepCopyObject ¶
func (in *ElasticsearchOpsRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ElasticsearchOpsRequest) GetDBRefName ¶ added in v0.28.1
func (e *ElasticsearchOpsRequest) GetDBRefName() string
func (*ElasticsearchOpsRequest) GetObjectMeta ¶ added in v0.28.1
func (e *ElasticsearchOpsRequest) GetObjectMeta() metav1.ObjectMeta
func (ElasticsearchOpsRequest) GetRequestType ¶ added in v0.28.1
func (e ElasticsearchOpsRequest) GetRequestType() any
func (*ElasticsearchOpsRequest) GetStatus ¶ added in v0.28.1
func (e *ElasticsearchOpsRequest) GetStatus() OpsRequestStatus
func (ElasticsearchOpsRequest) GetUpdateVersionSpec ¶ added in v0.33.0
func (e ElasticsearchOpsRequest) GetUpdateVersionSpec() *ElasticsearchUpdateVersionSpec
func (ElasticsearchOpsRequest) ResourceFQN ¶ added in v0.16.0
func (e ElasticsearchOpsRequest) ResourceFQN() string
func (ElasticsearchOpsRequest) ResourceKind ¶
func (e ElasticsearchOpsRequest) ResourceKind() string
func (ElasticsearchOpsRequest) ResourcePlural ¶
func (e ElasticsearchOpsRequest) ResourcePlural() string
func (ElasticsearchOpsRequest) ResourceShortCode ¶
func (e ElasticsearchOpsRequest) ResourceShortCode() string
func (ElasticsearchOpsRequest) ResourceSingular ¶
func (e ElasticsearchOpsRequest) ResourceSingular() string
func (*ElasticsearchOpsRequest) SetStatus ¶ added in v0.28.1
func (e *ElasticsearchOpsRequest) SetStatus(s OpsRequestStatus)
func (ElasticsearchOpsRequest) ValidateSpecs ¶
func (e ElasticsearchOpsRequest) ValidateSpecs() error
type ElasticsearchOpsRequestList ¶
type ElasticsearchOpsRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of ElasticsearchOpsRequest CRD objects Items []ElasticsearchOpsRequest `json:"items,omitempty"` }
ElasticsearchOpsRequestList is a list of ElasticsearchOpsRequests
func (*ElasticsearchOpsRequestList) DeepCopy ¶
func (in *ElasticsearchOpsRequestList) DeepCopy() *ElasticsearchOpsRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchOpsRequestList.
func (*ElasticsearchOpsRequestList) DeepCopyInto ¶
func (in *ElasticsearchOpsRequestList) DeepCopyInto(out *ElasticsearchOpsRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElasticsearchOpsRequestList) DeepCopyObject ¶
func (in *ElasticsearchOpsRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElasticsearchOpsRequestSpec ¶
type ElasticsearchOpsRequestSpec struct { // Specifies the Elasticsearch reference DatabaseRef core.LocalObjectReference `json:"databaseRef"` // Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc. Type ElasticsearchOpsRequestType `json:"type"` // Specifies information necessary for upgrading Elasticsearch UpdateVersion *ElasticsearchUpdateVersionSpec `json:"updateVersion,omitempty"` // Specifies information necessary for upgrading Elasticsearch // Deprecated: use UpdateVersion Upgrade *ElasticsearchUpdateVersionSpec `json:"upgrade,omitempty"` // Specifies information necessary for horizontal scaling HorizontalScaling *ElasticsearchHorizontalScalingSpec `json:"horizontalScaling,omitempty"` // Specifies information necessary for vertical scaling VerticalScaling *ElasticsearchVerticalScalingSpec `json:"verticalScaling,omitempty"` // Specifies information necessary for volume expansion VolumeExpansion *ElasticsearchVolumeExpansionSpec `json:"volumeExpansion,omitempty"` // Specifies information necessary for custom configuration of Elasticsearch Configuration *ElasticsearchCustomConfigurationSpec `json:"configuration,omitempty"` // Specifies information necessary for configuring TLS TLS *TLSSpec `json:"tls,omitempty"` // Specifies information necessary for restarting database Restart *RestartSpec `json:"restart,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 ApplyOption `json:"apply,omitempty"` }
ElasticsearchOpsRequestSpec is the spec for ElasticsearchOpsRequest
func (*ElasticsearchOpsRequestSpec) DeepCopy ¶
func (in *ElasticsearchOpsRequestSpec) DeepCopy() *ElasticsearchOpsRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchOpsRequestSpec.
func (*ElasticsearchOpsRequestSpec) DeepCopyInto ¶
func (in *ElasticsearchOpsRequestSpec) DeepCopyInto(out *ElasticsearchOpsRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchOpsRequestType ¶ added in v0.29.0
type ElasticsearchOpsRequestType string
+kubebuilder:validation:Enum=Upgrade;UpdateVersion;HorizontalScaling;VerticalScaling;VolumeExpansion;Restart;Reconfigure;ReconfigureTLS ENUM(Upgrade, UpdateVersion, HorizontalScaling, VerticalScaling, VolumeExpansion, Restart, Reconfigure, ReconfigureTLS)
const ( // ElasticsearchOpsRequestTypeUpgrade is a ElasticsearchOpsRequestType of type Upgrade. ElasticsearchOpsRequestTypeUpgrade ElasticsearchOpsRequestType = "Upgrade" // ElasticsearchOpsRequestTypeUpdateVersion is a ElasticsearchOpsRequestType of type UpdateVersion. ElasticsearchOpsRequestTypeUpdateVersion ElasticsearchOpsRequestType = "UpdateVersion" // ElasticsearchOpsRequestTypeHorizontalScaling is a ElasticsearchOpsRequestType of type HorizontalScaling. ElasticsearchOpsRequestTypeHorizontalScaling ElasticsearchOpsRequestType = "HorizontalScaling" // ElasticsearchOpsRequestTypeVerticalScaling is a ElasticsearchOpsRequestType of type VerticalScaling. ElasticsearchOpsRequestTypeVerticalScaling ElasticsearchOpsRequestType = "VerticalScaling" // ElasticsearchOpsRequestTypeVolumeExpansion is a ElasticsearchOpsRequestType of type VolumeExpansion. ElasticsearchOpsRequestTypeVolumeExpansion ElasticsearchOpsRequestType = "VolumeExpansion" // ElasticsearchOpsRequestTypeRestart is a ElasticsearchOpsRequestType of type Restart. ElasticsearchOpsRequestTypeRestart ElasticsearchOpsRequestType = "Restart" // ElasticsearchOpsRequestTypeReconfigure is a ElasticsearchOpsRequestType of type Reconfigure. ElasticsearchOpsRequestTypeReconfigure ElasticsearchOpsRequestType = "Reconfigure" // ElasticsearchOpsRequestTypeReconfigureTLS is a ElasticsearchOpsRequestType of type ReconfigureTLS. ElasticsearchOpsRequestTypeReconfigureTLS ElasticsearchOpsRequestType = "ReconfigureTLS" )
func ElasticsearchOpsRequestTypeValues ¶ added in v0.33.0
func ElasticsearchOpsRequestTypeValues() []ElasticsearchOpsRequestType
ElasticsearchOpsRequestTypeValues returns a list of the values for ElasticsearchOpsRequestType
func MustParseElasticsearchOpsRequestType ¶ added in v0.33.0
func MustParseElasticsearchOpsRequestType(name string) ElasticsearchOpsRequestType
MustParseElasticsearchOpsRequestType converts a string to a ElasticsearchOpsRequestType, and panics if is not valid.
func ParseElasticsearchOpsRequestType ¶ added in v0.33.0
func ParseElasticsearchOpsRequestType(name string) (ElasticsearchOpsRequestType, error)
ParseElasticsearchOpsRequestType attempts to convert a string to a ElasticsearchOpsRequestType.
func (ElasticsearchOpsRequestType) IsValid ¶ added in v0.33.0
func (x ElasticsearchOpsRequestType) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (ElasticsearchOpsRequestType) String ¶ added in v0.33.0
func (x ElasticsearchOpsRequestType) String() string
String implements the Stringer interface.
type ElasticsearchReplicaReadinessCriteria ¶
type ElasticsearchReplicaReadinessCriteria struct{}
ElasticsearchReplicaReadinessCriteria is the criteria for checking readiness of an Elasticsearch database
func (*ElasticsearchReplicaReadinessCriteria) DeepCopy ¶
func (in *ElasticsearchReplicaReadinessCriteria) DeepCopy() *ElasticsearchReplicaReadinessCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchReplicaReadinessCriteria.
func (*ElasticsearchReplicaReadinessCriteria) DeepCopyInto ¶
func (in *ElasticsearchReplicaReadinessCriteria) DeepCopyInto(out *ElasticsearchReplicaReadinessCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchUpdateVersionSpec ¶ added in v0.33.0
type ElasticsearchUpdateVersionSpec struct { // Specifies the target version name from catalog TargetVersion string `json:"targetVersion,omitempty"` }
func (*ElasticsearchUpdateVersionSpec) DeepCopy ¶ added in v0.33.0
func (in *ElasticsearchUpdateVersionSpec) DeepCopy() *ElasticsearchUpdateVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchUpdateVersionSpec.
func (*ElasticsearchUpdateVersionSpec) DeepCopyInto ¶ added in v0.33.0
func (in *ElasticsearchUpdateVersionSpec) DeepCopyInto(out *ElasticsearchUpdateVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchVerticalScalingSpec ¶
type ElasticsearchVerticalScalingSpec struct { // Resource spec for combined nodes Node *core.ResourceRequirements `json:"node,omitempty"` // Resource spec for exporter sidecar Exporter *core.ResourceRequirements `json:"exporter,omitempty"` // Specifies the resource spec for cluster in topology mode Topology *ElasticsearchVerticalScalingTopologySpec `json:"topology,omitempty"` }
ElasticsearchVerticalScalingSpec is the spec for Elasticsearch vertical scaling
func (*ElasticsearchVerticalScalingSpec) DeepCopy ¶
func (in *ElasticsearchVerticalScalingSpec) DeepCopy() *ElasticsearchVerticalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchVerticalScalingSpec.
func (*ElasticsearchVerticalScalingSpec) DeepCopyInto ¶
func (in *ElasticsearchVerticalScalingSpec) DeepCopyInto(out *ElasticsearchVerticalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchVerticalScalingTopologySpec ¶ added in v0.16.0
type ElasticsearchVerticalScalingTopologySpec struct { Master *core.ResourceRequirements `json:"master,omitempty"` Ingest *core.ResourceRequirements `json:"ingest,omitempty"` Data *core.ResourceRequirements `json:"data,omitempty"` DataContent *core.ResourceRequirements `json:"dataContent,omitempty"` DataHot *core.ResourceRequirements `json:"dataHot,omitempty"` DataWarm *core.ResourceRequirements `json:"dataWarm,omitempty"` DataCold *core.ResourceRequirements `json:"dataCold,omitempty"` DataFrozen *core.ResourceRequirements `json:"dataFrozen,omitempty"` ML *core.ResourceRequirements `json:"ml,omitempty"` Transform *core.ResourceRequirements `json:"transform,omitempty"` Coordinating *core.ResourceRequirements `json:"coordinating,omitempty"` }
ElasticsearchVerticalScalingTopologySpec is the resource spec in the cluster topology mode
func (*ElasticsearchVerticalScalingTopologySpec) DeepCopy ¶ added in v0.16.0
func (in *ElasticsearchVerticalScalingTopologySpec) DeepCopy() *ElasticsearchVerticalScalingTopologySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchVerticalScalingTopologySpec.
func (*ElasticsearchVerticalScalingTopologySpec) DeepCopyInto ¶ added in v0.16.0
func (in *ElasticsearchVerticalScalingTopologySpec) DeepCopyInto(out *ElasticsearchVerticalScalingTopologySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchVolumeExpansionSpec ¶
type ElasticsearchVolumeExpansionSpec struct { // +kubebuilder:default="Online" Mode *VolumeExpansionMode `json:"mode,omitempty"` // volume specification for combined nodes Node *resource.Quantity `json:"node,omitempty"` // volume specification for nodes in cluster topology Topology *ElasticsearchVolumeExpansionTopologySpec `json:"topology,omitempty"` }
ElasticsearchVolumeExpansionSpec is the spec for Elasticsearch volume expansion
func (*ElasticsearchVolumeExpansionSpec) DeepCopy ¶
func (in *ElasticsearchVolumeExpansionSpec) DeepCopy() *ElasticsearchVolumeExpansionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchVolumeExpansionSpec.
func (*ElasticsearchVolumeExpansionSpec) DeepCopyInto ¶
func (in *ElasticsearchVolumeExpansionSpec) DeepCopyInto(out *ElasticsearchVolumeExpansionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchVolumeExpansionTopologySpec ¶ added in v0.16.0
type ElasticsearchVolumeExpansionTopologySpec struct { // volume specification for master nodes Master *resource.Quantity `json:"master,omitempty"` // volume specification for ingest nodes Ingest *resource.Quantity `json:"ingest,omitempty"` // volume specification for data nodes Data *resource.Quantity `json:"data,omitempty"` DataContent *resource.Quantity `json:"dataContent,omitempty"` DataHot *resource.Quantity `json:"dataHot,omitempty"` DataWarm *resource.Quantity `json:"dataWarm,omitempty"` DataCold *resource.Quantity `json:"dataCold,omitempty"` DataFrozen *resource.Quantity `json:"dataFrozen,omitempty"` ML *resource.Quantity `json:"ml,omitempty"` Transform *resource.Quantity `json:"transform,omitempty"` Coordinating *resource.Quantity `json:"coordinating,omitempty"` }
ElasticsearchVolumeExpansionTopologySpec is the spec for Elasticsearch volume expansion in topology mode
func (*ElasticsearchVolumeExpansionTopologySpec) DeepCopy ¶ added in v0.16.0
func (in *ElasticsearchVolumeExpansionTopologySpec) DeepCopy() *ElasticsearchVolumeExpansionTopologySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchVolumeExpansionTopologySpec.
func (*ElasticsearchVolumeExpansionTopologySpec) DeepCopyInto ¶ added in v0.16.0
func (in *ElasticsearchVolumeExpansionTopologySpec) DeepCopyInto(out *ElasticsearchVolumeExpansionTopologySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdCustomConfiguration ¶
type EtcdCustomConfiguration struct { ConfigMap *core.LocalObjectReference `json:"configMap,omitempty"` Data map[string]string `json:"data,omitempty"` Remove bool `json:"remove,omitempty"` }
func (*EtcdCustomConfiguration) DeepCopy ¶
func (in *EtcdCustomConfiguration) DeepCopy() *EtcdCustomConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdCustomConfiguration.
func (*EtcdCustomConfiguration) DeepCopyInto ¶
func (in *EtcdCustomConfiguration) DeepCopyInto(out *EtcdCustomConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdCustomConfigurationSpec ¶
type EtcdCustomConfigurationSpec struct{}
func (*EtcdCustomConfigurationSpec) DeepCopy ¶
func (in *EtcdCustomConfigurationSpec) DeepCopy() *EtcdCustomConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdCustomConfigurationSpec.
func (*EtcdCustomConfigurationSpec) DeepCopyInto ¶
func (in *EtcdCustomConfigurationSpec) DeepCopyInto(out *EtcdCustomConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdHorizontalScalingSpec ¶
type EtcdHorizontalScalingSpec struct{}
HorizontalScaling is the spec for Etcd horizontal scaling
func (*EtcdHorizontalScalingSpec) DeepCopy ¶
func (in *EtcdHorizontalScalingSpec) DeepCopy() *EtcdHorizontalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdHorizontalScalingSpec.
func (*EtcdHorizontalScalingSpec) DeepCopyInto ¶
func (in *EtcdHorizontalScalingSpec) DeepCopyInto(out *EtcdHorizontalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdOpsRequest ¶
type EtcdOpsRequest struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EtcdOpsRequestSpec `json:"spec,omitempty"` Status OpsRequestStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=etcdopsrequests,singular=etcdopsrequest,shortName=etcdops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (EtcdOpsRequest) CustomResourceDefinition ¶
func (_ EtcdOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*EtcdOpsRequest) DeepCopy ¶
func (in *EtcdOpsRequest) DeepCopy() *EtcdOpsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdOpsRequest.
func (*EtcdOpsRequest) DeepCopyInto ¶
func (in *EtcdOpsRequest) DeepCopyInto(out *EtcdOpsRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EtcdOpsRequest) DeepCopyObject ¶
func (in *EtcdOpsRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EtcdOpsRequest) GetDBRefName ¶ added in v0.28.1
func (e *EtcdOpsRequest) GetDBRefName() string
func (*EtcdOpsRequest) GetObjectMeta ¶ added in v0.28.1
func (e *EtcdOpsRequest) GetObjectMeta() metav1.ObjectMeta
func (EtcdOpsRequest) GetRequestType ¶ added in v0.28.1
func (e EtcdOpsRequest) GetRequestType() any
func (*EtcdOpsRequest) GetStatus ¶ added in v0.28.1
func (e *EtcdOpsRequest) GetStatus() OpsRequestStatus
func (EtcdOpsRequest) GetUpdateVersionSpec ¶ added in v0.33.0
func (e EtcdOpsRequest) GetUpdateVersionSpec() *EtcdUpdateVersionSpec
func (EtcdOpsRequest) ResourceFQN ¶ added in v0.16.0
func (e EtcdOpsRequest) ResourceFQN() string
func (EtcdOpsRequest) ResourceKind ¶
func (e EtcdOpsRequest) ResourceKind() string
func (EtcdOpsRequest) ResourcePlural ¶
func (e EtcdOpsRequest) ResourcePlural() string
func (EtcdOpsRequest) ResourceShortCode ¶
func (e EtcdOpsRequest) ResourceShortCode() string
func (EtcdOpsRequest) ResourceSingular ¶
func (e EtcdOpsRequest) ResourceSingular() string
func (*EtcdOpsRequest) SetStatus ¶ added in v0.28.1
func (e *EtcdOpsRequest) SetStatus(s OpsRequestStatus)
func (EtcdOpsRequest) ValidateSpecs ¶
func (e EtcdOpsRequest) ValidateSpecs() error
type EtcdOpsRequestList ¶
type EtcdOpsRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of EtcdOpsRequest CRD objects Items []EtcdOpsRequest `json:"items,omitempty"` }
EtcdOpsRequestList is a list of EtcdOpsRequests
func (*EtcdOpsRequestList) DeepCopy ¶
func (in *EtcdOpsRequestList) DeepCopy() *EtcdOpsRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdOpsRequestList.
func (*EtcdOpsRequestList) DeepCopyInto ¶
func (in *EtcdOpsRequestList) DeepCopyInto(out *EtcdOpsRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EtcdOpsRequestList) DeepCopyObject ¶
func (in *EtcdOpsRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EtcdOpsRequestSpec ¶
type EtcdOpsRequestSpec struct { // Specifies the Etcd reference DatabaseRef core.LocalObjectReference `json:"databaseRef"` // Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc. Type EtcdOpsRequestType `json:"type"` // Specifies information necessary for upgrading Etcd UpdateVersion *EtcdUpdateVersionSpec `json:"updateVersion,omitempty"` // Specifies information necessary for horizontal scaling HorizontalScaling *EtcdHorizontalScalingSpec `json:"horizontalScaling,omitempty"` // Specifies information necessary for vertical scaling VerticalScaling *EtcdVerticalScalingSpec `json:"verticalScaling,omitempty"` // Specifies information necessary for volume expansion VolumeExpansion *EtcdVolumeExpansionSpec `json:"volumeExpansion,omitempty"` // Specifies information necessary for custom configuration of Etcd Configuration *EtcdCustomConfigurationSpec `json:"configuration,omitempty"` // Specifies information necessary for configuring TLS TLS *TLSSpec `json:"tls,omitempty"` // Specifies information necessary for restarting database Restart *RestartSpec `json:"restart,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply ApplyOption `json:"apply,omitempty"` }
EtcdOpsRequestSpec is the spec for EtcdOpsRequest
func (*EtcdOpsRequestSpec) DeepCopy ¶
func (in *EtcdOpsRequestSpec) DeepCopy() *EtcdOpsRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdOpsRequestSpec.
func (*EtcdOpsRequestSpec) DeepCopyInto ¶
func (in *EtcdOpsRequestSpec) DeepCopyInto(out *EtcdOpsRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdOpsRequestType ¶ added in v0.29.0
type EtcdOpsRequestType string
+kubebuilder:validation:Enum=UpdateVersion;HorizontalScaling;VerticalScaling;VolumeExpansion;Restart;Reconfigure;ReconfigureTLS ENUM(UpdateVersion, HorizontalScaling, VerticalScaling, VolumeExpansion, Restart, Reconfigure, ReconfigureTLS)
const ( // EtcdOpsRequestTypeUpdateVersion is a EtcdOpsRequestType of type UpdateVersion. EtcdOpsRequestTypeUpdateVersion EtcdOpsRequestType = "UpdateVersion" // EtcdOpsRequestTypeHorizontalScaling is a EtcdOpsRequestType of type HorizontalScaling. EtcdOpsRequestTypeHorizontalScaling EtcdOpsRequestType = "HorizontalScaling" // EtcdOpsRequestTypeVerticalScaling is a EtcdOpsRequestType of type VerticalScaling. EtcdOpsRequestTypeVerticalScaling EtcdOpsRequestType = "VerticalScaling" // EtcdOpsRequestTypeVolumeExpansion is a EtcdOpsRequestType of type VolumeExpansion. EtcdOpsRequestTypeVolumeExpansion EtcdOpsRequestType = "VolumeExpansion" // EtcdOpsRequestTypeRestart is a EtcdOpsRequestType of type Restart. EtcdOpsRequestTypeRestart EtcdOpsRequestType = "Restart" // EtcdOpsRequestTypeReconfigure is a EtcdOpsRequestType of type Reconfigure. EtcdOpsRequestTypeReconfigure EtcdOpsRequestType = "Reconfigure" // EtcdOpsRequestTypeReconfigureTLS is a EtcdOpsRequestType of type ReconfigureTLS. EtcdOpsRequestTypeReconfigureTLS EtcdOpsRequestType = "ReconfigureTLS" )
func EtcdOpsRequestTypeValues ¶ added in v0.33.0
func EtcdOpsRequestTypeValues() []EtcdOpsRequestType
EtcdOpsRequestTypeValues returns a list of the values for EtcdOpsRequestType
func MustParseEtcdOpsRequestType ¶ added in v0.33.0
func MustParseEtcdOpsRequestType(name string) EtcdOpsRequestType
MustParseEtcdOpsRequestType converts a string to a EtcdOpsRequestType, and panics if is not valid.
func ParseEtcdOpsRequestType ¶ added in v0.33.0
func ParseEtcdOpsRequestType(name string) (EtcdOpsRequestType, error)
ParseEtcdOpsRequestType attempts to convert a string to a EtcdOpsRequestType.
func (EtcdOpsRequestType) IsValid ¶ added in v0.33.0
func (x EtcdOpsRequestType) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (EtcdOpsRequestType) String ¶ added in v0.33.0
func (x EtcdOpsRequestType) String() string
String implements the Stringer interface.
type EtcdReplicaReadinessCriteria ¶
type EtcdReplicaReadinessCriteria struct{}
EtcdReplicaReadinessCriteria is the criteria for checking readiness of a Etcd pod after updating, horizontal scaling etc.
func (*EtcdReplicaReadinessCriteria) DeepCopy ¶
func (in *EtcdReplicaReadinessCriteria) DeepCopy() *EtcdReplicaReadinessCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdReplicaReadinessCriteria.
func (*EtcdReplicaReadinessCriteria) DeepCopyInto ¶
func (in *EtcdReplicaReadinessCriteria) DeepCopyInto(out *EtcdReplicaReadinessCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdUpdateVersionSpec ¶ added in v0.33.0
type EtcdUpdateVersionSpec struct { // Specifies the target version name from catalog TargetVersion string `json:"targetVersion,omitempty"` ReadinessCriteria *EtcdReplicaReadinessCriteria `json:"readinessCriteria,omitempty"` }
func (*EtcdUpdateVersionSpec) DeepCopy ¶ added in v0.33.0
func (in *EtcdUpdateVersionSpec) DeepCopy() *EtcdUpdateVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdUpdateVersionSpec.
func (*EtcdUpdateVersionSpec) DeepCopyInto ¶ added in v0.33.0
func (in *EtcdUpdateVersionSpec) DeepCopyInto(out *EtcdUpdateVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdVerticalScalingSpec ¶
type EtcdVerticalScalingSpec struct {
ReadinessCriteria *EtcdReplicaReadinessCriteria `json:"readinessCriteria,omitempty"`
}
EtcdVerticalScalingSpec is the spec for Etcd vertical scaling
func (*EtcdVerticalScalingSpec) DeepCopy ¶
func (in *EtcdVerticalScalingSpec) DeepCopy() *EtcdVerticalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdVerticalScalingSpec.
func (*EtcdVerticalScalingSpec) DeepCopyInto ¶
func (in *EtcdVerticalScalingSpec) DeepCopyInto(out *EtcdVerticalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdVolumeExpansionSpec ¶
type EtcdVolumeExpansionSpec struct{}
EtcdVolumeExpansionSpec is the spec for Etcd volume expansion
func (*EtcdVolumeExpansionSpec) DeepCopy ¶
func (in *EtcdVolumeExpansionSpec) DeepCopy() *EtcdVolumeExpansionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdVolumeExpansionSpec.
func (*EtcdVolumeExpansionSpec) DeepCopyInto ¶
func (in *EtcdVolumeExpansionSpec) DeepCopyInto(out *EtcdVolumeExpansionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HiddenNode ¶ added in v0.29.0
type HiddenNode struct {
Replicas int32 `json:"replicas,omitempty"`
}
func (*HiddenNode) DeepCopy ¶ added in v0.29.0
func (in *HiddenNode) DeepCopy() *HiddenNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HiddenNode.
func (*HiddenNode) DeepCopyInto ¶ added in v0.29.0
func (in *HiddenNode) DeepCopyInto(out *HiddenNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBCustomConfiguration ¶
type MariaDBCustomConfiguration struct { ConfigMap *core.LocalObjectReference `json:"configMap,omitempty"` Data map[string]string `json:"data,omitempty"` Remove bool `json:"remove,omitempty"` }
func (*MariaDBCustomConfiguration) DeepCopy ¶
func (in *MariaDBCustomConfiguration) DeepCopy() *MariaDBCustomConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBCustomConfiguration.
func (*MariaDBCustomConfiguration) DeepCopyInto ¶
func (in *MariaDBCustomConfiguration) DeepCopyInto(out *MariaDBCustomConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBCustomConfigurationSpec ¶
type MariaDBCustomConfigurationSpec struct { // ConfigSecret is an optional field to provide custom configuration file for database. // +optional ConfigSecret *core.LocalObjectReference `json:"configSecret,omitempty"` // Deprecated InlineConfig string `json:"inlineConfig,omitempty"` // If set to "true", the user provided configuration will be removed. // MariaDB will start will default configuration that is generated by the operator. // +optional RemoveCustomConfig bool `json:"removeCustomConfig,omitempty"` // ApplyConfig is an optional field to provide MariaDB configuration. // Provided configuration will be applied to config files stored in ConfigSecret. // If the ConfigSecret is missing, the operator will create a new k8s secret by the // following naming convention: {db-name}-user-config . // Expected input format: // applyConfig: // file-name.cnf: | // [mysqld] // key1: value1 // key2: value2 // +optional ApplyConfig map[string]string `json:"applyConfig,omitempty"` }
func (*MariaDBCustomConfigurationSpec) DeepCopy ¶
func (in *MariaDBCustomConfigurationSpec) DeepCopy() *MariaDBCustomConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBCustomConfigurationSpec.
func (*MariaDBCustomConfigurationSpec) DeepCopyInto ¶
func (in *MariaDBCustomConfigurationSpec) DeepCopyInto(out *MariaDBCustomConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBHorizontalScalingSpec ¶
type MariaDBHorizontalScalingSpec struct { // Number of nodes/members of the group Member *int32 `json:"member,omitempty"` // specifies the weight of the current member/Node MemberWeight int32 `json:"memberWeight,omitempty"` }
func (*MariaDBHorizontalScalingSpec) DeepCopy ¶
func (in *MariaDBHorizontalScalingSpec) DeepCopy() *MariaDBHorizontalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBHorizontalScalingSpec.
func (*MariaDBHorizontalScalingSpec) DeepCopyInto ¶
func (in *MariaDBHorizontalScalingSpec) DeepCopyInto(out *MariaDBHorizontalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBOpsRequest ¶
type MariaDBOpsRequest struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MariaDBOpsRequestSpec `json:"spec,omitempty"` Status OpsRequestStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=mariadbopsrequests,singular=mariadbopsrequest,shortName=mariaops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (MariaDBOpsRequest) CustomResourceDefinition ¶
func (m MariaDBOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*MariaDBOpsRequest) DeepCopy ¶
func (in *MariaDBOpsRequest) DeepCopy() *MariaDBOpsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBOpsRequest.
func (*MariaDBOpsRequest) DeepCopyInto ¶
func (in *MariaDBOpsRequest) DeepCopyInto(out *MariaDBOpsRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MariaDBOpsRequest) DeepCopyObject ¶
func (in *MariaDBOpsRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MariaDBOpsRequest) GetDBRefName ¶ added in v0.28.1
func (m *MariaDBOpsRequest) GetDBRefName() string
func (MariaDBOpsRequest) GetKey ¶
func (m MariaDBOpsRequest) GetKey() string
func (*MariaDBOpsRequest) GetObjectMeta ¶ added in v0.28.1
func (m *MariaDBOpsRequest) GetObjectMeta() metav1.ObjectMeta
func (MariaDBOpsRequest) GetRequestType ¶ added in v0.28.1
func (m MariaDBOpsRequest) GetRequestType() any
func (*MariaDBOpsRequest) GetStatus ¶ added in v0.28.1
func (m *MariaDBOpsRequest) GetStatus() OpsRequestStatus
func (MariaDBOpsRequest) GetUpdateVersionSpec ¶ added in v0.33.0
func (m MariaDBOpsRequest) GetUpdateVersionSpec() *MariaDBUpdateVersionSpec
func (MariaDBOpsRequest) OffshootLabels ¶
func (m MariaDBOpsRequest) OffshootLabels() map[string]string
func (MariaDBOpsRequest) OffshootName ¶
func (m MariaDBOpsRequest) OffshootName() string
func (MariaDBOpsRequest) OffshootSelectors ¶
func (m MariaDBOpsRequest) OffshootSelectors() map[string]string
func (MariaDBOpsRequest) ResourceFQN ¶ added in v0.16.0
func (m MariaDBOpsRequest) ResourceFQN() string
func (MariaDBOpsRequest) ResourceKind ¶
func (m MariaDBOpsRequest) ResourceKind() string
func (MariaDBOpsRequest) ResourcePlural ¶
func (m MariaDBOpsRequest) ResourcePlural() string
func (MariaDBOpsRequest) ResourceShortCode ¶
func (m MariaDBOpsRequest) ResourceShortCode() string
func (MariaDBOpsRequest) ResourceSingular ¶
func (m MariaDBOpsRequest) ResourceSingular() string
func (*MariaDBOpsRequest) SetStatus ¶ added in v0.28.1
func (m *MariaDBOpsRequest) SetStatus(s OpsRequestStatus)
func (MariaDBOpsRequest) ValidateSpecs ¶
func (m MariaDBOpsRequest) ValidateSpecs() error
type MariaDBOpsRequestList ¶
type MariaDBOpsRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of MariaDBOpsRequest CRD objects Items []MariaDBOpsRequest `json:"items,omitempty"` }
MariaDBOpsRequestList is a list of MariaDBOpsRequests
func (*MariaDBOpsRequestList) DeepCopy ¶
func (in *MariaDBOpsRequestList) DeepCopy() *MariaDBOpsRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBOpsRequestList.
func (*MariaDBOpsRequestList) DeepCopyInto ¶
func (in *MariaDBOpsRequestList) DeepCopyInto(out *MariaDBOpsRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MariaDBOpsRequestList) DeepCopyObject ¶
func (in *MariaDBOpsRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MariaDBOpsRequestSpec ¶
type MariaDBOpsRequestSpec struct { // Specifies the MariaDB reference DatabaseRef core.LocalObjectReference `json:"databaseRef"` // Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc. Type MariaDBOpsRequestType `json:"type"` // Specifies information necessary for upgrading MariaDB UpdateVersion *MariaDBUpdateVersionSpec `json:"updateVersion,omitempty"` // Specifies information necessary for upgrading MariaDB // Deprecated: use UpdateVersion Upgrade *MariaDBUpdateVersionSpec `json:"upgrade,omitempty"` // Specifies information necessary for horizontal scaling HorizontalScaling *MariaDBHorizontalScalingSpec `json:"horizontalScaling,omitempty"` // Specifies information necessary for vertical scaling VerticalScaling *MariaDBVerticalScalingSpec `json:"verticalScaling,omitempty"` // Specifies information necessary for volume expansion VolumeExpansion *MariaDBVolumeExpansionSpec `json:"volumeExpansion,omitempty"` // Specifies information necessary for custom configuration of MariaDB Configuration *MariaDBCustomConfigurationSpec `json:"configuration,omitempty"` // Specifies information necessary for configuring TLS TLS *MariaDBTLSSpec `json:"tls,omitempty"` // Specifies information necessary for restarting database Restart *RestartSpec `json:"restart,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 ApplyOption `json:"apply,omitempty"` }
MariaDBOpsRequestSpec is the spec for MariaDBOpsRequest
func (*MariaDBOpsRequestSpec) DeepCopy ¶
func (in *MariaDBOpsRequestSpec) DeepCopy() *MariaDBOpsRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBOpsRequestSpec.
func (*MariaDBOpsRequestSpec) DeepCopyInto ¶
func (in *MariaDBOpsRequestSpec) DeepCopyInto(out *MariaDBOpsRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBOpsRequestType ¶ added in v0.29.0
type MariaDBOpsRequestType string
+kubebuilder:validation:Enum=Upgrade;UpdateVersion;HorizontalScaling;VerticalScaling;VolumeExpansion;Restart;Reconfigure;ReconfigureTLS ENUM(Upgrade, UpdateVersion, HorizontalScaling, VerticalScaling, VolumeExpansion, Restart, Reconfigure, ReconfigureTLS)
const ( // MariaDBOpsRequestTypeUpgrade is a MariaDBOpsRequestType of type Upgrade. MariaDBOpsRequestTypeUpgrade MariaDBOpsRequestType = "Upgrade" // MariaDBOpsRequestTypeUpdateVersion is a MariaDBOpsRequestType of type UpdateVersion. MariaDBOpsRequestTypeUpdateVersion MariaDBOpsRequestType = "UpdateVersion" // MariaDBOpsRequestTypeHorizontalScaling is a MariaDBOpsRequestType of type HorizontalScaling. MariaDBOpsRequestTypeHorizontalScaling MariaDBOpsRequestType = "HorizontalScaling" // MariaDBOpsRequestTypeVerticalScaling is a MariaDBOpsRequestType of type VerticalScaling. MariaDBOpsRequestTypeVerticalScaling MariaDBOpsRequestType = "VerticalScaling" // MariaDBOpsRequestTypeVolumeExpansion is a MariaDBOpsRequestType of type VolumeExpansion. MariaDBOpsRequestTypeVolumeExpansion MariaDBOpsRequestType = "VolumeExpansion" // MariaDBOpsRequestTypeRestart is a MariaDBOpsRequestType of type Restart. MariaDBOpsRequestTypeRestart MariaDBOpsRequestType = "Restart" // MariaDBOpsRequestTypeReconfigure is a MariaDBOpsRequestType of type Reconfigure. MariaDBOpsRequestTypeReconfigure MariaDBOpsRequestType = "Reconfigure" // MariaDBOpsRequestTypeReconfigureTLS is a MariaDBOpsRequestType of type ReconfigureTLS. MariaDBOpsRequestTypeReconfigureTLS MariaDBOpsRequestType = "ReconfigureTLS" )
func MariaDBOpsRequestTypeValues ¶ added in v0.33.0
func MariaDBOpsRequestTypeValues() []MariaDBOpsRequestType
MariaDBOpsRequestTypeValues returns a list of the values for MariaDBOpsRequestType
func MustParseMariaDBOpsRequestType ¶ added in v0.33.0
func MustParseMariaDBOpsRequestType(name string) MariaDBOpsRequestType
MustParseMariaDBOpsRequestType converts a string to a MariaDBOpsRequestType, and panics if is not valid.
func ParseMariaDBOpsRequestType ¶ added in v0.33.0
func ParseMariaDBOpsRequestType(name string) (MariaDBOpsRequestType, error)
ParseMariaDBOpsRequestType attempts to convert a string to a MariaDBOpsRequestType.
func (MariaDBOpsRequestType) IsValid ¶ added in v0.33.0
func (x MariaDBOpsRequestType) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (MariaDBOpsRequestType) String ¶ added in v0.33.0
func (x MariaDBOpsRequestType) String() string
String implements the Stringer interface.
type MariaDBReplicaReadinessCriteria ¶
type MariaDBReplicaReadinessCriteria struct{}
MariaDBReplicaReadinessCriteria is the criteria for checking readiness of an MariaDB database
func (*MariaDBReplicaReadinessCriteria) DeepCopy ¶
func (in *MariaDBReplicaReadinessCriteria) DeepCopy() *MariaDBReplicaReadinessCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBReplicaReadinessCriteria.
func (*MariaDBReplicaReadinessCriteria) DeepCopyInto ¶
func (in *MariaDBReplicaReadinessCriteria) DeepCopyInto(out *MariaDBReplicaReadinessCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBTLSSpec ¶ added in v0.19.0
type MariaDBTLSSpec struct { TLSSpec `json:",inline,omitempty"` // Indicates that the database server need to be encrypted connections(ssl) // +optional RequireSSL *bool `json:"requireSSL,omitempty"` }
func (*MariaDBTLSSpec) DeepCopy ¶ added in v0.19.0
func (in *MariaDBTLSSpec) DeepCopy() *MariaDBTLSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBTLSSpec.
func (*MariaDBTLSSpec) DeepCopyInto ¶ added in v0.19.0
func (in *MariaDBTLSSpec) DeepCopyInto(out *MariaDBTLSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBUpdateVersionSpec ¶ added in v0.33.0
type MariaDBUpdateVersionSpec struct { // Specifies the target version name from catalog TargetVersion string `json:"targetVersion,omitempty"` }
func (*MariaDBUpdateVersionSpec) DeepCopy ¶ added in v0.33.0
func (in *MariaDBUpdateVersionSpec) DeepCopy() *MariaDBUpdateVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBUpdateVersionSpec.
func (*MariaDBUpdateVersionSpec) DeepCopyInto ¶ added in v0.33.0
func (in *MariaDBUpdateVersionSpec) DeepCopyInto(out *MariaDBUpdateVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBVerticalScalingSpec ¶
type MariaDBVerticalScalingSpec struct { MariaDB *core.ResourceRequirements `json:"mariadb,omitempty"` Exporter *core.ResourceRequirements `json:"exporter,omitempty"` Coordinator *core.ResourceRequirements `json:"coordinator,omitempty"` }
func (*MariaDBVerticalScalingSpec) DeepCopy ¶
func (in *MariaDBVerticalScalingSpec) DeepCopy() *MariaDBVerticalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBVerticalScalingSpec.
func (*MariaDBVerticalScalingSpec) DeepCopyInto ¶
func (in *MariaDBVerticalScalingSpec) DeepCopyInto(out *MariaDBVerticalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBVolumeExpansionSpec ¶
type MariaDBVolumeExpansionSpec struct { MariaDB *resource.Quantity `json:"mariadb,omitempty"` Mode *VolumeExpansionMode `json:"mode,omitempty"` }
MariaDBVolumeExpansionSpec is the spec for MariaDB volume expansion
func (*MariaDBVolumeExpansionSpec) DeepCopy ¶
func (in *MariaDBVolumeExpansionSpec) DeepCopy() *MariaDBVolumeExpansionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBVolumeExpansionSpec.
func (*MariaDBVolumeExpansionSpec) DeepCopyInto ¶
func (in *MariaDBVolumeExpansionSpec) DeepCopyInto(out *MariaDBVolumeExpansionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcachedCustomConfiguration ¶
type MemcachedCustomConfiguration struct { ConfigMap *core.LocalObjectReference `json:"configMap,omitempty"` Data map[string]string `json:"data,omitempty"` Remove bool `json:"remove,omitempty"` }
func (*MemcachedCustomConfiguration) DeepCopy ¶
func (in *MemcachedCustomConfiguration) DeepCopy() *MemcachedCustomConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedCustomConfiguration.
func (*MemcachedCustomConfiguration) DeepCopyInto ¶
func (in *MemcachedCustomConfiguration) DeepCopyInto(out *MemcachedCustomConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcachedCustomConfigurationSpec ¶
type MemcachedCustomConfigurationSpec struct{}
func (*MemcachedCustomConfigurationSpec) DeepCopy ¶
func (in *MemcachedCustomConfigurationSpec) DeepCopy() *MemcachedCustomConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedCustomConfigurationSpec.
func (*MemcachedCustomConfigurationSpec) DeepCopyInto ¶
func (in *MemcachedCustomConfigurationSpec) DeepCopyInto(out *MemcachedCustomConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcachedHorizontalScalingSpec ¶
type MemcachedHorizontalScalingSpec struct{}
HorizontalScaling is the spec for Memcached horizontal scaling
func (*MemcachedHorizontalScalingSpec) DeepCopy ¶
func (in *MemcachedHorizontalScalingSpec) DeepCopy() *MemcachedHorizontalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedHorizontalScalingSpec.
func (*MemcachedHorizontalScalingSpec) DeepCopyInto ¶
func (in *MemcachedHorizontalScalingSpec) DeepCopyInto(out *MemcachedHorizontalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcachedOpsRequest ¶
type MemcachedOpsRequest struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MemcachedOpsRequestSpec `json:"spec,omitempty"` Status OpsRequestStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=memcachedopsrequests,singular=memcachedopsrequest,shortName=mcops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (MemcachedOpsRequest) CustomResourceDefinition ¶
func (m MemcachedOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*MemcachedOpsRequest) DeepCopy ¶
func (in *MemcachedOpsRequest) DeepCopy() *MemcachedOpsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedOpsRequest.
func (*MemcachedOpsRequest) DeepCopyInto ¶
func (in *MemcachedOpsRequest) DeepCopyInto(out *MemcachedOpsRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MemcachedOpsRequest) DeepCopyObject ¶
func (in *MemcachedOpsRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MemcachedOpsRequest) GetDBRefName ¶ added in v0.28.1
func (m *MemcachedOpsRequest) GetDBRefName() string
func (*MemcachedOpsRequest) GetObjectMeta ¶ added in v0.28.1
func (m *MemcachedOpsRequest) GetObjectMeta() metav1.ObjectMeta
func (MemcachedOpsRequest) GetRequestType ¶ added in v0.28.1
func (m MemcachedOpsRequest) GetRequestType() any
func (*MemcachedOpsRequest) GetStatus ¶ added in v0.28.1
func (m *MemcachedOpsRequest) GetStatus() OpsRequestStatus
func (MemcachedOpsRequest) GetUpdateVersionSpec ¶ added in v0.33.0
func (m MemcachedOpsRequest) GetUpdateVersionSpec() *MemcachedUpdateVersionSpec
func (MemcachedOpsRequest) ResourceFQN ¶ added in v0.16.0
func (m MemcachedOpsRequest) ResourceFQN() string
func (MemcachedOpsRequest) ResourceKind ¶
func (m MemcachedOpsRequest) ResourceKind() string
func (MemcachedOpsRequest) ResourcePlural ¶
func (m MemcachedOpsRequest) ResourcePlural() string
func (MemcachedOpsRequest) ResourceShortCode ¶
func (m MemcachedOpsRequest) ResourceShortCode() string
func (MemcachedOpsRequest) ResourceSingular ¶
func (m MemcachedOpsRequest) ResourceSingular() string
func (*MemcachedOpsRequest) SetStatus ¶ added in v0.28.1
func (m *MemcachedOpsRequest) SetStatus(s OpsRequestStatus)
func (MemcachedOpsRequest) ValidateSpecs ¶
func (m MemcachedOpsRequest) ValidateSpecs() error
type MemcachedOpsRequestList ¶
type MemcachedOpsRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of MemcachedOpsRequest CRD objects Items []MemcachedOpsRequest `json:"items,omitempty"` }
MemcachedOpsRequestList is a list of MemcachedOpsRequests
func (*MemcachedOpsRequestList) DeepCopy ¶
func (in *MemcachedOpsRequestList) DeepCopy() *MemcachedOpsRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedOpsRequestList.
func (*MemcachedOpsRequestList) DeepCopyInto ¶
func (in *MemcachedOpsRequestList) DeepCopyInto(out *MemcachedOpsRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MemcachedOpsRequestList) DeepCopyObject ¶
func (in *MemcachedOpsRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MemcachedOpsRequestSpec ¶
type MemcachedOpsRequestSpec struct { // Specifies the Memcached reference DatabaseRef core.LocalObjectReference `json:"databaseRef"` // Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc. Type MemcachedOpsRequestType `json:"type"` // Specifies information necessary for upgrading Memcached UpdateVersion *MemcachedUpdateVersionSpec `json:"updateVersion,omitempty"` // Specifies information necessary for upgrading Memcached // Deprecated: use UpdateVersion Upgrade *MemcachedUpdateVersionSpec `json:"upgrade,omitempty"` // Specifies information necessary for horizontal scaling HorizontalScaling *MemcachedHorizontalScalingSpec `json:"horizontalScaling,omitempty"` // Specifies information necessary for vertical scaling VerticalScaling *MemcachedVerticalScalingSpec `json:"verticalScaling,omitempty"` // Specifies information necessary for volume expansion VolumeExpansion *MemcachedVolumeExpansionSpec `json:"volumeExpansion,omitempty"` // Specifies information necessary for custom configuration of Memcached Configuration *MemcachedCustomConfigurationSpec `json:"configuration,omitempty"` // Specifies information necessary for configuring TLS TLS *TLSSpec `json:"tls,omitempty"` // Specifies information necessary for restarting database Restart *RestartSpec `json:"restart,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply ApplyOption `json:"apply,omitempty"` }
MemcachedOpsRequestSpec is the spec for MemcachedOpsRequest
func (*MemcachedOpsRequestSpec) DeepCopy ¶
func (in *MemcachedOpsRequestSpec) DeepCopy() *MemcachedOpsRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedOpsRequestSpec.
func (*MemcachedOpsRequestSpec) DeepCopyInto ¶
func (in *MemcachedOpsRequestSpec) DeepCopyInto(out *MemcachedOpsRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcachedOpsRequestType ¶ added in v0.29.0
type MemcachedOpsRequestType string
+kubebuilder:validation:Enum=Upgrade;UpdateVersion;HorizontalScaling;VerticalScaling;VolumeExpansion;Restart;Reconfigure;ReconfigureTLS ENUM(Upgrade, UpdateVersion, HorizontalScaling, VerticalScaling, VolumeExpansion, Restart, Reconfigure, ReconfigureTLS)
const ( // MemcachedOpsRequestTypeUpgrade is a MemcachedOpsRequestType of type Upgrade. MemcachedOpsRequestTypeUpgrade MemcachedOpsRequestType = "Upgrade" // MemcachedOpsRequestTypeUpdateVersion is a MemcachedOpsRequestType of type UpdateVersion. MemcachedOpsRequestTypeUpdateVersion MemcachedOpsRequestType = "UpdateVersion" // MemcachedOpsRequestTypeHorizontalScaling is a MemcachedOpsRequestType of type HorizontalScaling. MemcachedOpsRequestTypeHorizontalScaling MemcachedOpsRequestType = "HorizontalScaling" // MemcachedOpsRequestTypeVerticalScaling is a MemcachedOpsRequestType of type VerticalScaling. MemcachedOpsRequestTypeVerticalScaling MemcachedOpsRequestType = "VerticalScaling" // MemcachedOpsRequestTypeVolumeExpansion is a MemcachedOpsRequestType of type VolumeExpansion. MemcachedOpsRequestTypeVolumeExpansion MemcachedOpsRequestType = "VolumeExpansion" // MemcachedOpsRequestTypeRestart is a MemcachedOpsRequestType of type Restart. MemcachedOpsRequestTypeRestart MemcachedOpsRequestType = "Restart" // MemcachedOpsRequestTypeReconfigure is a MemcachedOpsRequestType of type Reconfigure. MemcachedOpsRequestTypeReconfigure MemcachedOpsRequestType = "Reconfigure" // MemcachedOpsRequestTypeReconfigureTLS is a MemcachedOpsRequestType of type ReconfigureTLS. MemcachedOpsRequestTypeReconfigureTLS MemcachedOpsRequestType = "ReconfigureTLS" )
func MemcachedOpsRequestTypeValues ¶ added in v0.33.0
func MemcachedOpsRequestTypeValues() []MemcachedOpsRequestType
MemcachedOpsRequestTypeValues returns a list of the values for MemcachedOpsRequestType
func MustParseMemcachedOpsRequestType ¶ added in v0.33.0
func MustParseMemcachedOpsRequestType(name string) MemcachedOpsRequestType
MustParseMemcachedOpsRequestType converts a string to a MemcachedOpsRequestType, and panics if is not valid.
func ParseMemcachedOpsRequestType ¶ added in v0.33.0
func ParseMemcachedOpsRequestType(name string) (MemcachedOpsRequestType, error)
ParseMemcachedOpsRequestType attempts to convert a string to a MemcachedOpsRequestType.
func (MemcachedOpsRequestType) IsValid ¶ added in v0.33.0
func (x MemcachedOpsRequestType) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (MemcachedOpsRequestType) String ¶ added in v0.33.0
func (x MemcachedOpsRequestType) String() string
String implements the Stringer interface.
type MemcachedReplicaReadinessCriteria ¶
type MemcachedReplicaReadinessCriteria struct{}
MemcachedReplicaReadinessCriteria is the criteria for checking readiness of a Memcached pod after updating, horizontal scaling etc.
func (*MemcachedReplicaReadinessCriteria) DeepCopy ¶
func (in *MemcachedReplicaReadinessCriteria) DeepCopy() *MemcachedReplicaReadinessCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedReplicaReadinessCriteria.
func (*MemcachedReplicaReadinessCriteria) DeepCopyInto ¶
func (in *MemcachedReplicaReadinessCriteria) DeepCopyInto(out *MemcachedReplicaReadinessCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcachedUpdateVersionSpec ¶ added in v0.33.0
type MemcachedUpdateVersionSpec struct { // Specifies the target version name from catalog TargetVersion string `json:"targetVersion,omitempty"` ReadinessCriteria *MemcachedReplicaReadinessCriteria `json:"readinessCriteria,omitempty"` }
func (*MemcachedUpdateVersionSpec) DeepCopy ¶ added in v0.33.0
func (in *MemcachedUpdateVersionSpec) DeepCopy() *MemcachedUpdateVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedUpdateVersionSpec.
func (*MemcachedUpdateVersionSpec) DeepCopyInto ¶ added in v0.33.0
func (in *MemcachedUpdateVersionSpec) DeepCopyInto(out *MemcachedUpdateVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcachedVerticalScalingSpec ¶
type MemcachedVerticalScalingSpec struct {
ReadinessCriteria *MemcachedReplicaReadinessCriteria `json:"readinessCriteria,omitempty"`
}
MemcachedVerticalScalingSpec is the spec for Memcached vertical scaling
func (*MemcachedVerticalScalingSpec) DeepCopy ¶
func (in *MemcachedVerticalScalingSpec) DeepCopy() *MemcachedVerticalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedVerticalScalingSpec.
func (*MemcachedVerticalScalingSpec) DeepCopyInto ¶
func (in *MemcachedVerticalScalingSpec) DeepCopyInto(out *MemcachedVerticalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcachedVolumeExpansionSpec ¶
type MemcachedVolumeExpansionSpec struct{}
MemcachedVolumeExpansionSpec is the spec for Memcached volume expansion
func (*MemcachedVolumeExpansionSpec) DeepCopy ¶
func (in *MemcachedVolumeExpansionSpec) DeepCopy() *MemcachedVolumeExpansionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedVolumeExpansionSpec.
func (*MemcachedVolumeExpansionSpec) DeepCopyInto ¶
func (in *MemcachedVolumeExpansionSpec) DeepCopyInto(out *MemcachedVolumeExpansionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBCustomConfiguration ¶
type MongoDBCustomConfiguration struct { ConfigSecret *core.LocalObjectReference `json:"configSecret,omitempty"` // Deprecated InlineConfig string `json:"inlineConfig,omitempty"` ApplyConfig map[string]string `json:"applyConfig,omitempty"` RemoveCustomConfig bool `json:"removeCustomConfig,omitempty"` }
func (*MongoDBCustomConfiguration) DeepCopy ¶
func (in *MongoDBCustomConfiguration) DeepCopy() *MongoDBCustomConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBCustomConfiguration.
func (*MongoDBCustomConfiguration) DeepCopyInto ¶
func (in *MongoDBCustomConfiguration) DeepCopyInto(out *MongoDBCustomConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBCustomConfigurationSpec ¶
type MongoDBCustomConfigurationSpec struct { Standalone *MongoDBCustomConfiguration `json:"standalone,omitempty"` ReplicaSet *MongoDBCustomConfiguration `json:"replicaSet,omitempty"` Mongos *MongoDBCustomConfiguration `json:"mongos,omitempty"` ConfigServer *MongoDBCustomConfiguration `json:"configServer,omitempty"` Shard *MongoDBCustomConfiguration `json:"shard,omitempty"` Arbiter *MongoDBCustomConfiguration `json:"arbiter,omitempty"` Hidden *MongoDBCustomConfiguration `json:"hidden,omitempty"` }
func (*MongoDBCustomConfigurationSpec) DeepCopy ¶
func (in *MongoDBCustomConfigurationSpec) DeepCopy() *MongoDBCustomConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBCustomConfigurationSpec.
func (*MongoDBCustomConfigurationSpec) DeepCopyInto ¶
func (in *MongoDBCustomConfigurationSpec) DeepCopyInto(out *MongoDBCustomConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBHorizontalScalingSpec ¶
type MongoDBHorizontalScalingSpec struct { Shard *MongoDBShardNode `json:"shard,omitempty"` ConfigServer *ConfigNode `json:"configServer,omitempty"` Mongos *MongosNode `json:"mongos,omitempty"` Hidden *HiddenNode `json:"hidden,omitempty"` Replicas *int32 `json:"replicas,omitempty"` }
HorizontalScaling is the spec for mongodb horizontal scaling
func (*MongoDBHorizontalScalingSpec) DeepCopy ¶
func (in *MongoDBHorizontalScalingSpec) DeepCopy() *MongoDBHorizontalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBHorizontalScalingSpec.
func (*MongoDBHorizontalScalingSpec) DeepCopyInto ¶
func (in *MongoDBHorizontalScalingSpec) DeepCopyInto(out *MongoDBHorizontalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBOpsRequest ¶
type MongoDBOpsRequest struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MongoDBOpsRequestSpec `json:"spec,omitempty"` Status OpsRequestStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=mongodbopsrequests,singular=mongodbopsrequest,shortName=mgops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (MongoDBOpsRequest) CustomResourceDefinition ¶
func (m MongoDBOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*MongoDBOpsRequest) DeepCopy ¶
func (in *MongoDBOpsRequest) DeepCopy() *MongoDBOpsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBOpsRequest.
func (*MongoDBOpsRequest) DeepCopyInto ¶
func (in *MongoDBOpsRequest) DeepCopyInto(out *MongoDBOpsRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongoDBOpsRequest) DeepCopyObject ¶
func (in *MongoDBOpsRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MongoDBOpsRequest) GetDBRefName ¶ added in v0.28.1
func (m *MongoDBOpsRequest) GetDBRefName() string
func (*MongoDBOpsRequest) GetObjectMeta ¶ added in v0.28.1
func (m *MongoDBOpsRequest) GetObjectMeta() metav1.ObjectMeta
func (MongoDBOpsRequest) GetRequestType ¶ added in v0.28.1
func (m MongoDBOpsRequest) GetRequestType() any
func (*MongoDBOpsRequest) GetStatus ¶ added in v0.28.1
func (m *MongoDBOpsRequest) GetStatus() OpsRequestStatus
func (MongoDBOpsRequest) GetUpdateVersionSpec ¶ added in v0.33.0
func (m MongoDBOpsRequest) GetUpdateVersionSpec() *MongoDBUpdateVersionSpec
func (MongoDBOpsRequest) ResourceFQN ¶ added in v0.16.0
func (m MongoDBOpsRequest) ResourceFQN() string
func (MongoDBOpsRequest) ResourceKind ¶
func (m MongoDBOpsRequest) ResourceKind() string
func (MongoDBOpsRequest) ResourcePlural ¶
func (m MongoDBOpsRequest) ResourcePlural() string
func (MongoDBOpsRequest) ResourceShortCode ¶
func (m MongoDBOpsRequest) ResourceShortCode() string
func (MongoDBOpsRequest) ResourceSingular ¶
func (m MongoDBOpsRequest) ResourceSingular() string
func (*MongoDBOpsRequest) SetStatus ¶ added in v0.28.1
func (m *MongoDBOpsRequest) SetStatus(s OpsRequestStatus)
func (MongoDBOpsRequest) ValidateSpecs ¶
func (m MongoDBOpsRequest) ValidateSpecs() error
type MongoDBOpsRequestList ¶
type MongoDBOpsRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of MongoDBOpsRequest CRD objects Items []MongoDBOpsRequest `json:"items,omitempty"` }
MongoDBOpsRequestList is a list of MongoDBOpsRequests
func (*MongoDBOpsRequestList) DeepCopy ¶
func (in *MongoDBOpsRequestList) DeepCopy() *MongoDBOpsRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBOpsRequestList.
func (*MongoDBOpsRequestList) DeepCopyInto ¶
func (in *MongoDBOpsRequestList) DeepCopyInto(out *MongoDBOpsRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongoDBOpsRequestList) DeepCopyObject ¶
func (in *MongoDBOpsRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MongoDBOpsRequestSpec ¶
type MongoDBOpsRequestSpec struct { // Specifies the MongoDB reference DatabaseRef core.LocalObjectReference `json:"databaseRef"` // Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc. Type MongoDBOpsRequestType `json:"type"` // Specifies information necessary for upgrading MongoDB UpdateVersion *MongoDBUpdateVersionSpec `json:"updateVersion,omitempty"` // Specifies information necessary for upgrading MongoDB // Deprecated: use UpdateVersion Upgrade *MongoDBUpdateVersionSpec `json:"upgrade,omitempty"` // Specifies information necessary for horizontal scaling HorizontalScaling *MongoDBHorizontalScalingSpec `json:"horizontalScaling,omitempty"` // Specifies information necessary for vertical scaling VerticalScaling *MongoDBVerticalScalingSpec `json:"verticalScaling,omitempty"` // Specifies information necessary for volume expansion VolumeExpansion *MongoDBVolumeExpansionSpec `json:"volumeExpansion,omitempty"` // Specifies information necessary for custom configuration of MongoDB Configuration *MongoDBCustomConfigurationSpec `json:"configuration,omitempty"` // Specifies information necessary for configuring TLS TLS *TLSSpec `json:"tls,omitempty"` // Specifies information necessary for restarting database Restart *RestartSpec `json:"restart,omitempty"` // Specifies information necessary for reprovisioning database Reprovision *Reprovision `json:"reprovision,omitempty"` // Specifies the Readiness Criteria ReadinessCriteria *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 ApplyOption `json:"apply,omitempty"` }
MongoDBOpsRequestSpec is the spec for MongoDBOpsRequest
func (*MongoDBOpsRequestSpec) DeepCopy ¶
func (in *MongoDBOpsRequestSpec) DeepCopy() *MongoDBOpsRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBOpsRequestSpec.
func (*MongoDBOpsRequestSpec) DeepCopyInto ¶
func (in *MongoDBOpsRequestSpec) DeepCopyInto(out *MongoDBOpsRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBOpsRequestType ¶ added in v0.29.0
type MongoDBOpsRequestType string
+kubebuilder:validation:Enum=Upgrade;UpdateVersion;HorizontalScaling;VerticalScaling;VolumeExpansion;Restart;Reconfigure;ReconfigureTLS;Reprovision ENUM(Upgrade, UpdateVersion, HorizontalScaling, VerticalScaling, VolumeExpansion, Restart, Reconfigure, ReconfigureTLS, Reprovision)
const ( // MongoDBOpsRequestTypeUpgrade is a MongoDBOpsRequestType of type Upgrade. MongoDBOpsRequestTypeUpgrade MongoDBOpsRequestType = "Upgrade" // MongoDBOpsRequestTypeUpdateVersion is a MongoDBOpsRequestType of type UpdateVersion. MongoDBOpsRequestTypeUpdateVersion MongoDBOpsRequestType = "UpdateVersion" // MongoDBOpsRequestTypeHorizontalScaling is a MongoDBOpsRequestType of type HorizontalScaling. MongoDBOpsRequestTypeHorizontalScaling MongoDBOpsRequestType = "HorizontalScaling" // MongoDBOpsRequestTypeVerticalScaling is a MongoDBOpsRequestType of type VerticalScaling. MongoDBOpsRequestTypeVerticalScaling MongoDBOpsRequestType = "VerticalScaling" // MongoDBOpsRequestTypeVolumeExpansion is a MongoDBOpsRequestType of type VolumeExpansion. MongoDBOpsRequestTypeVolumeExpansion MongoDBOpsRequestType = "VolumeExpansion" // MongoDBOpsRequestTypeRestart is a MongoDBOpsRequestType of type Restart. MongoDBOpsRequestTypeRestart MongoDBOpsRequestType = "Restart" // MongoDBOpsRequestTypeReconfigure is a MongoDBOpsRequestType of type Reconfigure. MongoDBOpsRequestTypeReconfigure MongoDBOpsRequestType = "Reconfigure" // MongoDBOpsRequestTypeReconfigureTLS is a MongoDBOpsRequestType of type ReconfigureTLS. MongoDBOpsRequestTypeReconfigureTLS MongoDBOpsRequestType = "ReconfigureTLS" // MongoDBOpsRequestTypeReprovision is a MongoDBOpsRequestType of type Reprovision. MongoDBOpsRequestTypeReprovision MongoDBOpsRequestType = "Reprovision" )
func MongoDBOpsRequestTypeValues ¶ added in v0.33.0
func MongoDBOpsRequestTypeValues() []MongoDBOpsRequestType
MongoDBOpsRequestTypeValues returns a list of the values for MongoDBOpsRequestType
func MustParseMongoDBOpsRequestType ¶ added in v0.33.0
func MustParseMongoDBOpsRequestType(name string) MongoDBOpsRequestType
MustParseMongoDBOpsRequestType converts a string to a MongoDBOpsRequestType, and panics if is not valid.
func ParseMongoDBOpsRequestType ¶ added in v0.33.0
func ParseMongoDBOpsRequestType(name string) (MongoDBOpsRequestType, error)
ParseMongoDBOpsRequestType attempts to convert a string to a MongoDBOpsRequestType.
func (MongoDBOpsRequestType) IsValid ¶ added in v0.33.0
func (x MongoDBOpsRequestType) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (MongoDBOpsRequestType) String ¶ added in v0.33.0
func (x MongoDBOpsRequestType) String() string
String implements the Stringer interface.
type MongoDBReplicaReadinessCriteria ¶
type MongoDBReplicaReadinessCriteria struct { // +kubebuilder:validation:Minimum:=0 OplogMaxLagSeconds int32 `json:"oplogMaxLagSeconds,omitempty"` // +kubebuilder:validation:Minimum:=0 // +kubebuilder:validation:Maximum:=100 ObjectsCountDiffPercentage int32 `json:"objectsCountDiffPercentage,omitempty"` }
MongoDBReplicaReadinessCriteria is the criteria for checking readiness of a MongoDB pod after restarting the pod
func (*MongoDBReplicaReadinessCriteria) DeepCopy ¶
func (in *MongoDBReplicaReadinessCriteria) DeepCopy() *MongoDBReplicaReadinessCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBReplicaReadinessCriteria.
func (*MongoDBReplicaReadinessCriteria) DeepCopyInto ¶
func (in *MongoDBReplicaReadinessCriteria) DeepCopyInto(out *MongoDBReplicaReadinessCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBShardNode ¶
type MongoDBShardNode struct { Shards int32 `json:"shards,omitempty"` Replicas int32 `json:"replicas,omitempty"` }
MongoDBShardNode is the spec for mongodb Shard
func (*MongoDBShardNode) DeepCopy ¶
func (in *MongoDBShardNode) DeepCopy() *MongoDBShardNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBShardNode.
func (*MongoDBShardNode) DeepCopyInto ¶
func (in *MongoDBShardNode) DeepCopyInto(out *MongoDBShardNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBUpdateVersionSpec ¶ added in v0.33.0
type MongoDBUpdateVersionSpec struct { // Specifies the target version name from catalog TargetVersion string `json:"targetVersion,omitempty"` }
func (*MongoDBUpdateVersionSpec) DeepCopy ¶ added in v0.33.0
func (in *MongoDBUpdateVersionSpec) DeepCopy() *MongoDBUpdateVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBUpdateVersionSpec.
func (*MongoDBUpdateVersionSpec) DeepCopyInto ¶ added in v0.33.0
func (in *MongoDBUpdateVersionSpec) DeepCopyInto(out *MongoDBUpdateVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBVerticalScalingSpec ¶
type MongoDBVerticalScalingSpec struct { Standalone *core.ResourceRequirements `json:"standalone,omitempty"` ReplicaSet *core.ResourceRequirements `json:"replicaSet,omitempty"` Mongos *core.ResourceRequirements `json:"mongos,omitempty"` ConfigServer *core.ResourceRequirements `json:"configServer,omitempty"` Shard *core.ResourceRequirements `json:"shard,omitempty"` Arbiter *core.ResourceRequirements `json:"arbiter,omitempty"` Hidden *core.ResourceRequirements `json:"hidden,omitempty"` Exporter *core.ResourceRequirements `json:"exporter,omitempty"` Coordinator *core.ResourceRequirements `json:"coordinator,omitempty"` }
MongoDBVerticalScalingSpec is the spec for mongodb vertical scaling
func (*MongoDBVerticalScalingSpec) DeepCopy ¶
func (in *MongoDBVerticalScalingSpec) DeepCopy() *MongoDBVerticalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBVerticalScalingSpec.
func (*MongoDBVerticalScalingSpec) DeepCopyInto ¶
func (in *MongoDBVerticalScalingSpec) DeepCopyInto(out *MongoDBVerticalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBVolumeExpansionSpec ¶
type MongoDBVolumeExpansionSpec struct { // +kubebuilder:default="Online" Mode *VolumeExpansionMode `json:"mode,omitempty"` Standalone *resource.Quantity `json:"standalone,omitempty"` ReplicaSet *resource.Quantity `json:"replicaSet,omitempty"` ConfigServer *resource.Quantity `json:"configServer,omitempty"` Shard *resource.Quantity `json:"shard,omitempty"` Hidden *resource.Quantity `json:"hidden,omitempty"` }
MongoDBVolumeExpansionSpec is the spec for mongodb volume expansion
func (*MongoDBVolumeExpansionSpec) DeepCopy ¶
func (in *MongoDBVolumeExpansionSpec) DeepCopy() *MongoDBVolumeExpansionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBVolumeExpansionSpec.
func (*MongoDBVolumeExpansionSpec) DeepCopyInto ¶
func (in *MongoDBVolumeExpansionSpec) DeepCopyInto(out *MongoDBVolumeExpansionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongosNode ¶
type MongosNode struct {
Replicas int32 `json:"replicas,omitempty"`
}
MongosNode is the spec for mongodb Mongos
func (*MongosNode) DeepCopy ¶
func (in *MongosNode) DeepCopy() *MongosNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongosNode.
func (*MongosNode) DeepCopyInto ¶
func (in *MongosNode) DeepCopyInto(out *MongosNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLCustomConfigurationSpec ¶
type MySQLCustomConfigurationSpec struct { ConfigSecret *core.LocalObjectReference `json:"configSecret,omitempty"` InlineConfig string `json:"inlineConfig,omitempty"` RemoveCustomConfig bool `json:"removeCustomConfig,omitempty"` }
func (*MySQLCustomConfigurationSpec) DeepCopy ¶
func (in *MySQLCustomConfigurationSpec) DeepCopy() *MySQLCustomConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLCustomConfigurationSpec.
func (*MySQLCustomConfigurationSpec) DeepCopyInto ¶
func (in *MySQLCustomConfigurationSpec) DeepCopyInto(out *MySQLCustomConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLHorizontalScalingSpec ¶
type MySQLHorizontalScalingSpec struct { // Number of nodes/members of the group Member *int32 `json:"member,omitempty"` }
func (*MySQLHorizontalScalingSpec) DeepCopy ¶
func (in *MySQLHorizontalScalingSpec) DeepCopy() *MySQLHorizontalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLHorizontalScalingSpec.
func (*MySQLHorizontalScalingSpec) DeepCopyInto ¶
func (in *MySQLHorizontalScalingSpec) DeepCopyInto(out *MySQLHorizontalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLOpsRequest ¶
type MySQLOpsRequest struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MySQLOpsRequestSpec `json:"spec,omitempty"` Status OpsRequestStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=mysqlopsrequests,singular=mysqlopsrequest,shortName=myops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (MySQLOpsRequest) CustomResourceDefinition ¶
func (m MySQLOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*MySQLOpsRequest) DeepCopy ¶
func (in *MySQLOpsRequest) DeepCopy() *MySQLOpsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLOpsRequest.
func (*MySQLOpsRequest) DeepCopyInto ¶
func (in *MySQLOpsRequest) DeepCopyInto(out *MySQLOpsRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQLOpsRequest) DeepCopyObject ¶
func (in *MySQLOpsRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MySQLOpsRequest) GetDBRefName ¶ added in v0.28.1
func (m *MySQLOpsRequest) GetDBRefName() string
func (MySQLOpsRequest) GetKey ¶
func (m MySQLOpsRequest) GetKey() string
func (*MySQLOpsRequest) GetObjectMeta ¶ added in v0.28.1
func (m *MySQLOpsRequest) GetObjectMeta() metav1.ObjectMeta
func (MySQLOpsRequest) GetRequestType ¶ added in v0.28.1
func (m MySQLOpsRequest) GetRequestType() any
func (*MySQLOpsRequest) GetStatus ¶ added in v0.28.1
func (m *MySQLOpsRequest) GetStatus() OpsRequestStatus
func (MySQLOpsRequest) GetUpdateVersionSpec ¶ added in v0.33.0
func (m MySQLOpsRequest) GetUpdateVersionSpec() *MySQLUpdateVersionSpec
func (MySQLOpsRequest) OffshootLabels ¶
func (m MySQLOpsRequest) OffshootLabels() map[string]string
func (MySQLOpsRequest) OffshootName ¶
func (m MySQLOpsRequest) OffshootName() string
func (MySQLOpsRequest) OffshootSelectors ¶
func (m MySQLOpsRequest) OffshootSelectors() map[string]string
func (MySQLOpsRequest) ResourceFQN ¶ added in v0.16.0
func (m MySQLOpsRequest) ResourceFQN() string
func (MySQLOpsRequest) ResourceKind ¶
func (m MySQLOpsRequest) ResourceKind() string
func (MySQLOpsRequest) ResourcePlural ¶
func (m MySQLOpsRequest) ResourcePlural() string
func (MySQLOpsRequest) ResourceShortCode ¶
func (m MySQLOpsRequest) ResourceShortCode() string
func (MySQLOpsRequest) ResourceSingular ¶
func (m MySQLOpsRequest) ResourceSingular() string
func (*MySQLOpsRequest) SetStatus ¶ added in v0.28.1
func (m *MySQLOpsRequest) SetStatus(s OpsRequestStatus)
func (MySQLOpsRequest) ValidateSpecs ¶
func (m MySQLOpsRequest) ValidateSpecs() error
type MySQLOpsRequestList ¶
type MySQLOpsRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of MySQLOpsRequest CRD objects Items []MySQLOpsRequest `json:"items,omitempty"` }
MySQLOpsRequestList is a list of MySQLOpsRequests
func (*MySQLOpsRequestList) DeepCopy ¶
func (in *MySQLOpsRequestList) DeepCopy() *MySQLOpsRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLOpsRequestList.
func (*MySQLOpsRequestList) DeepCopyInto ¶
func (in *MySQLOpsRequestList) DeepCopyInto(out *MySQLOpsRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQLOpsRequestList) DeepCopyObject ¶
func (in *MySQLOpsRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MySQLOpsRequestSpec ¶
type MySQLOpsRequestSpec struct { // Specifies the MySQL reference DatabaseRef core.LocalObjectReference `json:"databaseRef"` // Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc. Type MySQLOpsRequestType `json:"type"` // Specifies information necessary for upgrading MySQL UpdateVersion *MySQLUpdateVersionSpec `json:"updateVersion,omitempty"` // Specifies information necessary for upgrading MySQL // Deprecated: use UpdateVersion Upgrade *MySQLUpdateVersionSpec `json:"upgrade,omitempty"` // Specifies information necessary for horizontal scaling HorizontalScaling *MySQLHorizontalScalingSpec `json:"horizontalScaling,omitempty"` // Specifies information necessary for vertical scaling VerticalScaling *MySQLVerticalScalingSpec `json:"verticalScaling,omitempty"` // Specifies information necessary for volume expansion VolumeExpansion *MySQLVolumeExpansionSpec `json:"volumeExpansion,omitempty"` // Specifies information necessary for custom configuration of MySQL Configuration *MySQLCustomConfigurationSpec `json:"configuration,omitempty"` // Specifies information necessary for configuring TLS TLS *MySQLTLSSpec `json:"tls,omitempty"` // Specifies information necessary for restarting database Restart *RestartSpec `json:"restart,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 ApplyOption `json:"apply,omitempty"` }
MySQLOpsRequestSpec is the spec for MySQLOpsRequest
func (*MySQLOpsRequestSpec) DeepCopy ¶
func (in *MySQLOpsRequestSpec) DeepCopy() *MySQLOpsRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLOpsRequestSpec.
func (*MySQLOpsRequestSpec) DeepCopyInto ¶
func (in *MySQLOpsRequestSpec) DeepCopyInto(out *MySQLOpsRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLOpsRequestType ¶ added in v0.29.0
type MySQLOpsRequestType string
+kubebuilder:validation:Enum=Upgrade;UpdateVersion;HorizontalScaling;VerticalScaling;VolumeExpansion;Restart;Reconfigure;ReconfigureTLS ENUM(Upgrade, UpdateVersion, HorizontalScaling, VerticalScaling, VolumeExpansion, Restart, Reconfigure, ReconfigureTLS)
const ( // MySQLOpsRequestTypeUpgrade is a MySQLOpsRequestType of type Upgrade. MySQLOpsRequestTypeUpgrade MySQLOpsRequestType = "Upgrade" // MySQLOpsRequestTypeUpdateVersion is a MySQLOpsRequestType of type UpdateVersion. MySQLOpsRequestTypeUpdateVersion MySQLOpsRequestType = "UpdateVersion" // MySQLOpsRequestTypeHorizontalScaling is a MySQLOpsRequestType of type HorizontalScaling. MySQLOpsRequestTypeHorizontalScaling MySQLOpsRequestType = "HorizontalScaling" // MySQLOpsRequestTypeVerticalScaling is a MySQLOpsRequestType of type VerticalScaling. MySQLOpsRequestTypeVerticalScaling MySQLOpsRequestType = "VerticalScaling" // MySQLOpsRequestTypeVolumeExpansion is a MySQLOpsRequestType of type VolumeExpansion. MySQLOpsRequestTypeVolumeExpansion MySQLOpsRequestType = "VolumeExpansion" // MySQLOpsRequestTypeRestart is a MySQLOpsRequestType of type Restart. MySQLOpsRequestTypeRestart MySQLOpsRequestType = "Restart" // MySQLOpsRequestTypeReconfigure is a MySQLOpsRequestType of type Reconfigure. MySQLOpsRequestTypeReconfigure MySQLOpsRequestType = "Reconfigure" // MySQLOpsRequestTypeReconfigureTLS is a MySQLOpsRequestType of type ReconfigureTLS. MySQLOpsRequestTypeReconfigureTLS MySQLOpsRequestType = "ReconfigureTLS" )
func MustParseMySQLOpsRequestType ¶ added in v0.33.0
func MustParseMySQLOpsRequestType(name string) MySQLOpsRequestType
MustParseMySQLOpsRequestType converts a string to a MySQLOpsRequestType, and panics if is not valid.
func MySQLOpsRequestTypeValues ¶ added in v0.33.0
func MySQLOpsRequestTypeValues() []MySQLOpsRequestType
MySQLOpsRequestTypeValues returns a list of the values for MySQLOpsRequestType
func ParseMySQLOpsRequestType ¶ added in v0.33.0
func ParseMySQLOpsRequestType(name string) (MySQLOpsRequestType, error)
ParseMySQLOpsRequestType attempts to convert a string to a MySQLOpsRequestType.
func (MySQLOpsRequestType) IsValid ¶ added in v0.33.0
func (x MySQLOpsRequestType) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (MySQLOpsRequestType) String ¶ added in v0.33.0
func (x MySQLOpsRequestType) String() string
String implements the Stringer interface.
type MySQLQueryRules ¶ added in v0.28.0
type MySQLQueryRules struct { // +kubebuilder:pruning:PreserveUnknownFields Rules []*runtime.RawExtension `json:"rules"` RequestType OperationType `json:"reqType"` }
func (*MySQLQueryRules) DeepCopy ¶ added in v0.28.0
func (in *MySQLQueryRules) DeepCopy() *MySQLQueryRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLQueryRules.
func (*MySQLQueryRules) DeepCopyInto ¶ added in v0.28.0
func (in *MySQLQueryRules) DeepCopyInto(out *MySQLQueryRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLReplicaReadinessCriteria ¶
type MySQLReplicaReadinessCriteria struct{}
MySQLReplicaReadinessCriteria is the criteria for checking readiness of a MySQL pod after updating, horizontal scaling etc.
func (*MySQLReplicaReadinessCriteria) DeepCopy ¶
func (in *MySQLReplicaReadinessCriteria) DeepCopy() *MySQLReplicaReadinessCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLReplicaReadinessCriteria.
func (*MySQLReplicaReadinessCriteria) DeepCopyInto ¶
func (in *MySQLReplicaReadinessCriteria) DeepCopyInto(out *MySQLReplicaReadinessCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLTLSSpec ¶ added in v0.15.2
type MySQLTLSSpec struct { TLSSpec `json:",inline,omitempty"` // Indicates that the database server need to be encrypted connections(ssl) // +optional RequireSSL *bool `json:"requireSSL,omitempty"` }
func (*MySQLTLSSpec) DeepCopy ¶ added in v0.15.2
func (in *MySQLTLSSpec) DeepCopy() *MySQLTLSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLTLSSpec.
func (*MySQLTLSSpec) DeepCopyInto ¶ added in v0.15.2
func (in *MySQLTLSSpec) DeepCopyInto(out *MySQLTLSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLUpdateVersionSpec ¶ added in v0.33.0
type MySQLUpdateVersionSpec struct { // Specifies the target version name from catalog TargetVersion string `json:"targetVersion,omitempty"` ReadinessCriteria *MySQLReplicaReadinessCriteria `json:"readinessCriteria,omitempty"` }
func (*MySQLUpdateVersionSpec) DeepCopy ¶ added in v0.33.0
func (in *MySQLUpdateVersionSpec) DeepCopy() *MySQLUpdateVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLUpdateVersionSpec.
func (*MySQLUpdateVersionSpec) DeepCopyInto ¶ added in v0.33.0
func (in *MySQLUpdateVersionSpec) DeepCopyInto(out *MySQLUpdateVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLUsers ¶ added in v0.28.0
type MySQLUsers struct { Users []v1alpha2.MySQLUser `json:"users"` RequestType OperationType `json:"reqType"` }
func (*MySQLUsers) DeepCopy ¶ added in v0.28.0
func (in *MySQLUsers) DeepCopy() *MySQLUsers
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLUsers.
func (*MySQLUsers) DeepCopyInto ¶ added in v0.28.0
func (in *MySQLUsers) DeepCopyInto(out *MySQLUsers)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLVerticalScalingSpec ¶
type MySQLVerticalScalingSpec struct { MySQL *core.ResourceRequirements `json:"mysql,omitempty"` Exporter *core.ResourceRequirements `json:"exporter,omitempty"` Coordinator *core.ResourceRequirements `json:"coordinator,omitempty"` }
func (*MySQLVerticalScalingSpec) DeepCopy ¶
func (in *MySQLVerticalScalingSpec) DeepCopy() *MySQLVerticalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLVerticalScalingSpec.
func (*MySQLVerticalScalingSpec) DeepCopyInto ¶
func (in *MySQLVerticalScalingSpec) DeepCopyInto(out *MySQLVerticalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLVolumeExpansionSpec ¶
type MySQLVolumeExpansionSpec struct { MySQL *resource.Quantity `json:"mysql,omitempty"` // +kubebuilder:default="Online" Mode *VolumeExpansionMode `json:"mode,omitempty"` }
MySQLVolumeExpansionSpec is the spec for MySQL volume expansion
func (*MySQLVolumeExpansionSpec) DeepCopy ¶
func (in *MySQLVolumeExpansionSpec) DeepCopy() *MySQLVolumeExpansionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLVolumeExpansionSpec.
func (*MySQLVolumeExpansionSpec) DeepCopyInto ¶
func (in *MySQLVolumeExpansionSpec) DeepCopyInto(out *MySQLVolumeExpansionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperationType ¶ added in v0.28.0
type OperationType string
const ( ProxySQLConfigurationAdd OperationType = "add" ProxySQLConfigurationDelete OperationType = "delete" ProxySQLConfigurationUpdate OperationType = "update" )
type OpsRequestPhase ¶
type OpsRequestPhase string
+kubebuilder:validation:Enum=Pending;Progressing;Successful;WaitingForApproval;Failed;Approved;Denied;Skipped
const ( // used for ops requests that are currently in queue OpsRequestPhasePending OpsRequestPhase = "Pending" // used for ops requests that are currently Progressing OpsRequestPhaseProgressing OpsRequestPhase = "Progressing" // used for ops requests that are executed successfully OpsRequestPhaseSuccessful OpsRequestPhase = "Successful" // used for ops requests that are failed OpsRequestPhaseFailed OpsRequestPhase = "Failed" // used for ops requests that are skipped OpsRequestPhaseSkipped OpsRequestPhase = "Skipped" // used for ops requests that are waiting for approval OpsRequestPhaseWaitingForApproval OpsRequestPhase = "WaitingForApproval" // used for ops requests that are approved OpsRequestApproved OpsRequestPhase = "Approved" // used for ops requests that are denied OpsRequestDenied OpsRequestPhase = "Denied" )
type OpsRequestStatus ¶ added in v0.28.1
type OpsRequestStatus struct { // Specifies the current phase of the ops request // +optional Phase OpsRequestPhase `json:"phase,omitempty"` // observedGeneration is the most recent generation observed for this resource. It corresponds to the // resource's generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Conditions applied to the request, such as approval or denial. // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*OpsRequestStatus) DeepCopy ¶ added in v0.28.1
func (in *OpsRequestStatus) DeepCopy() *OpsRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpsRequestStatus.
func (*OpsRequestStatus) DeepCopyInto ¶ added in v0.28.1
func (in *OpsRequestStatus) DeepCopyInto(out *OpsRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PerconaXtraDBCustomConfigurationSpec ¶
type PerconaXtraDBCustomConfigurationSpec struct { // ConfigSecret is an optional field to provide custom configuration file for database. // +optional ConfigSecret *core.LocalObjectReference `json:"configSecret,omitempty"` // Deprecated InlineConfig string `json:"inlineConfig,omitempty"` // If set to "true", the user provided configuration will be removed. // PerconaXtraDB will start will default configuration that is generated by the operator. // +optional RemoveCustomConfig bool `json:"removeCustomConfig,omitempty"` // ApplyConfig is an optional field to provide PerconaXtraDB configuration. // Provided configuration will be applied to config files stored in ConfigSecret. // If the ConfigSecret is missing, the operator will create a new k8s secret by the // following naming convention: {db-name}-user-config . // Expected input format: // applyConfig: // file-name.cnf: | // [mysqld] // key1: value1 // key2: value2 // +optional ApplyConfig map[string]string `json:"applyConfig,omitempty"` }
func (*PerconaXtraDBCustomConfigurationSpec) DeepCopy ¶
func (in *PerconaXtraDBCustomConfigurationSpec) DeepCopy() *PerconaXtraDBCustomConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBCustomConfigurationSpec.
func (*PerconaXtraDBCustomConfigurationSpec) DeepCopyInto ¶
func (in *PerconaXtraDBCustomConfigurationSpec) DeepCopyInto(out *PerconaXtraDBCustomConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PerconaXtraDBHorizontalScalingSpec ¶
type PerconaXtraDBHorizontalScalingSpec struct { // Number of nodes/members of the group Member *int32 `json:"member,omitempty"` // specifies the weight of the current member/Node MemberWeight int32 `json:"memberWeight,omitempty"` }
func (*PerconaXtraDBHorizontalScalingSpec) DeepCopy ¶
func (in *PerconaXtraDBHorizontalScalingSpec) DeepCopy() *PerconaXtraDBHorizontalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBHorizontalScalingSpec.
func (*PerconaXtraDBHorizontalScalingSpec) DeepCopyInto ¶
func (in *PerconaXtraDBHorizontalScalingSpec) DeepCopyInto(out *PerconaXtraDBHorizontalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PerconaXtraDBOpsRequest ¶
type PerconaXtraDBOpsRequest struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PerconaXtraDBOpsRequestSpec `json:"spec,omitempty"` Status OpsRequestStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=perconaxtradbopsrequests,singular=perconaxtradbopsrequest,shortName=pxcops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (PerconaXtraDBOpsRequest) CustomResourceDefinition ¶
func (p PerconaXtraDBOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*PerconaXtraDBOpsRequest) DeepCopy ¶
func (in *PerconaXtraDBOpsRequest) DeepCopy() *PerconaXtraDBOpsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBOpsRequest.
func (*PerconaXtraDBOpsRequest) DeepCopyInto ¶
func (in *PerconaXtraDBOpsRequest) DeepCopyInto(out *PerconaXtraDBOpsRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PerconaXtraDBOpsRequest) DeepCopyObject ¶
func (in *PerconaXtraDBOpsRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PerconaXtraDBOpsRequest) GetDBRefName ¶ added in v0.28.1
func (p *PerconaXtraDBOpsRequest) GetDBRefName() string
func (*PerconaXtraDBOpsRequest) GetObjectMeta ¶ added in v0.28.1
func (p *PerconaXtraDBOpsRequest) GetObjectMeta() metav1.ObjectMeta
func (PerconaXtraDBOpsRequest) GetRequestType ¶ added in v0.28.1
func (p PerconaXtraDBOpsRequest) GetRequestType() any
func (*PerconaXtraDBOpsRequest) GetStatus ¶ added in v0.28.1
func (p *PerconaXtraDBOpsRequest) GetStatus() OpsRequestStatus
func (PerconaXtraDBOpsRequest) GetUpdateVersionSpec ¶ added in v0.33.0
func (p PerconaXtraDBOpsRequest) GetUpdateVersionSpec() *PerconaXtraDBUpdateVersionSpec
func (PerconaXtraDBOpsRequest) ResourceFQN ¶ added in v0.16.0
func (p PerconaXtraDBOpsRequest) ResourceFQN() string
func (PerconaXtraDBOpsRequest) ResourceKind ¶
func (p PerconaXtraDBOpsRequest) ResourceKind() string
func (PerconaXtraDBOpsRequest) ResourcePlural ¶
func (p PerconaXtraDBOpsRequest) ResourcePlural() string
func (PerconaXtraDBOpsRequest) ResourceShortCode ¶
func (p PerconaXtraDBOpsRequest) ResourceShortCode() string
func (PerconaXtraDBOpsRequest) ResourceSingular ¶
func (p PerconaXtraDBOpsRequest) ResourceSingular() string
func (*PerconaXtraDBOpsRequest) SetStatus ¶ added in v0.28.1
func (p *PerconaXtraDBOpsRequest) SetStatus(s OpsRequestStatus)
func (PerconaXtraDBOpsRequest) ValidateSpecs ¶
func (p PerconaXtraDBOpsRequest) ValidateSpecs() error
type PerconaXtraDBOpsRequestList ¶
type PerconaXtraDBOpsRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of PerconaXtraDBOpsRequest CRD objects Items []PerconaXtraDBOpsRequest `json:"items,omitempty"` }
PerconaXtraDBOpsRequestList is a list of PerconaXtraDBOpsRequests
func (*PerconaXtraDBOpsRequestList) DeepCopy ¶
func (in *PerconaXtraDBOpsRequestList) DeepCopy() *PerconaXtraDBOpsRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBOpsRequestList.
func (*PerconaXtraDBOpsRequestList) DeepCopyInto ¶
func (in *PerconaXtraDBOpsRequestList) DeepCopyInto(out *PerconaXtraDBOpsRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PerconaXtraDBOpsRequestList) DeepCopyObject ¶
func (in *PerconaXtraDBOpsRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PerconaXtraDBOpsRequestSpec ¶
type PerconaXtraDBOpsRequestSpec struct { // Specifies the PerconaXtraDB reference DatabaseRef core.LocalObjectReference `json:"databaseRef"` // Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc. Type PerconaXtraDBOpsRequestType `json:"type"` // Specifies information necessary for upgrading PerconaXtraDB UpdateVersion *PerconaXtraDBUpdateVersionSpec `json:"updateVersion,omitempty"` // Specifies information necessary for upgrading PerconaXtraDB // Deprecated: use UpdateVersion Upgrade *PerconaXtraDBUpdateVersionSpec `json:"upgrade,omitempty"` // Specifies information necessary for horizontal scaling HorizontalScaling *PerconaXtraDBHorizontalScalingSpec `json:"horizontalScaling,omitempty"` // Specifies information necessary for vertical scaling VerticalScaling *PerconaXtraDBVerticalScalingSpec `json:"verticalScaling,omitempty"` // Specifies information necessary for volume expansion VolumeExpansion *PerconaXtraDBVolumeExpansionSpec `json:"volumeExpansion,omitempty"` // Specifies information necessary for custom configuration of PerconaXtraDB Configuration *PerconaXtraDBCustomConfigurationSpec `json:"configuration,omitempty"` // Specifies information necessary for configuring TLS TLS *PerconaXtraDBTLSSpec `json:"tls,omitempty"` // Specifies information necessary for restarting database Restart *RestartSpec `json:"restart,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 ApplyOption `json:"apply,omitempty"` }
PerconaXtraDBOpsRequestSpec is the spec for PerconaXtraDBOpsRequest
func (*PerconaXtraDBOpsRequestSpec) DeepCopy ¶
func (in *PerconaXtraDBOpsRequestSpec) DeepCopy() *PerconaXtraDBOpsRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBOpsRequestSpec.
func (*PerconaXtraDBOpsRequestSpec) DeepCopyInto ¶
func (in *PerconaXtraDBOpsRequestSpec) DeepCopyInto(out *PerconaXtraDBOpsRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PerconaXtraDBOpsRequestType ¶ added in v0.29.0
type PerconaXtraDBOpsRequestType string
+kubebuilder:validation:Enum=Upgrade;UpdateVersion;HorizontalScaling;VerticalScaling;VolumeExpansion;Restart;Reconfigure;ReconfigureTLS ENUM(Upgrade, UpdateVersion, HorizontalScaling, VerticalScaling, VolumeExpansion, Restart, Reconfigure, ReconfigureTLS)
const ( // PerconaXtraDBOpsRequestTypeUpgrade is a PerconaXtraDBOpsRequestType of type Upgrade. PerconaXtraDBOpsRequestTypeUpgrade PerconaXtraDBOpsRequestType = "Upgrade" // PerconaXtraDBOpsRequestTypeUpdateVersion is a PerconaXtraDBOpsRequestType of type UpdateVersion. PerconaXtraDBOpsRequestTypeUpdateVersion PerconaXtraDBOpsRequestType = "UpdateVersion" // PerconaXtraDBOpsRequestTypeHorizontalScaling is a PerconaXtraDBOpsRequestType of type HorizontalScaling. PerconaXtraDBOpsRequestTypeHorizontalScaling PerconaXtraDBOpsRequestType = "HorizontalScaling" // PerconaXtraDBOpsRequestTypeVerticalScaling is a PerconaXtraDBOpsRequestType of type VerticalScaling. PerconaXtraDBOpsRequestTypeVerticalScaling PerconaXtraDBOpsRequestType = "VerticalScaling" // PerconaXtraDBOpsRequestTypeVolumeExpansion is a PerconaXtraDBOpsRequestType of type VolumeExpansion. PerconaXtraDBOpsRequestTypeVolumeExpansion PerconaXtraDBOpsRequestType = "VolumeExpansion" // PerconaXtraDBOpsRequestTypeRestart is a PerconaXtraDBOpsRequestType of type Restart. PerconaXtraDBOpsRequestTypeRestart PerconaXtraDBOpsRequestType = "Restart" // PerconaXtraDBOpsRequestTypeReconfigure is a PerconaXtraDBOpsRequestType of type Reconfigure. PerconaXtraDBOpsRequestTypeReconfigure PerconaXtraDBOpsRequestType = "Reconfigure" // PerconaXtraDBOpsRequestTypeReconfigureTLS is a PerconaXtraDBOpsRequestType of type ReconfigureTLS. PerconaXtraDBOpsRequestTypeReconfigureTLS PerconaXtraDBOpsRequestType = "ReconfigureTLS" )
func MustParsePerconaXtraDBOpsRequestType ¶ added in v0.33.0
func MustParsePerconaXtraDBOpsRequestType(name string) PerconaXtraDBOpsRequestType
MustParsePerconaXtraDBOpsRequestType converts a string to a PerconaXtraDBOpsRequestType, and panics if is not valid.
func ParsePerconaXtraDBOpsRequestType ¶ added in v0.33.0
func ParsePerconaXtraDBOpsRequestType(name string) (PerconaXtraDBOpsRequestType, error)
ParsePerconaXtraDBOpsRequestType attempts to convert a string to a PerconaXtraDBOpsRequestType.
func PerconaXtraDBOpsRequestTypeValues ¶ added in v0.33.0
func PerconaXtraDBOpsRequestTypeValues() []PerconaXtraDBOpsRequestType
PerconaXtraDBOpsRequestTypeValues returns a list of the values for PerconaXtraDBOpsRequestType
func (PerconaXtraDBOpsRequestType) IsValid ¶ added in v0.33.0
func (x PerconaXtraDBOpsRequestType) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (PerconaXtraDBOpsRequestType) String ¶ added in v0.33.0
func (x PerconaXtraDBOpsRequestType) String() string
String implements the Stringer interface.
type PerconaXtraDBReplicaReadinessCriteria ¶
type PerconaXtraDBReplicaReadinessCriteria struct{}
PerconaXtraDBReplicaReadinessCriteria is the criteria for checking readiness of an PerconaXtraDB database
func (*PerconaXtraDBReplicaReadinessCriteria) DeepCopy ¶
func (in *PerconaXtraDBReplicaReadinessCriteria) DeepCopy() *PerconaXtraDBReplicaReadinessCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBReplicaReadinessCriteria.
func (*PerconaXtraDBReplicaReadinessCriteria) DeepCopyInto ¶
func (in *PerconaXtraDBReplicaReadinessCriteria) DeepCopyInto(out *PerconaXtraDBReplicaReadinessCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PerconaXtraDBTLSSpec ¶ added in v0.29.0
type PerconaXtraDBTLSSpec struct { TLSSpec `json:",inline,omitempty"` // Indicates that the database server need to be encrypted connections(ssl) // +optional RequireSSL *bool `json:"requireSSL,omitempty"` }
PerconaXtraDBTLSSpec specifies information necessary for configuring TLS
func (*PerconaXtraDBTLSSpec) DeepCopy ¶ added in v0.29.0
func (in *PerconaXtraDBTLSSpec) DeepCopy() *PerconaXtraDBTLSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBTLSSpec.
func (*PerconaXtraDBTLSSpec) DeepCopyInto ¶ added in v0.29.0
func (in *PerconaXtraDBTLSSpec) DeepCopyInto(out *PerconaXtraDBTLSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PerconaXtraDBUpdateVersionSpec ¶ added in v0.33.0
type PerconaXtraDBUpdateVersionSpec struct { // Specifies the target version name from catalog TargetVersion string `json:"targetVersion,omitempty"` }
func (*PerconaXtraDBUpdateVersionSpec) DeepCopy ¶ added in v0.33.0
func (in *PerconaXtraDBUpdateVersionSpec) DeepCopy() *PerconaXtraDBUpdateVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBUpdateVersionSpec.
func (*PerconaXtraDBUpdateVersionSpec) DeepCopyInto ¶ added in v0.33.0
func (in *PerconaXtraDBUpdateVersionSpec) DeepCopyInto(out *PerconaXtraDBUpdateVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PerconaXtraDBVerticalScalingSpec ¶
type PerconaXtraDBVerticalScalingSpec struct { PerconaXtraDB *core.ResourceRequirements `json:"perconaxtradb,omitempty"` Exporter *core.ResourceRequirements `json:"exporter,omitempty"` Coordinator *core.ResourceRequirements `json:"coordinator,omitempty"` }
func (*PerconaXtraDBVerticalScalingSpec) DeepCopy ¶
func (in *PerconaXtraDBVerticalScalingSpec) DeepCopy() *PerconaXtraDBVerticalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBVerticalScalingSpec.
func (*PerconaXtraDBVerticalScalingSpec) DeepCopyInto ¶
func (in *PerconaXtraDBVerticalScalingSpec) DeepCopyInto(out *PerconaXtraDBVerticalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PerconaXtraDBVolumeExpansionSpec ¶
type PerconaXtraDBVolumeExpansionSpec struct { PerconaXtraDB *resource.Quantity `json:"perconaxtradb,omitempty"` Mode *VolumeExpansionMode `json:"mode,omitempty"` }
PerconaXtraDBVolumeExpansionSpec is the spec for PerconaXtraDB volume expansion
func (*PerconaXtraDBVolumeExpansionSpec) DeepCopy ¶
func (in *PerconaXtraDBVolumeExpansionSpec) DeepCopy() *PerconaXtraDBVolumeExpansionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBVolumeExpansionSpec.
func (*PerconaXtraDBVolumeExpansionSpec) DeepCopyInto ¶
func (in *PerconaXtraDBVolumeExpansionSpec) DeepCopyInto(out *PerconaXtraDBVolumeExpansionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgBouncerCustomConfiguration ¶
type PgBouncerCustomConfiguration struct { ConfigMap *core.LocalObjectReference `json:"configMap,omitempty"` Data map[string]string `json:"data,omitempty"` Remove bool `json:"remove,omitempty"` }
func (*PgBouncerCustomConfiguration) DeepCopy ¶
func (in *PgBouncerCustomConfiguration) DeepCopy() *PgBouncerCustomConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerCustomConfiguration.
func (*PgBouncerCustomConfiguration) DeepCopyInto ¶
func (in *PgBouncerCustomConfiguration) DeepCopyInto(out *PgBouncerCustomConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgBouncerCustomConfigurationSpec ¶
type PgBouncerCustomConfigurationSpec struct{}
func (*PgBouncerCustomConfigurationSpec) DeepCopy ¶
func (in *PgBouncerCustomConfigurationSpec) DeepCopy() *PgBouncerCustomConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerCustomConfigurationSpec.
func (*PgBouncerCustomConfigurationSpec) DeepCopyInto ¶
func (in *PgBouncerCustomConfigurationSpec) DeepCopyInto(out *PgBouncerCustomConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgBouncerHorizontalScalingSpec ¶
type PgBouncerHorizontalScalingSpec struct{}
HorizontalScaling is the spec for PgBouncer horizontal scaling
func (*PgBouncerHorizontalScalingSpec) DeepCopy ¶
func (in *PgBouncerHorizontalScalingSpec) DeepCopy() *PgBouncerHorizontalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerHorizontalScalingSpec.
func (*PgBouncerHorizontalScalingSpec) DeepCopyInto ¶
func (in *PgBouncerHorizontalScalingSpec) DeepCopyInto(out *PgBouncerHorizontalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgBouncerOpsRequest ¶
type PgBouncerOpsRequest struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PgBouncerOpsRequestSpec `json:"spec,omitempty"` Status OpsRequestStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=pgbounceropsrequests,singular=pgbounceropsrequest,shortName=pbops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (PgBouncerOpsRequest) CustomResourceDefinition ¶
func (p PgBouncerOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*PgBouncerOpsRequest) DeepCopy ¶
func (in *PgBouncerOpsRequest) DeepCopy() *PgBouncerOpsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerOpsRequest.
func (*PgBouncerOpsRequest) DeepCopyInto ¶
func (in *PgBouncerOpsRequest) DeepCopyInto(out *PgBouncerOpsRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PgBouncerOpsRequest) DeepCopyObject ¶
func (in *PgBouncerOpsRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PgBouncerOpsRequest) GetDBRefName ¶ added in v0.28.1
func (p *PgBouncerOpsRequest) GetDBRefName() string
func (*PgBouncerOpsRequest) GetObjectMeta ¶ added in v0.28.1
func (p *PgBouncerOpsRequest) GetObjectMeta() metav1.ObjectMeta
func (PgBouncerOpsRequest) GetRequestType ¶ added in v0.28.1
func (p PgBouncerOpsRequest) GetRequestType() any
func (*PgBouncerOpsRequest) GetStatus ¶ added in v0.28.1
func (p *PgBouncerOpsRequest) GetStatus() OpsRequestStatus
func (PgBouncerOpsRequest) GetUpdateVersionSpec ¶ added in v0.33.0
func (p PgBouncerOpsRequest) GetUpdateVersionSpec() *PgBouncerUpdateVersionSpec
func (PgBouncerOpsRequest) ResourceFQN ¶ added in v0.16.0
func (p PgBouncerOpsRequest) ResourceFQN() string
func (PgBouncerOpsRequest) ResourceKind ¶
func (p PgBouncerOpsRequest) ResourceKind() string
func (PgBouncerOpsRequest) ResourcePlural ¶
func (p PgBouncerOpsRequest) ResourcePlural() string
func (PgBouncerOpsRequest) ResourceShortCode ¶
func (p PgBouncerOpsRequest) ResourceShortCode() string
func (PgBouncerOpsRequest) ResourceSingular ¶
func (p PgBouncerOpsRequest) ResourceSingular() string
func (*PgBouncerOpsRequest) SetStatus ¶ added in v0.28.1
func (p *PgBouncerOpsRequest) SetStatus(s OpsRequestStatus)
func (PgBouncerOpsRequest) ValidateSpecs ¶
func (p PgBouncerOpsRequest) ValidateSpecs() error
type PgBouncerOpsRequestList ¶
type PgBouncerOpsRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of PgBouncerOpsRequest CRD objects Items []PgBouncerOpsRequest `json:"items,omitempty"` }
PgBouncerOpsRequestList is a list of PgBouncerOpsRequests
func (*PgBouncerOpsRequestList) DeepCopy ¶
func (in *PgBouncerOpsRequestList) DeepCopy() *PgBouncerOpsRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerOpsRequestList.
func (*PgBouncerOpsRequestList) DeepCopyInto ¶
func (in *PgBouncerOpsRequestList) DeepCopyInto(out *PgBouncerOpsRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PgBouncerOpsRequestList) DeepCopyObject ¶
func (in *PgBouncerOpsRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PgBouncerOpsRequestSpec ¶
type PgBouncerOpsRequestSpec struct { // Specifies the PgBouncer reference ServerRef core.LocalObjectReference `json:"serverRef"` // Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc. Type PgBouncerOpsRequestType `json:"type"` // Specifies information necessary for upgrading PgBouncer UpdateVersion *PgBouncerUpdateVersionSpec `json:"UpdateVersion,omitempty"` // Specifies information necessary for horizontal scaling HorizontalScaling *PgBouncerHorizontalScalingSpec `json:"horizontalScaling,omitempty"` // Specifies information necessary for vertical scaling VerticalScaling *PgBouncerVerticalScalingSpec `json:"verticalScaling,omitempty"` // Specifies information necessary for custom configuration of PgBouncer Configuration *PgBouncerCustomConfigurationSpec `json:"configuration,omitempty"` // Specifies information necessary for configuring TLS TLS *TLSSpec `json:"tls,omitempty"` // Specifies information necessary for restarting database Restart *RestartSpec `json:"restart,omitempty"` // ApplyOption is to control the execution of OpsRequest depending on the database state. // +kubebuilder:default="IfReady" Apply ApplyOption `json:"apply,omitempty"` }
PgBouncerOpsRequestSpec is the spec for PgBouncerOpsRequest
func (*PgBouncerOpsRequestSpec) DeepCopy ¶
func (in *PgBouncerOpsRequestSpec) DeepCopy() *PgBouncerOpsRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerOpsRequestSpec.
func (*PgBouncerOpsRequestSpec) DeepCopyInto ¶
func (in *PgBouncerOpsRequestSpec) DeepCopyInto(out *PgBouncerOpsRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgBouncerOpsRequestType ¶ added in v0.29.0
type PgBouncerOpsRequestType string
+kubebuilder:validation:Enum=UpdateVersion;HorizontalScaling;VerticalScaling;Restart;Reconfigure;ReconfigureTLS ENUM(UpdateVersion, HorizontalScaling, VerticalScaling, Restart, Reconfigure, ReconfigureTLS)
const ( // PgBouncerOpsRequestTypeUpdateVersion is a PgBouncerOpsRequestType of type UpdateVersion. PgBouncerOpsRequestTypeUpdateVersion PgBouncerOpsRequestType = "UpdateVersion" // PgBouncerOpsRequestTypeHorizontalScaling is a PgBouncerOpsRequestType of type HorizontalScaling. PgBouncerOpsRequestTypeHorizontalScaling PgBouncerOpsRequestType = "HorizontalScaling" // PgBouncerOpsRequestTypeVerticalScaling is a PgBouncerOpsRequestType of type VerticalScaling. PgBouncerOpsRequestTypeVerticalScaling PgBouncerOpsRequestType = "VerticalScaling" // PgBouncerOpsRequestTypeRestart is a PgBouncerOpsRequestType of type Restart. PgBouncerOpsRequestTypeRestart PgBouncerOpsRequestType = "Restart" // PgBouncerOpsRequestTypeReconfigure is a PgBouncerOpsRequestType of type Reconfigure. PgBouncerOpsRequestTypeReconfigure PgBouncerOpsRequestType = "Reconfigure" // PgBouncerOpsRequestTypeReconfigureTLS is a PgBouncerOpsRequestType of type ReconfigureTLS. PgBouncerOpsRequestTypeReconfigureTLS PgBouncerOpsRequestType = "ReconfigureTLS" )
func MustParsePgBouncerOpsRequestType ¶ added in v0.33.0
func MustParsePgBouncerOpsRequestType(name string) PgBouncerOpsRequestType
MustParsePgBouncerOpsRequestType converts a string to a PgBouncerOpsRequestType, and panics if is not valid.
func ParsePgBouncerOpsRequestType ¶ added in v0.33.0
func ParsePgBouncerOpsRequestType(name string) (PgBouncerOpsRequestType, error)
ParsePgBouncerOpsRequestType attempts to convert a string to a PgBouncerOpsRequestType.
func PgBouncerOpsRequestTypeValues ¶ added in v0.33.0
func PgBouncerOpsRequestTypeValues() []PgBouncerOpsRequestType
PgBouncerOpsRequestTypeValues returns a list of the values for PgBouncerOpsRequestType
func (PgBouncerOpsRequestType) IsValid ¶ added in v0.33.0
func (x PgBouncerOpsRequestType) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (PgBouncerOpsRequestType) String ¶ added in v0.33.0
func (x PgBouncerOpsRequestType) String() string
String implements the Stringer interface.
type PgBouncerReplicaReadinessCriteria ¶
type PgBouncerReplicaReadinessCriteria struct{}
PgBouncerReplicaReadinessCriteria is the criteria for checking readiness of a PgBouncer pod after updating, horizontal scaling etc.
func (*PgBouncerReplicaReadinessCriteria) DeepCopy ¶
func (in *PgBouncerReplicaReadinessCriteria) DeepCopy() *PgBouncerReplicaReadinessCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerReplicaReadinessCriteria.
func (*PgBouncerReplicaReadinessCriteria) DeepCopyInto ¶
func (in *PgBouncerReplicaReadinessCriteria) DeepCopyInto(out *PgBouncerReplicaReadinessCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgBouncerUpdateVersionSpec ¶ added in v0.33.0
type PgBouncerUpdateVersionSpec struct { // Specifies the target version name from catalog TargetVersion string `json:"targetVersion,omitempty"` ReadinessCriteria *PgBouncerReplicaReadinessCriteria `json:"readinessCriteria,omitempty"` }
func (*PgBouncerUpdateVersionSpec) DeepCopy ¶ added in v0.33.0
func (in *PgBouncerUpdateVersionSpec) DeepCopy() *PgBouncerUpdateVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerUpdateVersionSpec.
func (*PgBouncerUpdateVersionSpec) DeepCopyInto ¶ added in v0.33.0
func (in *PgBouncerUpdateVersionSpec) DeepCopyInto(out *PgBouncerUpdateVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgBouncerVerticalScalingSpec ¶
type PgBouncerVerticalScalingSpec struct {
ReadinessCriteria *PgBouncerReplicaReadinessCriteria `json:"readinessCriteria,omitempty"`
}
PgBouncerVerticalScalingSpec is the spec for PgBouncer vertical scaling
func (*PgBouncerVerticalScalingSpec) DeepCopy ¶
func (in *PgBouncerVerticalScalingSpec) DeepCopy() *PgBouncerVerticalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerVerticalScalingSpec.
func (*PgBouncerVerticalScalingSpec) DeepCopyInto ¶
func (in *PgBouncerVerticalScalingSpec) DeepCopyInto(out *PgBouncerVerticalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresCustomConfiguration ¶
type PostgresCustomConfiguration struct { ConfigMap *core.LocalObjectReference `json:"configMap,omitempty"` Data map[string]string `json:"data,omitempty"` Remove bool `json:"remove,omitempty"` }
func (*PostgresCustomConfiguration) DeepCopy ¶
func (in *PostgresCustomConfiguration) DeepCopy() *PostgresCustomConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresCustomConfiguration.
func (*PostgresCustomConfiguration) DeepCopyInto ¶
func (in *PostgresCustomConfiguration) DeepCopyInto(out *PostgresCustomConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresCustomConfigurationSpec ¶
type PostgresCustomConfigurationSpec struct { ConfigSecret *core.LocalObjectReference `json:"configSecret,omitempty"` InlineConfig string `json:"inlineConfig,omitempty"` RemoveCustomConfig bool `json:"removeCustomConfig,omitempty"` }
func (*PostgresCustomConfigurationSpec) DeepCopy ¶
func (in *PostgresCustomConfigurationSpec) DeepCopy() *PostgresCustomConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresCustomConfigurationSpec.
func (*PostgresCustomConfigurationSpec) DeepCopyInto ¶
func (in *PostgresCustomConfigurationSpec) DeepCopyInto(out *PostgresCustomConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresHorizontalScalingSpec ¶
type PostgresHorizontalScalingSpec struct { Replicas *int32 `json:"replicas,omitempty"` // Standby mode // +kubebuilder:default="Warm" StandbyMode *PostgresStandbyMode `json:"standbyMode,omitempty"` // Streaming mode // +kubebuilder:default="Asynchronous" StreamingMode *PostgresStreamingMode `json:"streamingMode,omitempty"` }
HorizontalScaling is the spec for Postgres horizontal scaling
func (*PostgresHorizontalScalingSpec) DeepCopy ¶
func (in *PostgresHorizontalScalingSpec) DeepCopy() *PostgresHorizontalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresHorizontalScalingSpec.
func (*PostgresHorizontalScalingSpec) DeepCopyInto ¶
func (in *PostgresHorizontalScalingSpec) DeepCopyInto(out *PostgresHorizontalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresOpsRequest ¶
type PostgresOpsRequest struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PostgresOpsRequestSpec `json:"spec,omitempty"` Status OpsRequestStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=postgresopsrequests,singular=postgresopsrequest,shortName=pgops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (PostgresOpsRequest) CustomResourceDefinition ¶
func (p PostgresOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*PostgresOpsRequest) DeepCopy ¶
func (in *PostgresOpsRequest) DeepCopy() *PostgresOpsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresOpsRequest.
func (*PostgresOpsRequest) DeepCopyInto ¶
func (in *PostgresOpsRequest) DeepCopyInto(out *PostgresOpsRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresOpsRequest) DeepCopyObject ¶
func (in *PostgresOpsRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgresOpsRequest) GetDBRefName ¶ added in v0.28.1
func (p *PostgresOpsRequest) GetDBRefName() string
func (*PostgresOpsRequest) GetObjectMeta ¶ added in v0.28.1
func (p *PostgresOpsRequest) GetObjectMeta() metav1.ObjectMeta
func (PostgresOpsRequest) GetRequestType ¶ added in v0.28.1
func (p PostgresOpsRequest) GetRequestType() any
func (*PostgresOpsRequest) GetStatus ¶ added in v0.28.1
func (p *PostgresOpsRequest) GetStatus() OpsRequestStatus
func (PostgresOpsRequest) GetUpdateVersionSpec ¶ added in v0.33.0
func (p PostgresOpsRequest) GetUpdateVersionSpec() *PostgresUpdateVersionSpec
func (PostgresOpsRequest) ResourceFQN ¶ added in v0.16.0
func (p PostgresOpsRequest) ResourceFQN() string
func (PostgresOpsRequest) ResourceKind ¶
func (p PostgresOpsRequest) ResourceKind() string
func (PostgresOpsRequest) ResourcePlural ¶
func (p PostgresOpsRequest) ResourcePlural() string
func (PostgresOpsRequest) ResourceShortCode ¶
func (p PostgresOpsRequest) ResourceShortCode() string
func (PostgresOpsRequest) ResourceSingular ¶
func (p PostgresOpsRequest) ResourceSingular() string
func (*PostgresOpsRequest) SetStatus ¶ added in v0.28.1
func (p *PostgresOpsRequest) SetStatus(s OpsRequestStatus)
func (PostgresOpsRequest) ValidateSpecs ¶
func (p PostgresOpsRequest) ValidateSpecs() error
type PostgresOpsRequestList ¶
type PostgresOpsRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of PostgresOpsRequest CRD objects Items []PostgresOpsRequest `json:"items,omitempty"` }
PostgresOpsRequestList is a list of PostgresOpsRequests
func (*PostgresOpsRequestList) DeepCopy ¶
func (in *PostgresOpsRequestList) DeepCopy() *PostgresOpsRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresOpsRequestList.
func (*PostgresOpsRequestList) DeepCopyInto ¶
func (in *PostgresOpsRequestList) DeepCopyInto(out *PostgresOpsRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresOpsRequestList) DeepCopyObject ¶
func (in *PostgresOpsRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PostgresOpsRequestSpec ¶
type PostgresOpsRequestSpec struct { // Specifies the Postgres reference DatabaseRef core.LocalObjectReference `json:"databaseRef"` // Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc. Type PostgresOpsRequestType `json:"type"` // Specifies information necessary for upgrading Postgres UpdateVersion *PostgresUpdateVersionSpec `json:"updateVersion,omitempty"` // Specifies information necessary for upgrading Postgres // Deprecated: use UpdateVersion Upgrade *PostgresUpdateVersionSpec `json:"upgrade,omitempty"` // Specifies information necessary for horizontal scaling HorizontalScaling *PostgresHorizontalScalingSpec `json:"horizontalScaling,omitempty"` // Specifies information necessary for vertical scaling VerticalScaling *PostgresVerticalScalingSpec `json:"verticalScaling,omitempty"` // Specifies information necessary for volume expansion VolumeExpansion *PostgresVolumeExpansionSpec `json:"volumeExpansion,omitempty"` // Specifies information necessary for custom configuration of Postgres Configuration *PostgresCustomConfigurationSpec `json:"configuration,omitempty"` // Specifies information necessary for configuring TLS TLS *PostgresTLSSpec `json:"tls,omitempty"` // Specifies information necessary for restarting database Restart *RestartSpec `json:"restart,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 ApplyOption `json:"apply,omitempty"` }
PostgresOpsRequestSpec is the spec for PostgresOpsRequest
func (*PostgresOpsRequestSpec) DeepCopy ¶
func (in *PostgresOpsRequestSpec) DeepCopy() *PostgresOpsRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresOpsRequestSpec.
func (*PostgresOpsRequestSpec) DeepCopyInto ¶
func (in *PostgresOpsRequestSpec) DeepCopyInto(out *PostgresOpsRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresOpsRequestType ¶ added in v0.29.0
type PostgresOpsRequestType string
+kubebuilder:validation:Enum=Upgrade;UpdateVersion;HorizontalScaling;VerticalScaling;VolumeExpansion;Restart;Reconfigure;ReconfigureTLS ENUM(Upgrade, UpdateVersion, HorizontalScaling, VerticalScaling, VolumeExpansion, Restart, Reconfigure, ReconfigureTLS)
const ( // PostgresOpsRequestTypeUpgrade is a PostgresOpsRequestType of type Upgrade. PostgresOpsRequestTypeUpgrade PostgresOpsRequestType = "Upgrade" // PostgresOpsRequestTypeUpdateVersion is a PostgresOpsRequestType of type UpdateVersion. PostgresOpsRequestTypeUpdateVersion PostgresOpsRequestType = "UpdateVersion" // PostgresOpsRequestTypeHorizontalScaling is a PostgresOpsRequestType of type HorizontalScaling. PostgresOpsRequestTypeHorizontalScaling PostgresOpsRequestType = "HorizontalScaling" // PostgresOpsRequestTypeVerticalScaling is a PostgresOpsRequestType of type VerticalScaling. PostgresOpsRequestTypeVerticalScaling PostgresOpsRequestType = "VerticalScaling" // PostgresOpsRequestTypeVolumeExpansion is a PostgresOpsRequestType of type VolumeExpansion. PostgresOpsRequestTypeVolumeExpansion PostgresOpsRequestType = "VolumeExpansion" // PostgresOpsRequestTypeRestart is a PostgresOpsRequestType of type Restart. PostgresOpsRequestTypeRestart PostgresOpsRequestType = "Restart" // PostgresOpsRequestTypeReconfigure is a PostgresOpsRequestType of type Reconfigure. PostgresOpsRequestTypeReconfigure PostgresOpsRequestType = "Reconfigure" // PostgresOpsRequestTypeReconfigureTLS is a PostgresOpsRequestType of type ReconfigureTLS. PostgresOpsRequestTypeReconfigureTLS PostgresOpsRequestType = "ReconfigureTLS" )
func MustParsePostgresOpsRequestType ¶ added in v0.33.0
func MustParsePostgresOpsRequestType(name string) PostgresOpsRequestType
MustParsePostgresOpsRequestType converts a string to a PostgresOpsRequestType, and panics if is not valid.
func ParsePostgresOpsRequestType ¶ added in v0.33.0
func ParsePostgresOpsRequestType(name string) (PostgresOpsRequestType, error)
ParsePostgresOpsRequestType attempts to convert a string to a PostgresOpsRequestType.
func PostgresOpsRequestTypeValues ¶ added in v0.33.0
func PostgresOpsRequestTypeValues() []PostgresOpsRequestType
PostgresOpsRequestTypeValues returns a list of the values for PostgresOpsRequestType
func (PostgresOpsRequestType) IsValid ¶ added in v0.33.0
func (x PostgresOpsRequestType) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (PostgresOpsRequestType) String ¶ added in v0.33.0
func (x PostgresOpsRequestType) String() string
String implements the Stringer interface.
type PostgresStandbyMode ¶ added in v0.32.0
type PostgresStandbyMode string
+kubebuilder:validation:Enum=Hot;Warm
const ( HotPostgresStandbyMode PostgresStandbyMode = "Hot" WarmPostgresStandbyMode PostgresStandbyMode = "Warm" )
type PostgresStreamingMode ¶ added in v0.32.0
type PostgresStreamingMode string
+kubebuilder:validation:Enum=Synchronous;Asynchronous
const ( SynchronousPostgresStreamingMode PostgresStreamingMode = "Synchronous" AsynchronousPostgresStreamingMode PostgresStreamingMode = "Asynchronous" )
type PostgresTLSSpec ¶ added in v0.19.0
type PostgresTLSSpec struct { TLSSpec `json:",inline,omitempty"` // SSLMode for both standalone and clusters. [disable;allow;prefer;require;verify-ca;verify-full] // +optional SSLMode apis.PostgresSSLMode `json:"sslMode,omitempty"` // ClientAuthMode for sidecar or sharding. (default will be md5. [md5;scram;cert]) // +optional ClientAuthMode apis.PostgresClientAuthMode `json:"clientAuthMode,omitempty"` }
func (*PostgresTLSSpec) DeepCopy ¶ added in v0.19.0
func (in *PostgresTLSSpec) DeepCopy() *PostgresTLSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresTLSSpec.
func (*PostgresTLSSpec) DeepCopyInto ¶ added in v0.19.0
func (in *PostgresTLSSpec) DeepCopyInto(out *PostgresTLSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresUpdateVersionSpec ¶ added in v0.33.0
type PostgresUpdateVersionSpec struct { // Specifies the target version name from catalog TargetVersion string `json:"targetVersion,omitempty"` }
func (*PostgresUpdateVersionSpec) DeepCopy ¶ added in v0.33.0
func (in *PostgresUpdateVersionSpec) DeepCopy() *PostgresUpdateVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresUpdateVersionSpec.
func (*PostgresUpdateVersionSpec) DeepCopyInto ¶ added in v0.33.0
func (in *PostgresUpdateVersionSpec) DeepCopyInto(out *PostgresUpdateVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresVerticalScalingSpec ¶
type PostgresVerticalScalingSpec struct { Postgres *core.ResourceRequirements `json:"postgres,omitempty"` Exporter *core.ResourceRequirements `json:"exporter,omitempty"` Coordinator *core.ResourceRequirements `json:"coordinator,omitempty"` }
PostgresVerticalScalingSpec is the spec for Postgres vertical scaling
func (*PostgresVerticalScalingSpec) DeepCopy ¶
func (in *PostgresVerticalScalingSpec) DeepCopy() *PostgresVerticalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresVerticalScalingSpec.
func (*PostgresVerticalScalingSpec) DeepCopyInto ¶
func (in *PostgresVerticalScalingSpec) DeepCopyInto(out *PostgresVerticalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresVolumeExpansionSpec ¶
type PostgresVolumeExpansionSpec struct { // volume specification for Postgres Postgres *resource.Quantity `json:"postgres,omitempty"` Mode *VolumeExpansionMode `json:"mode,omitempty"` }
PostgresVolumeExpansionSpec is the spec for Postgres volume expansion
func (*PostgresVolumeExpansionSpec) DeepCopy ¶
func (in *PostgresVolumeExpansionSpec) DeepCopy() *PostgresVolumeExpansionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresVolumeExpansionSpec.
func (*PostgresVolumeExpansionSpec) DeepCopyInto ¶
func (in *PostgresVolumeExpansionSpec) DeepCopyInto(out *PostgresVolumeExpansionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxySQLCustomConfiguration ¶
type ProxySQLCustomConfiguration struct { ConfigMap *core.LocalObjectReference `json:"configMap,omitempty"` Data map[string]string `json:"data,omitempty"` Remove bool `json:"remove,omitempty"` }
func (*ProxySQLCustomConfiguration) DeepCopy ¶
func (in *ProxySQLCustomConfiguration) DeepCopy() *ProxySQLCustomConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLCustomConfiguration.
func (*ProxySQLCustomConfiguration) DeepCopyInto ¶
func (in *ProxySQLCustomConfiguration) DeepCopyInto(out *ProxySQLCustomConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxySQLCustomConfigurationSpec ¶
type ProxySQLCustomConfigurationSpec struct { //+optional MySQLUsers *MySQLUsers `json:"mysqlUsers,omitempty"` //+optional MySQLQueryRules *MySQLQueryRules `json:"mysqlQueryRules,omitempty"` // +optional // +kubebuilder:pruning:PreserveUnknownFields AdminVariables *runtime.RawExtension `json:"adminVariables,omitempty"` // +optional // +kubebuilder:pruning:PreserveUnknownFields MySQLVariables *runtime.RawExtension `json:"mysqlVariables,omitempty"` }
func (*ProxySQLCustomConfigurationSpec) DeepCopy ¶
func (in *ProxySQLCustomConfigurationSpec) DeepCopy() *ProxySQLCustomConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLCustomConfigurationSpec.
func (*ProxySQLCustomConfigurationSpec) DeepCopyInto ¶
func (in *ProxySQLCustomConfigurationSpec) DeepCopyInto(out *ProxySQLCustomConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxySQLHorizontalScalingSpec ¶
type ProxySQLHorizontalScalingSpec struct { // Number of nodes/members of the group Member *int32 `json:"member,omitempty"` }
HorizontalScaling is the spec for ProxySQL horizontal scaling
func (*ProxySQLHorizontalScalingSpec) DeepCopy ¶
func (in *ProxySQLHorizontalScalingSpec) DeepCopy() *ProxySQLHorizontalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLHorizontalScalingSpec.
func (*ProxySQLHorizontalScalingSpec) DeepCopyInto ¶
func (in *ProxySQLHorizontalScalingSpec) DeepCopyInto(out *ProxySQLHorizontalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxySQLOpsRequest ¶
type ProxySQLOpsRequest struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProxySQLOpsRequestSpec `json:"spec,omitempty"` Status OpsRequestStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=proxysqlopsrequests,singular=proxysqlopsrequest,shortName=prxops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (ProxySQLOpsRequest) CustomResourceDefinition ¶
func (p ProxySQLOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*ProxySQLOpsRequest) DeepCopy ¶
func (in *ProxySQLOpsRequest) DeepCopy() *ProxySQLOpsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLOpsRequest.
func (*ProxySQLOpsRequest) DeepCopyInto ¶
func (in *ProxySQLOpsRequest) DeepCopyInto(out *ProxySQLOpsRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProxySQLOpsRequest) DeepCopyObject ¶
func (in *ProxySQLOpsRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProxySQLOpsRequest) GetDBRefName ¶ added in v0.28.1
func (p *ProxySQLOpsRequest) GetDBRefName() string
func (*ProxySQLOpsRequest) GetObjectMeta ¶ added in v0.28.1
func (p *ProxySQLOpsRequest) GetObjectMeta() metav1.ObjectMeta
func (ProxySQLOpsRequest) GetRequestType ¶ added in v0.28.1
func (p ProxySQLOpsRequest) GetRequestType() any
func (*ProxySQLOpsRequest) GetStatus ¶ added in v0.28.1
func (p *ProxySQLOpsRequest) GetStatus() OpsRequestStatus
func (ProxySQLOpsRequest) GetUpdateVersionSpec ¶ added in v0.33.0
func (p ProxySQLOpsRequest) GetUpdateVersionSpec() *ProxySQLUpdateVersionSpec
func (ProxySQLOpsRequest) ResourceFQN ¶ added in v0.16.0
func (p ProxySQLOpsRequest) ResourceFQN() string
func (ProxySQLOpsRequest) ResourceKind ¶
func (p ProxySQLOpsRequest) ResourceKind() string
func (ProxySQLOpsRequest) ResourcePlural ¶
func (p ProxySQLOpsRequest) ResourcePlural() string
func (ProxySQLOpsRequest) ResourceShortCode ¶
func (p ProxySQLOpsRequest) ResourceShortCode() string
func (ProxySQLOpsRequest) ResourceSingular ¶
func (p ProxySQLOpsRequest) ResourceSingular() string
func (*ProxySQLOpsRequest) SetStatus ¶ added in v0.28.1
func (p *ProxySQLOpsRequest) SetStatus(s OpsRequestStatus)
type ProxySQLOpsRequestList ¶
type ProxySQLOpsRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` //+optional // Items is a list of ProxySQLOpsRequest CRD objects Items []ProxySQLOpsRequest `json:"items,omitempty"` }
ProxySQLOpsRequestList is a list of ProxySQLOpsRequests
func (*ProxySQLOpsRequestList) DeepCopy ¶
func (in *ProxySQLOpsRequestList) DeepCopy() *ProxySQLOpsRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLOpsRequestList.
func (*ProxySQLOpsRequestList) DeepCopyInto ¶
func (in *ProxySQLOpsRequestList) DeepCopyInto(out *ProxySQLOpsRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProxySQLOpsRequestList) DeepCopyObject ¶
func (in *ProxySQLOpsRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProxySQLOpsRequestSpec ¶
type ProxySQLOpsRequestSpec struct { // Specifies the ProxySQL reference ProxyRef core.LocalObjectReference `json:"proxyRef"` // Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc. Type ProxySQLOpsRequestType `json:"type"` // Specifies information necessary for upgrading ProxySQL UpdateVersion *ProxySQLUpdateVersionSpec `json:"updateVersion,omitempty"` // Specifies information necessary for horizontal scaling HorizontalScaling *ProxySQLHorizontalScalingSpec `json:"horizontalScaling,omitempty"` // Specifies information necessary for vertical scaling VerticalScaling *ProxySQLVerticalScalingSpec `json:"verticalScaling,omitempty"` // Specifies information necessary for custom configuration of ProxySQL Configuration *ProxySQLCustomConfigurationSpec `json:"configuration,omitempty"` // Specifies information necessary for configuring TLS TLS *TLSSpec `json:"tls,omitempty"` // Specifies information necessary for restarting database Restart *RestartSpec `json:"restart,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 ApplyOption `json:"apply,omitempty"` }
ProxySQLOpsRequestSpec is the spec for ProxySQLOpsRequest
func (*ProxySQLOpsRequestSpec) DeepCopy ¶
func (in *ProxySQLOpsRequestSpec) DeepCopy() *ProxySQLOpsRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLOpsRequestSpec.
func (*ProxySQLOpsRequestSpec) DeepCopyInto ¶
func (in *ProxySQLOpsRequestSpec) DeepCopyInto(out *ProxySQLOpsRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxySQLOpsRequestType ¶ added in v0.29.0
type ProxySQLOpsRequestType string
+kubebuilder:validation:Enum=UpdateVersion;HorizontalScaling;VerticalScaling;Restart;Reconfigure;ReconfigureTLS ENUM(UpdateVersion, HorizontalScaling, VerticalScaling, Restart, Reconfigure, ReconfigureTLS)
const ( // ProxySQLOpsRequestTypeUpdateVersion is a ProxySQLOpsRequestType of type UpdateVersion. ProxySQLOpsRequestTypeUpdateVersion ProxySQLOpsRequestType = "UpdateVersion" // ProxySQLOpsRequestTypeHorizontalScaling is a ProxySQLOpsRequestType of type HorizontalScaling. ProxySQLOpsRequestTypeHorizontalScaling ProxySQLOpsRequestType = "HorizontalScaling" // ProxySQLOpsRequestTypeVerticalScaling is a ProxySQLOpsRequestType of type VerticalScaling. ProxySQLOpsRequestTypeVerticalScaling ProxySQLOpsRequestType = "VerticalScaling" // ProxySQLOpsRequestTypeRestart is a ProxySQLOpsRequestType of type Restart. ProxySQLOpsRequestTypeRestart ProxySQLOpsRequestType = "Restart" // ProxySQLOpsRequestTypeReconfigure is a ProxySQLOpsRequestType of type Reconfigure. ProxySQLOpsRequestTypeReconfigure ProxySQLOpsRequestType = "Reconfigure" // ProxySQLOpsRequestTypeReconfigureTLS is a ProxySQLOpsRequestType of type ReconfigureTLS. ProxySQLOpsRequestTypeReconfigureTLS ProxySQLOpsRequestType = "ReconfigureTLS" )
func MustParseProxySQLOpsRequestType ¶ added in v0.33.0
func MustParseProxySQLOpsRequestType(name string) ProxySQLOpsRequestType
MustParseProxySQLOpsRequestType converts a string to a ProxySQLOpsRequestType, and panics if is not valid.
func ParseProxySQLOpsRequestType ¶ added in v0.33.0
func ParseProxySQLOpsRequestType(name string) (ProxySQLOpsRequestType, error)
ParseProxySQLOpsRequestType attempts to convert a string to a ProxySQLOpsRequestType.
func ProxySQLOpsRequestTypeValues ¶ added in v0.33.0
func ProxySQLOpsRequestTypeValues() []ProxySQLOpsRequestType
ProxySQLOpsRequestTypeValues returns a list of the values for ProxySQLOpsRequestType
func (ProxySQLOpsRequestType) IsValid ¶ added in v0.33.0
func (x ProxySQLOpsRequestType) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (ProxySQLOpsRequestType) String ¶ added in v0.33.0
func (x ProxySQLOpsRequestType) String() string
String implements the Stringer interface.
type ProxySQLReplicaReadinessCriteria ¶
type ProxySQLReplicaReadinessCriteria struct{}
ProxySQLReplicaReadinessCriteria is the criteria for checking readiness of a ProxySQL pod after updating, horizontal scaling etc.
func (*ProxySQLReplicaReadinessCriteria) DeepCopy ¶
func (in *ProxySQLReplicaReadinessCriteria) DeepCopy() *ProxySQLReplicaReadinessCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLReplicaReadinessCriteria.
func (*ProxySQLReplicaReadinessCriteria) DeepCopyInto ¶
func (in *ProxySQLReplicaReadinessCriteria) DeepCopyInto(out *ProxySQLReplicaReadinessCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxySQLUpdateVersionSpec ¶ added in v0.33.0
type ProxySQLUpdateVersionSpec struct { // Specifies the target version name from catalog TargetVersion string `json:"targetVersion,omitempty"` ReadinessCriteria *ProxySQLReplicaReadinessCriteria `json:"readinessCriteria,omitempty"` }
func (*ProxySQLUpdateVersionSpec) DeepCopy ¶ added in v0.33.0
func (in *ProxySQLUpdateVersionSpec) DeepCopy() *ProxySQLUpdateVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLUpdateVersionSpec.
func (*ProxySQLUpdateVersionSpec) DeepCopyInto ¶ added in v0.33.0
func (in *ProxySQLUpdateVersionSpec) DeepCopyInto(out *ProxySQLUpdateVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxySQLVerticalScalingSpec ¶
type ProxySQLVerticalScalingSpec struct {
ProxySQL *core.ResourceRequirements `json:"proxysql,omitempty"`
}
ProxySQLVerticalScalingSpec is the spec for ProxySQL vertical scaling
func (*ProxySQLVerticalScalingSpec) DeepCopy ¶
func (in *ProxySQLVerticalScalingSpec) DeepCopy() *ProxySQLVerticalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLVerticalScalingSpec.
func (*ProxySQLVerticalScalingSpec) DeepCopyInto ¶
func (in *ProxySQLVerticalScalingSpec) DeepCopyInto(out *ProxySQLVerticalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisCustomConfigurationSpec ¶
type RedisCustomConfigurationSpec struct { // PodTemplate is an optional configuration for pods used to expose database // +optional PodTemplate ofst.PodTemplateSpec `json:"podTemplate,omitempty"` ConfigSecret *core.LocalObjectReference `json:"configSecret,omitempty"` InlineConfig string `json:"inlineConfig,omitempty"` RemoveCustomConfig bool `json:"removeCustomConfig,omitempty"` }
func (*RedisCustomConfigurationSpec) DeepCopy ¶
func (in *RedisCustomConfigurationSpec) DeepCopy() *RedisCustomConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisCustomConfigurationSpec.
func (*RedisCustomConfigurationSpec) DeepCopyInto ¶
func (in *RedisCustomConfigurationSpec) DeepCopyInto(out *RedisCustomConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisHorizontalScalingSpec ¶
type RedisHorizontalScalingSpec struct { // Number of Masters in the cluster Master *int32 `json:"master,omitempty"` // specifies the number of replica for the master Replicas *int32 `json:"replicas,omitempty"` }
func (*RedisHorizontalScalingSpec) DeepCopy ¶
func (in *RedisHorizontalScalingSpec) DeepCopy() *RedisHorizontalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisHorizontalScalingSpec.
func (*RedisHorizontalScalingSpec) DeepCopyInto ¶
func (in *RedisHorizontalScalingSpec) DeepCopyInto(out *RedisHorizontalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisOpsRequest ¶
type RedisOpsRequest struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RedisOpsRequestSpec `json:"spec,omitempty"` Status OpsRequestStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=redisopsrequests,singular=redisopsrequest,shortName=rdops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (RedisOpsRequest) CustomResourceDefinition ¶
func (r RedisOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*RedisOpsRequest) DeepCopy ¶
func (in *RedisOpsRequest) DeepCopy() *RedisOpsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisOpsRequest.
func (*RedisOpsRequest) DeepCopyInto ¶
func (in *RedisOpsRequest) DeepCopyInto(out *RedisOpsRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisOpsRequest) DeepCopyObject ¶
func (in *RedisOpsRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RedisOpsRequest) GetDBRefName ¶ added in v0.28.1
func (r *RedisOpsRequest) GetDBRefName() string
func (*RedisOpsRequest) GetObjectMeta ¶ added in v0.28.1
func (r *RedisOpsRequest) GetObjectMeta() metav1.ObjectMeta
func (RedisOpsRequest) GetRequestType ¶ added in v0.28.1
func (r RedisOpsRequest) GetRequestType() any
func (*RedisOpsRequest) GetStatus ¶ added in v0.28.1
func (r *RedisOpsRequest) GetStatus() OpsRequestStatus
func (RedisOpsRequest) GetUpdateVersionSpec ¶ added in v0.33.0
func (r RedisOpsRequest) GetUpdateVersionSpec() *RedisUpdateVersionSpec
func (RedisOpsRequest) ResourceFQN ¶ added in v0.16.0
func (r RedisOpsRequest) ResourceFQN() string
func (RedisOpsRequest) ResourceKind ¶
func (r RedisOpsRequest) ResourceKind() string
func (RedisOpsRequest) ResourcePlural ¶
func (r RedisOpsRequest) ResourcePlural() string
func (RedisOpsRequest) ResourceShortCode ¶
func (r RedisOpsRequest) ResourceShortCode() string
func (RedisOpsRequest) ResourceSingular ¶
func (r RedisOpsRequest) ResourceSingular() string
func (*RedisOpsRequest) SetStatus ¶ added in v0.28.1
func (r *RedisOpsRequest) SetStatus(s OpsRequestStatus)
func (RedisOpsRequest) ValidateSpecs ¶
func (r RedisOpsRequest) ValidateSpecs() error
type RedisOpsRequestList ¶
type RedisOpsRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of RedisOpsRequest CRD objects Items []RedisOpsRequest `json:"items,omitempty"` }
RedisOpsRequestList is a list of RedisOpsRequests
func (*RedisOpsRequestList) DeepCopy ¶
func (in *RedisOpsRequestList) DeepCopy() *RedisOpsRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisOpsRequestList.
func (*RedisOpsRequestList) DeepCopyInto ¶
func (in *RedisOpsRequestList) DeepCopyInto(out *RedisOpsRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisOpsRequestList) DeepCopyObject ¶
func (in *RedisOpsRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisOpsRequestSpec ¶
type RedisOpsRequestSpec struct { // Specifies the Redis reference DatabaseRef core.LocalObjectReference `json:"databaseRef"` // Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc. Type RedisOpsRequestType `json:"type"` // Specifies information necessary for upgrading Redis UpdateVersion *RedisUpdateVersionSpec `json:"updateVersion,omitempty"` // Specifies information necessary for horizontal scaling HorizontalScaling *RedisHorizontalScalingSpec `json:"horizontalScaling,omitempty"` // Specifies information necessary for vertical scaling VerticalScaling *RedisVerticalScalingSpec `json:"verticalScaling,omitempty"` // Specifies information necessary for volume expansion VolumeExpansion *RedisVolumeExpansionSpec `json:"volumeExpansion,omitempty"` // Specifies information necessary for custom configuration of Redis Configuration *RedisCustomConfigurationSpec `json:"configuration,omitempty"` // Specifies information necessary for configuring TLS TLS *RedisTLSSpec `json:"tls,omitempty"` // Specifies information necessary for restarting database Restart *RestartSpec `json:"restart,omitempty"` // Specifies information necessary for replacing sentinel instances Sentinel *RedisSentinelSpec `json:"sentinel,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 ApplyOption `json:"apply,omitempty"` }
RedisOpsRequestSpec is the spec for RedisOpsRequest
func (*RedisOpsRequestSpec) DeepCopy ¶
func (in *RedisOpsRequestSpec) DeepCopy() *RedisOpsRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisOpsRequestSpec.
func (*RedisOpsRequestSpec) DeepCopyInto ¶
func (in *RedisOpsRequestSpec) DeepCopyInto(out *RedisOpsRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisOpsRequestType ¶ added in v0.29.0
type RedisOpsRequestType string
+kubebuilder:validation:Enum=UpdateVersion;HorizontalScaling;VerticalScaling;VolumeExpansion;Restart;Reconfigure;ReconfigureTLS;ReplaceSentinel ENUM(UpdateVersion, HorizontalScaling, VerticalScaling, VolumeExpansion, Restart, Reconfigure, ReconfigureTLS, ReplaceSentinel)
const ( // RedisOpsRequestTypeUpdateVersion is a RedisOpsRequestType of type UpdateVersion. RedisOpsRequestTypeUpdateVersion RedisOpsRequestType = "UpdateVersion" // RedisOpsRequestTypeHorizontalScaling is a RedisOpsRequestType of type HorizontalScaling. RedisOpsRequestTypeHorizontalScaling RedisOpsRequestType = "HorizontalScaling" // RedisOpsRequestTypeVerticalScaling is a RedisOpsRequestType of type VerticalScaling. RedisOpsRequestTypeVerticalScaling RedisOpsRequestType = "VerticalScaling" // RedisOpsRequestTypeVolumeExpansion is a RedisOpsRequestType of type VolumeExpansion. RedisOpsRequestTypeVolumeExpansion RedisOpsRequestType = "VolumeExpansion" // RedisOpsRequestTypeRestart is a RedisOpsRequestType of type Restart. RedisOpsRequestTypeRestart RedisOpsRequestType = "Restart" // RedisOpsRequestTypeReconfigure is a RedisOpsRequestType of type Reconfigure. RedisOpsRequestTypeReconfigure RedisOpsRequestType = "Reconfigure" // RedisOpsRequestTypeReconfigureTLS is a RedisOpsRequestType of type ReconfigureTLS. RedisOpsRequestTypeReconfigureTLS RedisOpsRequestType = "ReconfigureTLS" // RedisOpsRequestTypeReplaceSentinel is a RedisOpsRequestType of type ReplaceSentinel. RedisOpsRequestTypeReplaceSentinel RedisOpsRequestType = "ReplaceSentinel" )
func MustParseRedisOpsRequestType ¶ added in v0.33.0
func MustParseRedisOpsRequestType(name string) RedisOpsRequestType
MustParseRedisOpsRequestType converts a string to a RedisOpsRequestType, and panics if is not valid.
func ParseRedisOpsRequestType ¶ added in v0.33.0
func ParseRedisOpsRequestType(name string) (RedisOpsRequestType, error)
ParseRedisOpsRequestType attempts to convert a string to a RedisOpsRequestType.
func RedisOpsRequestTypeValues ¶ added in v0.33.0
func RedisOpsRequestTypeValues() []RedisOpsRequestType
RedisOpsRequestTypeValues returns a list of the values for RedisOpsRequestType
func (RedisOpsRequestType) IsValid ¶ added in v0.33.0
func (x RedisOpsRequestType) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (RedisOpsRequestType) String ¶ added in v0.33.0
func (x RedisOpsRequestType) String() string
String implements the Stringer interface.
type RedisReplicaReadinessCriteria ¶
type RedisReplicaReadinessCriteria struct{}
RedisReplicaReadinessCriteria is the criteria for checking readiness of a Redis pod after updating, horizontal scaling etc.
func (*RedisReplicaReadinessCriteria) DeepCopy ¶
func (in *RedisReplicaReadinessCriteria) DeepCopy() *RedisReplicaReadinessCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisReplicaReadinessCriteria.
func (*RedisReplicaReadinessCriteria) DeepCopyInto ¶
func (in *RedisReplicaReadinessCriteria) DeepCopyInto(out *RedisReplicaReadinessCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisSentinelCustomConfigurationSpec ¶ added in v0.29.0
type RedisSentinelCustomConfigurationSpec struct { // PodTemplate is an optional configuration for pods used to expose database // +optional PodTemplate ofst.PodTemplateSpec `json:"podTemplate,omitempty"` ConfigSecret *core.LocalObjectReference `json:"configSecret,omitempty"` InlineConfig string `json:"inlineConfig,omitempty"` RemoveCustomConfig bool `json:"removeCustomConfig,omitempty"` }
func (*RedisSentinelCustomConfigurationSpec) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelCustomConfigurationSpec) DeepCopy() *RedisSentinelCustomConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelCustomConfigurationSpec.
func (*RedisSentinelCustomConfigurationSpec) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelCustomConfigurationSpec) DeepCopyInto(out *RedisSentinelCustomConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisSentinelHorizontalScalingSpec ¶ added in v0.29.0
type RedisSentinelHorizontalScalingSpec struct { // specifies the number of replica for the master Replicas *int32 `json:"replicas,omitempty"` }
func (*RedisSentinelHorizontalScalingSpec) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelHorizontalScalingSpec) DeepCopy() *RedisSentinelHorizontalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelHorizontalScalingSpec.
func (*RedisSentinelHorizontalScalingSpec) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelHorizontalScalingSpec) DeepCopyInto(out *RedisSentinelHorizontalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisSentinelOpsRequest ¶ added in v0.29.0
type RedisSentinelOpsRequest struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RedisSentinelOpsRequestSpec `json:"spec,omitempty"` Status OpsRequestStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=redissentinelopsrequests,singular=redissentinelopsrequest,shortName=rdsops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (RedisSentinelOpsRequest) CustomResourceDefinition ¶ added in v0.29.0
func (r RedisSentinelOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*RedisSentinelOpsRequest) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelOpsRequest) DeepCopy() *RedisSentinelOpsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelOpsRequest.
func (*RedisSentinelOpsRequest) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelOpsRequest) DeepCopyInto(out *RedisSentinelOpsRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisSentinelOpsRequest) DeepCopyObject ¶ added in v0.29.0
func (in *RedisSentinelOpsRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RedisSentinelOpsRequest) GetDBRefName ¶ added in v0.29.0
func (r *RedisSentinelOpsRequest) GetDBRefName() string
func (*RedisSentinelOpsRequest) GetObjectMeta ¶ added in v0.29.0
func (r *RedisSentinelOpsRequest) GetObjectMeta() metav1.ObjectMeta
func (RedisSentinelOpsRequest) GetRequestType ¶ added in v0.29.0
func (r RedisSentinelOpsRequest) GetRequestType() any
func (*RedisSentinelOpsRequest) GetStatus ¶ added in v0.29.0
func (r *RedisSentinelOpsRequest) GetStatus() OpsRequestStatus
func (RedisSentinelOpsRequest) GetUpdateVersionSpec ¶ added in v0.33.0
func (r RedisSentinelOpsRequest) GetUpdateVersionSpec() *RedisSentinelUpdateVersionSpec
func (RedisSentinelOpsRequest) ResourceFQN ¶ added in v0.29.0
func (r RedisSentinelOpsRequest) ResourceFQN() string
func (RedisSentinelOpsRequest) ResourceKind ¶ added in v0.29.0
func (r RedisSentinelOpsRequest) ResourceKind() string
func (RedisSentinelOpsRequest) ResourcePlural ¶ added in v0.29.0
func (r RedisSentinelOpsRequest) ResourcePlural() string
func (RedisSentinelOpsRequest) ResourceShortCode ¶ added in v0.29.0
func (r RedisSentinelOpsRequest) ResourceShortCode() string
func (RedisSentinelOpsRequest) ResourceSingular ¶ added in v0.29.0
func (r RedisSentinelOpsRequest) ResourceSingular() string
func (*RedisSentinelOpsRequest) SetStatus ¶ added in v0.29.0
func (r *RedisSentinelOpsRequest) SetStatus(s OpsRequestStatus)
func (RedisSentinelOpsRequest) ValidateSpecs ¶ added in v0.29.0
func (r RedisSentinelOpsRequest) ValidateSpecs() error
type RedisSentinelOpsRequestList ¶ added in v0.29.0
type RedisSentinelOpsRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of RedisSentinelOpsRequest CRD objects Items []RedisSentinelOpsRequest `json:"items,omitempty"` }
RedisSentinelOpsRequestList is a list of RedisSentinelOpsRequests
func (*RedisSentinelOpsRequestList) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelOpsRequestList) DeepCopy() *RedisSentinelOpsRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelOpsRequestList.
func (*RedisSentinelOpsRequestList) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelOpsRequestList) DeepCopyInto(out *RedisSentinelOpsRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisSentinelOpsRequestList) DeepCopyObject ¶ added in v0.29.0
func (in *RedisSentinelOpsRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisSentinelOpsRequestSpec ¶ added in v0.29.0
type RedisSentinelOpsRequestSpec struct { // Specifies the RedisSentinel reference DatabaseRef core.LocalObjectReference `json:"databaseRef"` // Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc. Type RedisSentinelOpsRequestType `json:"type"` // Specifies information necessary for upgrading RedisSentinel UpdateVersion *RedisSentinelUpdateVersionSpec `json:"updateVersion,omitempty"` // Specifies information necessary for horizontal scaling HorizontalScaling *RedisSentinelHorizontalScalingSpec `json:"horizontalScaling,omitempty"` // Specifies information necessary for vertical scaling VerticalScaling *RedisSentinelVerticalScalingSpec `json:"verticalScaling,omitempty"` // Specifies information necessary for custom configuration of RedisSentinel Configuration *RedisSentinelCustomConfigurationSpec `json:"configuration,omitempty"` // Specifies information necessary for configuring TLS TLS *TLSSpec `json:"tls,omitempty"` // Specifies information necessary for restarting database Restart *RestartSpec `json:"restart,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 ApplyOption `json:"apply,omitempty"` }
RedisSentinelOpsRequestSpec is the spec for RedisSentinelOpsRequest
func (*RedisSentinelOpsRequestSpec) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelOpsRequestSpec) DeepCopy() *RedisSentinelOpsRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelOpsRequestSpec.
func (*RedisSentinelOpsRequestSpec) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelOpsRequestSpec) DeepCopyInto(out *RedisSentinelOpsRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisSentinelOpsRequestType ¶ added in v0.29.0
type RedisSentinelOpsRequestType string
+kubebuilder:validation:Enum=UpdateVersion;HorizontalScaling;VerticalScaling;Restart;Reconfigure;ReconfigureTLS ENUM(UpdateVersion, HorizontalScaling, VerticalScaling, Restart, Reconfigure, ReconfigureTLS)
const ( // RedisSentinelOpsRequestTypeUpdateVersion is a RedisSentinelOpsRequestType of type UpdateVersion. RedisSentinelOpsRequestTypeUpdateVersion RedisSentinelOpsRequestType = "UpdateVersion" // RedisSentinelOpsRequestTypeHorizontalScaling is a RedisSentinelOpsRequestType of type HorizontalScaling. RedisSentinelOpsRequestTypeHorizontalScaling RedisSentinelOpsRequestType = "HorizontalScaling" // RedisSentinelOpsRequestTypeVerticalScaling is a RedisSentinelOpsRequestType of type VerticalScaling. RedisSentinelOpsRequestTypeVerticalScaling RedisSentinelOpsRequestType = "VerticalScaling" // RedisSentinelOpsRequestTypeRestart is a RedisSentinelOpsRequestType of type Restart. RedisSentinelOpsRequestTypeRestart RedisSentinelOpsRequestType = "Restart" // RedisSentinelOpsRequestTypeReconfigure is a RedisSentinelOpsRequestType of type Reconfigure. RedisSentinelOpsRequestTypeReconfigure RedisSentinelOpsRequestType = "Reconfigure" // RedisSentinelOpsRequestTypeReconfigureTLS is a RedisSentinelOpsRequestType of type ReconfigureTLS. RedisSentinelOpsRequestTypeReconfigureTLS RedisSentinelOpsRequestType = "ReconfigureTLS" )
func MustParseRedisSentinelOpsRequestType ¶ added in v0.33.0
func MustParseRedisSentinelOpsRequestType(name string) RedisSentinelOpsRequestType
MustParseRedisSentinelOpsRequestType converts a string to a RedisSentinelOpsRequestType, and panics if is not valid.
func ParseRedisSentinelOpsRequestType ¶ added in v0.33.0
func ParseRedisSentinelOpsRequestType(name string) (RedisSentinelOpsRequestType, error)
ParseRedisSentinelOpsRequestType attempts to convert a string to a RedisSentinelOpsRequestType.
func RedisSentinelOpsRequestTypeValues ¶ added in v0.33.0
func RedisSentinelOpsRequestTypeValues() []RedisSentinelOpsRequestType
RedisSentinelOpsRequestTypeValues returns a list of the values for RedisSentinelOpsRequestType
func (RedisSentinelOpsRequestType) IsValid ¶ added in v0.33.0
func (x RedisSentinelOpsRequestType) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (RedisSentinelOpsRequestType) String ¶ added in v0.33.0
func (x RedisSentinelOpsRequestType) String() string
String implements the Stringer interface.
type RedisSentinelRef ¶ added in v0.29.0
type RedisSentinelRef struct { // Name of the refereed sentinel Name string `json:"name,omitempty"` // Namespace where refereed sentinel has been deployed Namespace string `json:"namespace,omitempty"` }
func (*RedisSentinelRef) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelRef) DeepCopy() *RedisSentinelRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelRef.
func (*RedisSentinelRef) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelRef) DeepCopyInto(out *RedisSentinelRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisSentinelReplicaReadinessCriteria ¶ added in v0.29.0
type RedisSentinelReplicaReadinessCriteria struct{}
RedisSentinelReplicaReadinessCriteria is the criteria for checking readiness of a RedisSentinel pod after updating, horizontal scaling etc.
func (*RedisSentinelReplicaReadinessCriteria) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelReplicaReadinessCriteria) DeepCopy() *RedisSentinelReplicaReadinessCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelReplicaReadinessCriteria.
func (*RedisSentinelReplicaReadinessCriteria) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelReplicaReadinessCriteria) DeepCopyInto(out *RedisSentinelReplicaReadinessCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisSentinelSpec ¶ added in v0.29.0
type RedisSentinelSpec struct { // Sentinel Ref for new Sentinel which will replace the old sentinel Ref *RedisSentinelRef `json:"ref"` // +optional RemoveUnusedSentinel bool `json:"removeUnusedSentinel,omitempty"` }
func (*RedisSentinelSpec) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelSpec) DeepCopy() *RedisSentinelSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelSpec.
func (*RedisSentinelSpec) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelSpec) DeepCopyInto(out *RedisSentinelSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisSentinelUpdateVersionSpec ¶ added in v0.33.0
type RedisSentinelUpdateVersionSpec struct { // Specifies the target version name from catalog TargetVersion string `json:"targetVersion,omitempty"` ReadinessCriteria *RedisSentinelReplicaReadinessCriteria `json:"readinessCriteria,omitempty"` }
func (*RedisSentinelUpdateVersionSpec) DeepCopy ¶ added in v0.33.0
func (in *RedisSentinelUpdateVersionSpec) DeepCopy() *RedisSentinelUpdateVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelUpdateVersionSpec.
func (*RedisSentinelUpdateVersionSpec) DeepCopyInto ¶ added in v0.33.0
func (in *RedisSentinelUpdateVersionSpec) DeepCopyInto(out *RedisSentinelUpdateVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisSentinelVerticalScalingSpec ¶ added in v0.29.0
type RedisSentinelVerticalScalingSpec struct { RedisSentinel *core.ResourceRequirements `json:"redissentinel,omitempty"` Exporter *core.ResourceRequirements `json:"exporter,omitempty"` Coordinator *core.ResourceRequirements `json:"coordinator,omitempty"` }
RedisSentinelVerticalScalingSpec is the spec for RedisSentinel vertical scaling
func (*RedisSentinelVerticalScalingSpec) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelVerticalScalingSpec) DeepCopy() *RedisSentinelVerticalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelVerticalScalingSpec.
func (*RedisSentinelVerticalScalingSpec) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelVerticalScalingSpec) DeepCopyInto(out *RedisSentinelVerticalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisSentinelVolumeExpansionSpec ¶ added in v0.29.0
type RedisSentinelVolumeExpansionSpec struct { // +kubebuilder:default="Online" Mode *VolumeExpansionMode `json:"mode,omitempty"` RedisSentinel *resource.Quantity `json:"redissentinel,omitempty"` }
RedisSentinelVolumeExpansionSpec is the spec for RedisSentinel volume expansion
func (*RedisSentinelVolumeExpansionSpec) DeepCopy ¶ added in v0.29.0
func (in *RedisSentinelVolumeExpansionSpec) DeepCopy() *RedisSentinelVolumeExpansionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSentinelVolumeExpansionSpec.
func (*RedisSentinelVolumeExpansionSpec) DeepCopyInto ¶ added in v0.29.0
func (in *RedisSentinelVolumeExpansionSpec) DeepCopyInto(out *RedisSentinelVolumeExpansionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisTLSSpec ¶ added in v0.29.0
type RedisTLSSpec struct { *TLSSpec `json:",inline"` // This field is only needed in Redis Sentinel Mode when we add or remove TLS. In Redis Sentinel Mode, both redis instances and // sentinel instances either have TLS or don't have TLS. So when want to add TLS to Redis in Sentinel Mode, current sentinel instances don't // have TLS enabled, so we need to give a new Sentinel Reference which has TLS enabled and which will monitor the Redis instances when we // add TLS to it // +optional Sentinel *RedisSentinelSpec `json:"sentinel,omitempty"` }
func (*RedisTLSSpec) DeepCopy ¶ added in v0.29.0
func (in *RedisTLSSpec) DeepCopy() *RedisTLSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisTLSSpec.
func (*RedisTLSSpec) DeepCopyInto ¶ added in v0.29.0
func (in *RedisTLSSpec) DeepCopyInto(out *RedisTLSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisUpdateVersionSpec ¶ added in v0.33.0
type RedisUpdateVersionSpec struct { // Specifies the target version name from catalog TargetVersion string `json:"targetVersion,omitempty"` ReadinessCriteria *RedisReplicaReadinessCriteria `json:"readinessCriteria,omitempty"` }
func (*RedisUpdateVersionSpec) DeepCopy ¶ added in v0.33.0
func (in *RedisUpdateVersionSpec) DeepCopy() *RedisUpdateVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisUpdateVersionSpec.
func (*RedisUpdateVersionSpec) DeepCopyInto ¶ added in v0.33.0
func (in *RedisUpdateVersionSpec) DeepCopyInto(out *RedisUpdateVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisVerticalScalingSpec ¶
type RedisVerticalScalingSpec struct { Redis *core.ResourceRequirements `json:"redis,omitempty"` Exporter *core.ResourceRequirements `json:"exporter,omitempty"` Coordinator *core.ResourceRequirements `json:"coordinator,omitempty"` }
RedisVerticalScalingSpec is the spec for Redis vertical scaling
func (*RedisVerticalScalingSpec) DeepCopy ¶
func (in *RedisVerticalScalingSpec) DeepCopy() *RedisVerticalScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisVerticalScalingSpec.
func (*RedisVerticalScalingSpec) DeepCopyInto ¶
func (in *RedisVerticalScalingSpec) DeepCopyInto(out *RedisVerticalScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisVolumeExpansionSpec ¶
type RedisVolumeExpansionSpec struct { // +kubebuilder:default="Online" Mode *VolumeExpansionMode `json:"mode,omitempty"` Redis *resource.Quantity `json:"redis,omitempty"` }
RedisVolumeExpansionSpec is the spec for Redis volume expansion
func (*RedisVolumeExpansionSpec) DeepCopy ¶
func (in *RedisVolumeExpansionSpec) DeepCopy() *RedisVolumeExpansionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisVolumeExpansionSpec.
func (*RedisVolumeExpansionSpec) DeepCopyInto ¶
func (in *RedisVolumeExpansionSpec) DeepCopyInto(out *RedisVolumeExpansionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Reprovision ¶ added in v0.25.0
type Reprovision struct{}
func (*Reprovision) DeepCopy ¶ added in v0.25.0
func (in *Reprovision) DeepCopy() *Reprovision
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Reprovision.
func (*Reprovision) DeepCopyInto ¶ added in v0.25.0
func (in *Reprovision) DeepCopyInto(out *Reprovision)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestartSpec ¶
type RestartSpec struct{}
func (*RestartSpec) DeepCopy ¶
func (in *RestartSpec) DeepCopy() *RestartSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestartSpec.
func (*RestartSpec) DeepCopyInto ¶
func (in *RestartSpec) DeepCopyInto(out *RestartSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLSSpec ¶
type TLSSpec struct { // TLSConfig contains updated tls configurations for client and server. // +optional kmapi.TLSConfig `json:",inline,omitempty"` // RotateCertificates tells operator to initiate certificate rotation // +optional RotateCertificates bool `json:"rotateCertificates,omitempty"` // Remove tells operator to remove TLS configuration // +optional Remove bool `json:"remove,omitempty"` }
func (*TLSSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSSpec.
func (*TLSSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeExpansionMode ¶ added in v0.22.0
type VolumeExpansionMode string
+kubebuilder:validation:Enum=Offline;Online
const ( // used to define a Online volume expansion mode VolumeExpansionModeOnline VolumeExpansionMode = "Online" // used to define a Offline volume expansion mode VolumeExpansionModeOffline VolumeExpansionMode = "Offline" )
Source Files ¶
- constant.go
- doc.go
- elasticsearch_ops_helpers.go
- elasticsearch_ops_types.go
- elasticsearch_ops_types_enum.go
- etcd_ops_helpers.go
- etcd_ops_types.go
- etcd_ops_types_enum.go
- mariadb_ops_helpers.go
- mariadb_ops_types.go
- mariadb_ops_types_enum.go
- memcached_ops_helpers.go
- memcached_ops_types.go
- memcached_ops_types_enum.go
- mongodb_ops_helpers.go
- mongodb_ops_types.go
- mongodb_ops_types_enum.go
- mysql_ops_helpers.go
- mysql_ops_types.go
- mysql_ops_types_enum.go
- openapi_generated.go
- perconaxtradb_ops_helpers.go
- perconaxtradb_ops_types.go
- perconaxtradb_ops_types_enum.go
- pgbouncer_ops_helpers.go
- pgbouncer_ops_types.go
- pgbouncer_ops_types_enum.go
- postgres_ops_helpers.go
- postgres_ops_types.go
- postgres_ops_types_enum.go
- proxysql_ops_helpers.go
- proxysql_ops_types.go
- proxysql_ops_types_enum.go
- redis_ops_helpers.go
- redis_ops_types.go
- redis_ops_types_enum.go
- redis_sentinel_ops_helpers.go
- redis_sentinel_ops_types.go
- redis_sentinel_ops_types_enum.go
- register.go
- type.go
- zz_generated.deepcopy.go