pkg

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckError

func CheckError(msg string, err error)

CheckError will check the error and exit with 1 when as errors

func RunOlmIntegration

func RunOlmIntegration(ctx *SampleContext)

RunOlmIntegration runs all commands to integrate the project with OLM

Types

type SampleContext

type SampleContext struct {
	testutils.TestContext
}

SampleContext represents the Context used to generate the samples

func NewSampleContext

func NewSampleContext(binary string, path string, env ...string) (s SampleContext, err error)

NewSampleContext returns a SampleContext containing a new kubebuilder TestContext.

Jump to

Keyboard shortcuts

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