v1alpha1

package
v0.0.0-...-455d1a7 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubedb/apimachinery/apis/kubedb +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta +groupName=kubedb.com

Index

Constants

View Source
const (
	DatabaseNamePrefix = "kubedb"

	GenericKey = "kubedb.com"

	LabelDatabaseKind = GenericKey + "/kind"
	LabelDatabaseName = GenericKey + "/name"

	PostgresKey         = ResourceTypePostgres + "." + GenericKey
	ElasticsearchKey    = ResourceTypeElasticsearch + "." + GenericKey
	MySQLKey            = ResourceTypeMySQL + "." + GenericKey
	MongoDBKey          = ResourceTypeMongoDB + "." + GenericKey
	RedisKey            = ResourceTypeRedis + "." + GenericKey
	MemcachedKey        = ResourceTypeMemcached + "." + GenericKey
	SnapshotKey         = ResourceTypeSnapshot + "." + GenericKey
	LabelSnapshotStatus = SnapshotKey + "/status"

	AnnotationInitialized = GenericKey + "/initialized"
	AnnotationJobType     = GenericKey + "/job-type"

	PrometheusExporterPortNumber = 56790
	PrometheusExporterPortName   = "prom-http"

	JobTypeBackup  = "backup"
	JobTypeRestore = "restore"
)
View Source
const (
	ResourceCodeDormantDatabase = "drmn"
	ResourceKindDormantDatabase = "DormantDatabase"
	ResourceNameDormantDatabase = "dormant-database"
	ResourceTypeDormantDatabase = "dormantdatabases"
)
View Source
const (
	ResourceCodeElasticsearch = "es"
	ResourceKindElasticsearch = "Elasticsearch"
	ResourceNameElasticsearch = "elasticsearch"
	ResourceTypeElasticsearch = "elasticsearchs"
)
View Source
const (
	ResourceCodeMemcached = "mc"
	ResourceKindMemcached = "Memcached"
	ResourceNameMemcached = "memcached"
	ResourceTypeMemcached = "memcacheds"
)
View Source
const (
	ResourceCodeMongoDB = "mg"
	ResourceKindMongoDB = "MongoDB"
	ResourceNameMongoDB = "mongodb"
	ResourceTypeMongoDB = "mongodbs"
)
View Source
const (
	ResourceCodeMySQL = "my"
	ResourceKindMySQL = "MySQL"
	ResourceNameMySQL = "mysql"
	ResourceTypeMySQL = "mysqls"
)
View Source
const (
	ResourceCodePostgres = "pg"
	ResourceKindPostgres = "Postgres"
	ResourceNamePostgres = "postgres"
	ResourceTypePostgres = "postgreses"
)
View Source
const (
	ResourceCodeRedis = "rd"
	ResourceKindRedis = "Redis"
	ResourceNameRedis = "redis"
	ResourceTypeRedis = "redises"
)
View Source
const (
	ResourceCodeSnapshot = "snap"
	ResourceKindSnapshot = "Snapshot"
	ResourceNameSnapshot = "snapshot"
	ResourceTypeSnapshot = "snapshots"
)
View Source
const (
	AWS_ACCESS_KEY_ID     = "AWS_ACCESS_KEY_ID"
	AWS_SECRET_ACCESS_KEY = "AWS_SECRET_ACCESS_KEY"

	GOOGLE_PROJECT_ID               = "GOOGLE_PROJECT_ID"
	GOOGLE_SERVICE_ACCOUNT_JSON_KEY = "GOOGLE_SERVICE_ACCOUNT_JSON_KEY"

	AZURE_ACCOUNT_NAME = "AZURE_ACCOUNT_NAME"
	AZURE_ACCOUNT_KEY  = "AZURE_ACCOUNT_KEY"

	// swift
	OS_USERNAME    = "OS_USERNAME"
	OS_PASSWORD    = "OS_PASSWORD"
	OS_REGION_NAME = "OS_REGION_NAME"
	OS_AUTH_URL    = "OS_AUTH_URL"

	// v3 specific
	OS_USER_DOMAIN_NAME    = "OS_USER_DOMAIN_NAME"
	OS_PROJECT_NAME        = "OS_PROJECT_NAME"
	OS_PROJECT_DOMAIN_NAME = "OS_PROJECT_DOMAIN_NAME"

	// v2 specific
	OS_TENANT_ID   = "OS_TENANT_ID"
	OS_TENANT_NAME = "OS_TENANT_NAME"

	// v1 specific
	ST_AUTH = "ST_AUTH"
	ST_USER = "ST_USER"
	ST_KEY  = "ST_KEY"

	// Manual authentication
	OS_STORAGE_URL = "OS_STORAGE_URL"
	OS_AUTH_TOKEN  = "OS_AUTH_TOKEN"
)

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: kubedb.GroupName, Version: "v1alpha1"}

Functions

func Convert_kubedb_AzureSpec_To_v1alpha1_AzureSpec

func Convert_kubedb_AzureSpec_To_v1alpha1_AzureSpec(in *kubedb.AzureSpec, out *AzureSpec, s conversion.Scope) error

Convert_kubedb_AzureSpec_To_v1alpha1_AzureSpec is an autogenerated conversion function.

func Convert_kubedb_BackupScheduleSpec_To_v1alpha1_BackupScheduleSpec

func Convert_kubedb_BackupScheduleSpec_To_v1alpha1_BackupScheduleSpec(in *kubedb.BackupScheduleSpec, out *BackupScheduleSpec, s conversion.Scope) error

Convert_kubedb_BackupScheduleSpec_To_v1alpha1_BackupScheduleSpec is an autogenerated conversion function.

func Convert_kubedb_DormantDatabaseList_To_v1alpha1_DormantDatabaseList

func Convert_kubedb_DormantDatabaseList_To_v1alpha1_DormantDatabaseList(in *kubedb.DormantDatabaseList, out *DormantDatabaseList, s conversion.Scope) error

Convert_kubedb_DormantDatabaseList_To_v1alpha1_DormantDatabaseList is an autogenerated conversion function.

func Convert_kubedb_DormantDatabaseSpec_To_v1alpha1_DormantDatabaseSpec

func Convert_kubedb_DormantDatabaseSpec_To_v1alpha1_DormantDatabaseSpec(in *kubedb.DormantDatabaseSpec, out *DormantDatabaseSpec, s conversion.Scope) error

Convert_kubedb_DormantDatabaseSpec_To_v1alpha1_DormantDatabaseSpec is an autogenerated conversion function.

func Convert_kubedb_DormantDatabaseStatus_To_v1alpha1_DormantDatabaseStatus

func Convert_kubedb_DormantDatabaseStatus_To_v1alpha1_DormantDatabaseStatus(in *kubedb.DormantDatabaseStatus, out *DormantDatabaseStatus, s conversion.Scope) error

Convert_kubedb_DormantDatabaseStatus_To_v1alpha1_DormantDatabaseStatus is an autogenerated conversion function.

func Convert_kubedb_DormantDatabase_To_v1alpha1_DormantDatabase

func Convert_kubedb_DormantDatabase_To_v1alpha1_DormantDatabase(in *kubedb.DormantDatabase, out *DormantDatabase, s conversion.Scope) error

Convert_kubedb_DormantDatabase_To_v1alpha1_DormantDatabase is an autogenerated conversion function.

func Convert_kubedb_ElasticsearchClusterTopology_To_v1alpha1_ElasticsearchClusterTopology

func Convert_kubedb_ElasticsearchClusterTopology_To_v1alpha1_ElasticsearchClusterTopology(in *kubedb.ElasticsearchClusterTopology, out *ElasticsearchClusterTopology, s conversion.Scope) error

Convert_kubedb_ElasticsearchClusterTopology_To_v1alpha1_ElasticsearchClusterTopology is an autogenerated conversion function.

func Convert_kubedb_ElasticsearchList_To_v1alpha1_ElasticsearchList

func Convert_kubedb_ElasticsearchList_To_v1alpha1_ElasticsearchList(in *kubedb.ElasticsearchList, out *ElasticsearchList, s conversion.Scope) error

Convert_kubedb_ElasticsearchList_To_v1alpha1_ElasticsearchList is an autogenerated conversion function.

func Convert_kubedb_ElasticsearchNode_To_v1alpha1_ElasticsearchNode

func Convert_kubedb_ElasticsearchNode_To_v1alpha1_ElasticsearchNode(in *kubedb.ElasticsearchNode, out *ElasticsearchNode, s conversion.Scope) error

Convert_kubedb_ElasticsearchNode_To_v1alpha1_ElasticsearchNode is an autogenerated conversion function.

func Convert_kubedb_ElasticsearchSpec_To_v1alpha1_ElasticsearchSpec

func Convert_kubedb_ElasticsearchSpec_To_v1alpha1_ElasticsearchSpec(in *kubedb.ElasticsearchSpec, out *ElasticsearchSpec, s conversion.Scope) error

Convert_kubedb_ElasticsearchSpec_To_v1alpha1_ElasticsearchSpec is an autogenerated conversion function.

func Convert_kubedb_ElasticsearchStatus_To_v1alpha1_ElasticsearchStatus

func Convert_kubedb_ElasticsearchStatus_To_v1alpha1_ElasticsearchStatus(in *kubedb.ElasticsearchStatus, out *ElasticsearchStatus, s conversion.Scope) error

Convert_kubedb_ElasticsearchStatus_To_v1alpha1_ElasticsearchStatus is an autogenerated conversion function.

func Convert_kubedb_ElasticsearchSummary_To_v1alpha1_ElasticsearchSummary

func Convert_kubedb_ElasticsearchSummary_To_v1alpha1_ElasticsearchSummary(in *kubedb.ElasticsearchSummary, out *ElasticsearchSummary, s conversion.Scope) error

Convert_kubedb_ElasticsearchSummary_To_v1alpha1_ElasticsearchSummary is an autogenerated conversion function.

func Convert_kubedb_Elasticsearch_To_v1alpha1_Elasticsearch

func Convert_kubedb_Elasticsearch_To_v1alpha1_Elasticsearch(in *kubedb.Elasticsearch, out *Elasticsearch, s conversion.Scope) error

Convert_kubedb_Elasticsearch_To_v1alpha1_Elasticsearch is an autogenerated conversion function.

func Convert_kubedb_GCSSpec_To_v1alpha1_GCSSpec

func Convert_kubedb_GCSSpec_To_v1alpha1_GCSSpec(in *kubedb.GCSSpec, out *GCSSpec, s conversion.Scope) error

Convert_kubedb_GCSSpec_To_v1alpha1_GCSSpec is an autogenerated conversion function.

func Convert_kubedb_InitSpec_To_v1alpha1_InitSpec

func Convert_kubedb_InitSpec_To_v1alpha1_InitSpec(in *kubedb.InitSpec, out *InitSpec, s conversion.Scope) error

Convert_kubedb_InitSpec_To_v1alpha1_InitSpec is an autogenerated conversion function.

func Convert_kubedb_LocalSpec_To_v1alpha1_LocalSpec

func Convert_kubedb_LocalSpec_To_v1alpha1_LocalSpec(in *kubedb.LocalSpec, out *LocalSpec, s conversion.Scope) error

Convert_kubedb_LocalSpec_To_v1alpha1_LocalSpec is an autogenerated conversion function.

func Convert_kubedb_MemcachedList_To_v1alpha1_MemcachedList

func Convert_kubedb_MemcachedList_To_v1alpha1_MemcachedList(in *kubedb.MemcachedList, out *MemcachedList, s conversion.Scope) error

Convert_kubedb_MemcachedList_To_v1alpha1_MemcachedList is an autogenerated conversion function.

func Convert_kubedb_MemcachedSpec_To_v1alpha1_MemcachedSpec

func Convert_kubedb_MemcachedSpec_To_v1alpha1_MemcachedSpec(in *kubedb.MemcachedSpec, out *MemcachedSpec, s conversion.Scope) error

