metadata

package
v0.0.0-...-16063ba Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OutputMetadata = "metadata"
)

output name

Functions

This section is empty.

Types

type Config

type Config struct {
	SourceType   sources.Type              `yaml:"source_type" validate:"required,oneof=fs sourcify"`
	ThreadsCount int                       `yaml:"threads_count" validate:"omitempty,min=1"`
	VM           *vm.Config                `yaml:"vm"`
	Sourcify     *sources.SourcifyConfig   `yaml:"sourcify"`
	FS           *sources.FileSystemConfig `yaml:"fs"`
}

Config -

type Metadata

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

Metadata -

func NewMetadata

func NewMetadata(
	cfg Config,
	metadataRepo models.IMetadata,
	events models.IEvent,
	methods models.IMethod,
	transactable storage.Transactable,
) (*Metadata, error)

NewMetadata -

func (*Metadata) AttachTo

func (metadata *Metadata) AttachTo(name string, input *modules.Input) error

AttachTo -

func (*Metadata) Close

func (metadata *Metadata) Close() error

Close -

func (*Metadata) Input

func (metadata *Metadata) Input(name string) (*modules.Input, error)

Input -

func (*Metadata) Name

func (metadata *Metadata) Name() string

Name -

func (*Metadata) Output

func (metadata *Metadata) Output(name string) (*modules.Output, error)

Output -

func (*Metadata) Start

func (metadata *Metadata) Start(ctx context.Context)

Start -

Jump to

Keyboard shortcuts

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