Documentation ¶
Index ¶
- func GroupDataSourceSchema(ctx context.Context) schema.Schema
- type GroupModel
- type GroupType
- func (t GroupType) Equal(o attr.Type) bool
- func (t GroupType) String() string
- func (t GroupType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t GroupType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t GroupType) ValueType(ctx context.Context) attr.Value
- type GroupValue
- func NewGroupValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (GroupValue, diag.Diagnostics)
- func NewGroupValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) GroupValue
- func NewGroupValueNull() GroupValue
- func NewGroupValueUnknown() GroupValue
- func (v GroupValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v GroupValue) Equal(o attr.Value) bool
- func (v GroupValue) IsNull() bool
- func (v GroupValue) IsUnknown() bool
- func (v GroupValue) String() string
- func (v GroupValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v GroupValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v GroupValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GroupModel ¶
type GroupModel struct { Group GroupValue `tfsdk:"group"` Id types.String `tfsdk:"id"` }
type GroupType ¶
type GroupType struct {
basetypes.ObjectType
}
func (GroupType) ValueFromObject ¶
func (t GroupType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (GroupType) ValueFromTerraform ¶
type GroupValue ¶
type GroupValue struct { Archived basetypes.BoolValue `tfsdk:"archived"` Locations basetypes.ListValue `tfsdk:"locations"` Name basetypes.StringValue `tfsdk:"name"` Primary basetypes.StringValue `tfsdk:"primary"` Uuid basetypes.StringValue `tfsdk:"uuid"` Version basetypes.StringValue `tfsdk:"version"` // contains filtered or unexported fields }
func NewGroupValue ¶
func NewGroupValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (GroupValue, diag.Diagnostics)
func NewGroupValueMust ¶
func NewGroupValueNull ¶
func NewGroupValueNull() GroupValue
func NewGroupValueUnknown ¶
func NewGroupValueUnknown() GroupValue
func (GroupValue) AttributeTypes ¶
func (GroupValue) IsNull ¶
func (v GroupValue) IsNull() bool
func (GroupValue) IsUnknown ¶
func (v GroupValue) IsUnknown() bool
func (GroupValue) String ¶
func (v GroupValue) String() string
func (GroupValue) ToObjectValue ¶
func (v GroupValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (GroupValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.