localenvtest

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	Env    *envtest.Environment
	Client client.Client
	Logger *logrus.Logger
}

Environment is a internal landscaper test environment

func New

func New(projectRoot string) (*Environment, error)

New creates a new test environment with the landscaper known crds.

func (*Environment) Start

func (e *Environment) Start() (client.Client, error)

Start starts the fake environment and creates a client for the started kubernetes cluster.

func (*Environment) Stop

func (e *Environment) Stop() error

Stop stops the running dev environment

Jump to

Keyboard shortcuts

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