alitasks

package
v1.23.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DiskResource = "disk"
	DiskType     = ecs.DiskTypeAllData
)
View Source
const ListenerRunningStatus = "running"
View Source
const (
	NatType = "Nat"
)
View Source
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) Find

func (d *Disk) Find(c *fi.Context) (*Disk, error)

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) Run

func (d *Disk) Run(c *fi.Context) error

func (*Disk) SetLifecycle

func (o *Disk) SetLifecycle(lifecycle fi.Lifecycle)

SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle

func (*Disk) String

func (o *Disk) String() string

String is the stringer function for the task, producing readable output using fi.TaskAsString

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) Find added in v1.15.1

func (e *EIP) Find(c *fi.Context) (*EIP, error)

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) Run added in v1.15.1

func (e *EIP) Run(c *fi.Context) 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 (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 (*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) Run

func (l *LaunchConfiguration) Run(c *fi.Context) 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 (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) 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) 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) Run

func (l *LoadBalancer) Run(c *fi.Context) 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 (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 (*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) Normalize added in v1.19.0

func (l *LoadBalancerACL) Normalize()

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) Run added in v1.19.0

func (l *LoadBalancerACL) Run(c *fi.Context) 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

func (*LoadBalancerACL) String added in v1.19.0

func (o *LoadBalancerACL) String() string

String is the stringer function for the task, producing readable output using fi.TaskAsString

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 (*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) Run

func (l *LoadBalancerListener) Run(c *fi.Context) 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 (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) Run added in v1.15.1

func (e *NatGateway) Run(c *fi.Context) 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 (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) Find

func (r *RAMPolicy) Find(c *fi.Context) (*RAMPolicy, error)

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) Run

func (r *RAMPolicy) Run(c *fi.Context) 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 (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) Find

func (r *RAMRole) Find(c *fi.Context) (*RAMRole, error)

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) Run

func (r *RAMRole) Run(c *fi.Context) 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 (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) Find

func (s *SSHKey) Find(c *fi.Context) (*SSHKey, error)

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) Run

func (s *SSHKey) Run(c *fi.Context) 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 (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) 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) Run

func (a *ScalingGroup) Run(c *fi.Context) 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 (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) 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) Run

func (s *SecurityGroup) Run(c *fi.Context) 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 (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 (*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) Run

func (s *SecurityGroupRule) Run(c *fi.Context) 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 (l *SecurityGroupRule) TerraformLink() *terraformWriter.Literal

type StringPointers added in v1.19.0

type StringPointers []*string

StringPointers implements sort.Interface for []*string

func (StringPointers) Len added in v1.19.0

func (s StringPointers) Len() int

func (StringPointers) Less added in v1.19.0

func (s StringPointers) Less(i, j int) bool

func (StringPointers) Swap added in v1.19.0

func (s StringPointers) Swap(i, j int)

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) Find

func (e *VPC) Find(c *fi.Context) (*VPC, error)

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) RenderALI

func (_ *VPC) RenderALI(t *aliup.ALIAPITarget, a, e, changes *VPC) error

func (*VPC) RenderTerraform

func (_ *VPC) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *VPC) error

func (*VPC) Run

func (e *VPC) Run(c *fi.Context) 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 (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) Find

func (v *VSwitch) Find(c *fi.Context) (*VSwitch, error)

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) Run

func (v *VSwitch) Run(c *fi.Context) 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 (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) Run added in v1.15.1

func (v *VSwitchSNAT) Run(c *fi.Context) 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

func (*VSwitchSNAT) String added in v1.15.1

func (o *VSwitchSNAT) String() string

String is the stringer function for the task, producing readable output using fi.TaskAsString

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL