Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Creator ¶
Creator is a (k8s.io/kubernetes/pkg/client/unversioned).SecretsInterface compatible interface designed only for creating a secret. It should be used as a parameter to functions so that they can be more easily unit tested
type FakeCreator ¶
type FakeCreator struct { Created []*api.Secret Errs []error CreateFunc func(*api.Secret) (*api.Secret, error) }
FakeCreator is a Creator implementation to be used in unit tests
type FakeGetter ¶
FakeGetter is a Getter implementation to be used in unit tests
type FakeLister ¶
type FakeLister struct { Secrets *api.SecretList Err error }
FakeLister is a Lister implementation to be used in unit tests
func (FakeLister) List ¶
func (f FakeLister) List(api.ListOptions) (*api.SecretList, error)
List is the Lister interface implementation. It just returns f.Secrets, f.Err
type FakeWatcher ¶
FakeWatcher is a Watcher implementation to be used in unit tests
func (FakeWatcher) Watch ¶
func (f FakeWatcher) Watch(api.ListOptions) (watch.Interface, error)
Watch is the Watcher interface implementation
type Getter ¶
Getter is a (k8s.io/kubernetes/pkg/client/unversioned).SecretsInterface compatible interface designed only for getting a secret. It should be used as a parameter to functions so that they can be more easily unit tested
type Lister ¶
type Lister interface {
List(api.ListOptions) (*api.SecretList, error)
}
Lister is a (k8s.io/kubernetes/pkg/client/unversioned).SecretsInterface compatible interface designed only for listing secrets. It should be used as a parameter to functions so that they can be more easily unit tested
type Watcher ¶
type Watcher interface {
Watch(api.ListOptions) (watch.Interface, error)
}
Watcher is a (k8s.io/kubernetes/pkg/client/unversioned).SecretsInterface compatible interface designed only for watching secrets. It should be used as a parameter to functions so that they can be more easily unit tested