Versions in this module Expand all Collapse all v1 v1.0.4 Dec 4, 2021 Changes in this version type Aws + func (p *Aws) GetBlueId() (*lightsail.GetBlueprintsOutput, error) v1.0.3 Nov 18, 2021 Changes in this version + type AgaInfo struct + Arn string + Ip []*aga.IpSet + Name *string + Port []*aga.PortOverride + Protocol *string + Status *string + type Aws struct + Sess *session.Session + func New(Region string, Id string, Secret string, Proxy string) (*Aws, error) + func (p *Aws) ChangeEc2Ip(InstanceId string) (*string, error) + func (p *Aws) ChangeLsIp(Name string) error + func (p *Aws) ChangeQuota(ServiceCode string, QuotaCode string, DesiredValue float64) error + func (p *Aws) CreateAga(Name string, Region string, InstanceId string) (*AgaInfo, error) + func (p *Aws) CreateEc2(Ami string, Ec2Type string, Name string, DiskSize int64) (*Ec2Info, error) + func (p *Aws) CreateEc2Wl(SubId string, Ami string, Name string, DiskSize int64) (*Ec2Info, error) + func (p *Aws) CreateLs(Name string, Region string, BlueId string, BundleId string) (*LsInfo, error) + func (p *Aws) CreateWl(Zone string) (string, error) + func (p *Aws) DeleteAga(AcceleratorArn string) error + func (p *Aws) DeleteEc2(InstanceId string) error + func (p *Aws) DeleteLs(Name string) error + func (p *Aws) GetAmiId(AmiName string) (string, error) + func (p *Aws) GetEc2Info(InstanceId string) (*Ec2Info, error) + func (p *Aws) GetLsInfo(Name string) (*LsInfo, error) + func (p *Aws) GetQuota(ServiceCode string, QuotaCode string) (*quota.ServiceQuota, error) + func (p *Aws) GetWindowsPassword(InstanceId string) (*ec2.GetPasswordDataOutput, error) + func (p *Aws) ListAga() ([]*aga.Accelerator, error) + func (p *Aws) ListChangeQuota(ServiceCode string, QuotaCode string) ([]*quota.RequestedServiceQuotaChange, error) + func (p *Aws) ListEc2() ([]*ec2.Reservation, error) + func (p *Aws) ListLs() ([]*lightsail.Instance, error) + func (p *Aws) RebootEc2(InstanceId string) error + func (p *Aws) StartEc2(InstanceId string) error + func (p *Aws) StartLs(Name string) error + func (p *Aws) StopEc2(InstanceId string) error + func (p *Aws) StopLs(Name string) error + func (p Aws) GetSubnetInfo() (*ec2.DescribeSubnetsOutput, error) + type Ec2Info struct + InstanceId *string + Ip *string + Key *string + Name *string + Status *string + type LsInfo struct + Ip *string + IpName *string + Key *string + Name *string + Status *string