Documentation ¶
Index ¶
- Variables
- func ECRImageMapper(src *Image) *docker.Image
- type Config
- type Image
- type Registry
- func (r *Registry) AccessInfo(ctx context.Context, log hclog.Logger, ui terminal.UI, src *component.Source) (*docker.AccessInfo, error)
- func (r *Registry) AccessInfoFunc() interface{}
- func (r *Registry) Config() (interface{}, error)
- func (r *Registry) Documentation() (*docs.Documentation, error)
- func (r *Registry) Push(ctx context.Context, log hclog.Logger, img *docker.Image, ui terminal.UI, ...) (*Image, error)
- func (r *Registry) PushFunc() interface{}
Constants ¶
This section is empty.
Variables ¶
View Source
var File_waypoint_builtin_aws_ecr_plugin_proto protoreflect.FileDescriptor
View Source
var Options = []sdk.Option{ sdk.WithComponents(&Registry{}), sdk.WithMappers(ECRImageMapper), }
Options are the SDK options to use for instantiation.
Functions ¶
func ECRImageMapper ¶ added in v0.3.0
ECRImageMapper maps a ecr.Image to a docker.Image structure.
Types ¶
type Config ¶
type Config struct { // AWS Region to access ECR in Region string `hcl:"region,optional"` // Repository to store the image into Repository string `hcl:"repository,optional"` // Tag is the tag to apply to the image. Tag string `hcl:"tag,attr"` }
Config is the configuration structure for the registry.
type Image ¶
type Image struct { Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
Image is the artifact type for the registry.
func (*Image) Descriptor
deprecated
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry represents access to an AWS registry.
func (*Registry) AccessInfo ¶ added in v0.6.0
func (r *Registry) AccessInfo( ctx context.Context, log hclog.Logger, ui terminal.UI, src *component.Source, ) (*docker.AccessInfo, error)
AccessInfo returns information on how to access the registry
func (*Registry) AccessInfoFunc ¶ added in v0.6.0
func (r *Registry) AccessInfoFunc() interface{}
func (*Registry) Documentation ¶
func (r *Registry) Documentation() (*docs.Documentation, error)
Click to show internal directories.
Click to hide internal directories.