Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULT_AUTOFAIL_SLEEP_SECONDS = "30"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterStruct ¶
type ClusterStruct struct { CCPImagePrefix string `yaml:"CCPImagePrefix"` CCPImageTag string `yaml:"CCPImageTag"` Policies string `yaml:"Policies"` Port string `yaml:"Port"` ArchiveTimeout string `yaml:"ArchiveTimeout"` ArchiveMode string `yaml:"ArchiveMode"` User string `yaml:"User"` Database string `yaml:"Database"` PasswordAgeDays string `yaml:"PasswordAgeDays"` PasswordLength string `yaml:"PasswordLength"` Strategy string `yaml:"Strategy"` Replicas string `yaml:"Replicas"` }
type PgoConfig ¶
type PgoConfig struct { BasicAuth string `yaml:"BasicAuth"` Cluster ClusterStruct `yaml:"Cluster"` Pgo PgoStruct `yaml:"Pgo"` ContainerResources map[string]ContainerResourcesStruct `yaml:"ContainerResources"` PrimaryStorage string `yaml:"PrimaryStorage"` BackupStorage string `yaml:"BackupStorage"` ReplicaStorage string `yaml:"ReplicaStorage"` Storage map[string]StorageStruct `yaml:"Storage"` DefaultContainerResources string `yaml:"DefaultContainerResources"` }
func (*PgoConfig) GetContainerResource ¶
func (c *PgoConfig) GetContainerResource(name string) (crv1.PgContainerResources, error)
func (*PgoConfig) GetStorageSpec ¶
func (c *PgoConfig) GetStorageSpec(name string) (crv1.PgStorageSpec, error)
type PgoStruct ¶
type PgoStruct struct { AutofailSleepSeconds string `yaml:"AutofailSleepSeconds"` Audit bool `yaml:"Audit"` Metrics bool `yaml:"Metrics"` LSPVCTemplate string `yaml:"LSPVCTemplate"` LoadTemplate string `yaml:"LoadTemplate"` COImagePrefix string `yaml:"COImagePrefix"` COImageTag string `yaml:"COImageTag"` }
Click to show internal directories.
Click to hide internal directories.