vpcs

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListVPCs

func ListVPCs(ctx context.Context, client *linodego.Client, filter string) ([]any, error)

func NewDataSource

func NewDataSource() datasource.DataSource

Types

type DataSource

type DataSource struct {
	helper.BaseDataSource
}

func (*DataSource) Read

type VPCFilterModel

type VPCFilterModel struct {
	ID      types.String                     `tfsdk:"id"`
	Filters frameworkfilter.FiltersModelType `tfsdk:"filter"`
	VPCs    []vpc.VPCModel                   `tfsdk:"vpcs"`
}

VPCFilterModel describes the Terraform resource data model to match the resource schema.

func (*VPCFilterModel) FlattenVPCs added in v2.11.0

func (model *VPCFilterModel) FlattenVPCs(
	ctx context.Context,
	vpcs []linodego.VPC,
	preserveKnown bool,
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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