Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupDaemon ¶
type BackupDaemon struct {
Resources *v1.ResourceRequirements `json:"resources,omitempty"`
DockerImage string `json:"image,omitempty"`
Affinity v1.Affinity `json:"affinity,omitempty"`
Storage Storage `json:"storage,omitempty"`
PgHost string `json:"pgHost,omitempty"`
EvictionPolicy string `json:"evictionPolicy,omitempty"`
BackupSchedule string `json:"backupSchedule,omitempty"`
GranularEviction string `json:"granularEviction,omitempty"`
JobFlag string `json:"jobFlag,omitempty"`
ConnectTimeout string `json:"connectTimeout,omitempty"`
GranularBackupSchedule string `json:"granularBackupSchedule,omitempty"`
DatabasesToSchedule string `json:"databasesToSchedule,omitempty"`
WalArchiving bool `json:"walArchiving,omitempty"`
AllowPrefix bool `json:"allowPrefix,omitempty"`
ExcludedExtensions string `json:"excludedExtensions,omitempty"`
CompressionLevel int `json:"compressionLevel"`
Encryption string `json:"encryption,omitempty"`
UseEvictionPolicyFirst string `json:"useEvictionPolicyFirst,omitempty"`
EvictionBinaryPolicy string `json:"evictionBinaryPolicy,omitempty"`
ArchiveEvictionPolicy string `json:"archiveEvictionPolicy,omitempty"`
SecurityContext v1.PodSecurityContext `json:"securityContext,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
S3Storage *S3Storage `json:"s3Storage,omitempty"`
PodLabels map[string]string `json:"podLabels,omitempty"`
ExternalPv *ExternalPv `json:"externalPv,omitempty"`
SslMode string `json:"sslMode,omitempty"`
}
func (*BackupDaemon) DeepCopy ¶
func (in *BackupDaemon) DeepCopy() *BackupDaemon
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDaemon.
func (*BackupDaemon) DeepCopyInto ¶
func (in *BackupDaemon) DeepCopyInto(out *BackupDaemon)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudSql ¶
type CloudSql struct {
Project string `json:"project,omitempty"`
Instance string `json:"instance,omitempty"`
AuthSecretName string `json:"authSecretName,omitempty"`
}
func (*CloudSql) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudSql.
func (*CloudSql) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConsulRegistration ¶
type ConsulRegistration struct {
CheckInterval string `json:"checkInterval,omitempty"`
CheckTimeout string `json:"checkTimeout,omitempty"`
DeregisterAfter string `json:"deregisterAfter,omitempty"`
Host string `json:"host,omitempty"`
ServiceName string `json:"serviceName,omitempty"`
Meta map[string]string `json:"meta,omitempty"`
Tags []string `json:"tags,omitempty"`
LeaderMeta map[string]string `json:"leaderMeta,omitempty"`
LeaderTags []string `json:"leaderTags,omitempty"`
}
func (*ConsulRegistration) DeepCopy ¶
func (in *ConsulRegistration) DeepCopy() *ConsulRegistration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsulRegistration.
func (*ConsulRegistration) DeepCopyInto ¶
func (in *ConsulRegistration) DeepCopyInto(out *ConsulRegistration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DbEngine ¶
type DbEngine struct {
Enabled bool `json:"enabled,omitempty"`
Name string `json:"name,omitempty"`
MaxOpenConnections int `json:"maxOpenConnections,omitempty"`
MaxIdleConnections int `json:"maxIdleConnections,omitempty"`
MaxConnectionLifetime string `json:"maxConnectionLifetime,omitempty"`
}
Vault DbEngine configuration
func (*DbEngine) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DbEngine.
func (*DbEngine) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalPv ¶
type ExternalPv struct {
Name string `json:"name,omitempty"`
Capacity string `json:"capacity,omitempty"`
StorageClass string `json:"storageClass,omitempty"`
}
func (*ExternalPv) DeepCopy ¶
func (in *ExternalPv) DeepCopy() *ExternalPv
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalPv.
func (*ExternalPv) DeepCopyInto ¶
func (in *ExternalPv) DeepCopyInto(out *ExternalPv)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricCollector ¶
type MetricCollector struct {
Resources *v1.ResourceRequirements `json:"resources,omitempty"`
DockerImage string `json:"image,omitempty"`
Affinity v1.Affinity `json:"affinity,omitempty"`
InfluxDbHost string `json:"influxDbHost,omitempty"`
InfluxDatabase string `json:"influxDatabase,omitempty"`
MetricsProfile string `json:"metricsProfile,omitempty"`
CollectionInterval int `json:"collectionInterval,omitempty"`
SecurityContext v1.PodSecurityContext `json:"securityContext,omitempty"`
TelegrafPluginTimeout int `json:"telegrafPluginTimeout,omitempty"`
DevMetricsTimeout int `json:"devMetricsTimeout,omitempty"`
DevMetricsInterval int `json:"devMetricsInterval,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
OcExecTimeout int `json:"ocExecTimeout,omitempty"`
PodLabels map[string]string `json:"podLabels,omitempty"`
SslMode string `json:"sslMode,omitempty"`
}
func (*MetricCollector) DeepCopy ¶
func (in *MetricCollector) DeepCopy() *MetricCollector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricCollector.
func (*MetricCollector) DeepCopyInto ¶
func (in *MetricCollector) DeepCopyInto(out *MetricCollector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3Storage ¶
type S3Storage struct {
Url string `json:"url,omitempty"`
AccessKeyId string `json:"accessKeyId,omitempty"`
SecretAccessKey string `json:"secretAccessKey,omitempty"`
Bucket string `json:"bucket,omitempty"`
Prefix string `json:"prefix,omitempty"`
UntrustedCert bool `json:"untrustedCert,omitempty"`
Region string `json:"region,omitempty"`
}
func (*S3Storage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Storage.
func (*S3Storage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Storage ¶
type Storage struct {
// +kubebuilder:validation:Pattern=`^[0-9]+(m|Ki|Mi|Gi|Ti|Pi|Ei|k|M|G|T|P|E)$`
Size string `json:"size,omitempty"`
Type string `json:"type,omitempty"`
StorageClass string `json:"storageClass,omitempty"`
Volumes []string `json:"volumes,omitempty"`
Nodes []string `json:"nodes,omitempty"`
Selectors []string `json:"selectors,omitempty"`
AccessModes []string `json:"accessModes,omitempty"`
}
Storage Describes Storage that will be used by patroni
func (*Storage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.
func (*Storage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VaultRegistration ¶
type VaultRegistration struct {
DockerImage string `json:"dockerImage,omitempty"`
Enabled bool `json:"enabled,omitempty"`
Path string `json:"path,omitempty"`
Url string `json:"url,omitempty"`
Role string `json:"role,omitempty"`
Method string `json:"method,omitempty"`
Token string `json:"token,omitempty"`
DbEngine DbEngine `json:"dbEngine,omitempty"`
}
func (*VaultRegistration) DeepCopy ¶
func (in *VaultRegistration) DeepCopy() *VaultRegistration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultRegistration.
func (*VaultRegistration) DeepCopyInto ¶
func (in *VaultRegistration) DeepCopyInto(out *VaultRegistration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.