Convert_kubedb_MemcachedSpec_To_v1alpha1_MemcachedSpec is an autogenerated conversion function.

func Convert_kubedb_MemcachedStatus_To_v1alpha1_MemcachedStatus

func Convert_kubedb_MemcachedStatus_To_v1alpha1_MemcachedStatus(in *kubedb.MemcachedStatus, out *MemcachedStatus, s conversion.Scope) error

Convert_kubedb_MemcachedStatus_To_v1alpha1_MemcachedStatus is an autogenerated conversion function.

func Convert_kubedb_Memcached_To_v1alpha1_Memcached

func Convert_kubedb_Memcached_To_v1alpha1_Memcached(in *kubedb.Memcached, out *Memcached, s conversion.Scope) error

Convert_kubedb_Memcached_To_v1alpha1_Memcached is an autogenerated conversion function.

func Convert_kubedb_MongoDBList_To_v1alpha1_MongoDBList

func Convert_kubedb_MongoDBList_To_v1alpha1_MongoDBList(in *kubedb.MongoDBList, out *MongoDBList, s conversion.Scope) error

Convert_kubedb_MongoDBList_To_v1alpha1_MongoDBList is an autogenerated conversion function.

func Convert_kubedb_MongoDBSpec_To_v1alpha1_MongoDBSpec

func Convert_kubedb_MongoDBSpec_To_v1alpha1_MongoDBSpec(in *kubedb.MongoDBSpec, out *MongoDBSpec, s conversion.Scope) error

Convert_kubedb_MongoDBSpec_To_v1alpha1_MongoDBSpec is an autogenerated conversion function.

func Convert_kubedb_MongoDBStatus_To_v1alpha1_MongoDBStatus

func Convert_kubedb_MongoDBStatus_To_v1alpha1_MongoDBStatus(in *kubedb.MongoDBStatus, out *MongoDBStatus, s conversion.Scope) error

Convert_kubedb_MongoDBStatus_To_v1alpha1_MongoDBStatus is an autogenerated conversion function.

func Convert_kubedb_MongoDB_To_v1alpha1_MongoDB

func Convert_kubedb_MongoDB_To_v1alpha1_MongoDB(in *kubedb.MongoDB, out *MongoDB, s conversion.Scope) error

Convert_kubedb_MongoDB_To_v1alpha1_MongoDB is an autogenerated conversion function.

func Convert_kubedb_MySQLList_To_v1alpha1_MySQLList

func Convert_kubedb_MySQLList_To_v1alpha1_MySQLList(in *kubedb.MySQLList, out *MySQLList, s conversion.Scope) error

Convert_kubedb_MySQLList_To_v1alpha1_MySQLList is an autogenerated conversion function.

func Convert_kubedb_MySQLSpec_To_v1alpha1_MySQLSpec

func Convert_kubedb_MySQLSpec_To_v1alpha1_MySQLSpec(in *kubedb.MySQLSpec, out *MySQLSpec, s conversion.Scope) error

Convert_kubedb_MySQLSpec_To_v1alpha1_MySQLSpec is an autogenerated conversion function.

func Convert_kubedb_MySQLStatus_To_v1alpha1_MySQLStatus

func Convert_kubedb_MySQLStatus_To_v1alpha1_MySQLStatus(in *kubedb.MySQLStatus, out *MySQLStatus, s conversion.Scope) error

Convert_kubedb_MySQLStatus_To_v1alpha1_MySQLStatus is an autogenerated conversion function.

func Convert_kubedb_MySQL_To_v1alpha1_MySQL

func Convert_kubedb_MySQL_To_v1alpha1_MySQL(in *kubedb.MySQL, out *MySQL, s conversion.Scope) error

Convert_kubedb_MySQL_To_v1alpha1_MySQL is an autogenerated conversion function.

func Convert_kubedb_OriginSpec_To_v1alpha1_OriginSpec

func Convert_kubedb_OriginSpec_To_v1alpha1_OriginSpec(in *kubedb.OriginSpec, out *OriginSpec, s conversion.Scope) error

Convert_kubedb_OriginSpec_To_v1alpha1_OriginSpec is an autogenerated conversion function.

func Convert_kubedb_Origin_To_v1alpha1_Origin

func Convert_kubedb_Origin_To_v1alpha1_Origin(in *kubedb.Origin, out *Origin, s conversion.Scope) error

Convert_kubedb_Origin_To_v1alpha1_Origin is an autogenerated conversion function.

func Convert_kubedb_PostgresArchiverSpec_To_v1alpha1_PostgresArchiverSpec

func Convert_kubedb_PostgresArchiverSpec_To_v1alpha1_PostgresArchiverSpec(in *kubedb.PostgresArchiverSpec, out *PostgresArchiverSpec, s conversion.Scope) error

Convert_kubedb_PostgresArchiverSpec_To_v1alpha1_PostgresArchiverSpec is an autogenerated conversion function.

func Convert_kubedb_PostgresList_To_v1alpha1_PostgresList

func Convert_kubedb_PostgresList_To_v1alpha1_PostgresList(in *kubedb.PostgresList, out *PostgresList, s conversion.Scope) error

Convert_kubedb_PostgresList_To_v1alpha1_PostgresList is an autogenerated conversion function.

func Convert_kubedb_PostgresSchemaInfo_To_v1alpha1_PostgresSchemaInfo

func Convert_kubedb_PostgresSchemaInfo_To_v1alpha1_PostgresSchemaInfo(in *kubedb.PostgresSchemaInfo, out *PostgresSchemaInfo, s conversion.Scope) error

Convert_kubedb_PostgresSchemaInfo_To_v1alpha1_PostgresSchemaInfo is an autogenerated conversion function.

func Convert_kubedb_PostgresSpec_To_v1alpha1_PostgresSpec

func Convert_kubedb_PostgresSpec_To_v1alpha1_PostgresSpec(in *kubedb.PostgresSpec, out *PostgresSpec, s conversion.Scope) error

Convert_kubedb_PostgresSpec_To_v1alpha1_PostgresSpec is an autogenerated conversion function.

func Convert_kubedb_PostgresStatus_To_v1alpha1_PostgresStatus

func Convert_kubedb_PostgresStatus_To_v1alpha1_PostgresStatus(in *kubedb.PostgresStatus, out *PostgresStatus, s conversion.Scope) error

Convert_kubedb_PostgresStatus_To_v1alpha1_PostgresStatus is an autogenerated conversion function.

func Convert_kubedb_PostgresSummary_To_v1alpha1_PostgresSummary

func Convert_kubedb_PostgresSummary_To_v1alpha1_PostgresSummary(in *kubedb.PostgresSummary, out *PostgresSummary, s conversion.Scope) error

Convert_kubedb_PostgresSummary_To_v1alpha1_PostgresSummary is an autogenerated conversion function.

func Convert_kubedb_PostgresTableInfo_To_v1alpha1_PostgresTableInfo

func Convert_kubedb_PostgresTableInfo_To_v1alpha1_PostgresTableInfo(in *kubedb.PostgresTableInfo, out *PostgresTableInfo, s conversion.Scope) error

Convert_kubedb_PostgresTableInfo_To_v1alpha1_PostgresTableInfo is an autogenerated conversion function.

func Convert_kubedb_PostgresWALSourceSpec_To_v1alpha1_PostgresWALSourceSpec

func Convert_kubedb_PostgresWALSourceSpec_To_v1alpha1_PostgresWALSourceSpec(in *kubedb.PostgresWALSourceSpec, out *PostgresWALSourceSpec, s conversion.Scope) error

Convert_kubedb_PostgresWALSourceSpec_To_v1alpha1_PostgresWALSourceSpec is an autogenerated conversion function.

func Convert_kubedb_Postgres_To_v1alpha1_Postgres

func Convert_kubedb_Postgres_To_v1alpha1_Postgres(in *kubedb.Postgres, out *Postgres, s conversion.Scope) error

Convert_kubedb_Postgres_To_v1alpha1_Postgres is an autogenerated conversion function.

func Convert_kubedb_RedisList_To_v1alpha1_RedisList

func Convert_kubedb_RedisList_To_v1alpha1_RedisList(in *kubedb.RedisList, out *RedisList, s conversion.Scope) error

Convert_kubedb_RedisList_To_v1alpha1_RedisList is an autogenerated conversion function.

func Convert_kubedb_RedisSpec_To_v1alpha1_RedisSpec

func Convert_kubedb_RedisSpec_To_v1alpha1_RedisSpec(in *kubedb.RedisSpec, out *RedisSpec, s conversion.Scope) error

Convert_kubedb_RedisSpec_To_v1alpha1_RedisSpec is an autogenerated conversion function.

func Convert_kubedb_RedisStatus_To_v1alpha1_RedisStatus

func Convert_kubedb_RedisStatus_To_v1alpha1_RedisStatus(in *kubedb.RedisStatus, out *RedisStatus, s conversion.Scope) error

Convert_kubedb_RedisStatus_To_v1alpha1_RedisStatus is an autogenerated conversion function.

func Convert_kubedb_Redis_To_v1alpha1_Redis

func Convert_kubedb_Redis_To_v1alpha1_Redis(in *kubedb.Redis, out *Redis, s conversion.Scope) error

Convert_kubedb_Redis_To_v1alpha1_Redis is an autogenerated conversion function.

func Convert_kubedb_ReportStatus_To_v1alpha1_ReportStatus

func Convert_kubedb_ReportStatus_To_v1alpha1_ReportStatus(in *kubedb.ReportStatus, out *ReportStatus, s conversion.Scope) error

Convert_kubedb_ReportStatus_To_v1alpha1_ReportStatus is an autogenerated conversion function.

func Convert_kubedb_ReportSummary_To_v1alpha1_ReportSummary

func Convert_kubedb_ReportSummary_To_v1alpha1_ReportSummary(in *kubedb.ReportSummary, out *ReportSummary, s conversion.Scope) error

Convert_kubedb_ReportSummary_To_v1alpha1_ReportSummary is an autogenerated conversion function.

func Convert_kubedb_Report_To_v1alpha1_Report

func Convert_kubedb_Report_To_v1alpha1_Report(in *kubedb.Report, out *Report, s conversion.Scope) error

Convert_kubedb_Report_To_v1alpha1_Report is an autogenerated conversion function.

func Convert_kubedb_S3Spec_To_v1alpha1_S3Spec

func Convert_kubedb_S3Spec_To_v1alpha1_S3Spec(in *kubedb.S3Spec, out *S3Spec, s conversion.Scope) error

Convert_kubedb_S3Spec_To_v1alpha1_S3Spec is an autogenerated conversion function.

func Convert_kubedb_ScriptSourceSpec_To_v1alpha1_ScriptSourceSpec

func Convert_kubedb_ScriptSourceSpec_To_v1alpha1_ScriptSourceSpec(in *kubedb.ScriptSourceSpec, out *ScriptSourceSpec, s conversion.Scope) error

Convert_kubedb_ScriptSourceSpec_To_v1alpha1_ScriptSourceSpec is an autogenerated conversion function.

func Convert_kubedb_SnapshotList_To_v1alpha1_SnapshotList

func Convert_kubedb_SnapshotList_To_v1alpha1_SnapshotList(in *kubedb.SnapshotList, out *SnapshotList, s conversion.Scope) error

Convert_kubedb_SnapshotList_To_v1alpha1_SnapshotList is an autogenerated conversion function.

func Convert_kubedb_SnapshotSourceSpec_To_v1alpha1_SnapshotSourceSpec

func Convert_kubedb_SnapshotSourceSpec_To_v1alpha1_SnapshotSourceSpec(in *kubedb.SnapshotSourceSpec, out *SnapshotSourceSpec, s conversion.Scope) error

Convert_kubedb_SnapshotSourceSpec_To_v1alpha1_SnapshotSourceSpec is an autogenerated conversion function.

