Help us shape the future of Go! Take the 2026 Go Developer Survey

gateway

package
v0.121.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGatewayResource

func NewGatewayResource() resource.Resource

func NewVPNGatewayDataSource

func NewVPNGatewayDataSource() datasource.DataSource

Types

type AvailabilityZonesModel

type AvailabilityZonesModel struct {
	Tunnel1 types.String `tfsdk:"tunnel1"`
	Tunnel2 types.String `tfsdk:"tunnel2"`
}

type BGPGatewayConfigModel

type BGPGatewayConfigModel struct {
	LocalAsn                 types.Int64 `tfsdk:"local_asn"`
	OverrideAdvertisedRoutes types.List  `tfsdk:"override_advertised_routes"`
}

type Model

type Model struct {
	Id                types.String            `tfsdk:"id"` // needed by TF
	GatewayId         types.String            `tfsdk:"gateway_id"`
	ProjectId         types.String            `tfsdk:"project_id"`
	Region            types.String            `tfsdk:"region"`
	DisplayName       types.String            `tfsdk:"display_name"`
	PlanId            types.String            `tfsdk:"plan_id"`
	RoutingType       types.String            `tfsdk:"routing_type"`
	AvailabilityZones *AvailabilityZonesModel `tfsdk:"availability_zones"`
	Bgp               *BGPGatewayConfigModel  `tfsdk:"bgp"`
	NetworkConfig     types.Object            `tfsdk:"network_config"`
	Labels            types.Map               `tfsdk:"labels"`
}

type NetworkConfigModel added in v0.115.0

type NetworkConfigModel struct {
	PredefinedNetworkPrefix types.String `tfsdk:"predefined_network_prefix"`
	RoutingTableId          types.String `tfsdk:"routing_table_id"`
}

Jump to

Keyboard shortcuts

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