Documentation ¶
Overview ¶
Package nodes provides a CLI to list nearby nodes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultClient ¶
func DefaultClient(kubeconfig string) (*kubernetes.Clientset, error)
DefaultClient returns a Kubernetes client based on the given path to a Kubernetes config file.
Types ¶
type ErrNodeNameRequired ¶
type ErrNodeNameRequired struct{}
func (ErrNodeNameRequired) Error ¶
func (err ErrNodeNameRequired) Error() string
type NodesCLI ¶
type NodesCLI struct {
Client kubernetes.Interface
}
A NodesCLI is used to create a command line interface for listing nearby nodes.
Click to show internal directories.
Click to hide internal directories.