vpc

package
v0.0.0-...-af43c55 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	CreateVpc(ctx context.Context,
		input *ec2.CreateVpcInput,
		opts ...func(*ec2.Options),
	) (*ec2.CreateVpcOutput, error)
}

Client is the interface used for VPC management

type External

type External struct {
	Client ec2.Client
}

External holds VPC management

func NewExternal

func NewExternal(cfg config.Config) *External

NewExternal returns a new client for VPC management

func (*External) CreateVpc

func (c *External) CreateVpc(
	ctx context.Context,
	input *ec2.CreateVpcInput,
	opts ...func(*ec2.Options),
) (*ec2.CreateVpcOutput, error)

CreateVpc creates an AWS VPC resource

Jump to

Keyboard shortcuts

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