coci

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Build = func(istr string) (attestation.Repository, error) {
	return New(WithReference(istr))
}

Implement the factory function

View Source
var TypeMoniker = "coci"

Functions

func WithReference

func WithReference(ref string) optFn

Types

type Collector

type Collector struct {
	Options Options
}

func New

func New(funcs ...optFn) (*Collector, error)

func (*Collector) Fetch

Fetch queries the repository and retrieves any attestations matching the query

type ImageInfo

type ImageInfo struct {
	OriginalRef string
	Registry    string
	Repository  string
	Tag         string
	Digest      string
	Identifier  string
	IsDigest    bool
}

ImageInfo contains parsed information about a container image reference

type Options

type Options struct {
	Reference string
}

func (*Options) Validate

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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