Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // GetNode returns the node object for the given node name GetNode(nodeName string) (*v1.Node, error) // GetPod returns the pod object for the given pod name and namespace GetPod(namespace, podName string) (*v1.Pod, error) // ValidateToken queries k8s token review API and returns information about the given token ValidateToken(token string, audiences []string) (*authv1.TokenReviewStatus, error) }
Client is a client for querying k8s API server
Click to show internal directories.
Click to hide internal directories.