Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPoolRolesForStaticEntriesExpansion ¶
func GetPoolRolesForStaticEntriesExpansion(cs *client.ClientSet, nodeToPool map[string]string) (map[string][]string, error)
GetPoolRolesForStaticEntriesExpansion derives, per pool, which of [master, worker] Are present on its nodes; used to expand role-scoped static entries across pools.
func ResolveNodeToPool ¶
ResolveNodeToPool builds a mapping from node name to its MachineConfigPool. It derives the pool from the node annotation "machineconfiguration.openshift.io/currentConfig", expected in the form: "rendered-<pool>-<hash>". The pool name is obtained by removing the "rendered-" prefix and trimming the trailing "-<hash>". Returns an error if the annotation is missing or malformed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.