Documentation ¶
Index ¶
- Variables
- type Deployer
- func (d *Deployer) Cleanup(ctx context.Context, out io.Writer, dryRun bool) error
- func (d *Deployer) Dependencies() ([]string, error)
- func (d *Deployer) Deploy(ctx context.Context, out io.Writer, builds []graph.Artifact) error
- func (d *Deployer) GetAccessor() access.Accessor
- func (d *Deployer) GetDebugger() debug.Debugger
- func (d *Deployer) GetLogger() log.Logger
- func (d *Deployer) GetStatusMonitor() status.Monitor
- func (d *Deployer) GetSyncer() pkgsync.Syncer
- func (d *Deployer) RegisterLocalImages([]graph.Artifact)
- func (d *Deployer) Render(context.Context, io.Writer, []graph.Artifact, bool, string) error
- func (d *Deployer) TrackBuildArtifacts(artifacts []graph.Artifact)
- func (d *Deployer) TrackContainerFromBuild(artifact graph.Artifact, container tracker.Container)
- type PortManager
Constants ¶
This section is empty.
Variables ¶
View Source
var GetAvailablePort = util.GetAvailablePort // For testing
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) (*Deployer, error)
func (*Deployer) Dependencies ¶
func (*Deployer) Deploy ¶
Deploy deploys built artifacts by creating containers in the local docker daemon from each artifact's image.
func (*Deployer) GetAccessor ¶
func (*Deployer) GetDebugger ¶
func (*Deployer) GetStatusMonitor ¶
func (*Deployer) RegisterLocalImages ¶
func (*Deployer) TrackBuildArtifacts ¶
type PortManager ¶
type PortManager struct {
// contains filtered or unexported fields
}
func NewPortManager ¶
func NewPortManager() *PortManager
func (*PortManager) Stop ¶
func (pm *PortManager) Stop()
Click to show internal directories.
Click to hide internal directories.