Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPowerScaleClusters ¶
func GetPowerScaleClusters(filePath string, logger *logrus.Logger) (map[string]*service.PowerScaleCluster, *service.PowerScaleCluster, error)
GetPowerScaleClusters parses config.yaml file, initializes goisilon Clients and composes map of clusters for ease of access. It will return cluster that can be used as default as a second return parameter. If config does not have any cluster as a default then the first will be returned as a default.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.