deployment

package
v0.0.0-...-d1fd2e1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2016 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeLister

type FakeLister struct {
	DeploymentList *extensions.DeploymentList
	Err            error
}

FakeLister is a Lister implementation designed to be used in unit tests

func (FakeLister) List

List is the Lister interface implementation. It simply returns f.DeploymentList, f.Err

type Lister

type Lister interface {
	List(api.ListOptions) (*extensions.DeploymentList, error)
}

Lister is a (k8s.io/kubernetes/pkg/client/unversioned).DeploymentInterface compatible interface designed only for listing deployments. It should be used as a parameter to functions so that they can be more easily unit tested

Jump to

Keyboard shortcuts

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