Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package tpr defines the ThirdPartyResources used within the crunchy operator, namely the PgDatabase and PgCluster types.
Package tpr defines the ThirdPartyResources used within the crunchy operator, namely the PgDatabase and PgClone types.
Package tpr defines the ThirdPartyResources used within the crunchy operator, namely the PgDatabase and PgCluster types.
Package tpr defines the ThirdPartyResources used within the crunchy operator, namely the PgDatabase and PgCluster types.
Package tpr defines the ThirdPartyResources used within the crunchy operator, namely the PgDatabase and PgCluster types.
Index ¶
- Constants
 - type PgBackup
 - type PgBackupCopy
 - type PgBackupList
 - type PgBackupListCopy
 - type PgBackupSpec
 - type PgClone
 - type PgCloneCopy
 - type PgCloneList
 - type PgCloneListCopy
 - type PgCloneSpec
 - type PgCluster
 - type PgClusterCopy
 - type PgClusterList
 - type PgClusterListCopy
 - type PgClusterSpec
 - type PgUpgrade
 - type PgUpgradeCopy
 - type PgUpgradeList
 - type PgUpgradeListCopy
 - type PgUpgradeSpec
 
Constants ¶
      View Source
      
  
    const PGMASTER_SECRET_SUFFIX = "-pgmaster-secret"
    
      View Source
      
  
    const PGROOT_SECRET_SUFFIX = "-pgroot-secret"
    
      View Source
      
  
    const PGUSER_SECRET_SUFFIX = "-pguser-secret"
    
      View Source
      
  
    const UPGRADE_COMPLETED_STATUS = "completed"
    
      View Source
      
  
const UPGRADE_SUBMITTED_STATUS = "submitted"
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PgBackup ¶
type PgBackup struct {
	unversioned.TypeMeta `json:",inline"`
	Metadata             api.ObjectMeta `json:"metadata"`
	Spec PgBackupSpec `json:"spec"`
}
    func (*PgBackup) GetObjectKind ¶
func (e *PgBackup) GetObjectKind() unversioned.ObjectKind
func (*PgBackup) GetObjectMeta ¶
func (*PgBackup) UnmarshalJSON ¶
type PgBackupCopy ¶
type PgBackupCopy PgBackup
type PgBackupList ¶
type PgBackupList struct {
	unversioned.TypeMeta `json:",inline"`
	Metadata             unversioned.ListMeta `json:"metadata"`
	Items []PgBackup `json:"items"`
}
    func (*PgBackupList) GetListMeta ¶
func (el *PgBackupList) GetListMeta() unversioned.List
func (*PgBackupList) GetObjectKind ¶
func (el *PgBackupList) GetObjectKind() unversioned.ObjectKind
func (*PgBackupList) UnmarshalJSON ¶
func (el *PgBackupList) UnmarshalJSON(data []byte) error
type PgBackupListCopy ¶
type PgBackupListCopy PgBackupList
type PgBackupSpec ¶
type PgBackupSpec struct {
	Name            string `json:"name"`
	PVC_NAME        string `json:"pvcname"`
	PVC_ACCESS_MODE string `json:"pvcaccessmode"`
	PVC_SIZE        string `json:"pvcsize"`
	CCP_IMAGE_TAG   string `json:"ccpimagetag"`
	BACKUP_HOST     string `json:"backuphost"`
	BACKUP_USER     string `json:"backupuser"`
	BACKUP_PASS     string `json:"backuppass"`
	BACKUP_PORT     string `json:"backupport"`
	BACKUP_STATUS   string `json:"backupstatus"`
}
    type PgClone ¶ added in v1.3.0
type PgClone struct {
	unversioned.TypeMeta `json:",inline"`
	Metadata             api.ObjectMeta `json:"metadata"`
	Spec PgCloneSpec `json:"spec"`
}
    func (*PgClone) GetObjectKind ¶ added in v1.3.0
func (e *PgClone) GetObjectKind() unversioned.ObjectKind
func (*PgClone) GetObjectMeta ¶ added in v1.3.0
func (*PgClone) UnmarshalJSON ¶ added in v1.3.0
type PgCloneCopy ¶ added in v1.3.0
type PgCloneCopy PgClone
type PgCloneList ¶ added in v1.3.0
type PgCloneList struct {
	unversioned.TypeMeta `json:",inline"`
	Metadata             unversioned.ListMeta `json:"metadata"`
	Items []PgClone `json:"items"`
}
    func (*PgCloneList) GetListMeta ¶ added in v1.3.0
func (el *PgCloneList) GetListMeta() unversioned.List
func (*PgCloneList) GetObjectKind ¶ added in v1.3.0
func (el *PgCloneList) GetObjectKind() unversioned.ObjectKind
func (*PgCloneList) UnmarshalJSON ¶ added in v1.3.0
func (el *PgCloneList) UnmarshalJSON(data []byte) error
type PgCloneListCopy ¶ added in v1.3.0
type PgCloneListCopy PgCloneList
type PgCloneSpec ¶ added in v1.3.0
type PgCluster ¶
type PgCluster struct {
	unversioned.TypeMeta `json:",inline"`
	Metadata             api.ObjectMeta `json:"metadata"`
	Spec PgClusterSpec `json:"spec"`
}
    func (*PgCluster) GetObjectKind ¶
