configuration

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetConfig

func SetConfig(c *Config)

Types

type Config

type Config struct {
	DbClusterLogDir        string
	CmCpuReqLimit          string
	CmMemReqLimit          string
	HwCheck                bool
	ImagePullPolicy        corev1.PullPolicy
	RunPodInPrivilegedMode bool

	ClusterInfoDbInsTypeRw       string
	ClusterInfoDbInsTypeRo       string
	ClusterInfoDbInsTypeStandby  string
	ClusterInfoDbInsTypeDataMax  string
	ParamsTemplateName           string
	MinorVersionCmName           string
	ExternalPortRangeAnnotation  string
	ReservedPortRangesAnnotation string
	PortRangeCmName              string
	InsIdRangeCmName             string
	NodeMaintainLabelName        string
	AccountMetaClusterLabelName  string
	DbTypeLabel                  string
	ControllerManagerRoleName    string
	CmLogHostPath                string
	CmLogMountPath               string
}

Config ...

func GetConfig

func GetConfig() *Config

GetConfig ...

Jump to

Keyboard shortcuts

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