Documentation ¶
Index ¶
Constants ¶
View Source
const (
// EnvThrottlingRateLimit sets a number of concurrent requests to APi
EnvThrottlingRateLimit = "X_CSI_POWERSTORE_THROTTLING_RATE_LIMIT"
)
Variables ¶
This section is empty.
Functions ¶
func GetIPListFromString ¶
GetIPListFromString returns list of ips in string form found in input string A return value of nil indicates no match
func GetPowerStoreArrays ¶
func GetPowerStoreArrays(filePath string, logger *logrus.Logger) (map[string]*service.PowerStoreArray, map[string]string, *service.PowerStoreArray, error)
GetPowerStoreArrays parses config.yaml file, initializes gopowerstore Clients and composes map of arrays for ease of access. It will return array that can be used as default as a second return parameter. If config does not have any array 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.