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 ¶
func (f FakeLister) List(api.ListOptions) (*extensions.DaemonSetList, error)
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
Click to show internal directories.
Click to hide internal directories.