func Convert_kubedb_SnapshotSpec_To_v1alpha1_SnapshotSpec

func Convert_kubedb_SnapshotSpec_To_v1alpha1_SnapshotSpec(in *kubedb.SnapshotSpec, out *SnapshotSpec, s conversion.Scope) error

Convert_kubedb_SnapshotSpec_To_v1alpha1_SnapshotSpec is an autogenerated conversion function.

func Convert_kubedb_SnapshotStatus_To_v1alpha1_SnapshotStatus

func Convert_kubedb_SnapshotStatus_To_v1alpha1_SnapshotStatus(in *kubedb.SnapshotStatus, out *SnapshotStatus, s conversion.Scope) error

Convert_kubedb_SnapshotStatus_To_v1alpha1_SnapshotStatus is an autogenerated conversion function.

func Convert_kubedb_SnapshotStorageSpec_To_v1alpha1_SnapshotStorageSpec

func Convert_kubedb_SnapshotStorageSpec_To_v1alpha1_SnapshotStorageSpec(in *kubedb.SnapshotStorageSpec, out *SnapshotStorageSpec, s conversion.Scope) error

Convert_kubedb_SnapshotStorageSpec_To_v1alpha1_SnapshotStorageSpec is an autogenerated conversion function.

func Convert_kubedb_Snapshot_To_v1alpha1_Snapshot

func Convert_kubedb_Snapshot_To_v1alpha1_Snapshot(in *kubedb.Snapshot, out *Snapshot, s conversion.Scope) error

Convert_kubedb_Snapshot_To_v1alpha1_Snapshot is an autogenerated conversion function.

func Convert_kubedb_SwiftSpec_To_v1alpha1_SwiftSpec

func Convert_kubedb_SwiftSpec_To_v1alpha1_SwiftSpec(in *kubedb.SwiftSpec, out *SwiftSpec, s conversion.Scope) error

Convert_kubedb_SwiftSpec_To_v1alpha1_SwiftSpec is an autogenerated conversion function.

func Convert_v1alpha1_AzureSpec_To_kubedb_AzureSpec

func Convert_v1alpha1_AzureSpec_To_kubedb_AzureSpec(in *AzureSpec, out *kubedb.AzureSpec, s conversion.Scope) error

Convert_v1alpha1_AzureSpec_To_kubedb_AzureSpec is an autogenerated conversion function.

func Convert_v1alpha1_BackupScheduleSpec_To_kubedb_BackupScheduleSpec

func Convert_v1alpha1_BackupScheduleSpec_To_kubedb_BackupScheduleSpec(in *BackupScheduleSpec, out *kubedb.BackupScheduleSpec, s conversion.Scope) error

Convert_v1alpha1_BackupScheduleSpec_To_kubedb_BackupScheduleSpec is an autogenerated conversion function.

func Convert_v1alpha1_DormantDatabaseList_To_kubedb_DormantDatabaseList

func Convert_v1alpha1_DormantDatabaseList_To_kubedb_DormantDatabaseList(in *DormantDatabaseList, out *kubedb.DormantDatabaseList, s conversion.Scope) error

Convert_v1alpha1_DormantDatabaseList_To_kubedb_DormantDatabaseList is an autogenerated conversion function.

func Convert_v1alpha1_DormantDatabaseSpec_To_kubedb_DormantDatabaseSpec

func Convert_v1alpha1_DormantDatabaseSpec_To_kubedb_DormantDatabaseSpec(in *DormantDatabaseSpec, out *kubedb.DormantDatabaseSpec, s conversion.Scope) error

Convert_v1alpha1_DormantDatabaseSpec_To_kubedb_DormantDatabaseSpec is an autogenerated conversion function.

func Convert_v1alpha1_DormantDatabaseStatus_To_kubedb_DormantDatabaseStatus

func Convert_v1alpha1_DormantDatabaseStatus_To_kubedb_DormantDatabaseStatus(in *DormantDatabaseStatus, out *kubedb.DormantDatabaseStatus, s conversion.Scope) error

Convert_v1alpha1_DormantDatabaseStatus_To_kubedb_DormantDatabaseStatus is an autogenerated conversion function.

func Convert_v1alpha1_DormantDatabase_To_kubedb_DormantDatabase

func Convert_v1alpha1_DormantDatabase_To_kubedb_DormantDatabase(in *DormantDatabase, out *kubedb.DormantDatabase, s conversion.Scope) error

Convert_v1alpha1_DormantDatabase_To_kubedb_DormantDatabase is an autogenerated conversion function.

func Convert_v1alpha1_ElasticsearchClusterTopology_To_kubedb_ElasticsearchClusterTopology

func Convert_v1alpha1_ElasticsearchClusterTopology_To_kubedb_ElasticsearchClusterTopology(in *ElasticsearchClusterTopology, out *kubedb.ElasticsearchClusterTopology, s conversion.Scope) error

Convert_v1alpha1_ElasticsearchClusterTopology_To_kubedb_ElasticsearchClusterTopology is an autogenerated conversion function.

func Convert_v1alpha1_ElasticsearchList_To_kubedb_ElasticsearchList

func Convert_v1alpha1_ElasticsearchList_To_kubedb_ElasticsearchList(in *ElasticsearchList, out *kubedb.ElasticsearchList, s conversion.Scope) error

Convert_v1alpha1_ElasticsearchList_To_kubedb_ElasticsearchList is an autogenerated conversion function.

func Convert_v1alpha1_ElasticsearchNode_To_kubedb_ElasticsearchNode

func Convert_v1alpha1_ElasticsearchNode_To_kubedb_ElasticsearchNode(in *ElasticsearchNode, out *kubedb.ElasticsearchNode, s conversion.Scope) error

Convert_v1alpha1_ElasticsearchNode_To_kubedb_ElasticsearchNode is an autogenerated conversion function.

func Convert_v1alpha1_ElasticsearchSpec_To_kubedb_ElasticsearchSpec

func Convert_v1alpha1_ElasticsearchSpec_To_kubedb_ElasticsearchSpec(in *ElasticsearchSpec, out *kubedb.ElasticsearchSpec, s conversion.Scope) error

Convert_v1alpha1_ElasticsearchSpec_To_kubedb_ElasticsearchSpec is an autogenerated conversion function.

func Convert_v1alpha1_ElasticsearchStatus_To_kubedb_ElasticsearchStatus

func Convert_v1alpha1_ElasticsearchStatus_To_kubedb_ElasticsearchStatus(in *ElasticsearchStatus, out *kubedb.ElasticsearchStatus, s conversion.Scope) error

Convert_v1alpha1_ElasticsearchStatus_To_kubedb_ElasticsearchStatus is an autogenerated conversion function.

func Convert_v1alpha1_ElasticsearchSummary_To_kubedb_ElasticsearchSummary

func Convert_v1alpha1_ElasticsearchSummary_To_kubedb_ElasticsearchSummary(in *ElasticsearchSummary, out *kubedb.ElasticsearchSummary, s conversion.Scope) error

Convert_v1alpha1_ElasticsearchSummary_To_kubedb_ElasticsearchSummary is an autogenerated conversion function.

func Convert_v1alpha1_Elasticsearch_To_kubedb_Elasticsearch

func Convert_v1alpha1_Elasticsearch_To_kubedb_Elasticsearch(in *Elasticsearch, out *kubedb.Elasticsearch, s conversion.Scope) error

Convert_v1alpha1_Elasticsearch_To_kubedb_Elasticsearch is an autogenerated conversion function.

func Convert_v1alpha1_GCSSpec_To_kubedb_GCSSpec

func Convert_v1alpha1_GCSSpec_To_kubedb_GCSSpec(in *GCSSpec, out *kubedb.GCSSpec, s conversion.Scope) error

Convert_v1alpha1_GCSSpec_To_kubedb_GCSSpec is an autogenerated conversion function.

func Convert_v1alpha1_InitSpec_To_kubedb_InitSpec

func Convert_v1alpha1_InitSpec_To_kubedb_InitSpec(in *InitSpec, out *kubedb.InitSpec, s conversion.Scope) error

Convert_v1alpha1_InitSpec_To_kubedb_InitSpec is an autogenerated conversion function.

func Convert_v1alpha1_LocalSpec_To_kubedb_LocalSpec

func Convert_v1alpha1_LocalSpec_To_kubedb_LocalSpec(in *LocalSpec, out *kubedb.LocalSpec, s conversion.Scope) error

Convert_v1alpha1_LocalSpec_To_kubedb_LocalSpec is an autogenerated conversion function.

func Convert_v1alpha1_MemcachedList_To_kubedb_MemcachedList

func Convert_v1alpha1_MemcachedList_To_kubedb_MemcachedList(in *MemcachedList, out *kubedb.MemcachedList, s conversion.Scope) error

Convert_v1alpha1_MemcachedList_To_kubedb_MemcachedList is an autogenerated conversion function.

func Convert_v1alpha1_MemcachedSpec_To_kubedb_MemcachedSpec

func Convert_v1alpha1_MemcachedSpec_To_kubedb_MemcachedSpec(in *MemcachedSpec, out *kubedb.MemcachedSpec, s conversion.Scope) error

Convert_v1alpha1_MemcachedSpec_To_kubedb_MemcachedSpec is an autogenerated conversion function.

func Convert_v1alpha1_MemcachedStatus_To_kubedb_MemcachedStatus

func Convert_v1alpha1_MemcachedStatus_To_kubedb_MemcachedStatus(in *MemcachedStatus, out *kubedb.MemcachedStatus, s conversion.Scope) error

Convert_v1alpha1_MemcachedStatus_To_kubedb_MemcachedStatus is an autogenerated conversion function.

func Convert_v1alpha1_Memcached_To_kubedb_Memcached

func Convert_v1alpha1_Memcached_To_kubedb_Memcached(in *Memcached, out *kubedb.Memcached, s conversion.Scope) error

Convert_v1alpha1_Memcached_To_kubedb_Memcached is an autogenerated conversion function.

func Convert_v1alpha1_MongoDBList_To_kubedb_MongoDBList

func Convert_v1alpha1_MongoDBList_To_kubedb_MongoDBList(in *MongoDBList, out *kubedb.MongoDBList, s conversion.Scope) error

Convert_v1alpha1_MongoDBList_To_kubedb_MongoDBList is an autogenerated conversion function.

func Convert_v1alpha1_MongoDBSpec_To_kubedb_MongoDBSpec

func Convert_v1alpha1_MongoDBSpec_To_kubedb_MongoDBSpec(in *MongoDBSpec, out *kubedb.MongoDBSpec, s conversion.Scope) error

Convert_v1alpha1_MongoDBSpec_To_kubedb_MongoDBSpec is an autogenerated conversion function.

func Convert_v1alpha1_MongoDBStatus_To_kubedb_MongoDBStatus

func Convert_v1alpha1_MongoDBStatus_To_kubedb_MongoDBStatus(in *MongoDBStatus, out *kubedb.MongoDBStatus, s conversion.Scope) error

Convert_v1alpha1_MongoDBStatus_To_kubedb_MongoDBStatus is an autogenerated conversion function.

func Convert_v1alpha1_MongoDB_To_kubedb_MongoDB

func Convert_v1alpha1_MongoDB_To_kubedb_MongoDB(in *MongoDB, out *kubedb.MongoDB, s conversion.Scope) error

Convert_v1alpha1_MongoDB_To_kubedb_MongoDB is an autogenerated conversion function.

func Convert_v1alpha1_MySQLList_To_kubedb_MySQLList

func Convert_v1alpha1_MySQLList_To_kubedb_MySQLList(in *MySQLList, out *kubedb.MySQLList, s conversion.Scope) error

Convert_v1alpha1_MySQLList_To_kubedb_MySQLList is an autogenerated conversion function.

func Convert_v1alpha1_MySQLSpec_To_kubedb_MySQLSpec

