context

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Config     *config.Config
	WorkingDir string
	Logger     *slog.Logger
	LogLevel   *slog.LevelVar
	FS         afero.Fs
	Builders   typesContainers.Builders
}

func DefaultContext

func DefaultContext() *Context

func NewContext

func NewContext(config *config.Config, workingDir string, logger *slog.Logger, logLevel *slog.LevelVar, FSProvider afero.Fs) *Context

func TestContext

func TestContext(logBuffer io.Writer) *Context

Jump to

Keyboard shortcuts

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