func (e *PgCluster) GetObjectKind() unversioned.ObjectKind
func (*PgCluster) GetObjectMeta ¶
func (*PgCluster) UnmarshalJSON ¶
type PgClusterCopy ¶
type PgClusterCopy PgCluster
type PgClusterList ¶
type PgClusterList struct {
	unversioned.TypeMeta `json:",inline"`
	Metadata             unversioned.ListMeta `json:"metadata"`
	Items []PgCluster `json:"items"`
}
    func (*PgClusterList) GetListMeta ¶
func (el *PgClusterList) GetListMeta() unversioned.List
func (*PgClusterList) GetObjectKind ¶
func (el *PgClusterList) GetObjectKind() unversioned.ObjectKind
func (*PgClusterList) UnmarshalJSON ¶
func (el *PgClusterList) UnmarshalJSON(data []byte) error
type PgClusterListCopy ¶
type PgClusterListCopy PgClusterList
type PgClusterSpec ¶
type PgClusterSpec struct {
	Name                  string `json:"name"`
	ClusterName           string `json:"clustername"`
	CCP_IMAGE_TAG         string `json:"ccpimagetag"`
	POSTGRES_FULL_VERSION string `json:"postgresfullversion"`
	Port                  string `json:"port"`
	PVC_NAME              string `json:"pvcname"`
	PVC_SIZE              string `json:"pvcsize"`
	PVC_ACCESS_MODE       string `json:"pvcaccessmode"`
	PG_MASTER_HOST        string `json:"pgmasterhost"`
	PG_MASTER_USER        string `json:"pgmasteruser"`
	PG_MASTER_PASSWORD    string `json:"pgmasterpassword"`
	PG_USER               string `json:"pguser"`
	PG_PASSWORD           string `json:"pgpassword"`
	PG_DATABASE           string `json:"pgdatabase"`
	PG_ROOT_PASSWORD      string `json:"pgrootpassword"`
	REPLICAS              string `json:"replicas"`
	FS_GROUP              string `json:"fsgroup"`
	SUPPLEMENTAL_GROUPS   string `json:"supplementalgroups"`
	STRATEGY              string `json:"strategy"`
	SECRET_FROM           string `json:"secretfrom"`
	BACKUP_PVC_NAME       string `json:"backuppvcname"`
	BACKUP_PATH           string `json:"backuppath"`
	PGUSER_SECRET_NAME    string `json:"pgusersecretname"`
	PGROOT_SECRET_NAME    string `json:"pgrootsecretname"`
	PGMASTER_SECRET_NAME  string `json:"pgmastersecretname"`
	STATUS                string `json:"status"`
}
    type PgUpgrade ¶
type PgUpgrade struct {
	unversioned.TypeMeta `json:",inline"`
	Metadata             api.ObjectMeta `json:"metadata"`
	Spec PgUpgradeSpec `json:"spec"`
}
    func (*PgUpgrade) GetObjectKind ¶
func (f *PgUpgrade) GetObjectKind() unversioned.ObjectKind
func (*PgUpgrade) GetObjectMeta ¶
func (*PgUpgrade) UnmarshalJSON ¶
type PgUpgradeCopy ¶
type PgUpgradeCopy PgUpgrade
type PgUpgradeList ¶
type PgUpgradeList struct {
	unversioned.TypeMeta `json:",inline"`
	Metadata             unversioned.ListMeta `json:"metadata"`
	Items []PgUpgrade `json:"items"`
}
    func (*PgUpgradeList) GetListMeta ¶
func (fl *PgUpgradeList) GetListMeta() unversioned.List
func (*PgUpgradeList) GetObjectKind ¶
func (fl *PgUpgradeList) GetObjectKind() unversioned.ObjectKind
func (*PgUpgradeList) UnmarshalJSON ¶
func (fl *PgUpgradeList) UnmarshalJSON(data []byte) error
type PgUpgradeListCopy ¶
type PgUpgradeListCopy PgUpgradeList
type PgUpgradeSpec ¶
type PgUpgradeSpec struct {
	Name              string `json:"name"`
	RESOURCE_TYPE     string `json:"resourcetype"`
	UPGRADE_TYPE      string `json:"upgradetype"`
	UPGRADE_STATUS    string `json:"upgradestatus"`
	PVC_ACCESS_MODE   string `json:"pvcaccessmode"`
	PVC_SIZE          string `json:"pvcsize"`
	CCP_IMAGE_TAG     string `json:"ccpimagetag"`
	OLD_DATABASE_NAME string `json:"olddatabasename"`
	NEW_DATABASE_NAME string `json:"newdatabasename"`
	OLD_VERSION       string `json:"oldversion"`
	NEW_VERSION       string `json:"newversion"`
	OLD_PVC_NAME      string `json:"oldpvcname"`
	NEW_PVC_NAME      string `json:"newpvcname"`
	BACKUP_PVC_NAME   string `json:"backuppvcname"`
}
     Click to show internal directories. 
   Click to hide internal directories.