workflows

package
v0.0.0-...-b468ac1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DestroyDemoNetworkWorkflow

func DestroyDemoNetworkWorkflow(ctx workflow.Context, input DestroyDemoNetworkInput) error

func DestroySubnetsActivity

func DestroySubnetsActivity(ctx context.Context, input DestroyDemoNetworkInput) error

func DestroyVPCActivity

func DestroyVPCActivity(ctx context.Context, input DestroyDemoNetworkInput) error

func Register

func Register(w worker.Worker)

Types

type CreateDemoNetworkInput

type CreateDemoNetworkInput struct {
	Name      string
	Region    string
	CIDRBlock string
	Subnets   []Subnet
}

type CreateDemoNetworkOutput

type CreateDemoNetworkOutput struct {
	VpcID string
}

type CreateSubnetsInput

type CreateSubnetsInput struct {
	Name    string
	Region  string
	VpcID   string
	Subnets []Subnet
}

type CreateSubnetsOutput

type CreateSubnetsOutput struct{}

func CreateSubnetsActivity

func CreateSubnetsActivity(ctx context.Context, input CreateSubnetsInput) (CreateSubnetsOutput, error)

type CreateVPCInput

type CreateVPCInput struct {
	Name      string
	Region    string
	CIDRBlock string
}

type CreateVPCOutput

type CreateVPCOutput struct {
	VpcID string
}

func CreateVPCActivity

func CreateVPCActivity(ctx context.Context, input CreateVPCInput) (CreateVPCOutput, error)

type DestroyDemoNetworkInput

type DestroyDemoNetworkInput struct {
	Name   string
	Region string
}

type Subnet

type Subnet struct {
	AvailabilityZone string
	CIDRBlock        string
}

Jump to

Keyboard shortcuts

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