mapping

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operation

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

func NewOperation

func NewOperation(
	specAssembler SpecAssembler,
	projectFilesResolver ProjectFilesResolver,
) *Operation

func (*Operation) Behave

func (s *Operation) Behave(ctx context.Context, scheme models.MappingScheme) (models.Mapping, error)

type ProjectFilesResolver

type ProjectFilesResolver interface {
	ProjectFiles(ctx context.Context, spec speca.Spec) ([]models.FileHold, error)
}

type SpecAssembler

type SpecAssembler interface {
	Assemble() (speca.Spec, error)
}

Jump to

Keyboard shortcuts

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