aws

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 Ec2Bin = "chaos_aws_ec2"

Variables

This section is empty.

Functions

func CreateConfig

func CreateConfig(accessKeyId, accessKeySecret, regionId string) (aws.Config, error)

func NewAwsCommandSpec

func NewAwsCommandSpec() spec.ExpModelCommandSpec

func NewEcsActionSpec

func NewEcsActionSpec() spec.ExpActionCommandSpec

Types

type AwsCommandSpec

type AwsCommandSpec struct {
	spec.BaseExpModelCommandSpec
}

func (*AwsCommandSpec) LongDesc

func (*AwsCommandSpec) LongDesc() string

func (*AwsCommandSpec) Name

func (*AwsCommandSpec) Name() string

func (*AwsCommandSpec) ShortDesc

func (*AwsCommandSpec) ShortDesc() string

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)

Jump to

Keyboard shortcuts

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