Documentation
¶
Index ¶
- func DeleteConfigMapGroups(cm map[string]string, deleteCms map[string]struct{}) map[string]string
- func Filter(nodeList *api.NodeList, f func(api.Node) bool) []api.Node
- func GetConfigMapGroups(cm map[string]string) sets.String
- func GetNodeHostIP(node api.Node) (*string, error)
- func GetPoolNodePortMap(client *unversioned.Client, configMapNamespace string, ...) map[string]int
- func GetResourceName(resourceType string, names ...string) string
- func GetUpdatedConfigMapGroups(m1, m2 map[string]string) sets.String
- func GetUserConfigMaps(kubeClient *unversioned.Client, ...) map[string]struct{}
- func MapKeys(m map[string]string) []string
- func NodeReady(node api.Node) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteConfigMapGroups ¶
DeleteConfigMapGroups deletes all configmap groups defined in deleteCms map
func Filter ¶
Filter uses the input function f to filter the given node list, and return the filtered nodes
func GetConfigMapGroups ¶
GetConfigMapGroups gets all the groups in the keys The loadbalancer Configmap has the form of k -> groupName.configKey v -> configValue
func GetPoolNodePortMap ¶
func GetPoolNodePortMap(client *unversioned.Client, configMapNamespace string, configMapLabelKey, configMapLabelValue string) map[string]int
GetPoolNodePortMap fetches all the configmaps and returns a map of loadbalancer pool to node port
func GetResourceName ¶
GetResourceName returns given args seperated by hypen
func GetUpdatedConfigMapGroups ¶
GetUpdatedConfigMapGroups returns a set of the diff between two configmaps.
func GetUserConfigMaps ¶
func GetUserConfigMaps(kubeClient *unversioned.Client, configLabelKey, configLabelValue, namespace string) map[string]struct{}
GetUserConfigMaps gets list of all user configmaps
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.