teststateloader

package
v1.15.18 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModule

func NewModule(fs *files.System[*files.State]) fx.Option

Types

type TestStateloader

type TestStateloader struct {
	FileSystem *files.System[*files.State]
	ErrorPaths []files.Path
}

func NewTestStateloaderFromFiles

func NewTestStateloaderFromFiles(filesToMake map[string]string) *TestStateloader

func (*TestStateloader) LoadState

func (l *TestStateloader) LoadState(_ context.Context, path files.Path) (*files.State, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