docker

package
v2.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 28 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 {
	// contains filtered or unexported fields
}

Verifier verifies deployments using Docker libs/CLI.

func NewVerifier

func NewVerifier(ctx context.Context, cfg dockerutil.Config, labeller *label.DefaultLabeller, testCases []*latest.VerifyTestCase, resources []*latest.PortForwardResource, network string, envMap map[string]string) (*Verifier, error)

func (*Verifier) Cleanup

func (v *Verifier) Cleanup(ctx context.Context, out io.Writer, dryRun bool) error

func (*Verifier) Dependencies

func (v *Verifier) Dependencies() ([]string, error)

func (*Verifier) GetLogger

func (v *Verifier) GetLogger() log.Logger

func (*Verifier) GetStatusMonitor

func (v *Verifier) GetStatusMonitor() status.Monitor

func (*Verifier) RegisterLocalImages

func (v *Verifier) RegisterLocalImages([]graph.Artifact)

func (*Verifier) TrackBuildArtifacts

func (v *Verifier) TrackBuildArtifacts(artifacts []graph.Artifact)

func (*Verifier) TrackContainerFromBuild

func (v *Verifier) TrackContainerFromBuild(artifact graph.Artifact, container tracker.Container)

TrackContainerFromBuild adds an artifact and its newly-associated container to the container tracker.

func (*Verifier) Verify

func (v *Verifier) Verify(ctx context.Context, out io.Writer, allbuilds []graph.Artifact) error

Verify executes specified artifacts by creating containers in the local docker daemon from each specified image, executing them, and waiting for execution to complete.

Jump to

Keyboard shortcuts

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