v1alpha1

package
v0.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2022 License: Apache-2.0 Imports: 14 Imported by: 33

Documentation

Overview

+groupName=catalog.kubedb.com

Index

Constants

View Source
const (
	ResourceCodeElasticsearchVersion     = "esversion"
	ResourceKindElasticsearchVersion     = "ElasticsearchVersion"
	ResourceSingularElasticsearchVersion = "elasticsearchversion"
	ResourcePluralElasticsearchVersion   = "elasticsearchversions"
)
View Source
const (
	ResourceCodeEtcdVersion     = "etcversion"
	ResourceKindEtcdVersion     = "EtcdVersion"
	ResourceSingularEtcdVersion = "etcdversion"
	ResourcePluralEtcdVersion   = "etcdversions"
)
View Source
const (
	ResourceCodeMariaDBVersion     = "mariaversion"
	ResourceKindMariaDBVersion     = "MariaDBVersion"
	ResourceSingularMariaDBVersion = "mariadbversion"
	ResourcePluralMariaDBVersion   = "mariadbversions"
)
View Source
const (
	ResourceCodeMemcachedVersion     = "mcversion"
	ResourceKindMemcachedVersion     = "MemcachedVersion"
	ResourceSingularMemcachedVersion = "memcachedversion"
	ResourcePluralMemcachedVersion   = "memcachedversions"
)
View Source
const (
	ResourceCodeMongoDBVersion     = "mgversion"
	ResourceKindMongoDBVersion     = "MongoDBVersion"
	ResourceSingularMongoDBVersion = "mongodbversion"
	ResourcePluralMongoDBVersion   = "mongodbversions"
)
View Source
const (
	ResourceCodeMySQLVersion     = "myversion"
	ResourceKindMySQLVersion     = "MySQLVersion"
	ResourceSingularMySQLVersion = "mysqlversion"
	ResourcePluralMySQLVersion   = "mysqlversions"
)
View Source
const (
	ResourceCodePerconaXtraDBVersion     = "pxversion"
	ResourceKindPerconaXtraDBVersion     = "PerconaXtraDBVersion"
	ResourceSingularPerconaXtraDBVersion = "perconaxtradbversion"
	ResourcePluralPerconaXtraDBVersion   = "perconaxtradbversions"
)
View Source
const (
	ResourceCodePgBouncerVersion     = "pbversion"
	ResourceKindPgBouncerVersion     = "PgBouncerVersion"
	ResourceSingularPgBouncerVersion = "pgbouncerversion"
	ResourcePluralPgBouncerVersion   = "pgbouncerversions"
)
View Source
const (
	ResourceCodePostgresVersion     = "pgversion"
	ResourceKindPostgresVersion     = "PostgresVersion"
	ResourceSingularPostgresVersion = "postgresversion"
	ResourcePluralPostgresVersion   = "postgresversions"
)
View Source
const (
	ResourceKindProxySQLVersion     = "ProxySQLVersion"
	ResourceSingularProxySQLVersion = "proxysqlversion"
	ResourcePluralProxySQLVersion   = "proxysqlversions"
)
View Source
const (
	ResourceCodeRedisVersion     = "rdversion"
	ResourceKindRedisVersion     = "RedisVersion"
	ResourceSingularRedisVersion = "redisversion"
	ResourcePluralRedisVersion   = "redisversions"
)

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: catalog.GroupName, Version: "v1alpha1"}

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ElasticsearchAuthPlugin

type ElasticsearchAuthPlugin string

+kubebuilder:validation:Enum=OpenDistro;SearchGuard;X-Pack;OpenSearch

const (
	ElasticsearchAuthPluginOpenDistro  ElasticsearchAuthPlugin = "OpenDistro"
	ElasticsearchAuthPluginOpenSearch  ElasticsearchAuthPlugin = "OpenSearch"
	ElasticsearchAuthPluginSearchGuard ElasticsearchAuthPlugin = "SearchGuard"
	ElasticsearchAuthPluginXpack       ElasticsearchAuthPlugin = "X-Pack"
)

type ElasticsearchDashboardVersionDatabase added in v0.25.0

type ElasticsearchDashboardVersionDatabase struct {
	Image string `json:"image"`
}

ElasticsearchDashboardVersionDatabase is the Elasticsearch Dashboard image

func (*ElasticsearchDashboardVersionDatabase) DeepCopy added in v0.25.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchDashboardVersionDatabase.

func (*ElasticsearchDashboardVersionDatabase) DeepCopyInto added in v0.25.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ElasticsearchDistro added in v0.17.0

type ElasticsearchDistro string

+kubebuilder:validation:Enum=ElasticStack;OpenDistro;SearchGuard;OpenSearch;KubeDB

const (
	ElasticsearchDistroElasticStack ElasticsearchDistro = "ElasticStack"
	ElasticsearchDistroOpenDistro   ElasticsearchDistro = "OpenDistro"
	ElasticsearchDistroSearchGuard  ElasticsearchDistro = "SearchGuard"
	ElasticsearchDistroKubeDB       ElasticsearchDistro = "KubeDB"
	ElasticsearchDistroOpenSearch   ElasticsearchDistro = "OpenSearch"
)

type ElasticsearchSecurityContext added in v0.18.0

type ElasticsearchSecurityContext struct {
	// RunAsUser is default UID for the DB container. It defaults to 1000.
	RunAsUser *int64 `json:"runAsUser,omitempty"`

	// RunAsAnyNonRoot will be true if user can change the default UID to other than 1000.
	RunAsAnyNonRoot bool `json:"runAsAnyNonRoot,omitempty"`
}

ElasticsearchSecurityContext provides additional securityContext settings for the Elasticsearch Image

func (*ElasticsearchSecurityContext) DeepCopy added in v0.18.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchSecurityContext.

func (*ElasticsearchSecurityContext) DeepCopyInto added in v0.18.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ElasticsearchVersion

