utils

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSecurityGroup

func CreateSecurityGroup(
	ctx context.Context,
	sess *session.Session,
	name string,
	vpcId *string,
	ports ...int,
) (*string, error)

func DefaultSubnets

func DefaultSubnets(ctx context.Context, sess *session.Session) ([]*string, *string, error)

func GetSession added in v0.1.3

func GetSession(c *SessionConfig) (*session.Session, error)

Types

type SessionConfig added in v0.1.3

type SessionConfig struct {
	Region string
}

Jump to

Keyboard shortcuts

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