func Convert_v1alpha1_MySQLSpec_To_kubedb_MySQLSpec(in *MySQLSpec, out *kubedb.MySQLSpec, s conversion.Scope) error

Convert_v1alpha1_MySQLSpec_To_kubedb_MySQLSpec is an autogenerated conversion function.

func Convert_v1alpha1_MySQLStatus_To_kubedb_MySQLStatus

func Convert_v1alpha1_MySQLStatus_To_kubedb_MySQLStatus(in *MySQLStatus, out *kubedb.MySQLStatus, s conversion.Scope) error

Convert_v1alpha1_MySQLStatus_To_kubedb_MySQLStatus is an autogenerated conversion function.

func Convert_v1alpha1_MySQL_To_kubedb_MySQL

func Convert_v1alpha1_MySQL_To_kubedb_MySQL(in *MySQL, out *kubedb.MySQL, s conversion.Scope) error

Convert_v1alpha1_MySQL_To_kubedb_MySQL is an autogenerated conversion function.

func Convert_v1alpha1_OriginSpec_To_kubedb_OriginSpec

func Convert_v1alpha1_OriginSpec_To_kubedb_OriginSpec(in *OriginSpec, out *kubedb.OriginSpec, s conversion.Scope) error

Convert_v1alpha1_OriginSpec_To_kubedb_OriginSpec is an autogenerated conversion function.

func Convert_v1alpha1_Origin_To_kubedb_Origin

func Convert_v1alpha1_Origin_To_kubedb_Origin(in *Origin, out *kubedb.Origin, s conversion.Scope) error

Convert_v1alpha1_Origin_To_kubedb_Origin is an autogenerated conversion function.

func Convert_v1alpha1_PostgresArchiverSpec_To_kubedb_PostgresArchiverSpec

func Convert_v1alpha1_PostgresArchiverSpec_To_kubedb_PostgresArchiverSpec(in *PostgresArchiverSpec, out *kubedb.PostgresArchiverSpec, s conversion.Scope) error

Convert_v1alpha1_PostgresArchiverSpec_To_kubedb_PostgresArchiverSpec is an autogenerated conversion function.

func Convert_v1alpha1_PostgresList_To_kubedb_PostgresList

func Convert_v1alpha1_PostgresList_To_kubedb_PostgresList(in *PostgresList, out *kubedb.PostgresList, s conversion.Scope) error

Convert_v1alpha1_PostgresList_To_kubedb_PostgresList is an autogenerated conversion function.

func Convert_v1alpha1_PostgresSchemaInfo_To_kubedb_PostgresSchemaInfo

func Convert_v1alpha1_PostgresSchemaInfo_To_kubedb_PostgresSchemaInfo(in *PostgresSchemaInfo, out *kubedb.PostgresSchemaInfo, s conversion.Scope) error

Convert_v1alpha1_PostgresSchemaInfo_To_kubedb_PostgresSchemaInfo is an autogenerated conversion function.

func Convert_v1alpha1_PostgresSpec_To_kubedb_PostgresSpec

func Convert_v1alpha1_PostgresSpec_To_kubedb_PostgresSpec(in *PostgresSpec, out *kubedb.PostgresSpec, s conversion.Scope) error

Convert_v1alpha1_PostgresSpec_To_kubedb_PostgresSpec is an autogenerated conversion function.

func Convert_v1alpha1_PostgresStatus_To_kubedb_PostgresStatus

func Convert_v1alpha1_PostgresStatus_To_kubedb_PostgresStatus(in *PostgresStatus, out *kubedb.PostgresStatus, s conversion.Scope) error

Convert_v1alpha1_PostgresStatus_To_kubedb_PostgresStatus is an autogenerated conversion function.

func Convert_v1alpha1_PostgresSummary_To_kubedb_PostgresSummary

func Convert_v1alpha1_PostgresSummary_To_kubedb_PostgresSummary(in *PostgresSummary, out *kubedb.PostgresSummary, s conversion.Scope) error

Convert_v1alpha1_PostgresSummary_To_kubedb_PostgresSummary is an autogenerated conversion function.

func Convert_v1alpha1_PostgresTableInfo_To_kubedb_PostgresTableInfo

func Convert_v1alpha1_PostgresTableInfo_To_kubedb_PostgresTableInfo(in *PostgresTableInfo, out *kubedb.PostgresTableInfo, s conversion.Scope) error

Convert_v1alpha1_PostgresTableInfo_To_kubedb_PostgresTableInfo is an autogenerated conversion function.

func Convert_v1alpha1_PostgresWALSourceSpec_To_kubedb_PostgresWALSourceSpec

func Convert_v1alpha1_PostgresWALSourceSpec_To_kubedb_PostgresWALSourceSpec(in *PostgresWALSourceSpec, out *kubedb.PostgresWALSourceSpec, s conversion.Scope) error

Convert_v1alpha1_PostgresWALSourceSpec_To_kubedb_PostgresWALSourceSpec is an autogenerated conversion function.

func Convert_v1alpha1_Postgres_To_kubedb_Postgres

func Convert_v1alpha1_Postgres_To_kubedb_Postgres(in *Postgres, out *kubedb.Postgres, s conversion.Scope) error

Convert_v1alpha1_Postgres_To_kubedb_Postgres is an autogenerated conversion function.

func Convert_v1alpha1_RedisList_To_kubedb_RedisList

func Convert_v1alpha1_RedisList_To_kubedb_RedisList(in *RedisList, out *kubedb.RedisList, s conversion.Scope) error

Convert_v1alpha1_RedisList_To_kubedb_RedisList is an autogenerated conversion function.

func Convert_v1alpha1_RedisSpec_To_kubedb_RedisSpec

func Convert_v1alpha1_RedisSpec_To_kubedb_RedisSpec(in *RedisSpec, out *kubedb.RedisSpec, s conversion.Scope) error

Convert_v1alpha1_RedisSpec_To_kubedb_RedisSpec is an autogenerated conversion function.

func Convert_v1alpha1_RedisStatus_To_kubedb_RedisStatus

func Convert_v1alpha1_RedisStatus_To_kubedb_RedisStatus(in *RedisStatus, out *kubedb.RedisStatus, s conversion.Scope) error

Convert_v1alpha1_RedisStatus_To_kubedb_RedisStatus is an autogenerated conversion function.

func Convert_v1alpha1_Redis_To_kubedb_Redis

func Convert_v1alpha1_Redis_To_kubedb_Redis(in *Redis, out *kubedb.Redis, s conversion.Scope) error

Convert_v1alpha1_Redis_To_kubedb_Redis is an autogenerated conversion function.

func Convert_v1alpha1_ReportStatus_To_kubedb_ReportStatus

func Convert_v1alpha1_ReportStatus_To_kubedb_ReportStatus(in *ReportStatus, out *kubedb.ReportStatus, s conversion.Scope) error

Convert_v1alpha1_ReportStatus_To_kubedb_ReportStatus is an autogenerated conversion function.

func Convert_v1alpha1_ReportSummary_To_kubedb_ReportSummary

func Convert_v1alpha1_ReportSummary_To_kubedb_ReportSummary(in *ReportSummary, out *kubedb.ReportSummary, s conversion.Scope) error

Convert_v1alpha1_ReportSummary_To_kubedb_ReportSummary is an autogenerated conversion function.

func Convert_v1alpha1_Report_To_kubedb_Report

func Convert_v1alpha1_Report_To_kubedb_Report(in *Report, out *kubedb.Report, s conversion.Scope) error

Convert_v1alpha1_Report_To_kubedb_Report is an autogenerated conversion function.

func Convert_v1alpha1_S3Spec_To_kubedb_S3Spec

func Convert_v1alpha1_S3Spec_To_kubedb_S3Spec(in *S3Spec, out *kubedb.S3Spec, s conversion.Scope) error

Convert_v1alpha1_S3Spec_To_kubedb_S3Spec is an autogenerated conversion function.

func Convert_v1alpha1_ScriptSourceSpec_To_kubedb_ScriptSourceSpec

func Convert_v1alpha1_ScriptSourceSpec_To_kubedb_ScriptSourceSpec(in *ScriptSourceSpec, out *kubedb.ScriptSourceSpec, s conversion.Scope) error

Convert_v1alpha1_ScriptSourceSpec_To_kubedb_ScriptSourceSpec is an autogenerated conversion function.

func Convert_v1alpha1_SnapshotList_To_kubedb_SnapshotList

func Convert_v1alpha1_SnapshotList_To_kubedb_SnapshotList(in *SnapshotList, out *kubedb.SnapshotList, s conversion.Scope) error

Convert_v1alpha1_SnapshotList_To_kubedb_SnapshotList is an autogenerated conversion function.

func Convert_v1alpha1_SnapshotSourceSpec_To_kubedb_SnapshotSourceSpec

func Convert_v1alpha1_SnapshotSourceSpec_To_kubedb_SnapshotSourceSpec(in *SnapshotSourceSpec, out *kubedb.SnapshotSourceSpec, s conversion.Scope) error

Convert_v1alpha1_SnapshotSourceSpec_To_kubedb_SnapshotSourceSpec is an autogenerated conversion function.

func Convert_v1alpha1_SnapshotSpec_To_kubedb_SnapshotSpec

func Convert_v1alpha1_SnapshotSpec_To_kubedb_SnapshotSpec(in *SnapshotSpec, out *kubedb.SnapshotSpec, s conversion.Scope) error

Convert_v1alpha1_SnapshotSpec_To_kubedb_SnapshotSpec is an autogenerated conversion function.

func Convert_v1alpha1_SnapshotStatus_To_kubedb_SnapshotStatus

func Convert_v1alpha1_SnapshotStatus_To_kubedb_SnapshotStatus(in *SnapshotStatus, out *kubedb.SnapshotStatus, s conversion.Scope) error

Convert_v1alpha1_SnapshotStatus_To_kubedb_SnapshotStatus is an autogenerated conversion function.

func Convert_v1alpha1_SnapshotStorageSpec_To_kubedb_SnapshotStorageSpec

func Convert_v1alpha1_SnapshotStorageSpec_To_kubedb_SnapshotStorageSpec(in *SnapshotStorageSpec, out *kubedb.SnapshotStorageSpec, s conversion.Scope) error

Convert_v1alpha1_SnapshotStorageSpec_To_kubedb_SnapshotStorageSpec is an autogenerated conversion function.

func Convert_v1alpha1_Snapshot_To_kubedb_Snapshot

func Convert_v1alpha1_Snapshot_To_kubedb_Snapshot(in *Snapshot, out *kubedb.Snapshot, s conversion.Scope) error

Convert_v1alpha1_Snapshot_To_kubedb_Snapshot is an autogenerated conversion function.

func Convert_v1alpha1_SwiftSpec_To_kubedb_SwiftSpec

func Convert_v1alpha1_SwiftSpec_To_kubedb_SwiftSpec(in *SwiftSpec, out *kubedb.SwiftSpec, s conversion.Scope) error

Convert_v1alpha1_SwiftSpec_To_kubedb_SwiftSpec is an autogenerated conversion function.

func ObjectReferenceFor

func ObjectReferenceFor(obj runtime.Object) *core.ObjectReference

func RegisterConversions

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AzureSpec

type AzureSpec struct {
	Container string `json:"container,omitempty"`
	Prefix    string `json:"prefix,omitempty"`
}

func (*AzureSpec) DeepCopy

func (in *AzureSpec) DeepCopy() *AzureSpec

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

func (*AzureSpec) DeepCopyInto

func (in *AzureSpec) DeepCopyInto(out *AzureSpec)

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

type BackupScheduleSpec

type BackupScheduleSpec struct {
	CronExpression      string `json:"cronExpression,omitempty"`
	SnapshotStorageSpec `json:",inline,omitempty"`
	// Compute Resources required by the sidecar container.
	Resources core.ResourceRequirements `json:"resources,omitempty"`
}

func (*BackupScheduleSpec) DeepCopy

