Documentation ¶
Overview ¶
Package testutils provides specialized resources for use with unit testing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeClientset ¶ added in v0.4.0
NewFakeClientset creates a new instance of a fake Kubernetes clientset
func NewFakeDynamic ¶ added in v0.2.0
func NewFakeDynamic(objs ...runtime.Object) (*dynamicfake.FakeDynamicClient, error)
NewFakeDynamic creates a new instance of a fake dynamic client with a default scheme
Types ¶
type FakeRESTMapper ¶ added in v0.3.0
type FakeRESTMapper struct {
meta.RESTMapper
}
FakeRESTMapper provides a basic RESTMapper for use with testing
func (*FakeRESTMapper) RESTMapping ¶ added in v0.3.0
func (f *FakeRESTMapper) RESTMapping(gk schema.GroupKind, _ ...string) (*meta.RESTMapping, error)
RESTMapping provides information needed to deal with supported REST resources
Click to show internal directories.
Click to hide internal directories.