godockerbuilder

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 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 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) Run

func (c *DockerCopy) Run(ctx context.Context) error

Run

func (*DockerCopy) WithRemoteSource

func (c *DockerCopy) WithRemoteSource()

WithRemoteSource

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) WithTags

func (c *DockerCopy) WithTags(tags []string)

WithTags

func (*DockerCopy) WithTargetImage

func (c *DockerCopy) WithTargetImage(target string)

WithTargetImage

func (*DockerCopy) WithUseNormalizedNamed

func (c *DockerCopy) WithUseNormalizedNamed()

WithUseNormalizedNamed

type PromoteMock

type PromoteMock struct {
	mock.Mock
}

func NewPromoteMock

func NewPromoteMock() *PromoteMock

NewPromoteMock creates a new mock for docker client

func (*PromoteMock) AddAuth

func (m *PromoteMock) AddAuth(user string, pass string) error

AddAuth

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) Run

func (m *PromoteMock) Run(ctx context.Context) error

Run

func (*PromoteMock) WithRemoteSource

func (m *PromoteMock) WithRemoteSource()

WithRemoteSource

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) WithTags

func (m *PromoteMock) WithTags(tags []string)

WithTags

func (*PromoteMock) WithTargetImage

func (m *PromoteMock) WithTargetImage(name string)

WithSourceImage

func (*PromoteMock) WithUseNormalizedNamed

func (m *PromoteMock) WithUseNormalizedNamed()

WithUseNormalizedNamed

Jump to

Keyboard shortcuts

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