Documentation ¶
Index ¶
- type DockerCopy
- func (c *DockerCopy) AddAuth(username string, password string) error
- func (c *DockerCopy) AddPullAuth(username string, password string) error
- func (c *DockerCopy) AddPushAuth(username string, password string) error
- func (c *DockerCopy) Run(ctx context.Context) error
- func (c *DockerCopy) WithRemoteSource()
- func (c *DockerCopy) WithRemoveAfterPush()
- func (c *DockerCopy) WithResponse(w io.Writer, prefix string)
- func (c *DockerCopy) WithSourceImage(source string)
- func (c *DockerCopy) WithTags(tags []string)
- func (c *DockerCopy) WithTargetImage(target string)
- func (c *DockerCopy) WithUseNormalizedNamed()
- type PromoteMock
- func (m *PromoteMock) AddAuth(user string, pass string) error
- func (m *PromoteMock) AddPullAuth(user string, pass string) error
- func (m *PromoteMock) AddPushAuth(user string, pass string) error
- func (m *PromoteMock) AddTag(tags ...string)
- func (m *PromoteMock) Run(ctx context.Context) error
- func (m *PromoteMock) WithRemoteSource()
- func (m *PromoteMock) WithRemoveAfterPush()
- func (m *PromoteMock) WithResponse(w io.Writer, prefix string)
- func (m *PromoteMock) WithSourceImage(name string)
- func (m *PromoteMock) WithTags(tags []string)
- func (m *PromoteMock) WithTargetImage(name string)
- func (m *PromoteMock) WithUseNormalizedNamed()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerCopy ¶
type DockerCopy struct {
// contains filtered or unexported fields
}
DockerCopier
func NewDockerCopy ¶
func NewDockerCopy(cmd *copy.DockerImageCopyCmd) *DockerCopy
func (*DockerCopy) AddAuth ¶
func (c *DockerCopy) AddAuth(username string, password string) error
AddAuth
func (*DockerCopy) AddPullAuth ¶
func (c *DockerCopy) AddPullAuth(username string, password string) error
AddPullAuth
func (*DockerCopy) AddPushAuth ¶
func (c *DockerCopy) AddPushAuth(username string, password string) error
AddPushAuth
func (*DockerCopy) WithRemoveAfterPush ¶
func (c *DockerCopy) WithRemoveAfterPush()
WithRemoveAfterPush
func (*DockerCopy) WithResponse ¶
func (c *DockerCopy) WithResponse(w io.Writer, prefix string)
WithResponse
func (*DockerCopy) WithSourceImage ¶
func (c *DockerCopy) WithSourceImage(source string)
func (*DockerCopy) WithTargetImage ¶
func (c *DockerCopy) WithTargetImage(target string)
WithTargetImage
func (*DockerCopy) WithUseNormalizedNamed ¶
func (c *DockerCopy) WithUseNormalizedNamed()
WithUseNormalizedNamed
type PromoteMock ¶
func NewPromoteMock ¶
func NewPromoteMock() *PromoteMock
NewPromoteMock creates a new mock for docker client
func (*PromoteMock) AddPullAuth ¶
func (m *PromoteMock) AddPullAuth(user string, pass string) error
AddAuthPull
func (*PromoteMock) AddPushAuth ¶
func (m *PromoteMock) AddPushAuth(user string, pass string) error
AddAuthPush
func (*PromoteMock) AddTag ¶
func (m *PromoteMock) AddTag(tags ...string)
func (*PromoteMock) WithRemoveAfterPush ¶
func (m *PromoteMock) WithRemoveAfterPush()
WithRemoveAfterPush
func (*PromoteMock) WithResponse ¶
func (m *PromoteMock) WithResponse(w io.Writer, prefix string)
WithResponse
func (*PromoteMock) WithSourceImage ¶
func (m *PromoteMock) WithSourceImage(name string)
WithSourceImage
func (*PromoteMock) WithTargetImage ¶
func (m *PromoteMock) WithTargetImage(name string)
WithSourceImage
func (*PromoteMock) WithUseNormalizedNamed ¶
func (m *PromoteMock) WithUseNormalizedNamed()
WithUseNormalizedNamed
Click to show internal directories.
Click to hide internal directories.