bindir

package
v2.0.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BinDir             string           `toml:"bin_dir"`
	MaxVerifiers       int              `toml:"max_verifiers"`
	PerVerifierTimeout tomlext.Duration `toml:"per_verifier_timeout"`
}

type ImageVerifier

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

func NewImageVerifier

func NewImageVerifier(c *Config) *ImageVerifier

func (*ImageVerifier) VerifyImage

func (v *ImageVerifier) VerifyImage(ctx context.Context, name string, desc ocispec.Descriptor) (*imageverifier.Judgement, error)

Jump to

Keyboard shortcuts

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