Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InvitroSetupConfig ¶
type InvitroSetupConfig struct {
MasterNode string
LoaderNode string
WorkerNodes []string
AllNodes []string
SetupCfg *SetupConfig
PromConfig *PrometheusConfig
}
func CommonConfigSetup ¶
func CommonConfigSetup(configDir string, configName string) (*InvitroSetupConfig, error)
type PrometheusConfig ¶
type PrometheusConfig struct {
MetricsServerVersion string `json:"MetricsServerVersion"`
PromChartVersion string `json:"PromChartVersion"`
PushgatewayChartVersion string `json:"PushgatewayChartVersion"`
PromValuePath string `json:"PromValuePath"`
KnativePromURL string `json:"KnativePromURL"`
}
func GetPromConfig ¶
func GetPromConfig(path string) (*PrometheusConfig, error)
type SetupConfig ¶
type SetupConfig struct {
HiveRepo string `json:"VHIVE_REPO"`
HiveBranch string `json:"VHIVE_BRANCH"`
LoaderRepo string `json:"LOADER_REPO"`
LoaderBranch string `json:"LOADER_BRANCH"`
ClusterMode string `json:"CLUSTER_MODE"`
PodsPerNode int `json:"PODS_PER_NODE"`
DeployPrometheus bool `json:"DEPLOY_PROMETHEUS"`
}
func GetSetupJSON ¶
func GetSetupJSON(path string) (*SetupConfig, error)
Click to show internal directories.
Click to hide internal directories.