datasource_region

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegionDataSourceSchema

func RegionDataSourceSchema(ctx context.Context) schema.Schema

Types

type RegionModel

type RegionModel struct {
	Country        types.String        `tfsdk:"country"`
	Description    types.String        `tfsdk:"description"`
	Name           types.String        `tfsdk:"name"`
	RegionProvider RegionProviderValue `tfsdk:"region_provider"`
}

type RegionProviderType

type RegionProviderType struct {
	basetypes.ObjectType
}

func (RegionProviderType) Equal

func (t RegionProviderType) Equal(o attr.Type) bool

func (RegionProviderType) String

func (t RegionProviderType) String() string

func (RegionProviderType) ValueFromObject

func (RegionProviderType) ValueFromTerraform

func (t RegionProviderType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (RegionProviderType) ValueType

func (t RegionProviderType) ValueType(ctx context.Context) attr.Value

type RegionProviderValue

type RegionProviderValue struct {
	ProviderType basetypes.StringValue `tfsdk:"provider_type"`
	RegionName   basetypes.StringValue `tfsdk:"region_name"`
	// contains filtered or unexported fields
}

func NewRegionProviderValue

func NewRegionProviderValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (RegionProviderValue, diag.Diagnostics)

func NewRegionProviderValueMust

func NewRegionProviderValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) RegionProviderValue

func NewRegionProviderValueNull

func NewRegionProviderValueNull() RegionProviderValue

func NewRegionProviderValueUnknown

func NewRegionProviderValueUnknown() RegionProviderValue

func (RegionProviderValue) AttributeTypes

func (v RegionProviderValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (RegionProviderValue) Equal

func (v RegionProviderValue) Equal(o attr.Value) bool

func (RegionProviderValue) IsNull

func (v RegionProviderValue) IsNull() bool

func (RegionProviderValue) IsUnknown

func (v RegionProviderValue) IsUnknown() bool

func (RegionProviderValue) String

func (v RegionProviderValue) String() string

func (RegionProviderValue) ToObjectValue

func (RegionProviderValue) ToTerraformValue

func (v RegionProviderValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (RegionProviderValue) Type

Jump to

Keyboard shortcuts

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