README
¶
AWS ECR Pull
The AWS ECR Pull plugin references an existing image, if found, in an AWS Elastic Container Registry. The image information can be used to push an image to a new registry, or be deployed to AWS ECS.
Components
Related Plugins
Documentation
¶
Index ¶
- Variables
- type Builder
- func (b *Builder) Build(ctx context.Context, ui terminal.UI, log hclog.Logger) (*ecr.Image, error)
- func (b *Builder) BuildFunc() interface{}
- func (b *Builder) BuildODR(ctx context.Context, ui terminal.UI, log hclog.Logger, src *component.Source, ...) (*ecr.Image, error)
- func (b *Builder) BuildODRFunc() interface{}
- func (b *Builder) Config() (interface{}, error)
- func (p *Builder) ConfigSet(config interface{}) error
- func (b *Builder) Documentation() (*docs.Documentation, error)
- type Config
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, log hclog.Logger) (*ecr.Image, error)
Build
func (*Builder) BuildFunc ¶
func (b *Builder) BuildFunc() interface{}
BuildFunc implements component.Builder
func (*Builder) BuildODR ¶ added in v0.11.4
func (b *Builder) BuildODR(ctx context.Context, ui terminal.UI, log hclog.Logger, src *component.Source, ai *wpdocker.AccessInfo) (*ecr.Image, error)
Build
func (*Builder) BuildODRFunc ¶ added in v0.11.4
func (b *Builder) BuildODRFunc() interface{}
BuildFunc implements component.BuilderODR
func (*Builder) Config ¶
func (b *Builder) Config() (interface{}, error)
Config implements Configurable
func (*Builder) ConfigSet ¶
func (p *Builder) ConfigSet(config interface{}) error
ConfigSet is called after a configuration has been decoded
func (*Builder) Documentation ¶
func (b *Builder) Documentation() (*docs.Documentation, error)
type Config ¶
type Config struct {
Region string `hcl:"region,optional"`
Repository string `hcl:"repository,attr"`
Tag string `hcl:"tag,attr"`
ForceArchitecture string `hcl:"force_architecture,optional"`
DisableCEB bool `hcl:"disable_entrypoint,optional"`
}
Config is the configuration structure for the registry.
Click to show internal directories.
Click to hide internal directories.