type ElasticsearchVersion struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ElasticsearchVersionSpec `json:"spec,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=elasticsearchversions,singular=elasticsearchversion,scope=Cluster,shortName=esversion,categories={datastore,kubedb,appscode} +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="Distribution",type="string",JSONPath=".spec.distribution" +kubebuilder:printcolumn:name="DB_IMAGE",type="string",JSONPath=".spec.db.image" +kubebuilder:printcolumn:name="Deprecated",type="boolean",JSONPath=".spec.deprecated" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (ElasticsearchVersion) CustomResourceDefinition

func (_ ElasticsearchVersion) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*ElasticsearchVersion) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchVersion.

func (*ElasticsearchVersion) DeepCopyInto

func (in *ElasticsearchVersion) DeepCopyInto(out *ElasticsearchVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ElasticsearchVersion) DeepCopyObject

func (in *ElasticsearchVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (ElasticsearchVersion) ResourceFQN added in v0.16.0

func (e ElasticsearchVersion) ResourceFQN() string

func (ElasticsearchVersion) ResourceKind

func (e ElasticsearchVersion) ResourceKind() string

func (ElasticsearchVersion) ResourcePlural

func (e ElasticsearchVersion) ResourcePlural() string

func (ElasticsearchVersion) ResourceShortCode

func (e ElasticsearchVersion) ResourceShortCode() string

func (ElasticsearchVersion) ResourceSingular

func (e ElasticsearchVersion) ResourceSingular() string

func (ElasticsearchVersion) ValidateSpecs

func (e ElasticsearchVersion) ValidateSpecs() error

type ElasticsearchVersionDashboardInitContainer added in v0.25.0

type ElasticsearchVersionDashboardInitContainer struct {
	YQImage string `json:"yqImage"`
}

ElasticsearchVersionDashboardInitContainer is the ElasticsearchDashboard Container initializer

func (*ElasticsearchVersionDashboardInitContainer) DeepCopy added in v0.25.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchVersionDashboardInitContainer.

func (*ElasticsearchVersionDashboardInitContainer) DeepCopyInto added in v0.25.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ElasticsearchVersionDatabase

type ElasticsearchVersionDatabase struct {
	Image string `json:"image"`
}

ElasticsearchVersionDatabase is the Elasticsearch Database image

func (*ElasticsearchVersionDatabase) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchVersionDatabase.

func (*ElasticsearchVersionDatabase) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ElasticsearchVersionExporter

type ElasticsearchVersionExporter struct {
	Image string `json:"image"`
}

ElasticsearchVersionExporter is the image for the Elasticsearch exporter

func (*ElasticsearchVersionExporter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchVersionExporter.

func (*ElasticsearchVersionExporter) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ElasticsearchVersionInitContainer

type ElasticsearchVersionInitContainer struct {
	Image   string `json:"image"`
	YQImage string `json:"yqImage"`
}

ElasticsearchVersionInitContainer is the Elasticsearch Container initializer

func (*ElasticsearchVersionInitContainer) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchVersionInitContainer.

func (*ElasticsearchVersionInitContainer) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ElasticsearchVersionList

type ElasticsearchVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ElasticsearchVersion CRD objects
	Items []ElasticsearchVersion `json:"items,omitempty"`
}

ElasticsearchVersionList is a list of ElasticsearchVersions

func (*ElasticsearchVersionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchVersionList.

func (*ElasticsearchVersionList) DeepCopyInto

func (in *ElasticsearchVersionList) DeepCopyInto(out *ElasticsearchVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ElasticsearchVersionList) DeepCopyObject

func (in *ElasticsearchVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ElasticsearchVersionPodSecurityPolicy

type ElasticsearchVersionPodSecurityPolicy struct {
	DatabasePolicyName string `json:"databasePolicyName"`
}

ElasticsearchVersionPodSecurityPolicy is the Elasticsearch pod security policies

func (*ElasticsearchVersionPodSecurityPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchVersionPodSecurityPolicy.

func (*ElasticsearchVersionPodSecurityPolicy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ElasticsearchVersionSpec

type ElasticsearchVersionSpec struct {
	// Version
	Version string `json:"version"`
	// Distribution
	Distribution ElasticsearchDistro `json:"distribution,omitempty"`
	// Authentication plugin used by Elasticsearch cluster
	AuthPlugin ElasticsearchAuthPlugin `json:"authPlugin"`
	// Database Image
	DB ElasticsearchVersionDatabase `json:"db"`
	// Dashboard Image
	// +optional
	Dashboard ElasticsearchDashboardVersionDatabase `json:"dashboard,omitempty"`
	// Exporter Image
	Exporter ElasticsearchVersionExporter `json:"exporter"`
	// Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded.
	// +optional
	Deprecated bool `json:"deprecated,omitempty"`
	// Init container Image
	InitContainer ElasticsearchVersionInitContainer `json:"initContainer"`
	// Init container Image
	// +optional
	DashboardInitContainer ElasticsearchVersionDashboardInitContainer `json:"dashboardInitContainer,omitempty"`
	// PSP names
	PodSecurityPolicies ElasticsearchVersionPodSecurityPolicy `json:"podSecurityPolicies"`
	// Stash defines backup and restore task definitions.
	// +optional
	Stash appcat.StashAddonSpec `json:"stash,omitempty"`
	// SecurityContext is for the additional security information for the Elasticsearch container
	// +optional
	SecurityContext ElasticsearchSecurityContext `json:"securityContext"`
	// upgrade constraints
	UpgradeConstraints UpgradeConstraints `json:"upgradeConstraints,omitempty"`
}

ElasticsearchVersionSpec is the spec for elasticsearch version

func (*ElasticsearchVersionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchVersionSpec.

func (*ElasticsearchVersionSpec) DeepCopyInto

func (in *ElasticsearchVersionSpec) DeepCopyInto(out *ElasticsearchVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EtcdVersion

type EtcdVersion struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EtcdVersionSpec `json:"spec,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=etcdversions,singular=etcdversion,scope=Cluster,shortName=etcversion,categories={datastore,kubedb,appscode} +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="DB_IMAGE",type="string",JSONPath=".spec.db.image" +kubebuilder:printcolumn:name="Deprecated",type="boolean",JSONPath=".spec.deprecated" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (EtcdVersion) CustomResourceDefinition

func (_ EtcdVersion) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*EtcdVersion) DeepCopy

func (in *EtcdVersion) DeepCopy() *EtcdVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdVersion.

func (*EtcdVersion) DeepCopyInto

func (in *EtcdVersion) DeepCopyInto(out *EtcdVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EtcdVersion) DeepCopyObject

