resource_group_v2

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GroupV2ResourceSchema

func GroupV2ResourceSchema(ctx context.Context) schema.Schema

Types

type GroupV2Model

type GroupV2Model struct {
	Name types.String `tfsdk:"name"`
	Spec SpecValue    `tfsdk:"spec"`
}

type PermissionsType

type PermissionsType struct {
	basetypes.ObjectType
}

func (PermissionsType) Equal

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

func (PermissionsType) String

func (t PermissionsType) String() string

func (PermissionsType) ValueFromObject

func (PermissionsType) ValueFromTerraform

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

func (PermissionsType) ValueType

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

type PermissionsValue

type PermissionsValue struct {
	Cluster      basetypes.StringValue `tfsdk:"cluster"`
	KafkaConnect basetypes.StringValue `tfsdk:"kafka_connect"`
	Name         basetypes.StringValue `tfsdk:"name"`
	PatternType  basetypes.StringValue `tfsdk:"pattern_type"`
	Permissions  basetypes.SetValue    `tfsdk:"permissions"`
	ResourceType basetypes.StringValue `tfsdk:"resource_type"`
	// contains filtered or unexported fields
}

func NewPermissionsValue

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

func NewPermissionsValueMust

func NewPermissionsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PermissionsValue

func NewPermissionsValueNull

func NewPermissionsValueNull() PermissionsValue

func NewPermissionsValueUnknown

func NewPermissionsValueUnknown() PermissionsValue

func (PermissionsValue) AttributeTypes

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

func (PermissionsValue) Equal

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

func (PermissionsValue) IsNull

func (v PermissionsValue) IsNull() bool

func (PermissionsValue) IsUnknown

func (v PermissionsValue) IsUnknown() bool

func (PermissionsValue) String

func (v PermissionsValue) String() string

func (PermissionsValue) ToObjectValue

func (PermissionsValue) ToTerraformValue

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

func (PermissionsValue) Type

type SpecType

type SpecType struct {
	basetypes.ObjectType
}

func (SpecType) Equal

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

func (SpecType) String

func (t SpecType) String() string

func (SpecType) ValueFromObject

func (SpecType) ValueFromTerraform

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

func (SpecType) ValueType

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

type SpecValue

type SpecValue struct {
	Description               basetypes.StringValue `tfsdk:"description"`
	DisplayName               basetypes.StringValue `tfsdk:"display_name"`
	ExternalGroups            basetypes.SetValue    `tfsdk:"external_groups"`
	Members                   basetypes.SetValue    `tfsdk:"members"`
	MembersFromExternalGroups basetypes.SetValue    `tfsdk:"members_from_external_groups"`
	Permissions               basetypes.SetValue    `tfsdk:"permissions"`
	// contains filtered or unexported fields
}

func NewSpecValue

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

func NewSpecValueMust

func NewSpecValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) SpecValue

func NewSpecValueNull

func NewSpecValueNull() SpecValue

func NewSpecValueUnknown

func NewSpecValueUnknown() SpecValue

func (SpecValue) AttributeTypes

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

func (SpecValue) Equal

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

func (SpecValue) IsNull

func (v SpecValue) IsNull() bool

func (SpecValue) IsUnknown

func (v SpecValue) IsUnknown() bool

func (SpecValue) String

func (v SpecValue) String() string

func (SpecValue) ToObjectValue

func (v SpecValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (SpecValue) ToTerraformValue

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

func (SpecValue) Type

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

Jump to

Keyboard shortcuts

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