kube

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoWorkloadFound = errors.New("no workload found")
)

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(log *logging.Logger, client kubernetes.Interface, nodeName string) *Client

func (*Client) GetWorkloadFor

func (c *Client) GetWorkloadFor(id types.UID) (Workload, error)

func (*Client) Run

func (c *Client) Run(ctx context.Context) error

type Workload added in v1.5.0

type Workload struct {
	UID types.UID

	Name string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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