Documentation
¶
Index ¶
- Constants
- func RetainLaunchConfigurationCount() int
- type AclEntry
- 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) String() string
- type EIP
- func (_ *EIP) CheckChanges(a, e, changes *EIP) error
- func (e *EIP) CompareWithID() *string
- func (e *EIP) Find(c *fi.Context) (*EIP, error)
- func (o *EIP) GetLifecycle() fi.Lifecycle
- func (o *EIP) GetName() *string
- func (_ *EIP) RenderALI(t *aliup.ALIAPITarget, a, e, changes *EIP) error
- func (_ *EIP) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *EIP) error
- func (e *EIP) Run(c *fi.Context) error
- func (o *EIP) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *EIP) String() string
- func (e *EIP) TerraformLink() *terraformWriter.Literal
- 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 (e *LaunchConfiguration) FindDeletions(c *fi.Context) ([]fi.Deletion, 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) String() string
- func (l *LaunchConfiguration) TerraformLink() *terraformWriter.Literal
- 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 (l *LoadBalancer) IsForAPIServer() bool
- 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) String() string
- func (l *LoadBalancer) TerraformLink() *terraformWriter.Literal
- type LoadBalancerACL
- func (_ *LoadBalancerACL) CheckChanges(a, e, changes *LoadBalancerACL) error
- func (l *LoadBalancerACL) CompareWithID() *string
- func (l *LoadBalancerACL) Find(c *fi.Context) (*LoadBalancerACL, error)
- func (o *LoadBalancerACL) GetLifecycle() fi.Lifecycle
- func (o *LoadBalancerACL) GetName() *string
- func (l *LoadBalancerACL) Normalize()
- func (_ *LoadBalancerACL) RenderALI(t *aliup.ALIAPITarget, a, e, changes *LoadBalancerACL) error
- func (_ *LoadBalancerACL) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LoadBalancerACL) error
- func (l *LoadBalancerACL) Run(c *fi.Context) error
- func (o *LoadBalancerACL) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LoadBalancerACL) String() string
- 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) String() string
- func (s *LoadBalancerListener) TerraformLink() *terraformWriter.Literal
- type NatGateway
- func (s *NatGateway) CheckChanges(a, e, changes *NatGateway) error
- func (e *NatGateway) CompareWithID() *string
- func (e *NatGateway) Find(c *fi.Context) (*NatGateway, error)
- func (o *NatGateway) GetLifecycle() fi.Lifecycle
- func (o *NatGateway) GetName() *string
- func (_ *NatGateway) RenderALI(t *aliup.ALIAPITarget, a, e, changes *NatGateway) error
- func (_ *NatGateway) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *NatGateway) error
- func (e *NatGateway) Run(c *fi.Context) error
- func (o *NatGateway) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *NatGateway) String() string
- func (e *NatGateway) TerraformLink() *terraformWriter.Literal
- 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) String() string
- func (s *RAMPolicy) TerraformLink() *terraformWriter.Literal
- 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) String() string
- func (s *RAMRole) TerraformLink() *terraformWriter.Literal
- 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) String() string
- func (s *SSHKey) TerraformLink() *terraformWriter.Literal
- 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) String() string
- func (a *ScalingGroup) TerraformLink() *terraformWriter.Literal
- 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) String() string
- func (l *SecurityGroup) TerraformLink() *terraformWriter.Literal
- 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) String() string
- func (l *SecurityGroupRule) TerraformLink() *terraformWriter.Literal
- type StringPointers
- 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) String() string
- func (e *VPC) TerraformLink() *terraformWriter.Literal
- 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) String() string
- func (v *VSwitch) TerraformLink() *terraformWriter.Literal
- type VSwitchSNAT
- func (v *VSwitchSNAT) CheckChanges(a, e, changes *VSwitchSNAT) error
- func (v *VSwitchSNAT) CompareWithID() *string
- func (v *VSwitchSNAT) Find(c *fi.Context) (*VSwitchSNAT, error)
- func (o *VSwitchSNAT) GetLifecycle() fi.Lifecycle
- func (o *VSwitchSNAT) GetName() *string
- func (_ *VSwitchSNAT) RenderALI(t *aliup.ALIAPITarget, a, e, changes *VSwitchSNAT) error
- func (_ *VSwitchSNAT) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *VSwitchSNAT) error
- func (v *VSwitchSNAT) Run(c *fi.Context) error
- func (o *VSwitchSNAT) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *VSwitchSNAT) String() string
Constants ¶
const (
DiskResource = "disk"
DiskType = ecs.DiskTypeAllData
)
const ListenerRunningStatus = "running"
const (
NatType = "Nat"
)
const SecurityResource = "securitygroup"
Variables ¶
This section is empty.
Functions ¶
func RetainLaunchConfigurationCount ¶ added in v1.18.0
func RetainLaunchConfigurationCount() int
RetainLaunchConfigurationCount returns the number of launch configurations to keep
Types ¶
type AclEntry ¶ added in v1.19.0
type AclEntry struct {
Entry string `json:"entry"`
Comment string `json:"comment"`
}
type Disk ¶
type Disk struct {
Lifecycle fi.Lifecycle
Name *string
DiskId *string
ZoneId *string
DiskCategory *string
Encrypted *bool
SizeGB *int
Tags map[string]string
}
Disk represents an ALI Cloud Disk. +kops:fitask
func (*Disk) CheckChanges ¶
func (_ *Disk) CheckChanges(a, e, changes *Disk) error
func (*Disk) CompareWithID ¶
func (d *Disk) CompareWithID() *string
func (*Disk) GetLifecycle ¶
func (o *Disk) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Disk) GetName ¶
func (o *Disk) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
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 ¶
func (o *Disk) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
type EIP ¶ added in v1.15.1
type EIP struct {
Name *string
Lifecycle fi.Lifecycle
Region *string
ID *string
IpAddress *string
NatGateway *NatGateway
Available *bool
}
+kops:fitask
func (*EIP) CheckChanges ¶ added in v1.15.1
func (_ *EIP) CheckChanges(a, e, changes *EIP) error
func (*EIP) CompareWithID ¶ added in v1.15.1
func (e *EIP) CompareWithID() *string
func (*EIP) GetLifecycle ¶ added in v1.15.1
func (o *EIP) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*EIP) GetName ¶ added in v1.15.1
func (o *EIP) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*EIP) RenderALI ¶ added in v1.15.1
func (_ *EIP) RenderALI(t *aliup.ALIAPITarget, a, e, changes *EIP) error
func (*EIP) RenderTerraform ¶ added in v1.15.1
func (_ *EIP) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *EIP) error
func (*EIP) SetLifecycle ¶ added in v1.15.1
func (o *EIP) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*EIP) String ¶ added in v1.15.1
func (o *EIP) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*EIP) TerraformLink ¶ added in v1.15.1
func (e *EIP) TerraformLink() *terraformWriter.Literal
type LaunchConfiguration ¶
type LaunchConfiguration struct {
Lifecycle fi.Lifecycle
ID *string
Name *string
ImageID *string
InstanceType *string
SystemDiskSize *int
SystemDiskCategory *string
RAMRole *RAMRole
ScalingGroup *ScalingGroup
SSHKey *SSHKey
UserData fi.Resource
SecurityGroup *SecurityGroup
Tags map[string]string
}
LaunchConfiguration is the specification for a launch configuration +kops:fitask
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) FindDeletions ¶ added in v1.18.0
func (e *LaunchConfiguration) FindDeletions(c *fi.Context) ([]fi.Deletion, 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) 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() *terraformWriter.Literal
type LoadBalancer ¶
type LoadBalancer struct {
Name *string
LoadbalancerId *string
AddressType *string
VSwitchId *string
LoadBalancerAddress *string
Lifecycle fi.Lifecycle
Tags map[string]string
ForAPIServer bool
}
LoadBalancer represents a ALI Cloud LoadBalancer +kops:fitask
func (*LoadBalancer) CheckChanges ¶
func (_ *LoadBalancer) CheckChanges(a, e, changes *LoadBalancer) error
func (*LoadBalancer) CompareWithID ¶
func (l *LoadBalancer) CompareWithID() *string
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) IsForAPIServer ¶ added in v1.19.0
func (l *LoadBalancer) IsForAPIServer() bool
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) 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() *terraformWriter.Literal
type LoadBalancerACL ¶ added in v1.19.0
type LoadBalancerACL struct {
ID *string
Name *string
LoadBalancer *LoadBalancer
LoadBalancerListener *LoadBalancerListener
SourceItems []*string
Lifecycle fi.Lifecycle
}
+kops:fitask
func (*LoadBalancerACL) CheckChanges ¶ added in v1.19.0
func (_ *LoadBalancerACL) CheckChanges(a, e, changes *LoadBalancerACL) error
func (*LoadBalancerACL) CompareWithID ¶ added in v1.19.0
func (l *LoadBalancerACL) CompareWithID() *string
func (*LoadBalancerACL) Find ¶ added in v1.19.0
func (l *LoadBalancerACL) Find(c *fi.Context) (*LoadBalancerACL, error)
func (*LoadBalancerACL) GetLifecycle ¶ added in v1.19.0
func (o *LoadBalancerACL) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*LoadBalancerACL) GetName ¶ added in v1.19.0
func (o *LoadBalancerACL) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*LoadBalancerACL) RenderALI ¶ added in v1.19.0
func (_ *LoadBalancerACL) RenderALI(t *aliup.ALIAPITarget, a, e, changes *LoadBalancerACL) error
func (*LoadBalancerACL) RenderTerraform ¶ added in v1.19.0
func (_ *LoadBalancerACL) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LoadBalancerACL) error
func (*LoadBalancerACL) SetLifecycle ¶ added in v1.19.0
func (o *LoadBalancerACL) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
type LoadBalancerListener ¶
type LoadBalancerListener struct {
LoadBalancer *LoadBalancer
Name *string
ListenerPort *int
BackendServerPort *int
Lifecycle fi.Lifecycle
ListenerStatus *string
Bandwidth *int
}
+kops:fitask
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) 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() *terraformWriter.Literal
type NatGateway ¶ added in v1.15.1
type NatGateway struct {
Name *string
Lifecycle fi.Lifecycle
VPC *VPC
Region *string
ID *string
}
+kops:fitask
func (*NatGateway) CheckChanges ¶ added in v1.15.1
func (s *NatGateway) CheckChanges(a, e, changes *NatGateway) error
func (*NatGateway) CompareWithID ¶ added in v1.15.1
func (e *NatGateway) CompareWithID() *string
func (*NatGateway) Find ¶ added in v1.15.1
func (e *NatGateway) Find(c *fi.Context) (*NatGateway, error)
func (*NatGateway) GetLifecycle ¶ added in v1.15.1
func (o *NatGateway) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*NatGateway) GetName ¶ added in v1.15.1
func (o *NatGateway) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*NatGateway) RenderALI ¶ added in v1.15.1
func (_ *NatGateway) RenderALI(t *aliup.ALIAPITarget, a, e, changes *NatGateway) error
func (*NatGateway) RenderTerraform ¶ added in v1.15.1
func (_ *NatGateway) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *NatGateway) error
func (*NatGateway) SetLifecycle ¶ added in v1.15.1
func (o *NatGateway) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*NatGateway) String ¶ added in v1.15.1
func (o *NatGateway) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*NatGateway) TerraformLink ¶ added in v1.15.1
func (e *NatGateway) TerraformLink() *terraformWriter.Literal
type RAMPolicy ¶
type RAMPolicy struct {
Lifecycle fi.Lifecycle
Name *string
RamRole *RAMRole
PolicyType *string
PolicyDocument fi.Resource
}
+kops:fitask
func (*RAMPolicy) CheckChanges ¶
func (_ *RAMPolicy) CheckChanges(a, e, changes *RAMPolicy) error
func (*RAMPolicy) CompareWithID ¶
func (r *RAMPolicy) CompareWithID() *string
func (*RAMPolicy) GetLifecycle ¶
func (o *RAMPolicy) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*RAMPolicy) GetName ¶
func (o *RAMPolicy) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
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 ¶
func (o *RAMPolicy) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*RAMPolicy) String ¶
func (o *RAMPolicy) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*RAMPolicy) TerraformLink ¶
func (s *RAMPolicy) TerraformLink() *terraformWriter.Literal
type RAMRole ¶
type RAMRole struct {
ID *string
Lifecycle fi.Lifecycle
Name *string
AssumeRolePolicyDocument *string
}
+kops:fitask
func (*RAMRole) CheckChanges ¶
func (_ *RAMRole) CheckChanges(a, e, changes *RAMRole) error
func (*RAMRole) CompareWithID ¶
func (r *RAMRole) CompareWithID() *string
func (*RAMRole) GetLifecycle ¶
func (o *RAMRole) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*RAMRole) GetName ¶
func (o *RAMRole) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
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 ¶
func (o *RAMRole) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*RAMRole) String ¶
func (o *RAMRole) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*RAMRole) TerraformLink ¶
func (s *RAMRole) TerraformLink() *terraformWriter.Literal
type SSHKey ¶
type SSHKey struct {
Name *string
Lifecycle fi.Lifecycle
PublicKey fi.Resource
KeyPairFingerPrint *string
}
+kops:fitask
func (*SSHKey) CheckChanges ¶
func (s *SSHKey) CheckChanges(a, e, changes *SSHKey) error
func (*SSHKey) CompareWithID ¶
func (s *SSHKey) CompareWithID() *string
func (*SSHKey) GetLifecycle ¶
func (o *SSHKey) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*SSHKey) GetName ¶
func (o *SSHKey) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
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 ¶
func (o *SSHKey) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*SSHKey) String ¶
func (o *SSHKey) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*SSHKey) TerraformLink ¶
func (s *SSHKey) TerraformLink() *terraformWriter.Literal
type ScalingGroup ¶
type ScalingGroup struct {
Name *string
Lifecycle fi.Lifecycle
ScalingGroupId *string
LoadBalancer *LoadBalancer
VSwitchs []*VSwitch
MinSize *int
MaxSize *int
Active *bool
}
+kops:fitask
func (*ScalingGroup) CheckChanges ¶
func (_ *ScalingGroup) CheckChanges(a, e, changes *ScalingGroup) error
func (*ScalingGroup) CompareWithID ¶
func (s *ScalingGroup) CompareWithID() *string
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) 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() *terraformWriter.Literal
type SecurityGroup ¶
type SecurityGroup struct {
Name *string
SecurityGroupId *string
Lifecycle fi.Lifecycle
VPC *VPC
Tags map[string]string
}
+kops:fitask
func (*SecurityGroup) CheckChanges ¶
func (_ *SecurityGroup) CheckChanges(a, e, changes *SecurityGroup) error
func (*SecurityGroup) CompareWithID ¶
func (s *SecurityGroup) CompareWithID() *string
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) 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() *terraformWriter.Literal
type SecurityGroupRule ¶
type SecurityGroupRule struct {
Name *string
IpProtocol *string
SourceCidrIp *string
SecurityGroup *SecurityGroup
SourceGroup *SecurityGroup
Lifecycle fi.Lifecycle
PortRange *string
In *bool
}
+kops:fitask
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) 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() *terraformWriter.Literal
type StringPointers ¶ added in v1.19.0
type StringPointers []*string
StringPointers implements sort.Interface for []*string
type VPC ¶
type VPC struct {
Name *string
Lifecycle fi.Lifecycle
ID *string
Region *string
CIDR *string
Shared *bool
Tags map[string]string
}
+kops:fitask
func (*VPC) CheckChanges ¶
func (s *VPC) CheckChanges(a, e, changes *VPC) error
func (*VPC) CompareWithID ¶
func (e *VPC) CompareWithID() *string
func (*VPC) GetLifecycle ¶
func (o *VPC) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*VPC) GetName ¶
func (o *VPC) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*VPC) RenderTerraform ¶
func (_ *VPC) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *VPC) error
func (*VPC) SetLifecycle ¶
func (o *VPC) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*VPC) String ¶
func (o *VPC) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*VPC) TerraformLink ¶
func (e *VPC) TerraformLink() *terraformWriter.Literal
type VSwitch ¶
type VSwitch struct {
Name *string
VSwitchId *string
Lifecycle fi.Lifecycle
ZoneId *string
CidrBlock *string
Region *common.Region
VPC *VPC
Shared *bool
}
+kops:fitask
func (*VSwitch) CheckChanges ¶
func (v *VSwitch) CheckChanges(a, e, changes *VSwitch) error
func (*VSwitch) CompareWithID ¶
func (v *VSwitch) CompareWithID() *string
func (*VSwitch) GetLifecycle ¶
func (o *VSwitch) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*VSwitch) GetName ¶
func (o *VSwitch) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
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 ¶
func (o *VSwitch) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*VSwitch) String ¶
func (o *VSwitch) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*VSwitch) TerraformLink ¶
func (v *VSwitch) TerraformLink() *terraformWriter.Literal
type VSwitchSNAT ¶ added in v1.15.1
type VSwitchSNAT struct {
Name *string
Lifecycle fi.Lifecycle
ID *string
VSwitch *VSwitch
NatGateway *NatGateway
EIP *EIP
SnatTableId *string
// Shared is set if this is a shared VSwitch
Shared *bool
}
+kops:fitask
func (*VSwitchSNAT) CheckChanges ¶ added in v1.15.1
func (v *VSwitchSNAT) CheckChanges(a, e, changes *VSwitchSNAT) error
func (*VSwitchSNAT) CompareWithID ¶ added in v1.15.1
func (v *VSwitchSNAT) CompareWithID() *string
func (*VSwitchSNAT) Find ¶ added in v1.15.1
func (v *VSwitchSNAT) Find(c *fi.Context) (*VSwitchSNAT, error)
func (*VSwitchSNAT) GetLifecycle ¶ added in v1.15.1
func (o *VSwitchSNAT) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*VSwitchSNAT) GetName ¶ added in v1.15.1
func (o *VSwitchSNAT) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*VSwitchSNAT) RenderALI ¶ added in v1.15.1
func (_ *VSwitchSNAT) RenderALI(t *aliup.ALIAPITarget, a, e, changes *VSwitchSNAT) error
func (*VSwitchSNAT) RenderTerraform ¶ added in v1.15.1
func (_ *VSwitchSNAT) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *VSwitchSNAT) error
func (*VSwitchSNAT) SetLifecycle ¶ added in v1.15.1
func (o *VSwitchSNAT) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
Source Files
¶
- disk.go
- disk_fitask.go
- eip_fitask.go
- eip_natgateway_association.go
- launchconfiguration.go
- launchconfiguration_fitask.go
- loadbalancer.go
- loadbalancer_fitask.go
- loadbalanceracl.go
- loadbalanceracl_fitask.go
- loadbalancerlistener.go
- loadbalancerlistener_fitask.go
- natgateway.go
- natgateway_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
- vswitchSNAT.go
- vswitch_fitask.go
- vswitchsnat_fitask.go