Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_waypoint_builtin_aws_ami_plugin_proto protoreflect.FileDescriptor
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, log hclog.Logger, ui terminal.UI, src *component.Source, ) (*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 { // AWS region to operate in Region string `hcl:"region"` // Only look for images from the given owners Owners []string `hcl:"owners,optional"` // The name of the image to search for, supports wildcards Name string `hcl:"name,optional"` // Specific filters to pass to the DescribeImages filter set Filters map[string][]string `hcl:"filters,optional"` }
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"` // contains filtered or unexported fields }
func (*Image) Descriptor
deprecated
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.