loader

package
v0.0.0-...-00d9010 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CueExpectationLoadType

type CueExpectationLoadType []cue.Value

type CueExpectationLoader

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

func NewCueExpectationLoader

func NewCueExpectationLoader(cueExpectationsFiles []string) *CueExpectationLoader

func (*CueExpectationLoader) Load

type ExpectationType

type ExpectationType interface {
	OpenAPISpecLoadType | CueExpectationLoadType
}

type Loader

type Loader[T ExpectationType] interface {
	Load() (*T, error)
}

type OpenAPISpecLoadType

type OpenAPISpecLoadType openapi3.T

type OpenAPISpecLoader

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

func NewOpenApiSpecLoader

func NewOpenApiSpecLoader(filename string) *OpenAPISpecLoader

func (*OpenAPISpecLoader) Load

Jump to

Keyboard shortcuts

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