mstlystcdata

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NotAvailablePlaceholder = "N/A"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

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

func NewCache

func NewCache(ctx context.Context, logger *zap.Logger, tp *tracesdk.TracerProvider, db *sql.DB) (*Cache, error)

func (*Cache) GetSearcher

func (c *Cache) GetSearcher() *Searcher

func (*Cache) Start

func (c *Cache) Start()

type Enricher

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

func NewEnricher

func NewEnricher(c *Cache) *Enricher

func (*Enricher) EnrichDocumentCategory

func (e *Enricher) EnrichDocumentCategory(doc common.IDocumentCategory)

func (*Enricher) EnrichJobInfo

func (e *Enricher) EnrichJobInfo(usr common.IJobInfo)

func (*Enricher) EnrichJobName

func (e *Enricher) EnrichJobName(usr common.IJobName)

func (*Enricher) GetJobByName

func (e *Enricher) GetJobByName(name string) *jobs.Job

type Searcher

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

func NewSearcher

func NewSearcher(c *Cache) (*Searcher, error)

func (*Searcher) SearchJobs

func (s *Searcher) SearchJobs(ctx context.Context, search string, exactMatch bool) ([]*jobs.Job, error)

Jump to

Keyboard shortcuts

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