plugin

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PathToKubeConfig

func PathToKubeConfig() (string, error)

Types

type Client

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

func NewClient

func NewClient(kubeConfigPath string) (*Client, error)

func NewClientWithDefaultKubeConfigFallback

func NewClientWithDefaultKubeConfigFallback(kubeConfigPath string) (*Client, error)

func NewDefaultClient

func NewDefaultClient() (*Client, error)

func (*Client) ListNodes

func (kc *Client) ListNodes() (*v1.NodeList, error)

func (*Client) ListPods

func (kc *Client) ListPods(namespace string) (*v1.PodList, error)

Jump to

Keyboard shortcuts

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