Documentation ¶
Index ¶
- type BuildDockerCreateCommand
- type ContainerManagerCommand
- func (cmc *ContainerManagerCommand) BuildConfiguration() *utils.BuildConfiguration
- func (cmc *ContainerManagerCommand) ImageTag() string
- func (cmc *ContainerManagerCommand) PerformLogin(serverDetails *config.ServerDetails, ...) error
- func (cmc *ContainerManagerCommand) Repo() string
- func (cmc *ContainerManagerCommand) ServerDetails() *config.ServerDetails
- func (cmc *ContainerManagerCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *ContainerManagerCommand
- func (cmc *ContainerManagerCommand) SetImageTag(imageTag string) *ContainerManagerCommand
- func (cmc *ContainerManagerCommand) SetRepo(repo string) *ContainerManagerCommand
- func (cmc *ContainerManagerCommand) SetServerDetails(serverDetails *config.ServerDetails) *ContainerManagerCommand
- func (cmc *ContainerManagerCommand) SetSkipLogin(skipLogin bool) *ContainerManagerCommand
- type DockerPromoteCommand
- func (dp *DockerPromoteCommand) CommandName() string
- func (dp *DockerPromoteCommand) Run() error
- func (dp *DockerPromoteCommand) ServerDetails() (*config.ServerDetails, error)
- func (dp *DockerPromoteCommand) SetParams(params services.DockerPromoteParams) *DockerPromoteCommand
- func (dp *DockerPromoteCommand) SetServerDetails(serverDetails *config.ServerDetails) *DockerPromoteCommand
- type PullCommand
- type PushCommand
- func (pc *PushCommand) CommandName() string
- func (pc *PushCommand) IsDetailedSummary() bool
- func (pc *PushCommand) Result() *commandsutils.Result
- func (pc *PushCommand) Run() error
- func (pc *PushCommand) ServerDetails() (*config.ServerDetails, error)
- func (pc *PushCommand) SetDetailedSummary(detailedSummary bool) *PushCommand
- func (pc *PushCommand) SetResult(result *commandsutils.Result) *PushCommand
- func (pc *PushCommand) SetThreads(threads int) *PushCommand
- func (pc *PushCommand) Threads() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildDockerCreateCommand ¶
type BuildDockerCreateCommand struct { ContainerManagerCommand // contains filtered or unexported fields }
func NewBuildDockerCreateCommand ¶
func NewBuildDockerCreateCommand() *BuildDockerCreateCommand
func (*BuildDockerCreateCommand) CommandName ¶
func (pc *BuildDockerCreateCommand) CommandName() string
func (*BuildDockerCreateCommand) Run ¶
func (bpc *BuildDockerCreateCommand) Run() error
func (*BuildDockerCreateCommand) ServerDetails ¶ added in v1.4.0
func (pc *BuildDockerCreateCommand) ServerDetails() (*config.ServerDetails, error)
func (*BuildDockerCreateCommand) SetImageNameWithDigest ¶
func (bpc *BuildDockerCreateCommand) SetImageNameWithDigest(filePath string) (err error)
Set tag and manifest sha256 of an image in Artifactory. This file can be generated by Kaniko using the'--image-name-with-digest-file' flag. Kaniko is a tool to build & push container images from a Dockerfile, inside a container or Kubernetes cluster. Tag and Sha256 will be used later on to search the image in Artifactory.
type ContainerManagerCommand ¶
type ContainerManagerCommand struct {
// contains filtered or unexported fields
}
func (*ContainerManagerCommand) BuildConfiguration ¶
func (cmc *ContainerManagerCommand) BuildConfiguration() *utils.BuildConfiguration
func (*ContainerManagerCommand) ImageTag ¶
func (cmc *ContainerManagerCommand) ImageTag() string
func (*ContainerManagerCommand) PerformLogin ¶
func (cmc *ContainerManagerCommand) PerformLogin(serverDetails *config.ServerDetails, containerManagerType container.ContainerManagerType) error
func (*ContainerManagerCommand) Repo ¶
func (cmc *ContainerManagerCommand) Repo() string
func (*ContainerManagerCommand) ServerDetails ¶ added in v1.4.0
func (cmc *ContainerManagerCommand) ServerDetails() *config.ServerDetails
func (*ContainerManagerCommand) SetBuildConfiguration ¶
func (cmc *ContainerManagerCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *ContainerManagerCommand
func (*ContainerManagerCommand) SetImageTag ¶
func (cmc *ContainerManagerCommand) SetImageTag(imageTag string) *ContainerManagerCommand
func (*ContainerManagerCommand) SetRepo ¶
func (cmc *ContainerManagerCommand) SetRepo(repo string) *ContainerManagerCommand
func (*ContainerManagerCommand) SetServerDetails ¶ added in v1.4.0
func (cmc *ContainerManagerCommand) SetServerDetails(serverDetails *config.ServerDetails) *ContainerManagerCommand
func (*ContainerManagerCommand) SetSkipLogin ¶
func (cmc *ContainerManagerCommand) SetSkipLogin(skipLogin bool) *ContainerManagerCommand
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) Run ¶
func (dp *DockerPromoteCommand) Run() error
func (*DockerPromoteCommand) ServerDetails ¶ added in v1.4.0
func (dp *DockerPromoteCommand) ServerDetails() (*config.ServerDetails, error)
func (*DockerPromoteCommand) SetParams ¶
func (dp *DockerPromoteCommand) SetParams(params services.DockerPromoteParams) *DockerPromoteCommand
func (*DockerPromoteCommand) SetServerDetails ¶ added in v1.4.0
func (dp *DockerPromoteCommand) SetServerDetails(serverDetails *config.ServerDetails) *DockerPromoteCommand
type PullCommand ¶
type PullCommand struct { ContainerManagerCommand // contains filtered or unexported fields }
func NewPullCommand ¶
func NewPullCommand(containerManagerType container.ContainerManagerType) *PullCommand
func (*PullCommand) CommandName ¶
func (pc *PullCommand) CommandName() string
func (*PullCommand) Run ¶
func (pc *PullCommand) Run() error
Pull image and create build info if needed
func (*PullCommand) ServerDetails ¶ added in v1.4.0
func (pc *PullCommand) ServerDetails() (*config.ServerDetails, error)
type PushCommand ¶
type PushCommand struct { ContainerManagerCommand // contains filtered or unexported fields }
func NewPushCommand ¶
func NewPushCommand(containerManager container.ContainerManagerType) *PushCommand
func (*PushCommand) CommandName ¶
func (pc *PushCommand) CommandName() string
func (*PushCommand) IsDetailedSummary ¶ added in v1.7.2
func (pc *PushCommand) IsDetailedSummary() bool
func (*PushCommand) Result ¶ added in v1.7.2
func (pc *PushCommand) Result() *commandsutils.Result
func (*PushCommand) Run ¶
func (pc *PushCommand) Run() error
Push image and create build info if needed
func (*PushCommand) ServerDetails ¶ added in v1.4.0
func (pc *PushCommand) ServerDetails() (*config.ServerDetails, error)
func (*PushCommand) SetDetailedSummary ¶ added in v1.7.2
func (pc *PushCommand) SetDetailedSummary(detailedSummary bool) *PushCommand
func (*PushCommand) SetResult ¶ added in v1.7.2
func (pc *PushCommand) SetResult(result *commandsutils.Result) *PushCommand
func (*PushCommand) SetThreads ¶
func (pc *PushCommand) SetThreads(threads int) *PushCommand
func (*PushCommand) Threads ¶
func (pc *PushCommand) Threads() int
Click to show internal directories.
Click to hide internal directories.