kubeclient

package
Version: v0.0.0-...-da74823 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2019 License: Apache-2.0 Imports: 4 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 {
	Clientset *kubernetes.Clientset
}

func NewClient

func NewClient() (*Client, error)

func (*Client) ListNode

func (client *Client) ListNode() (*v1.NodeList, error)

func (*Client) ListPod

func (client *Client) ListPod() (*v1.PodList, error)

type Interface

type Interface interface {
	ListNode() (*v1.NodeList, error)

	ListPod() (*v1.PodList, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL