mapper

package
v0.1.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseMapper

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

func (*BaseMapper) Diff2Cases

func (baseMapper *BaseMapper) Diff2Cases(ctx context.Context, diffMap object.DiffFuncMap) ([]*openapi.ObjectFunctionWithSignature, error)

func (*BaseMapper) GetRelatedCaseSignatures

func (baseMapper *BaseMapper) GetRelatedCaseSignatures(_ context.Context, targetSignature string) (map[string]interface{}, error)

func (*BaseMapper) SetIndexer

func (baseMapper *BaseMapper) SetIndexer(i indexer.Indexer)

type Mapper

type Mapper interface {
	SetIndexer(indexer.Indexer)
	GetRelatedCaseSignatures(ctx context.Context, targetSignature string) (map[string]interface{}, error)
	Diff2Cases(ctx context.Context, diffMap object.DiffFuncMap) ([]*openapi.ObjectFunctionWithSignature, error)
}

func NewMapper

func NewMapper() Mapper

Jump to

Keyboard shortcuts

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