k8s

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2019 License: MIT Imports: 11 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(opts *option.Options) *Client

func (*Client) GetNamespace

func (c *Client) GetNamespace() string

func (*Client) ListPods

func (c *Client) ListPods() (names []string)

func (*Client) SetNamespace

func (c *Client) SetNamespace(ns string) *Client

func (*Client) TailPodLog

func (c *Client) TailPodLog(podName string, w io.Writer, stopCh <-chan struct{})

Jump to

Keyboard shortcuts

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