func (in *BackupScheduleSpec) DeepCopy() *BackupScheduleSpec

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

func (*BackupScheduleSpec) DeepCopyInto

func (in *BackupScheduleSpec) DeepCopyInto(out *BackupScheduleSpec)

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

type DatabasePhase

type DatabasePhase string
const (
	// used for Databases that are currently running
	DatabasePhaseRunning DatabasePhase = "Running"
	// used for Databases that are currently creating
	DatabasePhaseCreating DatabasePhase = "Creating"
	// used for Databases that are currently initializing
	DatabasePhaseInitializing DatabasePhase = "Initializing"
	// used for Databases that are Failed
	DatabasePhaseFailed DatabasePhase = "Failed"
)

type DormantDatabase

type DormantDatabase struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DormantDatabaseSpec   `json:"spec,omitempty"`
	Status            DormantDatabaseStatus `json:"status,omitempty"`
}

func (DormantDatabase) CustomResourceDefinition

func (d DormantDatabase) CustomResourceDefinition() *crd_api.CustomResourceDefinition

func (*DormantDatabase) DeepCopy

func (in *DormantDatabase) DeepCopy() *DormantDatabase

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

func (*DormantDatabase) DeepCopyInto

func (in *DormantDatabase) DeepCopyInto(out *DormantDatabase)

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

func (*DormantDatabase) DeepCopyObject

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

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

func (DormantDatabase) ObjectReference

func (d DormantDatabase) ObjectReference() *core.ObjectReference

func (DormantDatabase) OffshootName

func (d DormantDatabase) OffshootName() string

func (DormantDatabase) ResourceCode

func (d DormantDatabase) ResourceCode() string

func (DormantDatabase) ResourceKind

func (d DormantDatabase) ResourceKind() string

func (DormantDatabase) ResourceName

func (d DormantDatabase) ResourceName() string

func (DormantDatabase) ResourceType

func (d DormantDatabase) ResourceType() string

type DormantDatabaseList

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

func (*DormantDatabaseList) DeepCopy

func (in *DormantDatabaseList) DeepCopy() *DormantDatabaseList

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

func (*DormantDatabaseList) DeepCopyInto

func (in *DormantDatabaseList) DeepCopyInto(out *DormantDatabaseList)

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

func (*DormantDatabaseList) DeepCopyObject

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

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

type DormantDatabasePhase

type DormantDatabasePhase string
const (
	// used for Databases that are paused
	DormantDatabasePhasePaused DormantDatabasePhase = "Paused"
	// used for Databases that are currently pausing
	DormantDatabasePhasePausing DormantDatabasePhase = "Pausing"
	// used for Databases that are wiped out
	DormantDatabasePhaseWipedOut DormantDatabasePhase = "WipedOut"
	// used for Databases that are currently wiping out
	DormantDatabasePhaseWipingOut DormantDatabasePhase = "WipingOut"
	// used for Databases that are currently recovering
	DormantDatabasePhaseResuming DormantDatabasePhase = "Resuming"
)

type DormantDatabaseSpec

type DormantDatabaseSpec struct {
	// If true, invoke wipe out operation
	// +optional
	WipeOut bool `json:"wipeOut,omitempty"`
	// If true, resumes database
	// +optional
	Resume bool `json:"resume,omitempty"`
	// Origin to store original database information
	Origin Origin `json:"origin,omitempty"`
}

func (*DormantDatabaseSpec) DeepCopy

func (in *DormantDatabaseSpec) DeepCopy() *DormantDatabaseSpec

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

func (*DormantDatabaseSpec) DeepCopyInto

func (in *DormantDatabaseSpec) DeepCopyInto(out *DormantDatabaseSpec)

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

type DormantDatabaseStatus

type DormantDatabaseStatus struct {
	CreationTime *metav1.Time         `json:"creationTime,omitempty"`
	PausingTime  *metav1.Time         `json:"pausingTime,omitempty"`
	WipeOutTime  *metav1.Time         `json:"wipeOutTime,omitempty"`
	Phase        DormantDatabasePhase `json:"phase,omitempty"`
	Reason       string               `json:"reason,omitempty"`
}

func (*DormantDatabaseStatus) DeepCopy

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

func (*DormantDatabaseStatus) DeepCopyInto

func (in *DormantDatabaseStatus) DeepCopyInto(out *DormantDatabaseStatus)

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

type Elasticsearch

type Elasticsearch struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ElasticsearchSpec   `json:"spec,omitempty"`
	Status            ElasticsearchStatus `json:"status,omitempty"`
}

Elasticsearch defines a Elasticsearch database.

func (Elasticsearch) CustomResourceDefinition

func (r Elasticsearch) CustomResourceDefinition() *crd_api.CustomResourceDefinition

func (*Elasticsearch) DeepCopy

func (in *Elasticsearch) DeepCopy() *Elasticsearch

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

func (*Elasticsearch) DeepCopyInto

func (in *Elasticsearch) DeepCopyInto(out *Elasticsearch)

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

func (*Elasticsearch) DeepCopyObject

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

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

func (*Elasticsearch) GetMonitoringVendor

func (e *Elasticsearch) GetMonitoringVendor() string

func (*Elasticsearch) MasterServiceName

func (r *Elasticsearch) MasterServiceName() string

func (Elasticsearch) ObjectReference

func (e Elasticsearch) ObjectReference() *core.ObjectReference

func (Elasticsearch) OffshootLabels

func (e Elasticsearch) OffshootLabels() map[string]string

func (Elasticsearch) OffshootName

func (e Elasticsearch) OffshootName() string

func (Elasticsearch) Path

func (r Elasticsearch) Path() string

func (Elasticsearch) ResourceCode

func (e Elasticsearch) ResourceCode() string

func (Elasticsearch) ResourceKind

func (e Elasticsearch) ResourceKind() string

func (Elasticsearch) ResourceName

func (e Elasticsearch) ResourceName() string

func (Elasticsearch) ResourceType

func (e Elasticsearch) ResourceType() string

func (Elasticsearch) Scheme

func (r Elasticsearch) Scheme() string

func (Elasticsearch) ServiceMonitorName

func (r Elasticsearch) ServiceMonitorName() string

func (Elasticsearch) ServiceName

func (r Elasticsearch) ServiceName() string

func (Elasticsearch) StatefulSetAnnotations

func (e Elasticsearch) StatefulSetAnnotations() map[string]string

func (Elasticsearch) StatefulSetLabels

func (e Elasticsearch) StatefulSetLabels() map[string]string

func (*Elasticsearch) StatsAccessor

func (r *Elasticsearch) StatsAccessor() api.StatsAccessor

type ElasticsearchClusterTopology

type ElasticsearchClusterTopology struct {
	Master ElasticsearchNode `json:"master,omitempty"`
	Data   ElasticsearchNode `json:"data,omitempty"`
	Client ElasticsearchNode `json:"client,omitempty"`
}

func (*ElasticsearchClusterTopology) DeepCopy

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

func (*ElasticsearchClusterTopology) DeepCopyInto

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

type ElasticsearchList

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

func (*ElasticsearchList) DeepCopy

func (in *ElasticsearchList) DeepCopy() *ElasticsearchList

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

func (*ElasticsearchList) DeepCopyInto

func (in *ElasticsearchList) DeepCopyInto(out *ElasticsearchList)

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

func (*ElasticsearchList) DeepCopyObject

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

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

type ElasticsearchNode

type ElasticsearchNode struct {
	Replicas int32  `json:"replicas,omitempty"`
	Prefix   string `json:"prefix,omitempty"`
}

func (*ElasticsearchNode) DeepCopy

func (in *ElasticsearchNode) DeepCopy() *ElasticsearchNode

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

func (*ElasticsearchNode) DeepCopyInto

func (in *ElasticsearchNode) DeepCopyInto(out *ElasticsearchNode)

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

type ElasticsearchSpec

type ElasticsearchSpec struct {
	// Version of Elasticsearch to be deployed.
	Version types.StrYo `json:"version,omitempty"`
	// Number of instances to deploy for a Elasticsearch database.
	Replicas int32 `json:"replicas,omitempty"`
	// Elasticsearch topology for node specification
	Topology *ElasticsearchClusterTopology `json:"topology,omitempty"`
	// To enable ssl in transport & http layer
	EnableSSL bool `json:"enableSSL,omitempty"`
	// Secret with SSL certificates
	CertificateSecret *core.SecretVolumeSource `json:"certificateSecret,omitempty"`
	// Database authentication secret
	DatabaseSecret *core.SecretVolumeSource `json:"databaseSecret,omitempty"`
	// Storage to specify how storage shall be used.
	Storage *core.PersistentVolumeClaimSpec `json:"storage,omitempty"`
	// NodeSelector is a selector which must be true for the pod to fit on a node
	// +optional
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
	// Init is used to initialize database
	// +optional
	Init *InitSpec `json:"init,omitempty"`
	// BackupSchedule spec to specify how database backup will be taken
	// +optional
	BackupSchedule *BackupScheduleSpec `json:"backupSchedule,omitempty"`
	// If DoNotPause is true, controller will prevent to delete this Elasticsearch object.
	// Controller will create same Elasticsearch object and ignore other process.
	// +optional
	DoNotPause bool `json:"doNotPause,omitempty"`
	// Monitor is used monitor database instance
	// +optional
	Monitor *api.AgentSpec `json:"monitor,omitempty"`
	// Compute Resources required by the sidecar container.
	Resources core.ResourceRequirements `json:"resources,omitempty"`
	// If specified, the pod's scheduling constraints
	// +optional
	Affinity *core.Affinity `json:"affinity,omitempty" protobuf:"bytes,18,opt,name=affinity"`
	// If specified, the pod will be dispatched by specified scheduler.
	// If not specified, the pod will be dispatched by default scheduler.
	// +optional
	SchedulerName string `json:"schedulerName,omitempty" protobuf:"bytes,19,opt,name=schedulerName"`
	// If specified, the pod's tolerations.
	// +optional
	Tolerations []core.Toleration `json:"tolerations,omitempty" protobuf:"bytes,22,opt,name=tolerations"`
	// ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
	// If specified, these secrets will be passed to individual puller implementations for them to use.
	// +optional
	ImagePullSecrets []core.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}

func (*ElasticsearchSpec) DeepCopy

func (in *ElasticsearchSpec) DeepCopy() *ElasticsearchSpec

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

func (*ElasticsearchSpec) DeepCopyInto

func (in *ElasticsearchSpec) DeepCopyInto(out *ElasticsearchSpec)

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

type ElasticsearchStatus

type ElasticsearchStatus struct {
	CreationTime *metav1.Time  `json:"creationTime,omitempty"`
	Phase        DatabasePhase `json:"phase,omitempty"`
	Reason       string        `json:"reason,omitempty"`
}

func (*ElasticsearchStatus) DeepCopy

func (in *ElasticsearchStatus) DeepCopy() *ElasticsearchStatus

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

func (*ElasticsearchStatus) DeepCopyInto

func (in *ElasticsearchStatus) DeepCopyInto(out *ElasticsearchStatus)

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

type ElasticsearchSummary

type ElasticsearchSummary struct {
	IdCount map[string]int64 `json:"idCount"`
	Mapping interface{}      `json:"mapping"`
	Setting interface{}      `json:"setting"`
}

+k8s:deepcopy-gen=false +k8s:gen-deepcopy=false Following structure is used for audit summary report

type GCSSpec

type GCSSpec struct {
	Bucket string `json:"bucket,omiempty"`
	Prefix string `json:"prefix,omitempty"`
}

func (*GCSSpec) DeepCopy

func (in *GCSSpec) DeepCopy() *GCSSpec

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

func (*GCSSpec) DeepCopyInto

func (in *GCSSpec) DeepCopyInto(out *GCSSpec)

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

type InitSpec

