k8s

package
v0.0.0-...-38cc709 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2015 License: Apache-2.0 Imports: 5 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(host, version, namespace string) *Client

func (*Client) GetPod

func (c *Client) GetPod(name string) (*api.Pod, error)

func (*Client) GetPods

func (c *Client) GetPods(lbs map[string]string) (*api.PodList, error)

func (*Client) GetRC

func (c *Client) GetRC(name string) (*api.ReplicationController, error)

func (*Client) GetRCList

func (c *Client) GetRCList(lbs map[string]string) (*api.ReplicationControllerList, error)

func (*Client) GetService

func (c *Client) GetService(name string) (*api.Service, error)

func (*Client) ListEvents

func (c *Client) ListEvents() (*api.EventList, error)

func (*Client) Update

Jump to

Keyboard shortcuts

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