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
Click to show internal directories.
Click to hide internal directories.