Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeLister ¶
type FakeLister struct { ReplicaSetList *extensions.ReplicaSetList Err error }
FakeLister is a Lister implementation designed to be used in unit tests
func (FakeLister) List ¶
func (f FakeLister) List(api.ListOptions) (*extensions.ReplicaSetList, error)
List is the Lister interface implementation. It simply returns f.ReplicaSetList, f.Err
type Lister ¶
type Lister interface {
List(api.ListOptions) (*extensions.ReplicaSetList, error)
}
Lister is a (k8s.io/kubernetes/pkg/client/unversioned).ReplicaSetInterface compatible interface designed only for listing replicaSets. 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.