types

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

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"
)

type Config added in v0.0.2

type Config struct {
	// source adapter type
	SourceType string

	// destination adapter type
	DestinationType string

	// dry run mode
	DryRun bool
}

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