datasource_group

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GroupDataSourceSchema

func GroupDataSourceSchema(ctx context.Context) schema.Schema

Types

type GroupModel

type GroupModel struct {
	Group GroupValue   `tfsdk:"group"`
	Id    types.String `tfsdk:"id"`
}

type GroupType

type GroupType struct {
	basetypes.ObjectType
}

func (GroupType) Equal

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

func (GroupType) String

func (t GroupType) String() string

func (GroupType) ValueFromObject

func (GroupType) ValueFromTerraform

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

func (GroupType) ValueType

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

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 NewGroupValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) GroupValue

func NewGroupValueNull

func NewGroupValueNull() GroupValue

func NewGroupValueUnknown

func NewGroupValueUnknown() GroupValue

func (GroupValue) AttributeTypes

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

func (GroupValue) Equal

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

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 (GroupValue) ToTerraformValue

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

func (GroupValue) Type

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

Jump to

Keyboard shortcuts

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