Versions in this module Expand all Collapse all v0 v0.13.1 May 8, 2020 v0.13.0 May 8, 2020 Changes in this version + const ClusterStatusAddFailed + const ClusterStatusCreating + const ClusterStatusInvalid + const ClusterStatusRunning + const ClusterStatusSyncFailed + const ClusterStatusUnknown + const ClusterStatusUpdateFailed + const ClusterStatusUpdating + type AWSGCPConfiguration struct + AWSRegion string + AdditionalSecretMount string + AdditionalSecretMountPath string + KubeIAMRole string + LogS3Bucket string + WALES3Bucket string + func (in *AWSGCPConfiguration) DeepCopy() *AWSGCPConfiguration + func (in *AWSGCPConfiguration) DeepCopyInto(out *AWSGCPConfiguration) + type CloneConfig struct + ClusterID string + ClusterName string + Timestamp string + type CloneDescription struct + ClusterName string + EndTimestamp string + S3AccessKeyID string + S3Endpoint string + S3ForcePathStyle *bool + S3SecretAccessKey string + S3WalPath string + UID string + func (in *CloneDescription) DeepCopy() *CloneDescription + func (in *CloneDescription) DeepCopyInto(out *CloneDescription) + type ClusterConfig struct + AwsCredentialsSecret string + BackupSchedule string + Clone *CloneConfig + Databases []string + EnableWalArchiving bool + EnableWalClusterID bool + Name string + Namespace string + UseWalgRestore bool + func NewClusterConfig(clusterName string, dbNames ...string) ClusterConfig + type KubernetesMetaConfiguration struct + ClusterDomain string + ClusterLabels map[string]string + ClusterNameLabel string + CustomPodAnnotations map[string]string + EnableInitContainers *bool + EnablePodAntiAffinity bool + EnablePodDisruptionBudget *bool + EnableSidecars *bool + InfrastructureRolesSecretName string + InheritedLabels []string + MasterPodMoveTimeout time.Duration + NodeReadinessLabel map[string]string + OAuthTokenSecretName string + PDBNameFormat string + PodAntiAffinityTopologyKey string + PodEnvironmentConfigMap string + PodManagementPolicy string + PodPriorityClassName string + PodRoleLabel string + PodServiceAccountDefinition string + PodServiceAccountName string + PodServiceAccountRoleBindingDefinition string + PodTerminateGracePeriod time.Duration + PodToleration map[string]string + SecretNameTemplate string + SpiloPrivileged bool + WatchedNamespace string + func (in *KubernetesMetaConfiguration) DeepCopy() *KubernetesMetaConfiguration + func (in *KubernetesMetaConfiguration) DeepCopyInto(out *KubernetesMetaConfiguration) + type LoadBalancerConfiguration struct + CustomServiceAnnotations map[string]string + DBHostedZone string + EnableMasterLoadBalancer bool + EnableReplicaLoadBalancer bool + MasterDNSNameFormat string + ReplicaDNSNameFormat string + func (in *LoadBalancerConfiguration) DeepCopy() *LoadBalancerConfiguration + func (in *LoadBalancerConfiguration) DeepCopyInto(out *LoadBalancerConfiguration) + type LoggingRESTAPIConfiguration struct + APIPort int32 + ClusterHistoryEntries int32 + RingLogLines int32 + func (in *LoggingRESTAPIConfiguration) DeepCopy() *LoggingRESTAPIConfiguration + func (in *LoggingRESTAPIConfiguration) DeepCopyInto(out *LoggingRESTAPIConfiguration) + type MaintenanceWindow struct + EndTime metav1.Time + Everyday bool + StartTime metav1.Time + Weekday time.Weekday + func (in *MaintenanceWindow) DeepCopy() *MaintenanceWindow + func (in *MaintenanceWindow) DeepCopyInto(out *MaintenanceWindow) + type OperatorConfiguration struct + Configuration OperatorConfigurationData + func (in *OperatorConfiguration) DeepCopy() *OperatorConfiguration + func (in *OperatorConfiguration) DeepCopyInto(out *OperatorConfiguration) + func (in *OperatorConfiguration) DeepCopyObject() runtime.Object + type OperatorConfigurationData struct + AWSGCP AWSGCPConfiguration + DockerImage string + EnableCRDValidation *bool + EtcdHost string + Kubernetes KubernetesMetaConfiguration + LoadBalancer LoadBalancerConfiguration + LoggingRESTAPI LoggingRESTAPIConfiguration + LogicalBackup OperatorLogicalBackupConfiguration + MaxInstances int32 + MinInstances int32 + OperatorDebug OperatorDebugConfiguration + PostgresPodResources PostgresPodResourcesDefaults + PostgresUsersConfiguration PostgresUsersConfiguration + RepairPeriod time.Duration + ResyncPeriod time.Duration + Scalyr ScalyrConfiguration + SetMemoryRequestToLimit bool + ShmVolume *bool + Sidecars map[string]string + TeamsAPI TeamsAPIConfiguration + Timeouts OperatorTimeouts + Workers uint32 + func (in *OperatorConfigurationData) DeepCopy() *OperatorConfigurationData + func (in *OperatorConfigurationData) DeepCopyInto(out *OperatorConfigurationData) + type OperatorConfigurationList struct + Items []OperatorConfiguration + func (in *OperatorConfigurationList) DeepCopy() *OperatorConfigurationList + func (in *OperatorConfigurationList) DeepCopyInto(out *OperatorConfigurationList) + func (in *OperatorConfigurationList) DeepCopyObject() runtime.Object + type OperatorDebugConfiguration struct + DebugLogging bool + EnableDBAccess bool + func (in *OperatorDebugConfiguration) DeepCopy() *OperatorDebugConfiguration + func (in *OperatorDebugConfiguration) DeepCopyInto(out *OperatorDebugConfiguration) + type OperatorLogicalBackupConfiguration struct + DockerImage string + S3AccessKeyID string + S3Bucket string + S3Endpoint string + S3Region string + S3SSE string + S3SecretAccessKey string + Schedule string + func (in *OperatorLogicalBackupConfiguration) DeepCopy() *OperatorLogicalBackupConfiguration + func (in *OperatorLogicalBackupConfiguration) DeepCopyInto(out *OperatorLogicalBackupConfiguration) + type OperatorTimeouts struct + PodDeletionWaitTimeout time.Duration + PodLabelWaitTimeout time.Duration + ReadyWaitInterval time.Duration + ReadyWaitTimeout time.Duration + ResourceCheckInterval time.Duration + ResourceCheckTimeout time.Duration + func (in *OperatorTimeouts) DeepCopy() *OperatorTimeouts + func (in *OperatorTimeouts) DeepCopyInto(out *OperatorTimeouts) + type Patroni struct + InitDB map[string]string + LoopWait uint32 + MaximumLagOnFailover uint32 + PgHba []string + RetryTimeout uint32 + Slots map[string]map[string]string + TTL uint32 + func (in *Patroni) DeepCopy() *Patroni + func (in *Patroni) DeepCopyInto(out *Patroni) + type PostgresPodResourcesDefaults struct + DefaultCPULimit string + DefaultCPURequest string + DefaultMemoryLimit string + DefaultMemoryRequest string + MinCPULimit string + MinMemoryLimit string + func (in *PostgresPodResourcesDefaults) DeepCopy() *PostgresPodResourcesDefaults + func (in *PostgresPodResourcesDefaults) DeepCopyInto(out *PostgresPodResourcesDefaults) + type PostgresSpec struct + AllowedSourceRanges []string + Clone *CloneDescription + ClusterName string + Databases map[string]string + DockerImage string + EnableLogicalBackup bool + EnableMasterLoadBalancer *bool + EnableReplicaLoadBalancer *bool + Env []v1.EnvVar + InitContainers []v1.Container + InitContainersOld []v1.Container + LogicalBackupSchedule string + MaintenanceWindows []MaintenanceWindow + NumberOfInstances int32 + PodAnnotations map[string]string + PodPriorityClassName string + PodPriorityClassNameOld string + ReplicaLoadBalancer *bool + ServiceAnnotations map[string]string + ShmVolume *bool + Sidecars []Sidecar + SpiloFSGroup *uint32 + TeamID string + Tolerations []v1.Toleration + UseLoadBalancer *bool + Users map[string]UserFlags + VolumeMounts []v1.VolumeMount + Volumes []v1.Volume + func (in *PostgresSpec) DeepCopy() *PostgresSpec + func (in *PostgresSpec) DeepCopyInto(out *PostgresSpec) + type PostgresStatus struct + PostgresClusterStatus string + func (in *PostgresStatus) DeepCopy() *PostgresStatus + func (in *PostgresStatus) DeepCopyInto(out *PostgresStatus) + type PostgresUsersConfiguration struct + ReplicationUsername string + SuperUsername string + func (in *PostgresUsersConfiguration) DeepCopy() *PostgresUsersConfiguration + func (in *PostgresUsersConfiguration) DeepCopyInto(out *PostgresUsersConfiguration) + type Postgresql struct + Error string + Spec PostgresSpec + Status PostgresStatus + func NewPostgresql(name string) *Postgresql + func (in *Postgresql) DeepCopy() *Postgresql + func (in *Postgresql) DeepCopyInto(out *Postgresql) + func (in *Postgresql) DeepCopyObject() runtime.Object + func (in Postgresql) GetObjectKind() schema.ObjectKind + type PostgresqlList struct + Items []Postgresql + func (in *PostgresqlList) DeepCopy() *PostgresqlList + func (in *PostgresqlList) DeepCopyInto(out *PostgresqlList) + func (in *PostgresqlList) DeepCopyObject() runtime.Object + type PostgresqlParam struct + Parameters map[string]string + PgVersion string + func (in *PostgresqlParam) DeepCopy() *PostgresqlParam + func (in *PostgresqlParam) DeepCopyInto(out *PostgresqlParam) + type ResourceDescription struct + CPU string + Memory string + func (in *ResourceDescription) DeepCopy() *ResourceDescription + func (in *ResourceDescription) DeepCopyInto(out *ResourceDescription) + type Resources struct + ResourceLimits ResourceDescription + ResourceRequests ResourceDescription + func (in *Resources) DeepCopy() *Resources + func (in *Resources) DeepCopyInto(out *Resources) + type ScalyrConfiguration struct + ScalyrAPIKey string + ScalyrCPULimit string + ScalyrCPURequest string + ScalyrImage string + ScalyrMemoryLimit string + ScalyrMemoryRequest string + ScalyrServerURL string + func (in *ScalyrConfiguration) DeepCopy() *ScalyrConfiguration + func (in *ScalyrConfiguration) DeepCopyInto(out *ScalyrConfiguration) + type Sidecar struct + DockerImage string + Env []v1.EnvVar + Name string + Ports []v1.ContainerPort + func (in *Sidecar) DeepCopy() *Sidecar + func (in *Sidecar) DeepCopyInto(out *Sidecar) + type StandbyDescription struct + S3WalPath string + func (in *StandbyDescription) DeepCopy() *StandbyDescription + func (in *StandbyDescription) DeepCopyInto(out *StandbyDescription) + type TeamsAPIConfiguration struct + EnableAdminRoleForUsers bool + EnableTeamSuperuser bool + EnableTeamsAPI bool + PamConfiguration string + PamRoleName string + PostgresSuperuserTeams []string + ProtectedRoles []string + TeamAPIRoleConfiguration map[string]string + TeamAdminRole string + TeamsAPIUrl string + func (in *TeamsAPIConfiguration) DeepCopy() *TeamsAPIConfiguration + func (in *TeamsAPIConfiguration) DeepCopyInto(out *TeamsAPIConfiguration) + type UserFlags []string + func (in UserFlags) DeepCopy() UserFlags + func (in UserFlags) DeepCopyInto(out *UserFlags) + type Volume struct + Size string + StorageClass string + SubPath string + func (in *Volume) DeepCopy() *Volume + func (in *Volume) DeepCopyInto(out *Volume)