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

network

package
v1.34.15 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() datasource.DataSource

New returns a new configured data source

Types

type DataSource

type DataSource struct {
	// contains filtered or unexported fields
}

DataSource is the exported data source

func (*DataSource) Configure

Configure configures the data source client

func (*DataSource) Metadata

Metadata returns data resource metadata

func (DataSource) Read

Read - lifecycle function

func (*DataSource) Schema

Schema returns terraform schema structure

type Network

type Network struct {
	ID             types.String `tfsdk:"id"`
	Name           types.String `tfsdk:"name"`
	NameServers    types.List   `tfsdk:"nameservers"`
	NetworkID      types.String `tfsdk:"network_id"`
	Prefixes       types.List   `tfsdk:"prefixes"`
	PrefixLengthV4 types.Int64  `tfsdk:"prefix_length_v4"`
	PublicIp       types.String `tfsdk:"public_ip"`
	ProjectID      types.String `tfsdk:"project_id"`
}

Network is the schema model

Jump to

Keyboard shortcuts

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