k8s

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: MIT 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 {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(logger *zap.Logger) (*Client, error)

func (*Client) DeletePod

func (c *Client) DeletePod(pod *apiv1.Pod) error

func (*Client) GetPods

func (c *Client) GetPods(namespace string) (*apiv1.PodList, error)

type ClientInterface

type ClientInterface interface {
	GetPods(namespace string) (*apiv1.PodList, error)
	DeletePod(pod *apiv1.Pod) error
}

Directories

Path Synopsis
Package mock_k8s is a generated GoMock package.
Package mock_k8s is a generated GoMock package.

Jump to

Keyboard shortcuts

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