Documentation ¶
Index ¶
- func ConstCountriesDataSourceSchema(ctx context.Context) schema.Schema
- func SdkToTerraform(ctx context.Context, l []models.ConstCountry) (basetypes.SetValue, diag.Diagnostics)
- type ConstCountriesModel
- type ConstCountriesType
- func (t ConstCountriesType) Equal(o attr.Type) bool
- func (t ConstCountriesType) String() string
- func (t ConstCountriesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t ConstCountriesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t ConstCountriesType) ValueType(ctx context.Context) attr.Value
- type ConstCountriesValue
- func NewConstCountriesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ConstCountriesValue, diag.Diagnostics)
- func NewConstCountriesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ConstCountriesValue
- func NewConstCountriesValueNull() ConstCountriesValue
- func NewConstCountriesValueUnknown() ConstCountriesValue
- func (v ConstCountriesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v ConstCountriesValue) Equal(o attr.Value) bool
- func (v ConstCountriesValue) IsNull() bool
- func (v ConstCountriesValue) IsUnknown() bool
- func (v ConstCountriesValue) String() string
- func (v ConstCountriesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v ConstCountriesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v ConstCountriesValue) 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 ConstCountriesModel ¶
type ConstCountriesType ¶
type ConstCountriesType struct {
basetypes.ObjectType
}
func (ConstCountriesType) String ¶
func (t ConstCountriesType) String() string
func (ConstCountriesType) ValueFromObject ¶
func (t ConstCountriesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (ConstCountriesType) ValueFromTerraform ¶
type ConstCountriesValue ¶
type ConstCountriesValue 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 NewConstCountriesValue ¶
func NewConstCountriesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ConstCountriesValue, diag.Diagnostics)
func NewConstCountriesValueNull ¶
func NewConstCountriesValueNull() ConstCountriesValue
func NewConstCountriesValueUnknown ¶
func NewConstCountriesValueUnknown() ConstCountriesValue
func (ConstCountriesValue) AttributeTypes ¶
func (ConstCountriesValue) IsNull ¶
func (v ConstCountriesValue) IsNull() bool
func (ConstCountriesValue) IsUnknown ¶
func (v ConstCountriesValue) IsUnknown() bool
func (ConstCountriesValue) String ¶
func (v ConstCountriesValue) String() string
func (ConstCountriesValue) ToObjectValue ¶
func (v ConstCountriesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (ConstCountriesValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.