datasource_nodepools

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NodepoolsDataSourceSchema

func NodepoolsDataSourceSchema(ctx context.Context) schema.Schema

Types

type FilterType

type FilterType struct {
	basetypes.ObjectType
}

func (FilterType) Equal

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

func (FilterType) String

func (t FilterType) String() string

func (FilterType) ValueFromObject

func (FilterType) ValueFromTerraform

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

func (FilterType) ValueType

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

type FilterValue

type FilterValue struct {
	Name   basetypes.StringValue `tfsdk:"name"`
	Values basetypes.ListValue   `tfsdk:"values"`
	// contains filtered or unexported fields
}

func NewFilterValue

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

func NewFilterValueMust

func NewFilterValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) FilterValue

func NewFilterValueNull

func NewFilterValueNull() FilterValue

func NewFilterValueUnknown

func NewFilterValueUnknown() FilterValue

func (FilterValue) AttributeTypes

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

func (FilterValue) Equal

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

func (FilterValue) IsNull

func (v FilterValue) IsNull() bool

func (FilterValue) IsUnknown

func (v FilterValue) IsUnknown() bool

func (FilterValue) String

func (v FilterValue) String() string

func (FilterValue) ToObjectValue

func (FilterValue) ToTerraformValue

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

func (FilterValue) Type

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

type NodepoolsModel

type NodepoolsModel struct {
	Filter    FilterValue  `tfsdk:"filter"`
	Id        types.String `tfsdk:"id"`
	Nodepools types.List   `tfsdk:"nodepools"`
}

type NodepoolsType

type NodepoolsType struct {
	basetypes.ObjectType
}

func (NodepoolsType) Equal

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

func (NodepoolsType) String

func (t NodepoolsType) String() string

func (NodepoolsType) ValueFromObject

func (NodepoolsType) ValueFromTerraform

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

func (NodepoolsType) ValueType

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

type NodepoolsValue

type NodepoolsValue struct {
	CloudProviderName basetypes.StringValue `tfsdk:"cloud_provider_name"`
	CloudProviderUuid basetypes.StringValue `tfsdk:"cloud_provider_uuid"`
	Id                basetypes.StringValue `tfsdk:"id"`
	Name              basetypes.StringValue `tfsdk:"name"`
	// contains filtered or unexported fields
}

func NewNodepoolsValue

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

func NewNodepoolsValueMust

func NewNodepoolsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) NodepoolsValue

func NewNodepoolsValueNull

func NewNodepoolsValueNull() NodepoolsValue

func NewNodepoolsValueUnknown

func NewNodepoolsValueUnknown() NodepoolsValue

func (NodepoolsValue) AttributeTypes

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

func (NodepoolsValue) Equal

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

func (NodepoolsValue) IsNull

func (v NodepoolsValue) IsNull() bool

func (NodepoolsValue) IsUnknown

func (v NodepoolsValue) IsUnknown() bool

func (NodepoolsValue) String

func (v NodepoolsValue) String() string

func (NodepoolsValue) ToObjectValue

func (NodepoolsValue) ToTerraformValue

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

func (NodepoolsValue) Type

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

Jump to

Keyboard shortcuts

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