deployment

package
v0.0.0-...-fe4f5a4 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Update

func Update(client k8s.IK8S, namespace string, config *v1beta1.Deployment) error

Types

type Deployment

type Deployment struct {
	ObjectMeta common.ObjectMeta `json:"meta"`
	TypeMeta   common.TypeMeta   `json:"type"`
	Spec       common.Spec       `json:"spec"`
	PodList    pod.PodList       `json:"pods"`
	Selector   map[string]string `json:"selector"`
}

func Get

func Get(client k8s.IK8S, namespace string, name string) (*Deployment, error)

func List

func List(client k8s.IK8S, namespace string) ([]Deployment, error)

Jump to

Keyboard shortcuts

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