type InitSpec struct {
	ScriptSource   *ScriptSourceSpec      `json:"scriptSource,omitempty"`
	SnapshotSource *SnapshotSourceSpec    `json:"snapshotSource,omitempty"`
	PostgresWAL    *PostgresWALSourceSpec `json:"postgresWAL,omitempty"`
}

func (*InitSpec) DeepCopy

func (in *InitSpec) DeepCopy() *InitSpec

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

func (*InitSpec) DeepCopyInto

func (in *InitSpec) DeepCopyInto(out *InitSpec)

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

type LocalSpec

type LocalSpec struct {
	core.VolumeSource `json:",inline"`
	MountPath         string `json:"mountPath,omitempty"`
	SubPath           string `json:"subPath,omitempty"`
}

func (*LocalSpec) DeepCopy

func (in *LocalSpec) DeepCopy() *LocalSpec

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

func (*LocalSpec) DeepCopyInto

func (in *LocalSpec) DeepCopyInto(out *LocalSpec)

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

type Memcached

type Memcached struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MemcachedSpec   `json:"spec,omitempty"`
	Status            MemcachedStatus `json:"status,omitempty"`
}

Memcached defines a Memcached database.

func (Memcached) CustomResourceDefinition

func (m Memcached) CustomResourceDefinition() *crd_api.CustomResourceDefinition

func (*Memcached) DeepCopy

func (in *Memcached) DeepCopy() *Memcached

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

func (*Memcached) DeepCopyInto

func (in *Memcached) DeepCopyInto(out *Memcached)

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

func (*Memcached) DeepCopyObject

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

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

func (Memcached) DeploymentAnnotations

func (r Memcached) DeploymentAnnotations() map[string]string

func (Memcached) DeploymentLabels

func (r Memcached) DeploymentLabels() map[string]string

func (*Memcached) GetMonitoringVendor

func (m *Memcached) GetMonitoringVendor() string

func (Memcached) ObjectReference

func (s Memcached) ObjectReference() *core.ObjectReference

func (Memcached) OffshootLabels

func (r Memcached) OffshootLabels() map[string]string

func (Memcached) OffshootName

func (r Memcached) OffshootName() string

func (Memcached) Path

func (m Memcached) Path() string

func (Memcached) ResourceCode

func (r Memcached) ResourceCode() string

func (Memcached) ResourceKind

func (r Memcached) ResourceKind() string

func (Memcached) ResourceName

func (r Memcached) ResourceName() string

func (Memcached) ResourceType

func (r Memcached) ResourceType() string

func (Memcached) Scheme

func (m Memcached) Scheme() string

func (Memcached) ServiceMonitorName

func (m Memcached) ServiceMonitorName() string

func (Memcached) ServiceName

func (m Memcached) ServiceName() string

func (*Memcached) StatsAccessor

func (m *Memcached) StatsAccessor() api.StatsAccessor

type MemcachedList

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

func (*MemcachedList) DeepCopy

func (in *MemcachedList) DeepCopy() *MemcachedList

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

func (*MemcachedList) DeepCopyInto

func (in *MemcachedList) DeepCopyInto(out *MemcachedList)

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

func (*MemcachedList) DeepCopyObject

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

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

type MemcachedSpec

type MemcachedSpec struct {
	// Version of Memcached to be deployed.
	Version types.StrYo `json:"version,omitempty"`
	// Number of instances to deploy for a Memcached database.
	Replicas int32 `json:"replicas,omitempty"`
	// NodeSelector is a selector which must be true for the pod to fit on a node
	// +optional
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
	// If DoNotPause is true, controller will prevent to delete this Postgres object.
	// Controller will create same Postgres object and ignore other process.
	// +optional
	DoNotPause bool `json:"doNotPause,omitempty"`
	// Monitor is used monitor database instance
	// +optional
	Monitor *api.AgentSpec `json:"monitor,omitempty"`
	// Compute Resources required by the sidecar container.
	Resources core.ResourceRequirements `json:"resources,omitempty"`
	// If specified, the pod's scheduling constraints
	// +optional
	Affinity *core.Affinity `json:"affinity,omitempty" protobuf:"bytes,18,opt,name=affinity"`
	// If specified, the pod will be dispatched by specified scheduler.
	// If not specified, the pod will be dispatched by default scheduler.
	// +optional
	SchedulerName string `json:"schedulerName,omitempty" protobuf:"bytes,19,opt,name=schedulerName"`
	// If specified, the pod's tolerations.
	// +optional
	Tolerations []core.Toleration `json:"tolerations,omitempty" protobuf:"bytes,22,opt,name=tolerations"`
	// ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
	// If specified, these secrets will be passed to individual puller implementations for them to use.
	// +optional
	ImagePullSecrets []core.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}

func (*MemcachedSpec) DeepCopy

func (in *MemcachedSpec) DeepCopy() *MemcachedSpec

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

func (*MemcachedSpec) DeepCopyInto

func (in *MemcachedSpec) DeepCopyInto(out *MemcachedSpec)

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

type MemcachedStatus

type MemcachedStatus struct {
	CreationTime *metav1.Time  `json:"creationTime,omitempty"`
	Phase        DatabasePhase `json:"phase,omitempty"`
	Reason       string        `json:"reason,omitempty"`
}

func (*MemcachedStatus) DeepCopy

func (in *MemcachedStatus) DeepCopy() *MemcachedStatus

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

func (*MemcachedStatus) DeepCopyInto

func (in *MemcachedStatus) DeepCopyInto(out *MemcachedStatus)

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

type MongoDB

type MongoDB struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MongoDBSpec   `json:"spec,omitempty"`
	Status            MongoDBStatus `json:"status,omitempty"`
}

MongoDB defines a MongoDB database.

func (MongoDB) CustomResourceDefinition

func (p MongoDB) CustomResourceDefinition() *crd_api.CustomResourceDefinition

func (*MongoDB) DeepCopy

func (in *MongoDB) DeepCopy() *MongoDB

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

func (*MongoDB) DeepCopyInto

func (in *MongoDB) DeepCopyInto(out *MongoDB)

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

func (*MongoDB) DeepCopyObject

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

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

func (*MongoDB) GetMonitoringVendor

func (m *MongoDB) GetMonitoringVendor() string

func (MongoDB) ObjectReference

func (p MongoDB) ObjectReference() *core.ObjectReference

func (MongoDB) OffshootLabels

func (p MongoDB) OffshootLabels() map[string]string

func (MongoDB) OffshootName

func (p MongoDB) OffshootName() string

func (MongoDB) Path

func (p MongoDB) Path() string

func (MongoDB) ResourceCode

func (p MongoDB) ResourceCode() string

func (MongoDB) ResourceKind

func (p MongoDB) ResourceKind() string

func (MongoDB) ResourceName

func (p MongoDB) ResourceName() string

func (MongoDB) ResourceType

func (p MongoDB) ResourceType() string

func (MongoDB) Scheme

func (p MongoDB) Scheme() string

func (MongoDB) ServiceMonitorName

func (p MongoDB) ServiceMonitorName() string

func (MongoDB) ServiceName

func (p MongoDB) ServiceName() string

func (MongoDB) StatefulSetAnnotations

func (p MongoDB) StatefulSetAnnotations() map[string]string

func (MongoDB) StatefulSetLabels

func (p MongoDB) StatefulSetLabels() map[string]string

func (*MongoDB) StatsAccessor

func (p *MongoDB) StatsAccessor() api.StatsAccessor

type MongoDBList

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

func (*MongoDBList) DeepCopy

func (in *MongoDBList) DeepCopy() *MongoDBList

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

func (*MongoDBList) DeepCopyInto

func (in *MongoDBList) DeepCopyInto(out *MongoDBList)

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

func (*MongoDBList) DeepCopyObject

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

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

type MongoDBSpec

type MongoDBSpec struct {
	// Version of MongoDB to be deployed.
	Version types.StrYo `json:"version,omitempty"`
	// Number of instances to deploy for a MongoDB database.
	Replicas int32 `json:"replicas,omitempty"`
	// Storage spec to specify how storage shall be used.
	Storage *core.PersistentVolumeClaimSpec `json:"storage,omitempty"`
	// Database authentication secret
	DatabaseSecret *core.SecretVolumeSource `json:"databaseSecret,omitempty"`
	// NodeSelector is a selector which must be true for the pod to fit on a node
	// +optional
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
	// Init is used to initialize database
	// +optional
	Init *InitSpec `json:"init,omitempty"`
	// BackupSchedule spec to specify how database backup will be taken
	// +optional
	BackupSchedule *BackupScheduleSpec `json:"backupSchedule,omitempty"`
	// If DoNotPause is true, controller will prevent to delete this Postgres object.
	// Controller will create same Postgres object and ignore other process.
	// +optional
	DoNotPause bool `json:"doNotPause,omitempty"`
	// Monitor is used monitor database instance
	// +optional
	Monitor *api.AgentSpec `json:"monitor,omitempty"`
	// Compute Resources required by the sidecar container.
	Resources core.ResourceRequirements `json:"resources,omitempty"`
	// If specified, the pod's scheduling constraints
	// +optional
	Affinity *core.Affinity `json:"affinity,omitempty" protobuf:"bytes,18,opt,name=affinity"`
	// If specified, the pod will be dispatched by specified scheduler.
	// If not specified, the pod will be dispatched by default scheduler.
	// +optional
	SchedulerName string `json:"schedulerName,omitempty" protobuf:"bytes,19,opt,name=schedulerName"`
	// If specified, the pod's tolerations.
	// +optional
	Tolerations []core.Toleration `json:"tolerations,omitempty" protobuf:"bytes,22,opt,name=tolerations"`
	// ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
	// If specified, these secrets will be passed to individual puller implementations for them to use.
	// +optional
	ImagePullSecrets []core.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}

func (*MongoDBSpec) DeepCopy

func (in *MongoDBSpec) DeepCopy() *MongoDBSpec

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

func (*MongoDBSpec) DeepCopyInto

func (in *MongoDBSpec) DeepCopyInto(out *MongoDBSpec)

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

type MongoDBStatus

type MongoDBStatus struct {
	CreationTime *metav1.Time  `json:"creationTime,omitempty"`
	Phase        DatabasePhase `json:"phase,omitempty"`
	Reason       string        `json:"reason,omitempty"`
}

func (*MongoDBStatus) DeepCopy

func (in *MongoDBStatus) DeepCopy() *MongoDBStatus

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

func (*MongoDBStatus) DeepCopyInto

func (in *MongoDBStatus) DeepCopyInto(out *MongoDBStatus)

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

type MySQL

type MySQL struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MySQLSpec   `json:"spec,omitempty"`
	Status            MySQLStatus `json:"status,omitempty"`
}

Mysql defines a Mysql database.

func (MySQL) CustomResourceDefinition

func (m MySQL) CustomResourceDefinition() *crd_api.CustomResourceDefinition

func (*MySQL) DeepCopy

func (in *MySQL) DeepCopy() *MySQL

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

func (*MySQL) DeepCopyInto

func (in *MySQL) DeepCopyInto(out *MySQL)

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

func (*MySQL) DeepCopyObject

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

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

func (*MySQL) GetMonitoringVendor

func (m *MySQL) GetMonitoringVendor() string

func (MySQL) ObjectReference

func (m MySQL) ObjectReference() *core.ObjectReference

func (MySQL) OffshootLabels

func (m MySQL) OffshootLabels() map[string]string

func (MySQL) OffshootName

func (m MySQL) OffshootName() string

func (MySQL) Path

func (m MySQL) Path() string

func (MySQL) ResourceCode

func (m MySQL) ResourceCode() string

func (MySQL) ResourceKind

func (m MySQL) ResourceKind() string

func (MySQL) ResourceName

func (m MySQL) ResourceName() string

func (MySQL) ResourceType

func (m MySQL) ResourceType() string

func (MySQL) Scheme

func (m MySQL) Scheme() string

func (MySQL) ServiceMonitorName

func (m MySQL) ServiceMonitorName() string

