projecttest

package
v0.22.11 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithKubernetes

func WithKubernetes(opts ...kubetest.Option) withKubernetes

Types

type Environment

type Environment struct {
	ProjectManager project.Manager
	GitRepository  *gittest.LocalGitRepository
	TestRoot       string
	TestProject    string
	Log            logr.Logger
	*kubetest.Environment
}

func StartProjectEnv

func StartProjectEnv(t testing.TB, opts ...Option) Environment

func (*Environment) Stop

func (env *Environment) Stop()

type Option

type Option interface {
	Apply(opts *options)
}

type WithProjectSource

type WithProjectSource string

func (WithProjectSource) Apply

func (opt WithProjectSource) Apply(opts *options)

Jump to

Keyboard shortcuts

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