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

staticroute

package
v0.104.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStaticRouteDatasource

func NewStaticRouteDatasource() datasource.DataSource

func NewStaticRouteResource

func NewStaticRouteResource() resource.Resource

Types

type DataSourceModel

type DataSourceModel struct {
	SharedModel
	Timeouts timeouts.Value `tfsdk:"timeouts"`
}

type Destination

type Destination struct {
	Type  types.String `tfsdk:"type"`
	Value types.String `tfsdk:"value"`
}

type Model

type Model struct {
	SharedModel
	Timeouts timeouts.Value `tfsdk:"timeouts"`
}

type Nexthop

type Nexthop struct {
	Type  types.String `tfsdk:"type"`
	Value types.String `tfsdk:"value"`
}

type SharedModel

type SharedModel struct {
	Id             types.String `tfsdk:"id"` // needed by TF
	ProjectId      types.String `tfsdk:"project_id"`
	VpcId          types.String `tfsdk:"vpc_id"`
	RoutingTableId types.String `tfsdk:"routing_table_id"`
	RouteId        types.String `tfsdk:"route_id"`
	Region         types.String `tfsdk:"region"`
	Destination    types.Object `tfsdk:"destination"`
	Nexthop        types.Object `tfsdk:"nexthop"`
	Labels         types.Map    `tfsdk:"labels"`
}

Jump to

Keyboard shortcuts

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