datasource_countries

package
v0.1.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountriesDataSourceSchema

func CountriesDataSourceSchema(ctx context.Context) schema.Schema

Types

type CountriesModel

type CountriesModel struct {
	Countries types.Set `tfsdk:"countries"`
}

type CountriesType

type CountriesType struct {
	basetypes.ObjectType
}

func (CountriesType) Equal

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

func (CountriesType) String

func (t CountriesType) String() string

func (CountriesType) ValueFromObject

func (CountriesType) ValueFromTerraform

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

func (CountriesType) ValueType

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

type CountriesValue

type CountriesValue struct {
	Alpha2    basetypes.StringValue `tfsdk:"alpha2"`
	Certified basetypes.BoolValue   `tfsdk:"certified"`
	Name      basetypes.StringValue `tfsdk:"name"`
	Numeric   basetypes.NumberValue `tfsdk:"numeric"`
	// contains filtered or unexported fields
}

func NewCountriesValue

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

func NewCountriesValueMust

func NewCountriesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) CountriesValue

func NewCountriesValueNull

func NewCountriesValueNull() CountriesValue

func NewCountriesValueUnknown

func NewCountriesValueUnknown() CountriesValue

func (CountriesValue) AttributeTypes

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

func (CountriesValue) Equal

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

func (CountriesValue) IsNull

func (v CountriesValue) IsNull() bool

func (CountriesValue) IsUnknown

func (v CountriesValue) IsUnknown() bool

func (CountriesValue) String

func (v CountriesValue) String() string

func (CountriesValue) ToObjectValue

func (CountriesValue) ToTerraformValue

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

func (CountriesValue) Type

func (v CountriesValue) Type(ctx context.Context) attr.Type

Jump to

Keyboard shortcuts

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