Documentation
¶
Index ¶
- func Contains(list []string, strToSearch string) bool
- func Filter(list []string, strToFilter string) (newList []string)
- func GetLeaderElectionConfig(restcfg *rest.Config, leaderElection configv1.LeaderElection) configv1.LeaderElection
- func MergeCommaSeparatedKeyValuePairs(lists ...string) string
- func Poll(interval, timeout time.Duration, condition wait.ConditionFunc) error
- func PollImmediate(interval, timeout time.Duration, condition wait.ConditionFunc) error
- func Retry(fn wait.ConditionFunc, initialBackoffSec int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLeaderElectionConfig ¶
func GetLeaderElectionConfig(restcfg *rest.Config, leaderElection configv1.LeaderElection) configv1.LeaderElection
GetLeaderElectionConfig returns leader election configs defaults based on the cluster topology
func MergeCommaSeparatedKeyValuePairs ¶
MergeCommaSeparatedKeyValuePairs merges multiple comma separated lists of key=value pairs into a single, comma-separated, list of key=value pairs. If a key is present in multiple lists, the value from the last list is used.
func PollImmediate ¶
func PollImmediate(interval, timeout time.Duration, condition wait.ConditionFunc) error
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package annotations implements annotation helper functions.
|
Package annotations implements annotation helper functions. |
Click to show internal directories.
Click to hide internal directories.