location

package
v1.2.11 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeoModel

type GeoModel struct {
	Lat       types.Float32 `tfsdk:"lat"`
	Lon       types.Float32 `tfsdk:"lon"`
	Country   types.String  `tfsdk:"country"`
	State     types.String  `tfsdk:"state"`
	City      types.String  `tfsdk:"city"`
	Continent types.String  `tfsdk:"continent"`
}

func (GeoModel) AttributeTypes

func (g GeoModel) AttributeTypes() attr.Type

type LocationModel

type LocationModel struct {
	CplnId        types.String `tfsdk:"cpln_id"`
	Name          types.String `tfsdk:"name"`
	Description   types.String `tfsdk:"description"`
	Tags          types.Map    `tfsdk:"tags"`
	SelfLink      types.String `tfsdk:"self_link"`
	CloudProvider types.String `tfsdk:"cloud_provider"`
	Region        types.String `tfsdk:"region"`
	Enabled       types.Bool   `tfsdk:"enabled"`
	Geo           types.List   `tfsdk:"geo"`
	IpRanges      types.Set    `tfsdk:"ip_ranges"`
}

func (LocationModel) AttributeTypes

func (l LocationModel) AttributeTypes() attr.Type

Jump to

Keyboard shortcuts

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