tag

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TagImportConfig

type TagImportConfig struct {
	types.BaseTargetConfig
	TargetFile      string
	TagSourcesScope []string `json:"tagSourcesScope"`
}

type TagImportResult

type TagImportResult struct {
	TagsAdded   int `json:"tagsAdded"`
	TagsUpdated int `json:"tagsUpdated"`
	TagsRemoved int `json:"tagsRemoved"`

	Warnings []string `json:"warnings"`
}

type TagImporter

type TagImporter interface {
	TriggerImport(ctx context.Context, jobId string) (job.JobStatus, string, error)
}

func NewTagImporter

func NewTagImporter(config *TagImportConfig, statusUpdater job.TaskEventUpdater) TagImporter

type TagSync

type TagSync struct {
	TargetConfig *types.BaseTargetConfig
	JobId        string
	// contains filtered or unexported fields
}

func (*TagSync) GetParts

func (s *TagSync) GetParts() []job.TaskPart

func (*TagSync) GetResultObject

func (s *TagSync) GetResultObject() interface{}

func (*TagSync) GetTaskResults

func (s *TagSync) GetTaskResults() []job.TaskResult

func (*TagSync) IsClientValid

func (s *TagSync) IsClientValid(ctx context.Context, c plugin.PluginClient) (bool, error)

func (*TagSync) ProcessResults

func (s *TagSync) ProcessResults(results interface{}) error

func (*TagSync) StartSyncAndQueueTaskPart

func (s *TagSync) StartSyncAndQueueTaskPart(ctx context.Context, client plugin.PluginClient, statusUpdater job.TaskEventUpdater) (job.JobStatus, string, error)

Jump to

Keyboard shortcuts

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