Documentation
¶
Index ¶
- func CountriesDataSourceSchema(ctx context.Context) schema.Schema
- func SdkToTerraform(ctx context.Context, l []models.ConstCountry) (basetypes.SetValue, diag.Diagnostics)
- type CountriesModel
- type CountriesType
- func (t CountriesType) Equal(o attr.Type) bool
- func (t CountriesType) String() string
- func (t CountriesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t CountriesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t CountriesType) ValueType(ctx context.Context) attr.Value
- type CountriesValue
- func NewCountriesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (CountriesValue, diag.Diagnostics)
- func NewCountriesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) CountriesValue
- func NewCountriesValueNull() CountriesValue
- func NewCountriesValueUnknown() CountriesValue
- func (v CountriesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v CountriesValue) Equal(o attr.Value) bool
- func (v CountriesValue) IsNull() bool
- func (v CountriesValue) IsUnknown() bool
- func (v CountriesValue) String() string
- func (v CountriesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v CountriesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v CountriesValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SdkToTerraform ¶
func SdkToTerraform(ctx context.Context, l []models.ConstCountry) (basetypes.SetValue, diag.Diagnostics)
Types ¶
type CountriesModel ¶
type CountriesType ¶
type CountriesType struct {
basetypes.ObjectType
}
func (CountriesType) String ¶
func (t CountriesType) String() string
func (CountriesType) ValueFromObject ¶
func (t CountriesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (CountriesType) ValueFromTerraform ¶
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 NewCountriesValueNull ¶
func NewCountriesValueNull() CountriesValue
func NewCountriesValueUnknown ¶
func NewCountriesValueUnknown() CountriesValue
func (CountriesValue) AttributeTypes ¶
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 (v CountriesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (CountriesValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.