Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeEviction ¶
type NodeEviction struct {
// contains filtered or unexported fields
}
func New ¶
func New(nodeName string, client ctrlruntimeclient.Client, kubeClient kubernetes.Interface) *NodeEviction
New returns a new NodeEviction.
func (*NodeEviction) Run ¶
func (ne *NodeEviction) Run(ctx context.Context, log *zap.SugaredLogger) (bool, error)
Run executes the eviction.
Click to show internal directories.
Click to hide internal directories.