tpr

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

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 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

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 (e *PgBackup) GetObjectMeta() meta.Object

func (*PgBackup) UnmarshalJSON

func (e *PgBackup) UnmarshalJSON(data []byte) error

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"`
}

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 (e *PgCluster) GetObjectMeta() meta.Object

func (*PgCluster) UnmarshalJSON

func (e *PgCluster) UnmarshalJSON(data []byte) error

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"`
	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"`
}

type PgDatabase

type PgDatabase struct {
	unversioned.TypeMeta `json:",inline"`
	Metadata             api.ObjectMeta `json:"metadata"`

	Spec PgDatabaseSpec `json:"spec"`
}

func (*PgDatabase) GetObjectKind

func (e *PgDatabase) GetObjectKind() unversioned.ObjectKind

func (*PgDatabase) GetObjectMeta

func (e *PgDatabase) GetObjectMeta() meta.Object

func (*PgDatabase) UnmarshalJSON

func (e *PgDatabase) UnmarshalJSON(data []byte) error

type PgDatabaseCopy

type PgDatabaseCopy PgDatabase

type PgDatabaseList

type PgDatabaseList struct {
	unversioned.TypeMeta `json:",inline"`
	Metadata             unversioned.ListMeta `json:"metadata"`

	Items []PgDatabase `json:"items"`
}

func (*PgDatabaseList) GetListMeta

func (el *PgDatabaseList) GetListMeta() unversioned.List

func (*PgDatabaseList) GetObjectKind

func (el *PgDatabaseList) GetObjectKind() unversioned.ObjectKind

func (*PgDatabaseList) UnmarshalJSON

func (el *PgDatabaseList) UnmarshalJSON(data []byte) error

type PgDatabaseListCopy

type PgDatabaseListCopy PgDatabaseList

type PgDatabaseSpec

type PgDatabaseSpec struct {
	Name                string `json:"name"`
	PVC_NAME            string `json:"pvcname"`
	PVC_ACCESS_MODE     string `json:"pvcaccessmode"`
	PVC_SIZE            string `json:"pvcsize"`
	Port                string `json:"port"`
	CCP_IMAGE_TAG       string `json:"ccpimagetag"`
	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"`
	BACKUP_PVC_NAME     string `json:"backuppvcname"`
	BACKUP_PATH         string `json:"backuppath"`
	FS_GROUP            string `json:"fsgroup"`
	SUPPLEMENTAL_GROUPS string `json:"supplementalgroups"`
	STRATEGY            string `json:"strategy"`
}

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 (f *PgUpgrade) GetObjectMeta() meta.Object

func (*PgUpgrade) UnmarshalJSON

func (f *PgUpgrade) UnmarshalJSON(data []byte) error

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"`
}

Jump to

Keyboard shortcuts

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