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.
Click to show internal directories.
Click to hide internal directories.