Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Options = []sdk.Option{ sdk.WithComponents(&Builder{}), }
Options are the SDK options to use for instantiation.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder uses `docker build` to build a Docker iamge.
func (*Builder) Build ¶
func (b *Builder) Build( ctx context.Context, ui terminal.UI, src *component.Source, log hclog.Logger, ) (*wpdocker.Image, error)
Build
func (*Builder) BuildFunc ¶
func (b *Builder) BuildFunc() interface{}
BuildFunc implements component.Builder
func (*Builder) Documentation ¶
func (b *Builder) Documentation() (*docs.Documentation, error)
type BuilderConfig ¶
type BuilderConfig struct { // Image to pull Image string `hcl:"image,attr"` Tag string `hcl:"tag,attr"` // Control whether or not to inject the entrypoint binary into the resulting image DisableCEB bool `hcl:"disable_entrypoint,optional"` // The docker specific encoded authentication string to use to talk to the registry. EncodedAuth string `hcl:"encoded_auth,optional"` }
Config is the configuration structure for the registry.
Click to show internal directories.
Click to hide internal directories.