metabase_mapper

package
v0.0.0-...-5597880 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mapper

type Mapper struct {
	Queue chan Work
	// contains filtered or unexported fields
}

func New

func New(
	metabaseService service.MetabaseService,
	thirdPartyMappingStorage service.ThirdPartyMappingStorage,
	mappingDeadlineSec, mappingFrequencySec int,
	log zerolog.Logger,
) *Mapper

func (*Mapper) MapDataset

func (m *Mapper) MapDataset(ctx context.Context, datasetID uuid.UUID, services []string)

func (*Mapper) Run

func (m *Mapper) Run(ctx context.Context)

type Work

type Work struct {
	DatasetID uuid.UUID
	Services  []string
}

Jump to

Keyboard shortcuts

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