blob: 71b7220450e6c9a1f56f83d2099cd4059ac9dff0 [file] [log] [blame]
package tracestore
import "context"
// MetadataStore provides an interface to perform Metadata operations.
type MetadataStore interface {
// InsertMetadata inserts the metadata for the source file.
InsertMetadata(ctx context.Context, sourceFileName string, links map[string]string) error
// GetMetadata returns the metadata for the given source file.
GetMetadata(ctx context.Context, sourceFileName string) (map[string]string, error)
// GetMetadataMultiple returns the metadata for the list of sourceFiles.
GetMetadataMultiple(ctx context.Context, sourceFileNames []string) (map[string]map[string]string, error)
}