Documentation ¶
Index ¶
- Variables
- type Config
- type Metadata
- func (metadata *Metadata) AttachTo(name string, input *modules.Input) error
- func (metadata *Metadata) Close() error
- func (metadata *Metadata) Input(name string) (*modules.Input, error)
- func (metadata *Metadata) Name() string
- func (metadata *Metadata) Output(name string) (*modules.Output, error)
- func (metadata *Metadata) Start(ctx context.Context)
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 -
Click to show internal directories.
Click to hide internal directories.