network

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connectivity

type Connectivity int
const (
	ON Connectivity = iota
	OFF
)

type NetworkArgs added in v0.9.7

type NetworkArgs struct {
	Prefix string
	ID     string
	Region string
	AZ     string
	// Create a load balancer
	// If !airgap lb will be public facing
	// If airgap lb will be internal
	CreateLoadBalancer      bool
	Airgap                  bool
	AirgapPhaseConnectivity Connectivity
}

type NetworkResult added in v0.9.7

type NetworkResult struct {
	Vpc                         *ec2.Vpc
	Subnet                      *ec2.Subnet
	SubnetRouteTableAssociation *ec2.RouteTableAssociation
	Eip                         *ec2.Eip
	LoadBalancer                *lb.LoadBalancer
	// If Airgap true on args
	Bastion *bastion.BastionResult
}

func Create added in v0.9.7

func Create(ctx *pulumi.Context, mCtx *mc.Context, args *NetworkArgs) (*NetworkResult, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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