Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestContext ¶
type TestContext struct {
*kbtestutils.TestContext
}
TestContext wraps kubebuilder's e2e TestContext.
func NewTestContext ¶
func NewTestContext(env ...string) (tc TestContext, err error)
NewTestContext returns a TestContext containing a new kubebuilder TestContext.
func (TestContext) InstallOLM ¶
func (tc TestContext) InstallOLM() error
InstallOLM runs 'operator-sdk olm install' and returns any errors emitted by that command.
func (TestContext) KustomizeBuild ¶
func (tc TestContext) KustomizeBuild(dir string) ([]byte, error)
KustomizeBuild runs 'kustomize build <dir>' and returns its output and an error if any.
func (TestContext) UninstallOLM ¶
func (tc TestContext) UninstallOLM()
InstallOLM runs 'operator-sdk olm uninstall' and logs any errors emitted by that command.
Click to show internal directories.
Click to hide internal directories.