Documentation ¶
Index ¶
- func Build(ctx context.Context, credentials *docker.RegistryCredentials, ...) error
- type BuildahCmd
- func (b *BuildahCmd) Build(ctx context.Context, buildFolder string) (string, error)
- func (b *BuildahCmd) Pull(ctx context.Context, image runtime.DockerImage) error
- func (b *BuildahCmd) Push(ctx context.Context, ruuid string, tags []string, ...) error
- func (b *BuildahCmd) Tag(ctx context.Context, ruuid string, tag string) error
- type Builder
- type DockerCmd
- func (d *DockerCmd) Build(ctx context.Context, buildfolder string) (string, error)
- func (d *DockerCmd) Pull(ctx context.Context, image runtime.DockerImage) error
- func (d *DockerCmd) Push(ctx context.Context, imageid string, tags []string, ...) error
- func (d *DockerCmd) Tag(ctx context.Context, imageid string, tag string) error
- type Prepper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(ctx context.Context, credentials *docker.RegistryCredentials, provider docker.ImageInfoProvider, cfg *config.Config, downloader nexus.Downloader, prepper Prepper, builder Builder) error
Types ¶
type BuildahCmd ¶ added in v1.19.0
type BuildahCmd struct {
TlsVerify bool
}
func (*BuildahCmd) Pull ¶ added in v1.19.0
func (b *BuildahCmd) Pull(ctx context.Context, image runtime.DockerImage) error
func (*BuildahCmd) Push ¶ added in v1.19.0
func (b *BuildahCmd) Push(ctx context.Context, ruuid string, tags []string, credentials *docker.RegistryCredentials) error
type Builder ¶ added in v1.19.0
type Builder interface { Build(ctx context.Context, buildFolder string) (string, error) Push(ctx context.Context, imageid string, tag []string, credentials *docker.RegistryCredentials) error Tag(ctx context.Context, imageid string, tag string) error Pull(ctx context.Context, image runtime.DockerImage) error }
type DockerCmd ¶ added in v1.19.0
type DockerCmd struct {
// contains filtered or unexported fields
}
func NewDockerBuilder ¶ added in v1.19.0
type Prepper ¶
type Prepper func( cfg *config.Config, auroraVersion *runtime.AuroraVersion, deliverable nexus.Deliverable, baseImage runtime.BaseImage) ([]docker.DockerBuildConfig, error)
Prepper is a fuction used to prepare a docker image. It is called within the context of The
Click to show internal directories.
Click to hide internal directories.