Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKubeClient ¶
func NewKubeClient(config *rest.Config) (*kubernetes.Clientset, error)
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(nodeInforemer informersV1.NodeInformer) *Controller
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh chan struct{})
type NodePatchCommand ¶
type NodePatchCommand struct {
NodeName string
Clientset *kubernetes.Clientset
Patch Patch
}
type Patch ¶
type Patch struct {
Op string `json:"op"`
Path string `json:"path"`
Value map[string]string `json:"value"`
}
func NewPatchAddAnnotations ¶
Click to show internal directories.
Click to hide internal directories.