Versions in this module Expand all Collapse all v1 v1.1.0 Apr 19, 2026 Changes in this version + var ErrInstanceNotFound = errors.New("instance not found") + func CommandArgsSSMTunneling(instanceID string, localPort int) ([]string, error) + func CreateDevpodInstanceProfile(ctx context.Context, provider *AwsProvider) (string, error) + func CreateDevpodSecurityGroup(ctx context.Context, provider *AwsProvider, vpcID string) (string, error) + func Delete(ctx context.Context, provider *AwsProvider, machine Machine) error + func DeleteDevpodRoute53Record(ctx context.Context, provider *AwsProvider, zone route53Zone, machine Machine) error + func Describe(ctx context.Context, provider *AwsProvider, name string) (string, error) + func GetAMIRootDevice(ctx context.Context, cfg aws.Config, diskImage string) (string, error) + func GetDefaultAMI(ctx context.Context, cfg aws.Config, instanceType string) (string, error) + func GetDevpodInstanceProfile(ctx context.Context, provider *AwsProvider) (string, error) + func GetDevpodRoute53Zone(ctx context.Context, provider *AwsProvider) (route53Zone, error) + func GetDevpodSecurityGroups(ctx context.Context, provider *AwsProvider, vpcID string) ([]string, error) + func GetDevpodVPC(ctx context.Context, provider *AwsProvider) (string, error) + func GetInjectKeypairScript(config *options.Options) (string, error) + func GetInstance(ctx context.Context, cfg aws.Config, name string, states []string) (types.Instance, error) + func GetInstanceTags(providerAws *AwsProvider, zone route53Zone) []types.TagSpecification + func GetSubnet(ctx context.Context, provider *AwsProvider) (subnetResult, error) + func NewAWSConfig(ctx context.Context, log log.Logger, options *options.Options) (aws.Config, error) + func Start(ctx context.Context, provider *AwsProvider, instanceID string) error + func Status(ctx context.Context, provider *AwsProvider, name string) (client.Status, error) + func Stop(ctx context.Context, provider *AwsProvider, instanceID string) error + func UpsertDevpodRoute53Record(ctx context.Context, provider *AwsProvider, record route53Record) error + type AwsProvider struct + AwsConfig aws.Config + Config *options.Options + Log log.Logger + WorkingDirectory string + func NewProvider(ctx context.Context, withFolder bool, log log.Logger) (*AwsProvider, error) + type Machine struct + Hostname string + InstanceID string + PrivateIP string + PublicIP string + SpotInstanceRequestId string + Status string + func Create(ctx context.Context, cfg aws.Config, providerAws *AwsProvider) (Machine, error) + func GetDevpodInstance(ctx context.Context, cfg aws.Config, name string) (Machine, error) + func GetDevpodRunningInstance(ctx context.Context, cfg aws.Config, name string) (Machine, error) + func GetDevpodStoppedInstance(ctx context.Context, cfg aws.Config, name string) (Machine, error) + func GetMachine(ctx context.Context, cfg aws.Config, name string, states []string) (Machine, error) + func NewMachineFromInstance(instance types.Instance) Machine + func (m Machine) Host() string + type PolicyDocument struct + Statement []PolicyStatement + Version string + func NewDevsyEC2Policy() PolicyDocument + func NewEC2AssumeRolePolicy() PolicyDocument + func NewSSMKMSDecryptPolicy(kmsArn string) PolicyDocument + type PolicyPrincipal struct + AWS any + Service any + type PolicyStatement struct + Action any + Condition map[string]any + Effect string + Principal *PolicyPrincipal + Resource any + Sid string