Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllWorkerNames ¶
func GetAllWorkerNames(clientset kubernetes.Interface) ([]string, error)
GetAllWorkerNames returns all worker nodes.
func LabelAnyAsGateway ¶
func LabelAnyAsGateway(clientset kubernetes.Interface) (bool, error)
LabelAnyAsGateway labels any worker node as a gateway.
func LabelAsGateway ¶
func LabelAsGateway(clientset kubernetes.Interface, nodeName string) error
LabelAsGateway labels the specified node as a gateway.
func ListGateways ¶
func ListGateways(clientset kubernetes.Interface) ([]string, error)
ListGateways returns the names of all node labeled as a gateway.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.