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