check

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(ctx context.Context, idx index.Index, inputs []*enginev1.CheckInput) ([]*enginev1.CheckOutput, error)

Types

type TestFixtureCtx

type TestFixtureCtx struct {
	Fixture *verify.TestFixture
	Path    string
}

type TestFixtureGetter

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

func NewTestFixtureGetter

func NewTestFixtureGetter(fsys fs.FS) *TestFixtureGetter

func (*TestFixtureGetter) GetAllTestFixtures

func (g *TestFixtureGetter) GetAllTestFixtures() []*TestFixtureCtx

func (*TestFixtureGetter) LoadTestFixture

func (g *TestFixtureGetter) LoadTestFixture(path string) (fixture *verify.TestFixture)

func (*TestFixtureGetter) PreCacheTestFixtures added in v0.32.0

func (g *TestFixtureGetter) PreCacheTestFixtures() error

Jump to

Keyboard shortcuts

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