Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KubernetesService ¶
type KubernetesService interface { GetAllNodes() ([]*core1.Node, error) AddNodeAnnotation(nodeName string, annotationKey string, annotationValue string) error CreatePod(pod *core1.Pod) error DeletePod(namespace string, name string) error }
func NewKubernetesService ¶
func NewKubernetesService() (KubernetesService, error)
Click to show internal directories.
Click to hide internal directories.