oci

package
v0.7.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SpdxJson   = "application/spdx+json"
	InTotoJson = "application/vnd.in-toto+json"
)

OCI artifact types

View Source
const (
	OCICollector = "OCICollector"
)

Variables

This section is empty.

Functions

func NewOCICollector

func NewOCICollector(ctx context.Context, collectDataSource datasource.CollectSource, poll bool, interval time.Duration) *ociCollector

NewOCICollector initializes the oci collector by passing in the repo and tag being collected. Note: OCI collector can be called upon by a upstream registry collector in the future to collect from all repos in a given registry. For further details see issue #298

Interval should be set to about 5 mins or more for production so that it doesn't clobber registries.

Types

This section is empty.

Jump to

Keyboard shortcuts

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