daemonset

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: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeLister

type FakeLister struct {
	DaemonSetList *extensions.DaemonSetList
	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.DaemonSetList, f.Err

type Lister

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

Lister is a (k8s.io/kubernetes/pkg/client/unversioned).DaemonSetInterface compatible interface designed only for listing daemonSets. 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