Documentation ¶
Index ¶
- func Create(ctx context.Context, cfg aws.Config, providerAws *AwsProvider) (*ec2.RunInstancesOutput, error)
- func CreateDevpodInstanceProfile(ctx context.Context, provider *AwsProvider) (string, error)
- func CreateDevpodSecurityGroup(ctx context.Context, provider *AwsProvider) (string, error)
- func Delete(ctx context.Context, cfg aws.Config, instanceID 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 GetDevpodInstance(ctx context.Context, cfg aws.Config, name string) (*ec2.DescribeInstancesOutput, error)
- func GetDevpodInstanceProfile(ctx context.Context, provider *AwsProvider) (string, error)
- func GetDevpodRunningInstance(ctx context.Context, cfg aws.Config, name string) (*ec2.DescribeInstancesOutput, error)
- func GetDevpodSecurityGroups(ctx context.Context, provider *AwsProvider) ([]string, error)
- func GetDevpodStoppedInstance(ctx context.Context, cfg aws.Config, name string) (*ec2.DescribeInstancesOutput, error)
- func GetDevpodVPC(ctx context.Context, provider *AwsProvider) (string, error)
- func GetInjectKeypairScript(dir string) (string, error)
- func GetInstanceTags(providerAws *AwsProvider) []types.TagSpecification
- func GetSubnetID(ctx context.Context, provider *AwsProvider) (string, error)
- func Start(ctx context.Context, cfg aws.Config, instanceID string) error
- func Status(ctx context.Context, cfg aws.Config, name string) (client.Status, error)
- func Stop(ctx context.Context, cfg aws.Config, instanceID string) error
- type AwsProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create( ctx context.Context, cfg aws.Config, providerAws *AwsProvider, ) (*ec2.RunInstancesOutput, error)
func CreateDevpodInstanceProfile ¶ added in v0.0.3
func CreateDevpodInstanceProfile(ctx context.Context, provider *AwsProvider) (string, error)
func CreateDevpodSecurityGroup ¶
func CreateDevpodSecurityGroup(ctx context.Context, provider *AwsProvider) (string, error)
func GetAMIRootDevice ¶ added in v0.0.9
func GetDefaultAMI ¶
func GetDevpodInstance ¶
func GetDevpodInstanceProfile ¶ added in v0.0.3
func GetDevpodInstanceProfile(ctx context.Context, provider *AwsProvider) (string, error)
func GetDevpodSecurityGroups ¶ added in v0.0.8
func GetDevpodSecurityGroups(ctx context.Context, provider *AwsProvider) ([]string, error)
func GetDevpodVPC ¶ added in v0.0.3
func GetDevpodVPC(ctx context.Context, provider *AwsProvider) (string, error)
func GetInjectKeypairScript ¶
func GetInstanceTags ¶ added in v0.0.5
func GetInstanceTags(providerAws *AwsProvider) []types.TagSpecification
func GetSubnetID ¶ added in v0.0.6
func GetSubnetID(ctx context.Context, provider *AwsProvider) (string, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.