Documentation ¶
Index ¶
- type Harness
- func (h *Harness) AssertMatchesFile(p string, got string)
- func (h *Harness) Client() client.Client
- func (h *Harness) DynamicClient() dynamic.Interface
- func (h *Harness) MustReadFile(p string) []byte
- func (h *Harness) ParseObjects(y string) []*unstructured.Unstructured
- func (h *Harness) RESTConfig() *rest.Config
- func (h *Harness) RESTMapper() *restmapper.DeferredDiscoveryRESTMapper
- func (h *Harness) Stop()
- func (h *Harness) WithObjects(initObjs ...*unstructured.Unstructured)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Harness ¶
type Harness struct { *testing.T Scheme *runtime.Scheme Ctx context.Context // contains filtered or unexported fields }
func NewHarness ¶
func (*Harness) AssertMatchesFile ¶
func (*Harness) DynamicClient ¶
func (*Harness) MustReadFile ¶
func (*Harness) ParseObjects ¶
func (h *Harness) ParseObjects(y string) []*unstructured.Unstructured
func (*Harness) RESTConfig ¶
func (*Harness) RESTMapper ¶
func (h *Harness) RESTMapper() *restmapper.DeferredDiscoveryRESTMapper
func (*Harness) WithObjects ¶
func (h *Harness) WithObjects(initObjs ...*unstructured.Unstructured)
Click to show internal directories.
Click to hide internal directories.