func (in *EtcdVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (EtcdVersion) ResourceFQN added in v0.16.0

func (e EtcdVersion) ResourceFQN() string

func (EtcdVersion) ResourceKind

func (e EtcdVersion) ResourceKind() string

func (EtcdVersion) ResourcePlural

func (e EtcdVersion) ResourcePlural() string

func (EtcdVersion) ResourceShortCode

func (e EtcdVersion) ResourceShortCode() string

func (EtcdVersion) ResourceSingular

func (e EtcdVersion) ResourceSingular() string

func (EtcdVersion) ValidateSpecs

func (e EtcdVersion) ValidateSpecs() error

type EtcdVersionDatabase

type EtcdVersionDatabase struct {
	Image string `json:"image"`
}

EtcdVersionDatabase is the Etcd Database image

func (*EtcdVersionDatabase) DeepCopy

func (in *EtcdVersionDatabase) DeepCopy() *EtcdVersionDatabase

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdVersionDatabase.

func (*EtcdVersionDatabase) DeepCopyInto

func (in *EtcdVersionDatabase) DeepCopyInto(out *EtcdVersionDatabase)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EtcdVersionExporter

type EtcdVersionExporter struct {
	Image string `json:"image"`
}

EtcdVersionExporter is the image for the Etcd exporter

func (*EtcdVersionExporter) DeepCopy

func (in *EtcdVersionExporter) DeepCopy() *EtcdVersionExporter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdVersionExporter.

func (*EtcdVersionExporter) DeepCopyInto

func (in *EtcdVersionExporter) DeepCopyInto(out *EtcdVersionExporter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EtcdVersionList

type EtcdVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of EtcdVersion CRD objects
	Items []EtcdVersion `json:"items,omitempty"`
}

EtcdVersionList is a list of EtcdVersions

func (*EtcdVersionList) DeepCopy

func (in *EtcdVersionList) DeepCopy() *EtcdVersionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdVersionList.

func (*EtcdVersionList) DeepCopyInto

func (in *EtcdVersionList) DeepCopyInto(out *EtcdVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EtcdVersionList) DeepCopyObject

func (in *EtcdVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EtcdVersionSpec

type EtcdVersionSpec struct {
	// Version
	Version string `json:"version"`
	// Database Image
	DB EtcdVersionDatabase `json:"db"`
	// Exporter Image
	Exporter EtcdVersionExporter `json:"exporter"`
	// Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded.
	// +optional
	Deprecated bool `json:"deprecated,omitempty"`
	// Stash defines backup and restore task definitions.
	// +optional
	Stash appcat.StashAddonSpec `json:"stash,omitempty"`
}

EtcdVersionSpec is the spec for postgres version

func (*EtcdVersionSpec) DeepCopy

func (in *EtcdVersionSpec) DeepCopy() *EtcdVersionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdVersionSpec.

func (*EtcdVersionSpec) DeepCopyInto

func (in *EtcdVersionSpec) DeepCopyInto(out *EtcdVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MariaDBVersion

type MariaDBVersion struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MariaDBVersionSpec `json:"spec,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=mariadbversions,singular=mariadbversion,scope=Cluster,shortName=mariaversion,categories={datastore,kubedb,appscode} +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="DB_IMAGE",type="string",JSONPath=".spec.db.image" +kubebuilder:printcolumn:name="Deprecated",type="boolean",JSONPath=".spec.deprecated" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (MariaDBVersion) CustomResourceDefinition

func (m MariaDBVersion) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*MariaDBVersion) DeepCopy

func (in *MariaDBVersion) DeepCopy() *MariaDBVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBVersion.

func (*MariaDBVersion) DeepCopyInto

func (in *MariaDBVersion) DeepCopyInto(out *MariaDBVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MariaDBVersion) DeepCopyObject

func (in *MariaDBVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (MariaDBVersion) ResourceFQN added in v0.16.0

func (m MariaDBVersion) ResourceFQN() string

func (MariaDBVersion) ResourceKind

func (m MariaDBVersion) ResourceKind() string

func (MariaDBVersion) ResourcePlural

func (m MariaDBVersion) ResourcePlural() string

func (MariaDBVersion) ResourceShortCode

func (m MariaDBVersion) ResourceShortCode() string

func (MariaDBVersion) ResourceSingular

func (m MariaDBVersion) ResourceSingular() string

func (MariaDBVersion) ValidateSpecs

func (m MariaDBVersion) ValidateSpecs() error

type MariaDBVersionCoordinator added in v0.21.0

type MariaDBVersionCoordinator struct {
	Image string `json:"image"`
}

MariaDBVersionCoordinator is the MariaDB Coordinator image

func (*MariaDBVersionCoordinator) DeepCopy added in v0.21.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBVersionCoordinator.

func (*MariaDBVersionCoordinator) DeepCopyInto added in v0.21.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MariaDBVersionDatabase

type MariaDBVersionDatabase struct {
	Image string `json:"image"`
}

MariaDBVersionDatabase is the mariadb image

func (*MariaDBVersionDatabase) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBVersionDatabase.

func (*MariaDBVersionDatabase) DeepCopyInto

func (in *MariaDBVersionDatabase) DeepCopyInto(out *MariaDBVersionDatabase)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MariaDBVersionExporter

type MariaDBVersionExporter struct {
	Image string `json:"image"`
}

MariaDBVersionExporter is the image for the MariaDB exporter

func (*MariaDBVersionExporter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBVersionExporter.

func (*MariaDBVersionExporter) DeepCopyInto

func (in *MariaDBVersionExporter) DeepCopyInto(out *MariaDBVersionExporter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MariaDBVersionInitContainer

type MariaDBVersionInitContainer struct {
	Image string `json:"image"`
}

MariaDBVersionInitContainer is the MariaDB Container initializer

func (*MariaDBVersionInitContainer) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBVersionInitContainer.

func (*MariaDBVersionInitContainer) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MariaDBVersionList

type MariaDBVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of MariaDBVersion CRD objects
	Items []MariaDBVersion `json:"items,omitempty"`
}

MariaDBVersionList is a list of MariaDBVersions

func (*MariaDBVersionList) DeepCopy

func (in *MariaDBVersionList) DeepCopy() *MariaDBVersionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBVersionList.

func (*MariaDBVersionList) DeepCopyInto

func (in *MariaDBVersionList) DeepCopyInto(out *MariaDBVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MariaDBVersionList) DeepCopyObject

func (in *MariaDBVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MariaDBVersionPodSecurityPolicy

type MariaDBVersionPodSecurityPolicy struct {
	DatabasePolicyName string `json:"databasePolicyName"`
}

MariaDBVersionPodSecurityPolicy is the MariaDB pod security policies

func (*MariaDBVersionPodSecurityPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBVersionPodSecurityPolicy.

func (*MariaDBVersionPodSecurityPolicy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MariaDBVersionSpec

type MariaDBVersionSpec struct {
	// Version
	Version string `json:"version"`
	// Database Image
	DB MariaDBVersionDatabase `json:"db"`
	// Exporter Image
	Exporter MariaDBVersionExporter `json:"exporter"`
	// Coordinator Image
	Coordinator MariaDBVersionCoordinator `json:"coordinator,omitempty"`
	// Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded.
	// +optional
	Deprecated bool `json:"deprecated,omitempty"`
	// Init container Image
	// TODO: remove if not needed
	InitContainer MariaDBVersionInitContainer `json:"initContainer"`
	// PSP names
	PodSecurityPolicies MariaDBVersionPodSecurityPolicy `json:"podSecurityPolicies"`
	// Stash defines backup and restore task definitions.
	// +optional
	Stash appcat.StashAddonSpec `json:"stash,omitempty"`
	// upgrade constraints
	UpgradeConstraints UpgradeConstraints `json:"upgradeConstraints,omitempty"`
}

MariaDBVersionSpec is the spec for MariaDB version

func (*MariaDBVersionSpec) DeepCopy

func (in *MariaDBVersionSpec) DeepCopy() *MariaDBVersionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBVersionSpec.

func (*MariaDBVersionSpec) DeepCopyInto

func (in *MariaDBVersionSpec) DeepCopyInto(out *MariaDBVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemcachedVersion

type MemcachedVersion struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MemcachedVersionSpec `json:"spec,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=memcachedversions,singular=memcachedversion,scope=Cluster,shortName=mcversion,categories={datastore,kubedb,appscode} +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="DB_IMAGE",type="string",JSONPath=".spec.db.image" +kubebuilder:printcolumn:name="Deprecated",type="boolean",JSONPath=".spec.deprecated" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (MemcachedVersion) CustomResourceDefinition

func (_ MemcachedVersion) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*MemcachedVersion) DeepCopy

func (in *MemcachedVersion) DeepCopy() *MemcachedVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedVersion.

func (*MemcachedVersion) DeepCopyInto

func (in *MemcachedVersion) DeepCopyInto(out *MemcachedVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MemcachedVersion) DeepCopyObject

func (in *MemcachedVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (MemcachedVersion) ResourceFQN added in v0.16.0

func (m MemcachedVersion) ResourceFQN() string

func (MemcachedVersion) ResourceKind

func (m MemcachedVersion) ResourceKind() string

func (MemcachedVersion) ResourcePlural

func (m MemcachedVersion) ResourcePlural() string

func (MemcachedVersion) ResourceShortCode

func (m MemcachedVersion) ResourceShortCode() string

func (MemcachedVersion) ResourceSingular

func (m MemcachedVersion) ResourceSingular() string

func (MemcachedVersion) ValidateSpecs

func (m MemcachedVersion) ValidateSpecs() error

type MemcachedVersionDatabase

type MemcachedVersionDatabase struct {
	Image string `json:"image"`
}

MemcachedVersionDatabase is the Memcached Database image

func (*MemcachedVersionDatabase) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedVersionDatabase.

func (*MemcachedVersionDatabase) DeepCopyInto

func (in *MemcachedVersionDatabase) DeepCopyInto(out *MemcachedVersionDatabase)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemcachedVersionExporter

type MemcachedVersionExporter struct {
	Image string `json:"image"`
}

MemcachedVersionExporter is the image for the Memcached exporter

func (*MemcachedVersionExporter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedVersionExporter.

func (*MemcachedVersionExporter) DeepCopyInto

func (in *MemcachedVersionExporter) DeepCopyInto(out *MemcachedVersionExporter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemcachedVersionList

type MemcachedVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of MemcachedVersion CRD objects
	Items []MemcachedVersion `json:"items,omitempty"`
}

MemcachedVersionList is a list of MemcachedVersions

func (*MemcachedVersionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedVersionList.

func (*MemcachedVersionList) DeepCopyInto

func (in *MemcachedVersionList) DeepCopyInto(out *MemcachedVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MemcachedVersionList) DeepCopyObject

func (in *MemcachedVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MemcachedVersionPodSecurityPolicy

type MemcachedVersionPodSecurityPolicy struct {
	DatabasePolicyName string `json:"databasePolicyName"`
}

MemcachedVersionPodSecurityPolicy is the Memcached pod security policies

func (*MemcachedVersionPodSecurityPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedVersionPodSecurityPolicy.

func (*MemcachedVersionPodSecurityPolicy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemcachedVersionSpec

type MemcachedVersionSpec struct {
	// Version
	Version string `json:"version"`
	// Database Image
	DB MemcachedVersionDatabase `json:"db"`
	// Exporter Image
	Exporter MemcachedVersionExporter `json:"exporter"`
	// Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded.
	// +optional
	Deprecated bool `json:"deprecated,omitempty"`
	// PSP names
	PodSecurityPolicies MemcachedVersionPodSecurityPolicy `json:"podSecurityPolicies"`
}

MemcachedVersionSpec is the spec for memcached version

func (*MemcachedVersionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedVersionSpec.

func (*MemcachedVersionSpec) DeepCopyInto

func (in *MemcachedVersionSpec) DeepCopyInto(out *MemcachedVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MongoDBDistro added in v0.17.0

type MongoDBDistro string

+kubebuilder:validation:Enum=Official;Percona;KubeDB;MongoDB

const (
	MongoDBDistroOfficaial MongoDBDistro = "Official"
	MongoDBDistroPercona   MongoDBDistro = "Percona"
	MongoDBDistroKubeDB    MongoDBDistro = "KubeDB"
)

type MongoDBVersion

type MongoDBVersion struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MongoDBVersionSpec `json:"spec,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=mongodbversions,singular=mongodbversion,scope=Cluster,shortName=mgversion,categories={datastore,kubedb,appscode} +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="Distribution",type="string",JSONPath=".spec.distribution" +kubebuilder:printcolumn:name="DB_IMAGE",type="string",JSONPath=".spec.db.image" +kubebuilder:printcolumn:name="Deprecated",type="boolean",JSONPath=".spec.deprecated" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (MongoDBVersion) CustomResourceDefinition

func (_ MongoDBVersion) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*MongoDBVersion) DeepCopy

func (in *MongoDBVersion) DeepCopy() *MongoDBVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBVersion.

func (*MongoDBVersion) DeepCopyInto

func (in *MongoDBVersion) DeepCopyInto(out *MongoDBVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MongoDBVersion) DeepCopyObject

func (in *MongoDBVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (MongoDBVersion) ResourceFQN added in v0.16.0

func (m MongoDBVersion) ResourceFQN() string

func (MongoDBVersion) ResourceKind

func (m MongoDBVersion) ResourceKind() string

func (MongoDBVersion) ResourcePlural

func (m MongoDBVersion) ResourcePlural() string

func (MongoDBVersion) ResourceShortCode

func (m MongoDBVersion) ResourceShortCode() string

func (MongoDBVersion) ResourceSingular

func (m MongoDBVersion) ResourceSingular() string

func (MongoDBVersion) ValidateSpecs

func (m MongoDBVersion) ValidateSpecs() error

type MongoDBVersionDatabase

type MongoDBVersionDatabase struct {
	Image string `json:"image"`
}

MongoDBVersionDatabase is the MongoDB Database image

func (*MongoDBVersionDatabase) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBVersionDatabase.

func (*MongoDBVersionDatabase) DeepCopyInto

func (in *MongoDBVersionDatabase) DeepCopyInto(out *MongoDBVersionDatabase)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MongoDBVersionExporter

type MongoDBVersionExporter struct {
	Image string `json:"image"`
}

MongoDBVersionExporter is the image for the MongoDB exporter

func (*MongoDBVersionExporter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBVersionExporter.

func (*MongoDBVersionExporter) DeepCopyInto

func (in *MongoDBVersionExporter) DeepCopyInto(out *MongoDBVersionExporter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MongoDBVersionInitContainer

type MongoDBVersionInitContainer struct {
	Image string `json:"image"`
}

MongoDBVersionInitContainer is the Elasticsearch Container initializer

func (*MongoDBVersionInitContainer) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBVersionInitContainer.

func (*MongoDBVersionInitContainer) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MongoDBVersionList

type MongoDBVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of MongoDBVersion CRD objects
	Items []MongoDBVersion `json:"items,omitempty"`
}

MongoDBVersionList is a list of MongoDBVersions

func (*MongoDBVersionList) DeepCopy

func (in *MongoDBVersionList) DeepCopy() *MongoDBVersionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBVersionList.

func (*MongoDBVersionList) DeepCopyInto

func (in *MongoDBVersionList) DeepCopyInto(out *MongoDBVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MongoDBVersionList) DeepCopyObject

func (in *MongoDBVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MongoDBVersionPodSecurityPolicy

type MongoDBVersionPodSecurityPolicy struct {
	DatabasePolicyName string `json:"databasePolicyName"`
}

MongoDBVersionPodSecurityPolicy is the MongoDB pod security policies

func (*MongoDBVersionPodSecurityPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBVersionPodSecurityPolicy.

func (*MongoDBVersionPodSecurityPolicy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MongoDBVersionSpec

type MongoDBVersionSpec struct {
	// Version
	Version string `json:"version"`
	// Distribution
	Distribution MongoDBDistro `json:"distribution,omitempty"`
	// Database Image
	DB MongoDBVersionDatabase `json:"db"`
	// Exporter Image
	Exporter MongoDBVersionExporter `json:"exporter"`
	// Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded.
	// +optional
	Deprecated bool `json:"deprecated,omitempty"`
	// Init container Image
	InitContainer MongoDBVersionInitContainer `json:"initContainer"`
	// PSP names
	PodSecurityPolicies MongoDBVersionPodSecurityPolicy `json:"podSecurityPolicies"`
	// ReplicationModeDetector Image
	ReplicationModeDetector ReplicationModeDetector `json:"replicationModeDetector"`
	// Stash defines backup and restore task definitions.
	// +optional
	Stash appcat.StashAddonSpec `json:"stash,omitempty"`
	// upgrade constraints
	UpgradeConstraints UpgradeConstraints `json:"upgradeConstraints,omitempty"`
}

MongoDBVersionSpec is the spec for mongodb version

func (*MongoDBVersionSpec) DeepCopy

func (in *MongoDBVersionSpec) DeepCopy() *MongoDBVersionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBVersionSpec.

func (*MongoDBVersionSpec) DeepCopyInto

func (in *MongoDBVersionSpec) DeepCopyInto(out *MongoDBVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MySQLDistro added in v0.17.0

type MySQLDistro string

+kubebuilder:validation:Enum=Official;Oracle;Percona;KubeDB;MySQL

const (
	MySQLDistroOfficial MySQLDistro = "Official"
	MySQLDistroMySQL    MySQLDistro = "MySQL"
	MySQLDistroPercona  MySQLDistro = "Percona"
	MySQLDistroKubeDB   MySQLDistro = "KubeDB"
)

type MySQLUpgradeConstraints

type MySQLUpgradeConstraints struct {
	// List of all accepted versions for upgrade request
	Allowlist MySQLVersionAllowlist `json:"allowlist,omitempty"`
	// List of all rejected versions for upgrade request
	Denylist MySQLVersionDenylist `json:"denylist,omitempty"`
}

func (*MySQLUpgradeConstraints) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLUpgradeConstraints.

func (*MySQLUpgradeConstraints) DeepCopyInto

func (in *MySQLUpgradeConstraints) DeepCopyInto(out *MySQLUpgradeConstraints)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MySQLVersion

type MySQLVersion struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MySQLVersionSpec `json:"spec,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=mysqlversions,singular=mysqlversion,scope=Cluster,shortName=myversion,categories={datastore,kubedb,appscode} +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="Distribution",type="string",JSONPath=".spec.distribution" +kubebuilder:printcolumn:name="DB_IMAGE",type="string",JSONPath=".spec.db.image" +kubebuilder:printcolumn:name="Deprecated",type="boolean",JSONPath=".spec.deprecated" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (MySQLVersion) CustomResourceDefinition

func (_ MySQLVersion) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*MySQLVersion) DeepCopy

func (in *MySQLVersion) DeepCopy() *MySQLVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLVersion.

func (*MySQLVersion) DeepCopyInto

func (in *MySQLVersion) DeepCopyInto(out *MySQLVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MySQLVersion) DeepCopyObject

func (in *MySQLVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (MySQLVersion) ResourceFQN added in v0.16.0

func (m MySQLVersion) ResourceFQN() string

func (MySQLVersion) ResourceKind

func (m MySQLVersion) ResourceKind() string

func (MySQLVersion) ResourcePlural

func (m MySQLVersion) ResourcePlural() string

func (MySQLVersion) ResourceShortCode

func (m MySQLVersion) ResourceShortCode() string

func (MySQLVersion) ResourceSingular

func (m MySQLVersion) ResourceSingular() string

func (MySQLVersion) ValidateSpecs

func (m MySQLVersion) ValidateSpecs() error

type MySQLVersionAllowlist added in v0.28.0

type MySQLVersionAllowlist struct {
	// List of all accepted versions for upgrade request of a Standalone server. empty indicates all accepted
	Standalone []string `json:"standalone,omitempty"`
	// List of all accepted versions for upgrade request of a GroupReplication cluster. empty indicates all accepted
	GroupReplication []string `json:"groupReplication,omitempty"`
}

func (*MySQLVersionAllowlist) DeepCopy added in v0.28.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLVersionAllowlist.

func (*MySQLVersionAllowlist) DeepCopyInto added in v0.28.0

func (in *MySQLVersionAllowlist) DeepCopyInto(out *MySQLVersionAllowlist)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MySQLVersionCoordinator added in v0.23.0

type MySQLVersionCoordinator struct {
	Image string `json:"image"`
}

MySQLVersionCoordinator is the image for coordinator

func (*MySQLVersionCoordinator) DeepCopy added in v0.23.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLVersionCoordinator.

func (*MySQLVersionCoordinator) DeepCopyInto added in v0.23.0

func (in *MySQLVersionCoordinator) DeepCopyInto(out *MySQLVersionCoordinator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MySQLVersionDatabase

type MySQLVersionDatabase struct {
	Image string `json:"image"`
}

MySQLVersionDatabase is the MySQL Database image

func (*MySQLVersionDatabase) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLVersionDatabase.

func (*MySQLVersionDatabase) DeepCopyInto

func (in *MySQLVersionDatabase) DeepCopyInto(out *MySQLVersionDatabase)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MySQLVersionDenylist added in v0.28.0

type MySQLVersionDenylist struct {
	// List of all rejected versions for upgrade request of a Standalone server
	Standalone []string `json:"standalone,omitempty"`
	// List of all rejected versions for upgrade request of a GroupReplication cluster
	GroupReplication []string `json:"groupReplication,omitempty"`
}

func (*MySQLVersionDenylist) DeepCopy added in v0.28.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLVersionDenylist.

func (*MySQLVersionDenylist) DeepCopyInto added in v0.28.0

func (in *MySQLVersionDenylist) DeepCopyInto(out *MySQLVersionDenylist)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MySQLVersionExporter

type MySQLVersionExporter struct {
	Image string `json:"image"`
}

MySQLVersionExporter is the image for the MySQL exporter

func (*MySQLVersionExporter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLVersionExporter.

func (*MySQLVersionExporter) DeepCopyInto

func (in *MySQLVersionExporter) DeepCopyInto(out *MySQLVersionExporter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MySQLVersionInitContainer

type MySQLVersionInitContainer struct {
	Image string `json:"image"`
}

MySQLVersionInitContainer is the MySQL Container initializer

func (*MySQLVersionInitContainer) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLVersionInitContainer.

func (*MySQLVersionInitContainer) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MySQLVersionList

type MySQLVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of MySQLVersion CRD objects
	Items []MySQLVersion `json:"items,omitempty"`
}

MySQLVersionList is a list of MySQLVersions

func (*MySQLVersionList) DeepCopy

func (in *MySQLVersionList) DeepCopy() *MySQLVersionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLVersionList.

func (*MySQLVersionList) DeepCopyInto

func (in *MySQLVersionList) DeepCopyInto(out *MySQLVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MySQLVersionList) DeepCopyObject

func (in *MySQLVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MySQLVersionPodSecurityPolicy

type MySQLVersionPodSecurityPolicy struct {
	DatabasePolicyName string `json:"databasePolicyName"`
}

MySQLVersionPodSecurityPolicy is the MySQL pod security policies

func (*MySQLVersionPodSecurityPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLVersionPodSecurityPolicy.

func (*MySQLVersionPodSecurityPolicy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MySQLVersionRouter added in v0.23.0

type MySQLVersionRouter struct {
	Image string `json:"image"`
}

MySQLVersionRouter is the MySQL Router lightweight middleware that provides transparent routing between your application and back-end MySQL Servers

func (*MySQLVersionRouter) DeepCopy added in v0.23.0

func (in *MySQLVersionRouter) DeepCopy() *MySQLVersionRouter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLVersionRouter.

func (*MySQLVersionRouter) DeepCopyInto added in v0.23.0

func (in *MySQLVersionRouter) DeepCopyInto(out *MySQLVersionRouter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MySQLVersionRouterInitContainer added in v0.23.0

type MySQLVersionRouterInitContainer struct {
	Image string `json:"image"`
}

MySQLVersionRouterInitContainer is mysql router init container

func (*MySQLVersionRouterInitContainer) DeepCopy added in v0.23.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLVersionRouterInitContainer.

func (*MySQLVersionRouterInitContainer) DeepCopyInto added in v0.23.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MySQLVersionSpec

type MySQLVersionSpec struct {
	// Version
	Version string `json:"version"`
	// Distribution
	Distribution MySQLDistro `json:"distribution,omitempty"`
	// Database Image
	DB MySQLVersionDatabase `json:"db"`
	// Exporter Image
	Exporter MySQLVersionExporter `json:"exporter"`
	// Coordinator Image
	// +optional
	Coordinator MySQLVersionCoordinator `json:"coordinator,omitempty"`
	// ReplicationModeDetector Image
	// +optional
	ReplicationModeDetector ReplicationModeDetector `json:"replicationModeDetector,omitempty"`
	// Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded.
	// +optional
	Deprecated bool `json:"deprecated,omitempty"`
	// Init container Image
	InitContainer MySQLVersionInitContainer `json:"initContainer"`
	// PSP names
	PodSecurityPolicies MySQLVersionPodSecurityPolicy `json:"podSecurityPolicies"`
	// upgrade constraints
	UpgradeConstraints MySQLUpgradeConstraints `json:"upgradeConstraints,omitempty"`
	// Stash defines backup and restore task definitions.
	// +optional
	Stash appcat.StashAddonSpec `json:"stash,omitempty"`
	// Router image
	// +optional
	Router MySQLVersionRouter `json:"router,omitempty"`
	// +optional
	RouterInitContainer MySQLVersionRouterInitContainer `json:"routerInitContainer,omitempty"`
}

MySQLVersionSpec is the spec for MySQL version

func (*MySQLVersionSpec) DeepCopy

func (in *MySQLVersionSpec) DeepCopy() *MySQLVersionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLVersionSpec.

func (*MySQLVersionSpec) DeepCopyInto

func (in *MySQLVersionSpec) DeepCopyInto(out *MySQLVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PerconaXtraDBVersion

type PerconaXtraDBVersion struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PerconaXtraDBVersionSpec `json:"spec,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=perconaxtradbversions,singular=perconaxtradbversion,scope=Cluster,shortName=pxversion,categories={datastore,kubedb,appscode} +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="DB_IMAGE",type="string",JSONPath=".spec.db.image" +kubebuilder:printcolumn:name="Deprecated",type="boolean",JSONPath=".spec.deprecated" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (PerconaXtraDBVersion) CustomResourceDefinition

func (_ PerconaXtraDBVersion) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*PerconaXtraDBVersion) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBVersion.

func (*PerconaXtraDBVersion) DeepCopyInto

func (in *PerconaXtraDBVersion) DeepCopyInto(out *PerconaXtraDBVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PerconaXtraDBVersion) DeepCopyObject

func (in *PerconaXtraDBVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (PerconaXtraDBVersion) ResourceFQN added in v0.16.0

func (p PerconaXtraDBVersion) ResourceFQN() string

func (PerconaXtraDBVersion) ResourceKind

func (p PerconaXtraDBVersion) ResourceKind() string

func (PerconaXtraDBVersion) ResourcePlural

func (p PerconaXtraDBVersion) ResourcePlural() string

func (PerconaXtraDBVersion) ResourceShortCode

func (p PerconaXtraDBVersion) ResourceShortCode() string

func (PerconaXtraDBVersion) ResourceSingular

func (p PerconaXtraDBVersion) ResourceSingular() string

func (PerconaXtraDBVersion) ValidateSpecs

func (p PerconaXtraDBVersion) ValidateSpecs() error

type PerconaXtraDBVersionCoordinator added in v0.28.0

type PerconaXtraDBVersionCoordinator struct {
	Image string `json:"image"`
}

PerconaXtraDBVersionCoordinator is the PerconaXtraDB Coordinator image

func (*PerconaXtraDBVersionCoordinator) DeepCopy added in v0.28.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBVersionCoordinator.

func (*PerconaXtraDBVersionCoordinator) DeepCopyInto added in v0.28.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PerconaXtraDBVersionDatabase

type PerconaXtraDBVersionDatabase struct {
	Image string `json:"image"`
}

PerconaXtraDBVersionDatabase is the perconaxtradb image

func (*PerconaXtraDBVersionDatabase) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBVersionDatabase.

func (*PerconaXtraDBVersionDatabase) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PerconaXtraDBVersionExporter

type PerconaXtraDBVersionExporter struct {
	Image string `json:"image"`
}

PerconaXtraDBVersionExporter is the image for the PerconaXtraDB exporter

func (*PerconaXtraDBVersionExporter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBVersionExporter.

func (*PerconaXtraDBVersionExporter) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PerconaXtraDBVersionInitContainer

type PerconaXtraDBVersionInitContainer struct {
	Image string `json:"image"`
}

PerconaXtraDBVersionInitContainer is the PerconaXtraDB Container initializer

func (*PerconaXtraDBVersionInitContainer) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBVersionInitContainer.

func (*PerconaXtraDBVersionInitContainer) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PerconaXtraDBVersionList

type PerconaXtraDBVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of PerconaXtraDBVersion CRD objects
	Items []PerconaXtraDBVersion `json:"items,omitempty"`
}

PerconaXtraDBVersionList is a list of PerconaXtraDBVersions

func (*PerconaXtraDBVersionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBVersionList.

func (*PerconaXtraDBVersionList) DeepCopyInto

func (in *PerconaXtraDBVersionList) DeepCopyInto(out *PerconaXtraDBVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PerconaXtraDBVersionList) DeepCopyObject

func (in *PerconaXtraDBVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PerconaXtraDBVersionPodSecurityPolicy

type PerconaXtraDBVersionPodSecurityPolicy struct {
	DatabasePolicyName string `json:"databasePolicyName"`
}

PerconaXtraDBVersionPodSecurityPolicy is the PerconaXtraDB pod security policies

func (*PerconaXtraDBVersionPodSecurityPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBVersionPodSecurityPolicy.

func (*PerconaXtraDBVersionPodSecurityPolicy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PerconaXtraDBVersionSpec

type PerconaXtraDBVersionSpec struct {
	// Version
	Version string `json:"version"`
	// Database Image
	DB PerconaXtraDBVersionDatabase `json:"db"`
	// Exporter Image
	Exporter PerconaXtraDBVersionExporter `json:"exporter"`
	// Coordinator Image
	Coordinator PerconaXtraDBVersionCoordinator `json:"coordinator,omitempty"`
	// Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded.
	// +optional
	Deprecated bool `json:"deprecated,omitempty"`
	// Init container Image
	// TODO: remove if not needed
	InitContainer PerconaXtraDBVersionInitContainer `json:"initContainer"`
	// PSP names
	PodSecurityPolicies PerconaXtraDBVersionPodSecurityPolicy `json:"podSecurityPolicies"`
	// Stash defines backup and restore task definitions.
	// +optional
	Stash appcat.StashAddonSpec `json:"stash,omitempty"`
	// upgrade constraints
	UpgradeConstraints UpgradeConstraints `json:"upgradeConstraints,omitempty"`
}

PerconaXtraDBVersionSpec is the spec for PerconaXtraDB version

func (*PerconaXtraDBVersionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBVersionSpec.

func (*PerconaXtraDBVersionSpec) DeepCopyInto

func (in *PerconaXtraDBVersionSpec) DeepCopyInto(out *PerconaXtraDBVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PgBouncerVersion

type PgBouncerVersion struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PgBouncerVersionSpec `json:"spec,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=pgbouncerversions,singular=pgbouncerversion,scope=Cluster,shortName=pbversion,categories={datastore,kubedb,appscode} +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="PGBOUNCER_IMAGE",type="string",JSONPath=".spec.pgBouncer.image" +kubebuilder:printcolumn:name="Deprecated",type="boolean",JSONPath=".spec.deprecated" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (PgBouncerVersion) CustomResourceDefinition

func (_ PgBouncerVersion) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*PgBouncerVersion) DeepCopy

func (in *PgBouncerVersion) DeepCopy() *PgBouncerVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerVersion.

func (*PgBouncerVersion) DeepCopyInto

func (in *PgBouncerVersion) DeepCopyInto(out *PgBouncerVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PgBouncerVersion) DeepCopyObject

func (in *PgBouncerVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (PgBouncerVersion) ResourceFQN added in v0.16.0

func (p PgBouncerVersion) ResourceFQN() string

func (PgBouncerVersion) ResourceKind

func (p PgBouncerVersion) ResourceKind() string

func (PgBouncerVersion) ResourcePlural

func (p PgBouncerVersion) ResourcePlural() string

func (PgBouncerVersion) ResourceShortCode

func (p PgBouncerVersion) ResourceShortCode() string

func (PgBouncerVersion) ResourceSingular

func (p PgBouncerVersion) ResourceSingular() string

func (PgBouncerVersion) ValidateSpecs

func (p PgBouncerVersion) ValidateSpecs() error

type PgBouncerVersionDatabase added in v0.27.0

type PgBouncerVersionDatabase struct {
	Image string `json:"image"`
}

PgBouncerVersionDatabase is the PgBouncer Database image

func (*PgBouncerVersionDatabase) DeepCopy added in v0.27.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerVersionDatabase.

func (*PgBouncerVersionDatabase) DeepCopyInto added in v0.27.0

func (in *PgBouncerVersionDatabase) DeepCopyInto(out *PgBouncerVersionDatabase)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PgBouncerVersionExporter

type PgBouncerVersionExporter struct {
	Image string `json:"image"`
}

PgBouncerVersionExporter is the image for the PgBouncer exporter

func (*PgBouncerVersionExporter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerVersionExporter.

func (*PgBouncerVersionExporter) DeepCopyInto

func (in *PgBouncerVersionExporter) DeepCopyInto(out *PgBouncerVersionExporter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PgBouncerVersionInitContainer added in v0.27.0

type PgBouncerVersionInitContainer struct {
	Image string `json:"image"`
}

PgBouncerVersionInitContainer is the PgBouncer init container image

func (*PgBouncerVersionInitContainer) DeepCopy added in v0.27.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerVersionInitContainer.

func (*PgBouncerVersionInitContainer) DeepCopyInto added in v0.27.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PgBouncerVersionList

type PgBouncerVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of PgBouncerVersion CRD objects
	Items []PgBouncerVersion `json:"items,omitempty"`
}

PgBouncerVersionList is a list of PgBouncerVersions

func (*PgBouncerVersionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerVersionList.

func (*PgBouncerVersionList) DeepCopyInto

func (in *PgBouncerVersionList) DeepCopyInto(out *PgBouncerVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PgBouncerVersionList) DeepCopyObject

func (in *PgBouncerVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PgBouncerVersionSpec

type PgBouncerVersionSpec struct {
	// Version
	Version string `json:"version"`
	// init container image
	InitContainer PgBouncerVersionInitContainer `json:"initContainer,omitempty"`
	// Database Image
	PgBouncer PgBouncerVersionDatabase `json:"pgBouncer"`
	// Exporter Image
	Exporter PgBouncerVersionExporter `json:"exporter"`
	// Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded.
	// +optional
	Deprecated bool `json:"deprecated,omitempty"`
	// upgrade constraints
	UpgradeConstraints UpgradeConstraints `json:"upgradeConstraints,omitempty"`
}

PgBouncerVersionSpec is the spec for pgbouncer version

func (*PgBouncerVersionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgBouncerVersionSpec.

func (*PgBouncerVersionSpec) DeepCopyInto

func (in *PgBouncerVersionSpec) DeepCopyInto(out *PgBouncerVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PostgresDistro added in v0.17.0

type PostgresDistro string

+kubebuilder:validation:Enum=Official;TimescaleDB;PostGIS;KubeDB;PostgreSQL

const (
	PostgresDistroOfficial    PostgresDistro = "Official"
	PostgresDistroTimescaleDB PostgresDistro = "TimescaleDB"
	PostgresDistroPostGIS     PostgresDistro = "PostGIS"
	PostgresDistroKubeDB      PostgresDistro = "KubeDB"
)

type PostgresSecurityContext added in v0.18.0

type PostgresSecurityContext struct {
	// RunAsUser is default UID for the DB container. It is by default 999 for debian based image and 70 for alpine based image.
	// postgres UID 999 for debian images https://github.com/docker-library/postgres/blob/14f13e4b399ed1848fa24c2c1f5bd40c25732bdd/13/Dockerfile#L15
	// postgres UID 70  for alpine images https://github.com/docker-library/postgres/blob/14f13e4b399ed1848fa24c2c1f5bd40c25732bdd/13/alpine/Dockerfile#L6
	RunAsUser *int64 `json:"runAsUser,omitempty"`

	// RunAsAnyNonRoot will be true if user can change the default db container user to other than postgres user.
	// It will be always false for alpine images https://hub.docker.com/_/postgres/ # section : Arbitrary --user Notes
	RunAsAnyNonRoot bool `json:"runAsAnyNonRoot,omitempty"`
}

PostgresSecurityContext is the additional features for the Postgres

func (*PostgresSecurityContext) DeepCopy added in v0.18.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresSecurityContext.

func (*PostgresSecurityContext) DeepCopyInto added in v0.18.0

func (in *PostgresSecurityContext) DeepCopyInto(out *PostgresSecurityContext)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PostgresVersion

type PostgresVersion struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PostgresVersionSpec `json:"spec,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=postgresversions,singular=postgresversion,scope=Cluster,shortName=pgversion,categories={datastore,kubedb,appscode} +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="Distribution",type="string",JSONPath=".spec.distribution" +kubebuilder:printcolumn:name="DB_IMAGE",type="string",JSONPath=".spec.db.image" +kubebuilder:printcolumn:name="Deprecated",type="boolean",JSONPath=".spec.deprecated" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (PostgresVersion) CustomResourceDefinition

func (_ PostgresVersion) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*PostgresVersion) DeepCopy

func (in *PostgresVersion) DeepCopy() *PostgresVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresVersion.

func (*PostgresVersion) DeepCopyInto

func (in *PostgresVersion) DeepCopyInto(out *PostgresVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PostgresVersion) DeepCopyObject

func (in *PostgresVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (PostgresVersion) ResourceFQN added in v0.16.0

func (p PostgresVersion) ResourceFQN() string

func (PostgresVersion) ResourceKind

func (p PostgresVersion) ResourceKind() string

func (PostgresVersion) ResourcePlural

func (p PostgresVersion) ResourcePlural() string

func (PostgresVersion) ResourceShortCode

func (p PostgresVersion) ResourceShortCode() string

func (PostgresVersion) ResourceSingular

func (p PostgresVersion) ResourceSingular() string

func (PostgresVersion) ValidateSpecs

func (p PostgresVersion) ValidateSpecs() error

type PostgresVersionCoordinator added in v0.17.0

type PostgresVersionCoordinator struct {
	Image string `json:"image"`
}

PostgresVersionCoordinator is the Postgres leader elector image

func (*PostgresVersionCoordinator) DeepCopy added in v0.17.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresVersionCoordinator.

func (*PostgresVersionCoordinator) DeepCopyInto added in v0.17.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PostgresVersionDatabase

type PostgresVersionDatabase struct {
	Image  string `json:"image"`
	BaseOS string `json:"baseOS,omitempty"`
}

PostgresVersionDatabase is the Postgres Database image

func (*PostgresVersionDatabase) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresVersionDatabase.

func (*PostgresVersionDatabase) DeepCopyInto

func (in *PostgresVersionDatabase) DeepCopyInto(out *PostgresVersionDatabase)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PostgresVersionExporter

type PostgresVersionExporter struct {
	Image string `json:"image"`
}

PostgresVersionExporter is the image for the Postgres exporter

func (*PostgresVersionExporter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresVersionExporter.

func (*PostgresVersionExporter) DeepCopyInto

func (in *PostgresVersionExporter) DeepCopyInto(out *PostgresVersionExporter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PostgresVersionInitContainer added in v0.17.0

type PostgresVersionInitContainer struct {
	Image string `json:"image"`
}

PostgresVersionInitContainer is the Postgres init container image

func (*PostgresVersionInitContainer) DeepCopy added in v0.17.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresVersionInitContainer.

func (*PostgresVersionInitContainer) DeepCopyInto added in v0.17.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PostgresVersionList

type PostgresVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of PostgresVersion CRD objects
	Items []PostgresVersion `json:"items,omitempty"`
}

PostgresVersionList is a list of PostgresVersions

func (*PostgresVersionList) DeepCopy

func (in *PostgresVersionList) DeepCopy() *PostgresVersionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresVersionList.

func (*PostgresVersionList) DeepCopyInto

func (in *PostgresVersionList) DeepCopyInto(out *PostgresVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PostgresVersionList) DeepCopyObject

func (in *PostgresVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PostgresVersionPodSecurityPolicy

type PostgresVersionPodSecurityPolicy struct {
	DatabasePolicyName string `json:"databasePolicyName"`
}

PostgresVersionPodSecurityPolicy is the Postgres pod security policies

func (*PostgresVersionPodSecurityPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresVersionPodSecurityPolicy.

func (*PostgresVersionPodSecurityPolicy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PostgresVersionSpec

type PostgresVersionSpec struct {
	// Version
	Version string `json:"version"`
	// Distribution
	Distribution PostgresDistro `json:"distribution,omitempty"`
	// init container image
	InitContainer PostgresVersionInitContainer `json:"initContainer,omitempty"`
	// Database Image
	DB PostgresVersionDatabase `json:"db"`
	// Exporter Image
	Exporter PostgresVersionExporter `json:"exporter"`
	// Coordinator Image
	Coordinator PostgresVersionCoordinator `json:"coordinator,omitempty"`
	// Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded.
	// +optional
	Deprecated bool `json:"deprecated,omitempty"`
	// PSP names
	PodSecurityPolicies PostgresVersionPodSecurityPolicy `json:"podSecurityPolicies"`
	// Stash defines backup and restore task definitions.
	// +optional
	Stash appcat.StashAddonSpec `json:"stash,omitempty"`
	// SecurityContext is for the additional config for postgres DB container
	// +optional
	SecurityContext PostgresSecurityContext `json:"securityContext"`
	// upgrade constraints
	UpgradeConstraints UpgradeConstraints `json:"upgradeConstraints,omitempty"`
}

PostgresVersionSpec is the spec for postgres version

func (*PostgresVersionSpec) DeepCopy

func (in *PostgresVersionSpec) DeepCopy() *PostgresVersionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresVersionSpec.

func (*PostgresVersionSpec) DeepCopyInto

func (in *PostgresVersionSpec) DeepCopyInto(out *PostgresVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProxySQLVersion

type ProxySQLVersion struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProxySQLVersionSpec `json:"spec,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=proxysqlversions,singular=proxysqlversion,scope=Cluster,categories={datastore,kubedb,appscode} +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="ProxySQL_IMAGE",type="string",JSONPath=".spec.proxysql.image" +kubebuilder:printcolumn:name="Deprecated",type="boolean",JSONPath=".spec.deprecated" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (ProxySQLVersion) CustomResourceDefinition

func (_ ProxySQLVersion) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*ProxySQLVersion) DeepCopy

func (in *ProxySQLVersion) DeepCopy() *ProxySQLVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLVersion.

func (*ProxySQLVersion) DeepCopyInto

func (in *ProxySQLVersion) DeepCopyInto(out *ProxySQLVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProxySQLVersion) DeepCopyObject

func (in *ProxySQLVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (ProxySQLVersion) ResourceFQN added in v0.16.0

func (p ProxySQLVersion) ResourceFQN() string

func (ProxySQLVersion) ResourceKind

func (p ProxySQLVersion) ResourceKind() string

func (ProxySQLVersion) ResourcePlural

func (p ProxySQLVersion) ResourcePlural() string

func (ProxySQLVersion) ResourceShortCode

func (p ProxySQLVersion) ResourceShortCode() string

func (ProxySQLVersion) ResourceSingular

func (p ProxySQLVersion) ResourceSingular() string

type ProxySQLVersionExporter

type ProxySQLVersionExporter struct {
	Image string `json:"image"`
}

ProxySQLVersionExporter is the image for the ProxySQL exporter

func (*ProxySQLVersionExporter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLVersionExporter.

func (*ProxySQLVersionExporter) DeepCopyInto

func (in *ProxySQLVersionExporter) DeepCopyInto(out *ProxySQLVersionExporter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProxySQLVersionList

type ProxySQLVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ProxySQLVersion CRD objects
	Items []ProxySQLVersion `json:"items,omitempty"`
}

ProxySQLVersionList is a list of ProxySQLVersions

func (*ProxySQLVersionList) DeepCopy

func (in *ProxySQLVersionList) DeepCopy() *ProxySQLVersionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLVersionList.

func (*ProxySQLVersionList) DeepCopyInto

func (in *ProxySQLVersionList) DeepCopyInto(out *ProxySQLVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProxySQLVersionList) DeepCopyObject

func (in *ProxySQLVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ProxySQLVersionPodSecurityPolicy

type ProxySQLVersionPodSecurityPolicy struct {
	DatabasePolicyName string `json:"databasePolicyName"`
}

ProxySQLVersionPodSecurityPolicy is the ProxySQL pod security policies

func (*ProxySQLVersionPodSecurityPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLVersionPodSecurityPolicy.

func (*ProxySQLVersionPodSecurityPolicy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProxySQLVersionProxysql

type ProxySQLVersionProxysql struct {
	Image string `json:"image"`
}

ProxySQLVersionProxysql is the proxysql image

func (*ProxySQLVersionProxysql) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLVersionProxysql.

func (*ProxySQLVersionProxysql) DeepCopyInto

func (in *ProxySQLVersionProxysql) DeepCopyInto(out *ProxySQLVersionProxysql)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProxySQLVersionSpec

type ProxySQLVersionSpec struct {
	// Version
	Version string `json:"version"`
	// Proxysql Image
	Proxysql ProxySQLVersionProxysql `json:"proxysql"`
	// Exporter Image
	Exporter *ProxySQLVersionExporter `json:"exporter,omitempty"`
	// Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded.
	// +optional
	Deprecated bool `json:"deprecated,omitempty"`
	// PSP names
	PodSecurityPolicies ProxySQLVersionPodSecurityPolicy `json:"podSecurityPolicies"`
	// upgrade constraints
	UpgradeConstraints UpgradeConstraints `json:"upgradeConstraints,omitempty"`
}

ProxySQLVersionSpec is the spec for ProxySQL version

func (*ProxySQLVersionSpec) DeepCopy

func (in *ProxySQLVersionSpec) DeepCopy() *ProxySQLVersionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLVersionSpec.

func (*ProxySQLVersionSpec) DeepCopyInto

func (in *ProxySQLVersionSpec) DeepCopyInto(out *ProxySQLVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RedisVersion

type RedisVersion struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RedisVersionSpec `json:"spec,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=redisversions,singular=redisversion,scope=Cluster,shortName=rdversion,categories={datastore,kubedb,appscode} +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="DB_IMAGE",type="string",JSONPath=".spec.db.image" +kubebuilder:printcolumn:name="Deprecated",type="boolean",JSONPath=".spec.deprecated" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (RedisVersion) CustomResourceDefinition

func (_ RedisVersion) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*RedisVersion) DeepCopy

func (in *RedisVersion) DeepCopy() *RedisVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisVersion.

func (*RedisVersion) DeepCopyInto

func (in *RedisVersion) DeepCopyInto(out *RedisVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RedisVersion) DeepCopyObject

func (in *RedisVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (RedisVersion) ResourceFQN added in v0.16.0

func (r RedisVersion) ResourceFQN() string

func (RedisVersion) ResourceKind

func (r RedisVersion) ResourceKind() string

func (RedisVersion) ResourcePlural

func (r RedisVersion) ResourcePlural() string

func (RedisVersion) ResourceShortCode

func (r RedisVersion) ResourceShortCode() string

func (RedisVersion) ResourceSingular

func (r RedisVersion) ResourceSingular() string

func (RedisVersion) ValidateSpecs

func (r RedisVersion) ValidateSpecs() error

type RedisVersionCoordinator added in v0.22.0

type RedisVersionCoordinator struct {
	Image string `json:"image"`
}

RedisVersionCoordinator is the Redis coordinator image

func (*RedisVersionCoordinator) DeepCopy added in v0.22.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisVersionCoordinator.

func (*RedisVersionCoordinator) DeepCopyInto added in v0.22.0

func (in *RedisVersionCoordinator) DeepCopyInto(out *RedisVersionCoordinator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RedisVersionDatabase

type RedisVersionDatabase struct {
	Image string `json:"image"`
}

RedisVersionDatabase is the Redis Database image

func (*RedisVersionDatabase) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisVersionDatabase.

func (*RedisVersionDatabase) DeepCopyInto

func (in *RedisVersionDatabase) DeepCopyInto(out *RedisVersionDatabase)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RedisVersionExporter

type RedisVersionExporter struct {
	Image string `json:"image"`
}

RedisVersionExporter is the image for the Redis exporter

func (*RedisVersionExporter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisVersionExporter.

func (*RedisVersionExporter) DeepCopyInto

func (in *RedisVersionExporter) DeepCopyInto(out *RedisVersionExporter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RedisVersionInitContainer added in v0.22.0

type RedisVersionInitContainer struct {
	Image string `json:"image"`
}

RedisVersionInitContainer is the Redis init container image

func (*RedisVersionInitContainer) DeepCopy added in v0.22.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisVersionInitContainer.

func (*RedisVersionInitContainer) DeepCopyInto added in v0.22.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RedisVersionList

type RedisVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of RedisVersion CRD objects
	Items []RedisVersion `json:"items,omitempty"`
}

RedisVersionList is a list of RedisVersions

func (*RedisVersionList) DeepCopy

func (in *RedisVersionList) DeepCopy() *RedisVersionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisVersionList.

func (*RedisVersionList) DeepCopyInto

func (in *RedisVersionList) DeepCopyInto(out *RedisVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RedisVersionList) DeepCopyObject

func (in *RedisVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RedisVersionPodSecurityPolicy

type RedisVersionPodSecurityPolicy struct {
	DatabasePolicyName string `json:"databasePolicyName"`
}

RedisVersionPodSecurityPolicy is the Redis pod security policies

func (*RedisVersionPodSecurityPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisVersionPodSecurityPolicy.

func (*RedisVersionPodSecurityPolicy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RedisVersionSpec

type RedisVersionSpec struct {
	// Version
	Version string `json:"version"`
	// init container image
	InitContainer RedisVersionInitContainer `json:"initContainer,omitempty"`
	// Database Image
	DB RedisVersionDatabase `json:"db"`
	// Exporter Image
	Exporter RedisVersionExporter `json:"exporter"`
	// Coordinator Image
	Coordinator RedisVersionCoordinator `json:"coordinator,omitempty"`
	// Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded.
	// +optional
	Deprecated bool `json:"deprecated,omitempty"`
	// PSP names
	PodSecurityPolicies RedisVersionPodSecurityPolicy `json:"podSecurityPolicies"`
	// Stash defines backup and restore task definitions.
	// +optional
	Stash appcat.StashAddonSpec `json:"stash,omitempty"`
	// upgrade constraints
	UpgradeConstraints UpgradeConstraints `json:"upgradeConstraints,omitempty"`
}

RedisVersionSpec is the spec for redis version

func (*RedisVersionSpec) DeepCopy

func (in *RedisVersionSpec) DeepCopy() *RedisVersionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisVersionSpec.

func (*RedisVersionSpec) DeepCopyInto

func (in *RedisVersionSpec) DeepCopyInto(out *RedisVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReplicationModeDetector added in v0.15.0

type ReplicationModeDetector struct {
	Image string `json:"image"`
}

ReplicationModeDetector is the image for the MySQL replication mode detector

func (*ReplicationModeDetector) DeepCopy added in v0.15.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationModeDetector.

func (*ReplicationModeDetector) DeepCopyInto added in v0.15.0

func (in *ReplicationModeDetector) DeepCopyInto(out *ReplicationModeDetector)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UpgradeConstraints added in v0.28.0

type UpgradeConstraints struct {
	// List of all accepted versions for upgrade request.
	// An empty list indicates all versions are accepted except the denylist.
	Allowlist []string `json:"allowlist,omitempty"`
	// List of all rejected versions for upgrade request.
	// An empty list indicates no version is rejected.
	Denylist []string `json:"denylist,omitempty"`
}

UpgradeConstraints specifies the constraints that need to be considered during version upgrade

func (*UpgradeConstraints) DeepCopy added in v0.28.0

func (in *UpgradeConstraints) DeepCopy() *UpgradeConstraints

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeConstraints.

func (*UpgradeConstraints) DeepCopyInto added in v0.28.0

func (in *UpgradeConstraints) DeepCopyInto(out *UpgradeConstraints)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL