alitasks

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DiskResource = "disk"
	DiskType     = ecs.DiskTypeAllData
)

Disk represents a ALI Cloud Disk

View Source
const ListenerRunningStatus = "running"
View Source
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) 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) SetName

func (o *Disk) SetName(name string)

SetName sets the Name of the object, implementing fi.SetName

func (*Disk) String

func (o *Disk) String() string

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

func (*Disk) UnmarshalJSON

func (o *Disk) UnmarshalJSON(data []byte) error

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

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

func (o *RAMPolicy) SetName(name string)

SetName sets the Name of the object, implementing fi.SetName

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() *terraform.Literal

func (*RAMPolicy) UnmarshalJSON

func (o *RAMPolicy) UnmarshalJSON(data []byte) error

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

func (o *RAMRole) SetName(name string)

SetName sets the Name of the object, implementing fi.SetName

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() *terraform.Literal

func (*RAMRole) UnmarshalJSON

func (o *RAMRole) UnmarshalJSON(data []byte) error

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 (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) SetName

func (o *SSHKey) SetName(name string)

SetName sets the Name of the object, implementing fi.SetName

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() *terraform.Literal

func (*SSHKey) UnmarshalJSON

func (o *SSHKey) UnmarshalJSON(data []byte) error

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

type VPC struct {
	Name      *string
	Lifecycle *fi.Lifecycle

	ID     *string
	Region *string
	CIDR   *string
	Shared *bool
}

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

func (o *VPC) SetName(name string)

SetName sets the Name of the object, implementing fi.SetName

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() *terraform.Literal

func (*VPC) UnmarshalJSON

func (o *VPC) UnmarshalJSON(data []byte) error

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
	Shared    *bool
}

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

func (o *VSwitch) SetName(name string)

SetName sets the Name of the object, implementing fi.SetName

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() *terraform.Literal

func (*VSwitch) UnmarshalJSON

func (o *VSwitch) UnmarshalJSON(data []byte) error

UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string

Jump to

Keyboard shortcuts

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