types

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdapterRole

type AdapterRole string

AdapterRole defines whether the adapter is input or output

const (
	InputAdapterRole  AdapterRole = "input"
	OutputAdapterRole AdapterRole = "output"
)

type AdapterType

type AdapterType string
const (
	GithubAdapterType    AdapterType = "github"
	InterlynkAdapterType AdapterType = "interlynk"
	FolderAdapterType    AdapterType = "folder"
	DtrackAdapterType    AdapterType = "dtrack"
	S3AdapterType        AdapterType = "s3"
)

type Config added in v0.0.2

type Config struct {
	// source adapter type(folder, github)
	SourceAdapter string

	// destination adapter type(folder, dtrack, interlynk)
	DestinationAdapter string

	// processing strategy(parallel, sequential)
	ProcessingStrategy string

	// dry run mode
	DryRun bool

	// daemon mode
	Daemon bool

	// overwrite mode
	Overwrite bool
}

type FlagPrefix added in v0.0.3

type FlagPrefix string
const (
	InputAdapterFlagPrefix  FlagPrefix = "in"
	OutputAdapterFlagPrefix FlagPrefix = "out"
)

type ProcessingMode added in v0.0.2

type ProcessingMode string
const (
	FetchParallel   ProcessingMode = "parallel"
	FetchSequential ProcessingMode = "sequential"
)

type UploadMode added in v0.0.2

type UploadMode string
const (
	UploadParallel   UploadMode = "parallel"
	UploadBatching   UploadMode = "batch"
	UploadSequential UploadMode = "sequential"
)

type UploadSettings added in v0.0.2

type UploadSettings struct {
	ProcessingMode UploadMode // "sequential", "parallel", or "batch"
}

UploadSettings contains configuration for SBOM uploads

Jump to

Keyboard shortcuts

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