docker

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerCommand

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

func (*DockerCommand) BuildConfiguration

func (dc *DockerCommand) BuildConfiguration() *utils.BuildConfiguration

func (*DockerCommand) ImageTag

func (dc *DockerCommand) ImageTag() string

func (*DockerCommand) Repo

func (dc *DockerCommand) Repo() string

func (*DockerCommand) RtDetails

func (dc *DockerCommand) RtDetails() *config.ArtifactoryDetails

func (*DockerCommand) SetBuildConfiguration

func (dc *DockerCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *DockerCommand

func (*DockerCommand) SetImageTag

func (dc *DockerCommand) SetImageTag(imageTag string) *DockerCommand

func (*DockerCommand) SetRepo

func (dc *DockerCommand) SetRepo(repo string) *DockerCommand

func (*DockerCommand) SetRtDetails

func (dc *DockerCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *DockerCommand

func (*DockerCommand) SetSkipLogin

func (dc *DockerCommand) SetSkipLogin(skipLogin bool) *DockerCommand

type DockerPromoteCommand

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

func NewDockerPromoteCommand

func NewDockerPromoteCommand() *DockerPromoteCommand

func (*DockerPromoteCommand) CommandName

func (dp *DockerPromoteCommand) CommandName() string

func (*DockerPromoteCommand) RtDetails

func (*DockerPromoteCommand) Run

func (dp *DockerPromoteCommand) Run() error

func (*DockerPromoteCommand) SetParams

func (*DockerPromoteCommand) SetRtDetails

type DockerPullCommand

type DockerPullCommand struct {
	DockerCommand
}

func NewDockerPullCommand

func NewDockerPullCommand() *DockerPullCommand

func (*DockerPullCommand) CommandName

func (dpc *DockerPullCommand) CommandName() string

func (*DockerPullCommand) RtDetails

func (dpc *DockerPullCommand) RtDetails() (*config.ArtifactoryDetails, error)

func (*DockerPullCommand) Run

func (dpc *DockerPullCommand) Run() error

Pull docker image and create build info if needed

type DockerPushCommand

type DockerPushCommand struct {
	DockerCommand
	// contains filtered or unexported fields
}

func NewDockerPushCommand

func NewDockerPushCommand() *DockerPushCommand

func (*DockerPushCommand) CommandName

func (dpc *DockerPushCommand) CommandName() string

func (*DockerPushCommand) RtDetails

func (dpc *DockerPushCommand) RtDetails() (*config.ArtifactoryDetails, error)

func (*DockerPushCommand) Run

func (dpc *DockerPushCommand) Run() error

Push docker image and create build info if needed

func (*DockerPushCommand) SetThreads

func (dpc *DockerPushCommand) SetThreads(threads int) *DockerPushCommand

func (*DockerPushCommand) Threads

func (dpc *DockerPushCommand) Threads() int

Jump to

Keyboard shortcuts

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