func (MySQL) ServiceName

func (m MySQL) ServiceName() string

func (MySQL) StatefulSetAnnotations

func (m MySQL) StatefulSetAnnotations() map[string]string

func (MySQL) StatefulSetLabels

func (m MySQL) StatefulSetLabels() map[string]string

func (*MySQL) StatsAccessor

func (m *MySQL) StatsAccessor() api.StatsAccessor

type MySQLList

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

func (*MySQLList) DeepCopy

func (in *MySQLList) DeepCopy() *MySQLList

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

func (*MySQLList) DeepCopyInto

func (in *MySQLList) DeepCopyInto(out *MySQLList)

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

func (*MySQLList) DeepCopyObject

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

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

type MySQLSpec

type MySQLSpec struct {
	// Version of MySQL to be deployed.
	Version types.StrYo `json:"version,omitempty"`
	// Number of instances to deploy for a MySQL database.
	Replicas int32 `json:"replicas,omitempty"`
	// Storage spec to specify how storage shall be used.
	Storage *core.PersistentVolumeClaimSpec `json:"storage,omitempty"`
	// Database authentication secret
	DatabaseSecret *core.SecretVolumeSource `json:"databaseSecret,omitempty"`
	// NodeSelector is a selector which must be true for the pod to fit on a node
	// +optional
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
	// Init is used to initialize database
	// +optional
	Init *InitSpec `json:"init,omitempty"`
	// BackupSchedule spec to specify how database backup will be taken
	// +optional
	BackupSchedule *BackupScheduleSpec `json:"backupSchedule,omitempty"`
	// If DoNotPause is true, controller will prevent to delete this Mysql object.
	// Controller will create same Mysql object and ignore other process.
	// +optional
	DoNotPause bool `json:"doNotPause,omitempty"`
	// Monitor is used monitor database instance
	// +optional
	Monitor *api.AgentSpec `json:"monitor,omitempty"`
	// Compute Resources required by the sidecar container.
	Resources core.ResourceRequirements `json:"resources,omitempty"`
	// If specified, the pod's scheduling constraints
	// +optional
	Affinity *core.Affinity `json:"affinity,omitempty" protobuf:"bytes,18,opt,name=affinity"`
	// If specified, the pod will be dispatched by specified scheduler.
	// If not specified, the pod will be dispatched by default scheduler.
	// +optional
	SchedulerName string `json:"schedulerName,omitempty" protobuf:"bytes,19,opt,name=schedulerName"`
	// If specified, the pod's tolerations.
	// +optional
	Tolerations []core.Toleration `json:"tolerations,omitempty" protobuf:"bytes,22,opt,name=tolerations"`
	// ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
	// If specified, these secrets will be passed to individual puller implementations for them to use.
	// +optional
	ImagePullSecrets []core.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}

func (*MySQLSpec) DeepCopy

func (in *MySQLSpec) DeepCopy() *MySQLSpec

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

func (*MySQLSpec) DeepCopyInto

func (in *MySQLSpec) DeepCopyInto(out *MySQLSpec)

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

type MySQLStatus

type MySQLStatus struct {
	CreationTime *metav1.Time  `json:"creationTime,omitempty"`
	Phase        DatabasePhase `json:"phase,omitempty"`
	Reason       string        `json:"reason,omitempty"`
}

func (*MySQLStatus) DeepCopy

func (in *MySQLStatus) DeepCopy() *MySQLStatus

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

func (*MySQLStatus) DeepCopyInto

func (in *MySQLStatus) DeepCopyInto(out *MySQLStatus)

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

type Origin

type Origin struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// Origin Spec to store original database Spec
	Spec OriginSpec `json:"spec,omitempty"`
}

func (*Origin) DeepCopy

func (in *Origin) DeepCopy() *Origin

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

func (*Origin) DeepCopyInto

func (in *Origin) DeepCopyInto(out *Origin)

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

type OriginSpec

type OriginSpec struct {
	// Elasticsearch Spec
	// +optional
	Elasticsearch *ElasticsearchSpec `json:"elasticsearch,omitempty"`
	// Postgres Spec
	// +optional
	Postgres *PostgresSpec `json:"postgres,omitempty"`
	// MySQL Spec
	// +optional
	MySQL *MySQLSpec `json:"mysql,omitempty"`
	// MongoDB Spec
	// +optional
	MongoDB *MongoDBSpec `json:"mongodb,omitempty"`
	// Redis Spec
	// +optional
	Redis *RedisSpec `json:"redis,omitempty"`
	// Memcached Spec
	// +optional
	Memcached *MemcachedSpec `json:"memcached,omitempty"`
}

func (*OriginSpec) DeepCopy

func (in *OriginSpec) DeepCopy() *OriginSpec

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

func (*OriginSpec) DeepCopyInto

func (in *OriginSpec) DeepCopyInto(out *OriginSpec)

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

type Postgres

type Postgres struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PostgresSpec   `json:"spec,omitempty"`
	Status            PostgresStatus `json:"status,omitempty"`
}

Postgres defines a Postgres database.

func (Postgres) CustomResourceDefinition

func (p Postgres) CustomResourceDefinition() *crd_api.CustomResourceDefinition

func (*Postgres) DeepCopy

func (in *Postgres) DeepCopy() *Postgres

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

func (*Postgres) DeepCopyInto

func (in *Postgres) DeepCopyInto(out *Postgres)

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

func (*Postgres) DeepCopyObject

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

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

func (*Postgres) GetMonitoringVendor

func (p *Postgres) GetMonitoringVendor() string

func (Postgres) ObjectReference

func (p Postgres) ObjectReference() *core.ObjectReference

func (Postgres) OffshootLabels

func (p Postgres) OffshootLabels() map[string]string

func (Postgres) OffshootName

func (p Postgres) OffshootName() string

func (Postgres) Path

func (p Postgres) Path() string

func (Postgres) PrimaryName

func (p Postgres) PrimaryName() string

func (Postgres) ResourceCode

func (p Postgres) ResourceCode() string

func (Postgres) ResourceKind

func (p Postgres) ResourceKind() string

func (Postgres) ResourceName

func (p Postgres) ResourceName() string

func (Postgres) ResourceType

func (p Postgres) ResourceType() string

func (Postgres) Scheme

func (p Postgres) Scheme() string

func (Postgres) ServiceMonitorName

func (p Postgres) ServiceMonitorName() string

func (Postgres) ServiceName

func (p Postgres) ServiceName() string

func (Postgres) StatefulSetAnnotations

func (p Postgres) StatefulSetAnnotations() map[string]string

func (Postgres) StatefulSetLabels

func (p Postgres) StatefulSetLabels() map[string]string

func (*Postgres) StatsAccessor

func (p *Postgres) StatsAccessor() api.StatsAccessor

type PostgresArchiverSpec

type PostgresArchiverSpec struct {
	Storage *SnapshotStorageSpec `json:"storage,omitempty"`
}

func (*PostgresArchiverSpec) DeepCopy

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

func (*PostgresArchiverSpec) DeepCopyInto

func (in *PostgresArchiverSpec) DeepCopyInto(out *PostgresArchiverSpec)

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

type PostgresList

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

func (*PostgresList) DeepCopy

func (in *PostgresList) DeepCopy() *PostgresList

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

func (*PostgresList) DeepCopyInto

func (in *PostgresList) DeepCopyInto(out *PostgresList)

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

func (*PostgresList) DeepCopyObject

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

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

type PostgresSchemaInfo

type PostgresSchemaInfo struct {
	Table map[string]*PostgresTableInfo `json:"table"`
}

func (*PostgresSchemaInfo) DeepCopy

func (in *PostgresSchemaInfo) DeepCopy() *PostgresSchemaInfo

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

func (*PostgresSchemaInfo) DeepCopyInto

func (in *PostgresSchemaInfo) DeepCopyInto(out *PostgresSchemaInfo)

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

type PostgresSpec

type PostgresSpec struct {
	// Version of Postgres to be deployed.
	Version types.StrYo `json:"version,omitempty"`
	// Number of instances to deploy for a Postgres database.
	Replicas int32 `json:"replicas,omitempty"`
	// Standby mode
	Standby StandbyMode `json:"standby,omitempty"`
	// Streaming mode
	Streaming StreamingMode `json:"streaming,omitempty"`
	// Archive for wal files
	Archiver *PostgresArchiverSpec `json:"archiver,omitempty"`
	// Database authentication secret
	DatabaseSecret *core.SecretVolumeSource `json:"databaseSecret,omitempty"`
	// Storage to specify how storage shall be used.
	Storage *core.PersistentVolumeClaimSpec `json:"storage,omitempty"`
	// NodeSelector is a selector which must be true for the pod to fit on a node
	// +optional
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
	// Init is used to initialize database
	// +optional
	Init *InitSpec `json:"init,omitempty"`
	// BackupSchedule spec to specify how database backup will be taken
	// +optional
	BackupSchedule *BackupScheduleSpec `json:"backupSchedule,omitempty"`
	// If DoNotPause is true, controller will prevent to delete this Postgres object.
	// Controller will create same Postgres object and ignore other process.
	// +optional
	DoNotPause bool `json:"doNotPause,omitempty"`
	// Monitor is used monitor database instance
	// +optional
	Monitor *api.AgentSpec `json:"monitor,omitempty"`
	// Compute Resources required by the sidecar container.
	Resources core.ResourceRequirements `json:"resources,omitempty"`
	// If specified, the pod's scheduling constraints
	// +optional
	Affinity *core.Affinity `json:"affinity,omitempty" protobuf:"bytes,18,opt,name=affinity"`
	// If specified, the pod will be dispatched by specified scheduler.
	// If not specified, the pod will be dispatched by default scheduler.
	// +optional
	SchedulerName string `json:"schedulerName,omitempty" protobuf:"bytes,19,opt,name=schedulerName"`
	// If specified, the pod's tolerations.
	// +optional
	Tolerations []core.Toleration `json:"tolerations,omitempty" protobuf:"bytes,22,opt,name=tolerations"`
	// ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
	// If specified, these secrets will be passed to individual puller implementations for them to use.
	// +optional
	ImagePullSecrets []core.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}

func (*PostgresSpec) DeepCopy

func (in *PostgresSpec) DeepCopy() *PostgresSpec

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

func (*PostgresSpec) DeepCopyInto

func (in *PostgresSpec) DeepCopyInto(out *PostgresSpec)

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

type PostgresStatus

type PostgresStatus struct {
	CreationTime *metav1.Time  `json:"creationTime,omitempty"`
	Phase        DatabasePhase `json:"phase,omitempty"`
	Reason       string        `json:"reason,omitempty"`
}

func (*PostgresStatus) DeepCopy

func (in *PostgresStatus) DeepCopy() *PostgresStatus

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

func (*PostgresStatus) DeepCopyInto

func (in *PostgresStatus) DeepCopyInto(out *PostgresStatus)

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

type PostgresSummary

type PostgresSummary struct {
	Schema map[string]*PostgresSchemaInfo `json:"schema"`
}

func (*PostgresSummary) DeepCopy

func (in *PostgresSummary) DeepCopy() *PostgresSummary

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

func (*PostgresSummary) DeepCopyInto

func (in *PostgresSummary) DeepCopyInto(out *PostgresSummary)

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

type PostgresTableInfo

type PostgresTableInfo struct {
	TotalRow int64 `json:"totalRow"`
	MaxID    int64 `json:"maxId"`
	NextID   int64 `json:"nextId"`
}

Following structures are used for audit summary report

func (*PostgresTableInfo) DeepCopy

func (in *PostgresTableInfo) DeepCopy() *PostgresTableInfo

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

func (*PostgresTableInfo) DeepCopyInto

func (in *PostgresTableInfo) DeepCopyInto(out *PostgresTableInfo)

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

type PostgresWALSourceSpec

