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

network

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNetworkDataSource

func NewNetworkDataSource() datasource.DataSource

NewNetworkDataSource is a helper function to simplify the provider implementation.

func NewNetworkResource

func NewNetworkResource() resource.Resource

NewNetworkResource is a helper function to simplify the provider implementation.

Types

type Model

type Model struct {
	Id               types.String `tfsdk:"id"` // needed by TF
	ProjectId        types.String `tfsdk:"project_id"`
	NetworkId        types.String `tfsdk:"network_id"`
	Name             types.String `tfsdk:"name"`
	Nameservers      types.List   `tfsdk:"nameservers"`
	IPv4PrefixLength types.Int64  `tfsdk:"ipv4_prefix_length"`
	Prefixes         types.List   `tfsdk:"prefixes"`
	PublicIP         types.String `tfsdk:"public_ip"`
}

Jump to

Keyboard shortcuts

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