image

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ManifestFromLocal

func ManifestFromLocal(ctx context.Context, exportDir string, importDir string) (*claircore.Manifest, error)

func ManifestFromRemote

func ManifestFromRemote(ctx context.Context, cl *http.Client, r string) (*claircore.Manifest, error)

func NewRegistryClient added in v0.0.16

func NewRegistryClient(ctx context.Context, ref string) (*http.Client, error)

NewRegistryClient returns an http.Client that is able to authenticate against authenticates against the registry hosting ref, refreshing credentials as needed. The Authorization header is restricted to the registry host, i.e., it won't be sent to blob storage.

Types

This section is empty.

Jump to

Keyboard shortcuts

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