oci

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoverOption

type DiscoverOption func(*Discoverer)

DiscoverOption allows to configure the Discoverer

func WithContext

func WithContext(ctx context.Context) DiscoverOption

WithContext sets the given context on the Discoverer

type Discoverer

type Discoverer struct {
	// contains filtered or unexported fields
}

Discoverer discovers the attestations from an oci reference

func NewDiscoverer

func NewDiscoverer(keyRef string, options ...DiscoverOption) *Discoverer

NewDiscoverer creates a new instance of a Discoverer

func (*Discoverer) Discover

func (r *Discoverer) Discover(blobRef string) (io.Reader, error)

Discover discovers an attestations.txt from an oci registry

Jump to

Keyboard shortcuts

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