Documentation ¶
Overview ¶
Package nodeselectorresources contains the logic for the node-label-resource-plugin.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenAndServeGRPCServer ¶
func ListenAndServeGRPCServer(port int, nodeLabels map[string]string, clientset *kubernetes.Clientset) error
ListenAndServeGRPCServer creates the gRPC server and makes it listen on the given port.
Types ¶
type NodeDetails ¶
type NodeDetails struct { Schedulable bool Allocatable corev1.ResourceList Pods map[string]corev1.ResourceList }
NodeDetails stores details of the Node.
Click to show internal directories.
Click to hide internal directories.