plugin

package
v0.0.0-...-65b2f6a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventRouter

type EventRouter struct {
	// contains filtered or unexported fields
}

func NewEventRouter

func NewEventRouter(cr string) *EventRouter

func (*EventRouter) RouteEvent

func (r *EventRouter) RouteEvent(event *as.AlertEvent) error

type NodeDrainer

type NodeDrainer struct {
	// contains filtered or unexported fields
}

func NewDrainer

func NewDrainer(configRoot string, clusterName string, nodeName string) (*NodeDrainer, error)

func (*NodeDrainer) CordonNode

func (d *NodeDrainer) CordonNode() error

func (*NodeDrainer) DeletePodsOnNode

func (d *NodeDrainer) DeletePodsOnNode() error

func (*NodeDrainer) DrainNode

func (d *NodeDrainer) DrainNode() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL