aliyun

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DiskBin = "chaos_aliyun_disk"
View Source
const EcsBin = "chaos_aliyun_ecs"
View Source
const NetworkInterfaceBin = "chaos_aliyun_networkinterface"
View Source
const PrivateIpBin = "chaos_aliyun_privateip"
View Source
const PublicIpBin = "chaos_aliyun_publicip"
View Source
const SecurityGroupBin = "chaos_aliyun_securitygroup"
View Source
const VSwitchBin = "chaos_aliyun_vswitch"

Variables

This section is empty.

Functions

func CreateClient

func CreateClient(accessKeyId *string, accessKeySecret *string, regionId string) (_result *ecs20140526.Client, _err error)

func NewAliyunCommandSpec

func NewAliyunCommandSpec() spec.ExpModelCommandSpec

func NewDiskActionSpec

func NewDiskActionSpec() spec.ExpActionCommandSpec

func NewEcsActionSpec

func NewEcsActionSpec() spec.ExpActionCommandSpec

func NewNetworkInterfaceActionSpec

func NewNetworkInterfaceActionSpec() spec.ExpActionCommandSpec

func NewPrivateIpActionSpec

func NewPrivateIpActionSpec() spec.ExpActionCommandSpec

func NewPublicIpActionSpec

func NewPublicIpActionSpec() spec.ExpActionCommandSpec

func NewSecurityGroupActionSpec

func NewSecurityGroupActionSpec() spec.ExpActionCommandSpec

func NewVSwitchActionSpec

func NewVSwitchActionSpec() spec.ExpActionCommandSpec

Types

type AliyunCommandSpec

type AliyunCommandSpec struct {
	spec.BaseExpModelCommandSpec
}

func (*AliyunCommandSpec) LongDesc

func (*AliyunCommandSpec) LongDesc() string

func (*AliyunCommandSpec) Name

func (*AliyunCommandSpec) Name() string

func (*AliyunCommandSpec) ShortDesc

func (*AliyunCommandSpec) ShortDesc() string

type DiskActionSpec

type DiskActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*DiskActionSpec) Aliases

func (*DiskActionSpec) Aliases() []string

func (*DiskActionSpec) LongDesc

func (b *DiskActionSpec) LongDesc() string

func (*DiskActionSpec) Name

func (*DiskActionSpec) Name() string

func (*DiskActionSpec) ShortDesc

func (*DiskActionSpec) ShortDesc() string

type DiskExecutor

type DiskExecutor struct {
	// contains filtered or unexported fields
}

func (*DiskExecutor) Exec

func (be *DiskExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*DiskExecutor) Name

func (*DiskExecutor) Name() string

func (*DiskExecutor) SetChannel

func (be *DiskExecutor) SetChannel(channel spec.Channel)

type EcsActionSpec

type EcsActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*EcsActionSpec) Aliases

func (*EcsActionSpec) Aliases() []string

func (*EcsActionSpec) LongDesc

func (b *EcsActionSpec) LongDesc() string

func (*EcsActionSpec) Name

func (*EcsActionSpec) Name() string

func (*EcsActionSpec) ShortDesc

func (*EcsActionSpec) ShortDesc() string

type EcsExecutor

type EcsExecutor struct {
	// contains filtered or unexported fields
}

func (*EcsExecutor) Exec

func (be *EcsExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*EcsExecutor) Name

func (*EcsExecutor) Name() string

func (*EcsExecutor) SetChannel

func (be *EcsExecutor) SetChannel(channel spec.Channel)

type NetworkInterfaceActionSpec

type NetworkInterfaceActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*NetworkInterfaceActionSpec) Aliases

func (*NetworkInterfaceActionSpec) Aliases() []string

func (*NetworkInterfaceActionSpec) LongDesc

func (b *NetworkInterfaceActionSpec) LongDesc() string

func (*NetworkInterfaceActionSpec) Name

func (*NetworkInterfaceActionSpec) ShortDesc

func (*NetworkInterfaceActionSpec) ShortDesc() string

type NetworkInterfaceExecutor

type NetworkInterfaceExecutor struct {
	// contains filtered or unexported fields
}

func (*NetworkInterfaceExecutor) Exec

func (*NetworkInterfaceExecutor) Name

func (*NetworkInterfaceExecutor) SetChannel

func (be *NetworkInterfaceExecutor) SetChannel(channel spec.Channel)

type PrivateIpActionSpec

type PrivateIpActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*PrivateIpActionSpec) Aliases

func (*PrivateIpActionSpec) Aliases() []string

func (*PrivateIpActionSpec) LongDesc

func (b *PrivateIpActionSpec) LongDesc() string

func (*PrivateIpActionSpec) Name

func (*PrivateIpActionSpec) Name() string

func (*PrivateIpActionSpec) ShortDesc

func (*PrivateIpActionSpec) ShortDesc() string

type PrivateIpExecutor

type PrivateIpExecutor struct {
	// contains filtered or unexported fields
}

func (*PrivateIpExecutor) Exec

func (be *PrivateIpExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*PrivateIpExecutor) Name

func (*PrivateIpExecutor) Name() string

func (*PrivateIpExecutor) SetChannel

func (be *PrivateIpExecutor) SetChannel(channel spec.Channel)

type PublicIpActionSpec

type PublicIpActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*PublicIpActionSpec) Aliases

func (*PublicIpActionSpec) Aliases() []string

func (*PublicIpActionSpec) LongDesc

func (b *PublicIpActionSpec) LongDesc() string

func (*PublicIpActionSpec) Name

func (*PublicIpActionSpec) Name() string

func (*PublicIpActionSpec) ShortDesc

func (*PublicIpActionSpec) ShortDesc() string

type PublicIpExecutor

type PublicIpExecutor struct {
	// contains filtered or unexported fields
}

func (*PublicIpExecutor) Exec

func (be *PublicIpExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*PublicIpExecutor) Name

func (*PublicIpExecutor) Name() string

func (*PublicIpExecutor) SetChannel

func (be *PublicIpExecutor) SetChannel(channel spec.Channel)

type SecurityGroupActionSpec

type SecurityGroupActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*SecurityGroupActionSpec) Aliases

func (*SecurityGroupActionSpec) Aliases() []string

func (*SecurityGroupActionSpec) LongDesc

func (b *SecurityGroupActionSpec) LongDesc() string

func (*SecurityGroupActionSpec) Name

func (*SecurityGroupActionSpec) ShortDesc

func (*SecurityGroupActionSpec) ShortDesc() string

type SecurityGroupExecutor

type SecurityGroupExecutor struct {
	// contains filtered or unexported fields
}

func (*SecurityGroupExecutor) Exec

func (be *SecurityGroupExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*SecurityGroupExecutor) Name

func (*SecurityGroupExecutor) Name() string

func (*SecurityGroupExecutor) SetChannel

func (be *SecurityGroupExecutor) SetChannel(channel spec.Channel)

type VSwitchActionSpec

type VSwitchActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*VSwitchActionSpec) Aliases

func (*VSwitchActionSpec) Aliases() []string

func (*VSwitchActionSpec) LongDesc

func (b *VSwitchActionSpec) LongDesc() string

func (*VSwitchActionSpec) Name

func (*VSwitchActionSpec) Name() string

func (*VSwitchActionSpec) ShortDesc

func (*VSwitchActionSpec) ShortDesc() string

type VSwitchExecutor

type VSwitchExecutor struct {
	// contains filtered or unexported fields
}

func (*VSwitchExecutor) Exec

func (be *VSwitchExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*VSwitchExecutor) Name

func (*VSwitchExecutor) Name() string

func (*VSwitchExecutor) SetChannel

func (be *VSwitchExecutor) SetChannel(channel spec.Channel)

Jump to

Keyboard shortcuts

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