type PostgresWALSourceSpec struct {
	BackupName          string `json:"backupName,omitempty"`
	PITR                string `json:"pitr,omitempty"`
	SnapshotStorageSpec `json:",inline,omitempty"`
}

func (*PostgresWALSourceSpec) DeepCopy

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

func (*PostgresWALSourceSpec) DeepCopyInto

func (in *PostgresWALSourceSpec) DeepCopyInto(out *PostgresWALSourceSpec)

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

type Redis

type Redis struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RedisSpec   `json:"spec,omitempty"`
	Status            RedisStatus `json:"status,omitempty"`
}

Redis defines a Redis database.

func (Redis) CustomResourceDefinition

func (r Redis) CustomResourceDefinition() *crd_api.CustomResourceDefinition

func (*Redis) DeepCopy

func (in *Redis) DeepCopy() *Redis

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

func (*Redis) DeepCopyInto

func (in *Redis) DeepCopyInto(out *Redis)

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

func (*Redis) DeepCopyObject

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

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

func (*Redis) GetMonitoringVendor

func (r *Redis) GetMonitoringVendor() string

func (Redis) ObjectReference

func (r Redis) ObjectReference() *core.ObjectReference

func (Redis) OffshootLabels

func (r Redis) OffshootLabels() map[string]string

func (Redis) OffshootName

func (r Redis) OffshootName() string

func (Redis) Path

func (r Redis) Path() string

func (Redis) ResourceCode

func (r Redis) ResourceCode() string

func (Redis) ResourceKind

func (r Redis) ResourceKind() string

func (Redis) ResourceName

func (r Redis) ResourceName() string

func (Redis) ResourceType

func (r Redis) ResourceType() string

func (Redis) Scheme

func (r Redis) Scheme() string

func (Redis) ServiceMonitorName

func (r Redis) ServiceMonitorName() string

func (Redis) ServiceName

func (r Redis) ServiceName() string

func (Redis) StatefulSetAnnotations

func (r Redis) StatefulSetAnnotations() map[string]string

func (Redis) StatefulSetLabels

func (r Redis) StatefulSetLabels() map[string]string

func (*Redis) StatsAccessor

func (r *Redis) StatsAccessor() api.StatsAccessor

type RedisList

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

func (*RedisList) DeepCopy

func (in *RedisList) DeepCopy() *RedisList

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

func (*RedisList) DeepCopyInto

func (in *RedisList) DeepCopyInto(out *RedisList)

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

func (*RedisList) DeepCopyObject

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

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

type RedisSpec

type RedisSpec struct {
	// Version of Redis to be deployed.
	Version types.StrYo `json:"version,omitempty"`
	// Number of instances to deploy for a Redis database.
	Replicas int32 `json:"replicas,omitempty"`
	// Storage spec to specify how storage shall be used.
	Storage *core.PersistentVolumeClaimSpec `json:"storage,omitempty"`
	// NodeSelector is a selector which must be true for the pod to fit on a node
	// +optional
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
	// If DoNotPause is true, controller will prevent to delete this Postgres object.
	// Controller will create same Postgres object and ignore other process.
	// +optional
	DoNotPause bool `json:"doNotPause,omitempty"`
	// Monitor is used monitor database instance
	// +optional
	Monitor *api.AgentSpec `json:"monitor,omitempty"`
	// Compute Resources required by the sidecar container.
	Resources core.ResourceRequirements `json:"resources,omitempty"`
	// If specified, the pod's scheduling constraints
	// +optional
	Affinity *core.Affinity `json:"affinity,omitempty" protobuf:"bytes,18,opt,name=affinity"`
	// If specified, the pod will be dispatched by specified scheduler.
	// If not specified, the pod will be dispatched by default scheduler.
	// +optional
	SchedulerName string `json:"schedulerName,omitempty" protobuf:"bytes,19,opt,name=schedulerName"`
	// If specified, the pod's tolerations.
	// +optional
	Tolerations []core.Toleration `json:"tolerations,omitempty" protobuf:"bytes,22,opt,name=tolerations"`
	// ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
	// If specified, these secrets will be passed to individual puller implementations for them to use.
	// +optional
	ImagePullSecrets []core.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}

func (*RedisSpec) DeepCopy

func (in *RedisSpec) DeepCopy() *RedisSpec

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

func (*RedisSpec) DeepCopyInto

func (in *RedisSpec) DeepCopyInto(out *RedisSpec)

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

type RedisStatus

type RedisStatus struct {
	CreationTime *metav1.Time  `json:"creationTime,omitempty"`
	Phase        DatabasePhase `json:"phase,omitempty"`
	Reason       string        `json:"reason,omitempty"`
}

func (*RedisStatus) DeepCopy

func (in *RedisStatus) DeepCopy() *RedisStatus

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

func (*RedisStatus) DeepCopyInto

func (in *RedisStatus) DeepCopyInto(out *RedisStatus)

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

type Report

type Report struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Summary           ReportSummary `json:"summary,omitempty"`
	Status            ReportStatus  `json:"status,omitempty"`
}

+k8s:deepcopy-gen=false +k8s:gen-deepcopy=false

type ReportStatus

type ReportStatus struct {
	StartTime      *metav1.Time `json:"startTime,omitempty"`
	CompletionTime *metav1.Time `json:"completionTime,omitempty"`
}

+k8s:deepcopy-gen=false +k8s:gen-deepcopy=false

type ReportSummary

type ReportSummary struct {
	Postgres      map[string]*PostgresSummary      `json:"postgres,omitempty"`
	Elasticsearch map[string]*ElasticsearchSummary `json:"elastic,omitempty"`
}

+k8s:deepcopy-gen=false +k8s:gen-deepcopy=false

type ResourceInfo

type ResourceInfo interface {
	ResourceCode() string
	ResourceKind() string
	ResourceName() string
	ResourceType() string
}

type S3Spec

type S3Spec struct {
	Endpoint string `json:"endpoint,omitempty"`
	Bucket   string `json:"bucket,omiempty"`
	Prefix   string `json:"prefix,omitempty"`
}

func (*S3Spec) DeepCopy

func (in *S3Spec) DeepCopy() *S3Spec

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

func (*S3Spec) DeepCopyInto

func (in *S3Spec) DeepCopyInto(out *S3Spec)

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

type ScriptSourceSpec

type ScriptSourceSpec struct {
	ScriptPath        string `json:"scriptPath,omitempty"`
	core.VolumeSource `json:",inline,omitempty"`
}

func (*ScriptSourceSpec) DeepCopy

func (in *ScriptSourceSpec) DeepCopy() *ScriptSourceSpec

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

func (*ScriptSourceSpec) DeepCopyInto

func (in *ScriptSourceSpec) DeepCopyInto(out *ScriptSourceSpec)

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

type Snapshot

type Snapshot struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SnapshotSpec   `json:"spec,omitempty"`
	Status            SnapshotStatus `json:"status,omitempty"`
}

func (Snapshot) CustomResourceDefinition

func (s Snapshot) CustomResourceDefinition() *crd_api.CustomResourceDefinition

func (*Snapshot) DeepCopy

func (in *Snapshot) DeepCopy() *Snapshot

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

func (*Snapshot) DeepCopyInto

func (in *Snapshot) DeepCopyInto(out *Snapshot)

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

func (*Snapshot) DeepCopyObject

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

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

func (Snapshot) Location

func (s Snapshot) Location() (string, error)

func (Snapshot) OSMSecretName

func (s Snapshot) OSMSecretName() string

func (Snapshot) ObjectReference

func (s Snapshot) ObjectReference() *core.ObjectReference

func (Snapshot) OffshootName

func (s Snapshot) OffshootName() string

func (Snapshot) ResourceCode

func (s Snapshot) ResourceCode() string

func (Snapshot) ResourceKind

func (s Snapshot) ResourceKind() string

func (Snapshot) ResourceName

func (s Snapshot) ResourceName() string

func (Snapshot) ResourceType

func (s Snapshot) ResourceType() string

type SnapshotList

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

func (*SnapshotList) DeepCopy

func (in *SnapshotList) DeepCopy() *SnapshotList

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

func (*SnapshotList) DeepCopyInto

func (in *SnapshotList) DeepCopyInto(out *SnapshotList)

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

func (*SnapshotList) DeepCopyObject

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

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

type SnapshotPhase

type SnapshotPhase string
const (
	// used for Snapshots that are currently running
	SnapshotPhaseRunning SnapshotPhase = "Running"
	// used for Snapshots that are Succeeded
	SnapshotPhaseSucceeded SnapshotPhase = "Succeeded"
	// used for Snapshots that are Failed
	SnapshotPhaseFailed SnapshotPhase = "Failed"
)

type SnapshotSourceSpec

type SnapshotSourceSpec struct {
	Namespace string `json:"namespace,omitempty"`
	Name      string `json:"name,omitempty"`
}

func (*SnapshotSourceSpec) DeepCopy

func (in *SnapshotSourceSpec) DeepCopy() *SnapshotSourceSpec

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

func (*SnapshotSourceSpec) DeepCopyInto

func (in *SnapshotSourceSpec) DeepCopyInto(out *SnapshotSourceSpec)

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

type SnapshotSpec

type SnapshotSpec struct {
	// Database name
	DatabaseName string `json:"databaseName,omitempty"`
	// Snapshot Spec
	SnapshotStorageSpec `json:",inline"`
	// Compute Resources required by the sidecar container.
	Resources core.ResourceRequirements `json:"resources,omitempty"`
}

func (*SnapshotSpec) DeepCopy

func (in *SnapshotSpec) DeepCopy() *SnapshotSpec

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

func (*SnapshotSpec) DeepCopyInto

func (in *SnapshotSpec) DeepCopyInto(out *SnapshotSpec)

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

type SnapshotStatus

type SnapshotStatus struct {
	StartTime      *metav1.Time  `json:"startTime,omitempty"`
	CompletionTime *metav1.Time  `json:"completionTime,omitempty"`
	Phase          SnapshotPhase `json:"phase,omitempty"`
	Reason         string        `json:"reason,omitempty"`
}

func (*SnapshotStatus) DeepCopy

func (in *SnapshotStatus) DeepCopy() *SnapshotStatus

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

func (*SnapshotStatus) DeepCopyInto

func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus)

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

type SnapshotStorageSpec

type SnapshotStorageSpec struct {
	StorageSecretName string `json:"storageSecretName,omitempty"`

	Local *LocalSpec `json:"local,omitempty"`
	S3    *S3Spec    `json:"s3,omitempty"`
	GCS   *GCSSpec   `json:"gcs,omitempty"`
	Azure *AzureSpec `json:"azure,omitempty"`
	Swift *SwiftSpec `json:"swift,omitempty"`
}

func (SnapshotStorageSpec) Container

func (s SnapshotStorageSpec) Container() (string, error)

func (*SnapshotStorageSpec) DeepCopy

func (in *SnapshotStorageSpec) DeepCopy() *SnapshotStorageSpec

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

func (*SnapshotStorageSpec) DeepCopyInto

func (in *SnapshotStorageSpec) DeepCopyInto(out *SnapshotStorageSpec)

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

func (SnapshotStorageSpec) Location

func (s SnapshotStorageSpec) Location() (string, error)

type StandbyMode

type StandbyMode string
const (
	HotStandby  StandbyMode = "hot"
	WarmStandby StandbyMode = "warm"
)

type StreamingMode

type StreamingMode string
const (
	SynchronousStreaming  StreamingMode = "synchronous"
	AsynchronousStreaming StreamingMode = "asynchronous"
)

type SwiftSpec

type SwiftSpec struct {
	Container string `json:"container,omitempty"`
	Prefix    string `json:"prefix,omitempty"`
}

func (*SwiftSpec) DeepCopy

func (in *SwiftSpec) DeepCopy() *SwiftSpec

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

func (*SwiftSpec) DeepCopyInto

func (in *SwiftSpec) DeepCopyInto(out *SwiftSpec)

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