internal

package
v0.19.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL