envtest

package
v0.0.0-...-0c545b5 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(out io.Writer) (logr.Logger, func() error, error)

Types

type Environment

type Environment struct {
	// contains filtered or unexported fields
}

func New

func New(o *cli.ProjectOptions, reuse bool) (*Environment, error)

func (*Environment) CruiseControlURL

func (e *Environment) CruiseControlURL() (*url.URL, error)

func (*Environment) Ready

func (e *Environment) Ready(ctx context.Context) (bool, error)

func (*Environment) Services

func (e *Environment) Services() []string

func (*Environment) Start

func (e *Environment) Start(ctx context.Context) error

func (*Environment) StartService

func (e *Environment) StartService(ctx context.Context, service string) error

func (*Environment) Stop

func (e *Environment) Stop(ctx context.Context) error

func (*Environment) StopService

func (e *Environment) StopService(ctx context.Context, service string) error

Jump to

Keyboard shortcuts

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