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: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployer

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

func NewDeployer

func NewDeployer(ctx context.Context, cfg dockerutil.Config, labeller *label.DefaultLabeller, d *latest.DockerDeploy, resources []*latest.PortForwardResource, configName string) (*Deployer, error)

func (*Deployer) Cleanup

func (d *Deployer) Cleanup(ctx context.Context, out io.Writer, dryRun bool, _ manifest.ManifestListByConfig) error

func (*Deployer) ConfigName

func (d *Deployer) ConfigName() string

func (*Deployer) Dependencies

func (d *Deployer) Dependencies() ([]string, error)

func (*Deployer) Deploy

func (d *Deployer) Deploy(ctx context.Context, out io.Writer, builds []graph.Artifact, _ manifest.ManifestListByConfig) error

Deploy deploys built artifacts by creating containers in the local docker daemon from each artifact's image.

func (*Deployer) GetAccessor

func (d *Deployer) GetAccessor() access.Accessor

func (*Deployer) GetDebugger

func (d *Deployer) GetDebugger() debug.Debugger

func (*Deployer) GetLogger

func (d *Deployer) GetLogger() log.Logger

func (*Deployer) GetStatusMonitor

func (d *Deployer) GetStatusMonitor() status.Monitor

func (*Deployer) GetSyncer

func (d *Deployer) GetSyncer() pkgsync.Syncer

func (*Deployer) RegisterLocalImages

func (d *Deployer) RegisterLocalImages([]graph.Artifact)

func (*Deployer) TrackBuildArtifacts

func (d *Deployer) TrackBuildArtifacts(builds, _ []graph.Artifact)

func (*Deployer) TrackContainerFromBuild

func (d *Deployer) TrackContainerFromBuild(artifact graph.Artifact, container tracker.Container)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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