storage

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option added in v0.2.4

type Option func(*Store)

func WithEmbedTestData added in v0.2.4

func WithEmbedTestData(embedStore embed.FS) Option

func WithInputTestDataDir added in v0.2.4

func WithInputTestDataDir(path string) Option

type Store added in v0.2.4

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

func NewStorage added in v0.2.4

func NewStorage(opts ...Option) *Store

func (*Store) LoadExpectations added in v0.2.4

func (e *Store) LoadExpectations() (pkg.ExpctationReg, error)

func (*Store) LoadStages added in v0.2.4

func (e *Store) LoadStages() (pkg.StageReg, error)

func (*Store) LoadTestCases added in v0.2.4

func (e *Store) LoadTestCases() (pkg.TestCasesReg, error)

func (*Store) ReadFile added in v0.2.4

func (e *Store) ReadFile(filename string) ([]byte, error)

Jump to

Keyboard shortcuts

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