Documentation ¶
Index ¶
- Constants
- type Disk
- func (_ *Disk) CheckChanges(a, e, changes *Disk) error
- func (d *Disk) CompareWithID() *string
- func (d *Disk) Find(c *fi.Context) (*Disk, error)
- func (o *Disk) GetLifecycle() *fi.Lifecycle
- func (o *Disk) GetName() *string
- func (_ *Disk) RenderALI(t *aliup.ALIAPITarget, a, e, changes *Disk) error
- func (_ *Disk) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Disk) error
- func (d *Disk) Run(c *fi.Context) error
- func (o *Disk) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Disk) SetName(name string)
- func (o *Disk) String() string
- func (o *Disk) UnmarshalJSON(data []byte) error
- type LaunchConfiguration
- func (_ *LaunchConfiguration) CheckChanges(a, e, changes *LaunchConfiguration) error
- func (l *LaunchConfiguration) CompareWithID() *string
- func (l *LaunchConfiguration) Find(c *fi.Context) (*LaunchConfiguration, error)
- func (o *LaunchConfiguration) GetLifecycle() *fi.Lifecycle
- func (o *LaunchConfiguration) GetName() *string
- func (_ *LaunchConfiguration) RenderALI(t *aliup.ALIAPITarget, a, e, changes *LaunchConfiguration) error
- func (_ *LaunchConfiguration) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LaunchConfiguration) error
- func (l *LaunchConfiguration) Run(c *fi.Context) error
- func (o *LaunchConfiguration) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LaunchConfiguration) SetName(name string)
- func (o *LaunchConfiguration) String() string
- func (l *LaunchConfiguration) TerraformLink() *terraform.Literal
- func (o *LaunchConfiguration) UnmarshalJSON(data []byte) error
- type LoadBalancer
- func (_ *LoadBalancer) CheckChanges(a, e, changes *LoadBalancer) error
- func (l *LoadBalancer) CompareWithID() *string
- func (l *LoadBalancer) Find(c *fi.Context) (*LoadBalancer, error)
- func (l *LoadBalancer) FindIPAddress(context *fi.Context) (*string, error)
- func (o *LoadBalancer) GetLifecycle() *fi.Lifecycle
- func (o *LoadBalancer) GetName() *string
- func (_ *LoadBalancer) RenderALI(t *aliup.ALIAPITarget, a, e, changes *LoadBalancer) error
- func (_ *LoadBalancer) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LoadBalancer) error
- func (l *LoadBalancer) Run(c *fi.Context) error
- func (o *LoadBalancer) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LoadBalancer) SetName(name string)
- func (o *LoadBalancer) String() string
- func (l *LoadBalancer) TerraformLink() *terraform.Literal
- func (o *LoadBalancer) UnmarshalJSON(data []byte) error
- type LoadBalancerListener
- func (_ *LoadBalancerListener) CheckChanges(a, e, changes *LoadBalancerListener) error
- func (l *LoadBalancerListener) CompareWithID() *string
- func (l *LoadBalancerListener) Find(c *fi.Context) (*LoadBalancerListener, error)
- func (o *LoadBalancerListener) GetLifecycle() *fi.Lifecycle
- func (o *LoadBalancerListener) GetName() *string
- func (_ *LoadBalancerListener) RenderALI(t *aliup.ALIAPITarget, a, e, changes *LoadBalancerListener) error
- func (_ *LoadBalancerListener) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LoadBalancerListener) error
- func (l *LoadBalancerListener) Run(c *fi.Context) error
- func (o *LoadBalancerListener) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LoadBalancerListener) SetName(name string)
- func (o *LoadBalancerListener) String() string
- func (s *LoadBalancerListener) TerraformLink() *terraform.Literal
- func (o *LoadBalancerListener) UnmarshalJSON(data []byte) error
- type LoadBalancerWhiteList
- func (_ *LoadBalancerWhiteList) CheckChanges(a, e, changes *LoadBalancerWhiteList) error
- func (l *LoadBalancerWhiteList) CompareWithID() *string
- func (l *LoadBalancerWhiteList) Find(c *fi.Context) (*LoadBalancerWhiteList, error)
- func (o *LoadBalancerWhiteList) GetLifecycle() *fi.Lifecycle
- func (o *LoadBalancerWhiteList) GetName() *string
- func (_ *LoadBalancerWhiteList) RenderALI(t *aliup.ALIAPITarget, a, e, changes *LoadBalancerWhiteList) error
- func (_ *LoadBalancerWhiteList) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LoadBalancerWhiteList) error
- func (l *LoadBalancerWhiteList) Run(c *fi.Context) error
- func (o *LoadBalancerWhiteList) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LoadBalancerWhiteList) SetName(name string)
- func (o *LoadBalancerWhiteList) String() string
- func (o *LoadBalancerWhiteList) UnmarshalJSON(data []byte) error
- type RAMPolicy
- func (_ *RAMPolicy) CheckChanges(a, e, changes *RAMPolicy) error
- func (r *RAMPolicy) CompareWithID() *string
- func (r *RAMPolicy) Find(c *fi.Context) (*RAMPolicy, error)
- func (o *RAMPolicy) GetLifecycle() *fi.Lifecycle
- func (o *RAMPolicy) GetName() *string
- func (_ *RAMPolicy) RenderALI(t *aliup.ALIAPITarget, a, e, changes *RAMPolicy) error
- func (_ *RAMPolicy) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *RAMPolicy) error
- func (r *RAMPolicy) Run(c *fi.Context) error
- func (o *RAMPolicy) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *RAMPolicy) SetName(name string)
- func (o *RAMPolicy) String() string
- func (s *RAMPolicy) TerraformLink() *terraform.Literal
- func (o *RAMPolicy) UnmarshalJSON(data []byte) error
- type RAMRole
- func (_ *RAMRole) CheckChanges(a, e, changes *RAMRole) error
- func (r *RAMRole) CompareWithID() *string
- func (r *RAMRole) Find(c *fi.Context) (*RAMRole, error)
- func (o *RAMRole) GetLifecycle() *fi.Lifecycle
- func (o *RAMRole) GetName() *string
- func (_ *RAMRole) RenderALI(t *aliup.ALIAPITarget, a, e, changes *RAMRole) error
- func (_ *RAMRole) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *RAMRole) error
- func (r *RAMRole) Run(c *fi.Context) error
- func (o *RAMRole) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *RAMRole) SetName(name string)
- func (o *RAMRole) String() string
- func (s *RAMRole) TerraformLink() *terraform.Literal
- func (o *RAMRole) UnmarshalJSON(data []byte) error
- type SSHKey
- func (s *SSHKey) CheckChanges(a, e, changes *SSHKey) error
- func (s *SSHKey) CompareWithID() *string
- func (s *SSHKey) Find(c *fi.Context) (*SSHKey, error)
- func (o *SSHKey) GetLifecycle() *fi.Lifecycle
- func (o *SSHKey) GetName() *string
- func (_ *SSHKey) RenderALI(t *aliup.ALIAPITarget, a, e, changes *SSHKey) error
- func (_ *SSHKey) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *SSHKey) error
- func (s *SSHKey) Run(c *fi.Context) error
- func (o *SSHKey) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *SSHKey) SetName(name string)
- func (o *SSHKey) String() string
- func (s *SSHKey) TerraformLink() *terraform.Literal
- func (o *SSHKey) UnmarshalJSON(data []byte) error
- type ScalingGroup
- func (_ *ScalingGroup) CheckChanges(a, e, changes *ScalingGroup) error
- func (s *ScalingGroup) CompareWithID() *string
- func (s *ScalingGroup) Find(c *fi.Context) (*ScalingGroup, error)
- func (o *ScalingGroup) GetLifecycle() *fi.Lifecycle
- func (o *ScalingGroup) GetName() *string
- func (_ *ScalingGroup) RenderALI(t *aliup.ALIAPITarget, a, e, changes *ScalingGroup) error
- func (_ *ScalingGroup) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *ScalingGroup) error
- func (a *ScalingGroup) Run(c *fi.Context) error
- func (o *ScalingGroup) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *ScalingGroup) SetName(name string)
- func (o *ScalingGroup) String() string
- func (a *ScalingGroup) TerraformLink() *terraform.Literal
- func (o *ScalingGroup) UnmarshalJSON(data []byte) error
- type SecurityGroup
- func (_ *SecurityGroup) CheckChanges(a, e, changes *SecurityGroup) error
- func (s *SecurityGroup) CompareWithID() *string
- func (s *SecurityGroup) Find(c *fi.Context) (*SecurityGroup, error)
- func (o *SecurityGroup) GetLifecycle() *fi.Lifecycle
- func (o *SecurityGroup) GetName() *string
- func (_ *SecurityGroup) RenderALI(t *aliup.ALIAPITarget, a, e, changes *SecurityGroup) error
- func (_ *SecurityGroup) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *SecurityGroup) error
- func (s *SecurityGroup) Run(c *fi.Context) error
- func (o *SecurityGroup) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *SecurityGroup) SetName(name string)
- func (o *SecurityGroup) String() string
- func (l *SecurityGroup) TerraformLink() *terraform.Literal
- func (o *SecurityGroup) UnmarshalJSON(data []byte) error
- type SecurityGroupRule
- func (_ *SecurityGroupRule) CheckChanges(a, e, changes *SecurityGroupRule) error
- func (s *SecurityGroupRule) CompareWithID() *string
- func (s *SecurityGroupRule) Find(c *fi.Context) (*SecurityGroupRule, error)
- func (o *SecurityGroupRule) GetLifecycle() *fi.Lifecycle
- func (o *SecurityGroupRule) GetName() *string
- func (_ *SecurityGroupRule) RenderALI(t *aliup.ALIAPITarget, a, e, changes *SecurityGroupRule) error
- func (_ *SecurityGroupRule) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *SecurityGroupRule) error
- func (s *SecurityGroupRule) Run(c *fi.Context) error
- func (o *SecurityGroupRule) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *SecurityGroupRule) SetName(name string)
- func (o *SecurityGroupRule) String() string
- func (l *SecurityGroupRule) TerraformLink() *terraform.Literal
- func (o *SecurityGroupRule) UnmarshalJSON(data []byte) error
- type VPC
- func (s *VPC) CheckChanges(a, e, changes *VPC) error
- func (e *VPC) CompareWithID() *string
- func (e *VPC) Find(c *fi.Context) (*VPC, error)
- func (o *VPC) GetLifecycle() *fi.Lifecycle
- func (o *VPC) GetName() *string
- func (_ *VPC) RenderALI(t *aliup.ALIAPITarget, a, e, changes *VPC) error
- func (_ *VPC) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *VPC) error
- func (e *VPC) Run(c *fi.Context) error
- func (o *VPC) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *VPC) SetName(name string)
- func (o *VPC) String() string
- func (e *VPC) TerraformLink() *terraform.Literal
- func (o *VPC) UnmarshalJSON(data []byte) error
- type VSwitch
- func (v *VSwitch) CheckChanges(a, e, changes *VSwitch) error
- func (v *VSwitch) CompareWithID() *string
- func (v *VSwitch) Find(c *fi.Context) (*VSwitch, error)
- func (o *VSwitch) GetLifecycle() *fi.Lifecycle
- func (o *VSwitch) GetName() *string
- func (_ *VSwitch) RenderALI(t *aliup.ALIAPITarget, a, e, changes *VSwitch) error
- func (_ *VSwitch) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *VSwitch) error
- func (v *VSwitch) Run(c *fi.Context) error
- func (o *VSwitch) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *VSwitch) SetName(name string)
- func (o *VSwitch) String() string
- func (v *VSwitch) TerraformLink() *terraform.Literal
- func (o *VSwitch) UnmarshalJSON(data []byte) error
Constants ¶
const ( DiskResource = "disk" DiskType = ecs.DiskTypeAllData )
Disk represents a ALI Cloud Disk
const ListenerRunningStatus = "running"
const SecurityResource = "securitygroup"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Disk ¶
type Disk struct { Lifecycle *fi.Lifecycle Name *string DiskId *string ZoneId *string DiskCategory *string Encrypted *bool SizeGB *int Tags map[string]string }
func (*Disk) CheckChanges ¶
func (*Disk) CompareWithID ¶
func (*Disk) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Disk) RenderALI ¶
func (_ *Disk) RenderALI(t *aliup.ALIAPITarget, a, e, changes *Disk) error
Disk can only modify tags.
func (*Disk) RenderTerraform ¶
func (_ *Disk) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Disk) error
func (*Disk) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*Disk) String ¶
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*Disk) UnmarshalJSON ¶
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type LaunchConfiguration ¶
type LaunchConfiguration struct { Lifecycle *fi.Lifecycle Name *string ConfigurationId *string ImageId *string InstanceType *string SystemDiskSize *int SystemDiskCategory *string RAMRole *RAMRole ScalingGroup *ScalingGroup SSHKey *SSHKey UserData *fi.ResourceHolder SecurityGroup *SecurityGroup Tags map[string]string }
func (*LaunchConfiguration) CheckChanges ¶
func (_ *LaunchConfiguration) CheckChanges(a, e, changes *LaunchConfiguration) error
func (*LaunchConfiguration) CompareWithID ¶
func (l *LaunchConfiguration) CompareWithID() *string
func (*LaunchConfiguration) Find ¶
func (l *LaunchConfiguration) Find(c *fi.Context) (*LaunchConfiguration, error)
func (*LaunchConfiguration) GetLifecycle ¶
func (o *LaunchConfiguration) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*LaunchConfiguration) GetName ¶
func (o *LaunchConfiguration) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*LaunchConfiguration) RenderALI ¶
func (_ *LaunchConfiguration) RenderALI(t *aliup.ALIAPITarget, a, e, changes *LaunchConfiguration) error
func (*LaunchConfiguration) RenderTerraform ¶
func (_ *LaunchConfiguration) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LaunchConfiguration) error
func (*LaunchConfiguration) SetLifecycle ¶
func (o *LaunchConfiguration) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*LaunchConfiguration) SetName ¶
func (o *LaunchConfiguration) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*LaunchConfiguration) String ¶
func (o *LaunchConfiguration) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*LaunchConfiguration) TerraformLink ¶
func (l *LaunchConfiguration) TerraformLink() *terraform.Literal
func (*LaunchConfiguration) UnmarshalJSON ¶
func (o *LaunchConfiguration) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type LoadBalancer ¶
type LoadBalancer struct { Name *string LoadbalancerId *string AddressType *string LoadBalancerAddress *string Lifecycle *fi.Lifecycle Tags map[string]string }
func (*LoadBalancer) CheckChanges ¶
func (_ *LoadBalancer) CheckChanges(a, e, changes *LoadBalancer) error
func (*LoadBalancer) CompareWithID ¶
func (l *LoadBalancer) CompareWithID() *string
func (*LoadBalancer) Find ¶
func (l *LoadBalancer) Find(c *fi.Context) (*LoadBalancer, error)
func (*LoadBalancer) FindIPAddress ¶
func (l *LoadBalancer) FindIPAddress(context *fi.Context) (*string, error)
func (*LoadBalancer) GetLifecycle ¶
func (o *LoadBalancer) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*LoadBalancer) GetName ¶
func (o *LoadBalancer) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*LoadBalancer) RenderALI ¶
func (_ *LoadBalancer) RenderALI(t *aliup.ALIAPITarget, a, e, changes *LoadBalancer) error
LoadBalancer can only modify tags.
func (*LoadBalancer) RenderTerraform ¶
func (_ *LoadBalancer) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LoadBalancer) error
func (*LoadBalancer) SetLifecycle ¶
func (o *LoadBalancer) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*LoadBalancer) SetName ¶
func (o *LoadBalancer) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*LoadBalancer) String ¶
func (o *LoadBalancer) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*LoadBalancer) TerraformLink ¶
func (l *LoadBalancer) TerraformLink() *terraform.Literal
func (*LoadBalancer) UnmarshalJSON ¶
func (o *LoadBalancer) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type LoadBalancerListener ¶
type LoadBalancerListener struct { LoadBalancer *LoadBalancer Name *string ListenerPort *int BackendServerPort *int Lifecycle *fi.Lifecycle ListenerStatus *string Bandwidth *int }
func (*LoadBalancerListener) CheckChanges ¶
func (_ *LoadBalancerListener) CheckChanges(a, e, changes *LoadBalancerListener) error
func (*LoadBalancerListener) CompareWithID ¶
func (l *LoadBalancerListener) CompareWithID() *string
func (*LoadBalancerListener) Find ¶
func (l *LoadBalancerListener) Find(c *fi.Context) (*LoadBalancerListener, error)
func (*LoadBalancerListener) GetLifecycle ¶
func (o *LoadBalancerListener) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*LoadBalancerListener) GetName ¶
func (o *LoadBalancerListener) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*LoadBalancerListener) RenderALI ¶
func (_ *LoadBalancerListener) RenderALI(t *aliup.ALIAPITarget, a, e, changes *LoadBalancerListener) error
LoadBalancer can only modify tags.
func (*LoadBalancerListener) RenderTerraform ¶
func (_ *LoadBalancerListener) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LoadBalancerListener) error
func (*LoadBalancerListener) SetLifecycle ¶
func (o *LoadBalancerListener) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*LoadBalancerListener) SetName ¶
func (o *LoadBalancerListener) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*LoadBalancerListener) String ¶
func (o *LoadBalancerListener) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*LoadBalancerListener) TerraformLink ¶
func (s *LoadBalancerListener) TerraformLink() *terraform.Literal
func (*LoadBalancerListener) UnmarshalJSON ¶
func (o *LoadBalancerListener) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type LoadBalancerWhiteList ¶
type LoadBalancerWhiteList struct { LoadBalancer *LoadBalancer LoadBalancerListener *LoadBalancerListener Name *string SourceItems *string Lifecycle *fi.Lifecycle }
func (*LoadBalancerWhiteList) CheckChanges ¶
func (_ *LoadBalancerWhiteList) CheckChanges(a, e, changes *LoadBalancerWhiteList) error
func (*LoadBalancerWhiteList) CompareWithID ¶
func (l *LoadBalancerWhiteList) CompareWithID() *string
func (*LoadBalancerWhiteList) Find ¶
func (l *LoadBalancerWhiteList) Find(c *fi.Context) (*LoadBalancerWhiteList, error)
func (*LoadBalancerWhiteList) GetLifecycle ¶
func (o *LoadBalancerWhiteList) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*LoadBalancerWhiteList) GetName ¶
func (o *LoadBalancerWhiteList) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*LoadBalancerWhiteList) RenderALI ¶
func (_ *LoadBalancerWhiteList) RenderALI(t *aliup.ALIAPITarget, a, e, changes *LoadBalancerWhiteList) error
func (*LoadBalancerWhiteList) RenderTerraform ¶
func (_ *LoadBalancerWhiteList) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LoadBalancerWhiteList) error
func (*LoadBalancerWhiteList) SetLifecycle ¶
func (o *LoadBalancerWhiteList) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*LoadBalancerWhiteList) SetName ¶
func (o *LoadBalancerWhiteList) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*LoadBalancerWhiteList) String ¶
func (o *LoadBalancerWhiteList) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*LoadBalancerWhiteList) UnmarshalJSON ¶
func (o *LoadBalancerWhiteList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type RAMPolicy ¶
type RAMPolicy struct { Lifecycle *fi.Lifecycle Name *string PolicyDocument *string RamRole *RAMRole PolicyType *string }
func (*RAMPolicy) CheckChanges ¶
func (*RAMPolicy) CompareWithID ¶
func (*RAMPolicy) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*RAMPolicy) RenderALI ¶
func (_ *RAMPolicy) RenderALI(t *aliup.ALIAPITarget, a, e, changes *RAMPolicy) error
func (*RAMPolicy) RenderTerraform ¶
func (_ *RAMPolicy) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *RAMPolicy) error
func (*RAMPolicy) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*RAMPolicy) String ¶
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*RAMPolicy) TerraformLink ¶
func (*RAMPolicy) UnmarshalJSON ¶
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type RAMRole ¶
type RAMRole struct { Lifecycle *fi.Lifecycle Name *string AssumeRolePolicyDocument *string RAMRoleId *string }
func (*RAMRole) CheckChanges ¶
func (*RAMRole) CompareWithID ¶
func (*RAMRole) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*RAMRole) RenderALI ¶
func (_ *RAMRole) RenderALI(t *aliup.ALIAPITarget, a, e, changes *RAMRole) error
func (*RAMRole) RenderTerraform ¶
func (_ *RAMRole) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *RAMRole) error
func (*RAMRole) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*RAMRole) String ¶
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*RAMRole) TerraformLink ¶
func (*RAMRole) UnmarshalJSON ¶
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type SSHKey ¶
type SSHKey struct { Name *string Lifecycle *fi.Lifecycle PublicKey *fi.ResourceHolder KeyPairFingerPrint *string }
func (*SSHKey) CheckChanges ¶
func (*SSHKey) CompareWithID ¶
func (*SSHKey) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*SSHKey) RenderALI ¶
func (_ *SSHKey) RenderALI(t *aliup.ALIAPITarget, a, e, changes *SSHKey) error
func (*SSHKey) RenderTerraform ¶
func (_ *SSHKey) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *SSHKey) error
func (*SSHKey) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*SSHKey) String ¶
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*SSHKey) TerraformLink ¶
func (*SSHKey) UnmarshalJSON ¶
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type ScalingGroup ¶
type ScalingGroup struct { Name *string Lifecycle *fi.Lifecycle ScalingGroupId *string LoadBalancer *LoadBalancer VSwitchs []*VSwitch MinSize *int MaxSize *int Active *bool }
func (*ScalingGroup) CheckChanges ¶
func (_ *ScalingGroup) CheckChanges(a, e, changes *ScalingGroup) error
func (*ScalingGroup) CompareWithID ¶
func (s *ScalingGroup) CompareWithID() *string
func (*ScalingGroup) Find ¶
func (s *ScalingGroup) Find(c *fi.Context) (*ScalingGroup, error)
func (*ScalingGroup) GetLifecycle ¶
func (o *ScalingGroup) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*ScalingGroup) GetName ¶
func (o *ScalingGroup) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*ScalingGroup) RenderALI ¶
func (_ *ScalingGroup) RenderALI(t *aliup.ALIAPITarget, a, e, changes *ScalingGroup) error
func (*ScalingGroup) RenderTerraform ¶
func (_ *ScalingGroup) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *ScalingGroup) error
func (*ScalingGroup) SetLifecycle ¶
func (o *ScalingGroup) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*ScalingGroup) SetName ¶
func (o *ScalingGroup) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*ScalingGroup) String ¶
func (o *ScalingGroup) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*ScalingGroup) TerraformLink ¶
func (a *ScalingGroup) TerraformLink() *terraform.Literal
func (*ScalingGroup) UnmarshalJSON ¶
func (o *ScalingGroup) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type SecurityGroup ¶
type SecurityGroup struct { Name *string SecurityGroupId *string Lifecycle *fi.Lifecycle VPC *VPC Tags map[string]string }
func (*SecurityGroup) CheckChanges ¶
func (_ *SecurityGroup) CheckChanges(a, e, changes *SecurityGroup) error
func (*SecurityGroup) CompareWithID ¶
func (s *SecurityGroup) CompareWithID() *string
func (*SecurityGroup) Find ¶
func (s *SecurityGroup) Find(c *fi.Context) (*SecurityGroup, error)
func (*SecurityGroup) GetLifecycle ¶
func (o *SecurityGroup) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*SecurityGroup) GetName ¶
func (o *SecurityGroup) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*SecurityGroup) RenderALI ¶
func (_ *SecurityGroup) RenderALI(t *aliup.ALIAPITarget, a, e, changes *SecurityGroup) error
func (*SecurityGroup) RenderTerraform ¶
func (_ *SecurityGroup) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *SecurityGroup) error
func (*SecurityGroup) SetLifecycle ¶
func (o *SecurityGroup) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*SecurityGroup) SetName ¶
func (o *SecurityGroup) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*SecurityGroup) String ¶
func (o *SecurityGroup) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*SecurityGroup) TerraformLink ¶
func (l *SecurityGroup) TerraformLink() *terraform.Literal
func (*SecurityGroup) UnmarshalJSON ¶
func (o *SecurityGroup) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type SecurityGroupRule ¶
type SecurityGroupRule struct { Name *string IpProtocol *string SourceCidrIp *string SecurityGroup *SecurityGroup SourceGroup *SecurityGroup Lifecycle *fi.Lifecycle PortRange *string In *bool }
func (*SecurityGroupRule) CheckChanges ¶
func (_ *SecurityGroupRule) CheckChanges(a, e, changes *SecurityGroupRule) error
func (*SecurityGroupRule) CompareWithID ¶
func (s *SecurityGroupRule) CompareWithID() *string
func (*SecurityGroupRule) Find ¶
func (s *SecurityGroupRule) Find(c *fi.Context) (*SecurityGroupRule, error)
func (*SecurityGroupRule) GetLifecycle ¶
func (o *SecurityGroupRule) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*SecurityGroupRule) GetName ¶
func (o *SecurityGroupRule) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*SecurityGroupRule) RenderALI ¶
func (_ *SecurityGroupRule) RenderALI(t *aliup.ALIAPITarget, a, e, changes *SecurityGroupRule) error
func (*SecurityGroupRule) RenderTerraform ¶
func (_ *SecurityGroupRule) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *SecurityGroupRule) error
func (*SecurityGroupRule) SetLifecycle ¶
func (o *SecurityGroupRule) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*SecurityGroupRule) SetName ¶
func (o *SecurityGroupRule) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*SecurityGroupRule) String ¶
func (o *SecurityGroupRule) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*SecurityGroupRule) TerraformLink ¶
func (l *SecurityGroupRule) TerraformLink() *terraform.Literal
func (*SecurityGroupRule) UnmarshalJSON ¶
func (o *SecurityGroupRule) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type VPC ¶
func (*VPC) CheckChanges ¶
func (*VPC) CompareWithID ¶
func (*VPC) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*VPC) RenderTerraform ¶
func (_ *VPC) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *VPC) error
func (*VPC) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*VPC) String ¶
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*VPC) TerraformLink ¶
func (*VPC) UnmarshalJSON ¶
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type VSwitch ¶
type VSwitch struct { Name *string VSwitchId *string Lifecycle *fi.Lifecycle ZoneId *string CidrBlock *string Region *common.Region VPC *VPC }
func (*VSwitch) CheckChanges ¶
func (*VSwitch) CompareWithID ¶
func (*VSwitch) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*VSwitch) RenderALI ¶
func (_ *VSwitch) RenderALI(t *aliup.ALIAPITarget, a, e, changes *VSwitch) error
func (*VSwitch) RenderTerraform ¶
func (_ *VSwitch) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *VSwitch) error
func (*VSwitch) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*VSwitch) String ¶
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*VSwitch) TerraformLink ¶
func (*VSwitch) UnmarshalJSON ¶
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
Source Files ¶
- disk.go
- disk_fitask.go
- launchconfiguration.go
- launchconfiguration_fitask.go
- loadbalancer.go
- loadbalancer_fitask.go
- loadbalancerlistener.go
- loadbalancerlistener_fitask.go
- loadbalancerwhitelist.go
- loadbalancerwhitelist_fitask.go
- rampolicy.go
- rampolicy_fitask.go
- ramrole.go
- ramrole_fitask.go
- scalinggroup.go
- scalinggroup_fitask.go
- securitygroup.go
- securitygroup_fitask.go
- securitygrouprule.go
- securitygrouprule_fitask.go
- sshkey.go
- sshkey_fitask.go
- vpc.go
- vpc_fitask.go
- vswitch.go
- vswitch_fitask.go