node

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Interface v1core.NodeInterface
	ClientSet kubernetes.Interface
	Config    *restclient.Config
	Namespace string
	Timeout   int
	// contains filtered or unexported fields
}

Client contains node client information

func (*Client) NodeCordon

func (c *Client) NodeCordon(ctx context.Context, nodename string) error

NodeCordon cordons a node

func (*Client) NodeUnCordon

func (c *Client) NodeUnCordon(ctx context.Context, nodename string) error

NodeUnCordon uncordons a node

Jump to

Keyboard shortcuts

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