registry

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Verifier

type Verifier struct {
	Client *http.Client
	Name   string
	Scheme string
	Domain string
	Host   string
	Path   string
	Tag    string
}

Verifier is an image verification client

func NewVerifier

func NewVerifier(input string, insecure bool) (*Verifier, error)

NewVerifier creates an image verification struct from an image input string

func (*Verifier) Verify

func (v *Verifier) Verify(ctx context.Context) (bool, error)

Verify executes image verification for a verifier

Jump to

Keyboard shortcuts

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