Documentation ¶
Index ¶
- type Harness
- func (h *Harness) Client() client.Client
- func (h *Harness) DynamicClient() dynamic.Interface
- 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) DynamicClient ¶
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.