datasource_nodes

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 NodesDataSourceSchema

func NodesDataSourceSchema(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 FiltersType

type FiltersType struct {
	basetypes.ObjectType
}

func (FiltersType) Equal

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

func (FiltersType) String

func (t FiltersType) String() string

func (FiltersType) ValueFromObject

func (FiltersType) ValueFromTerraform

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

func (FiltersType) ValueType

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

type FiltersValue

type FiltersValue struct {
	Name    basetypes.StringValue `tfsdk:"name"`
	Regexes basetypes.SetValue    `tfsdk:"regexes"`
	Values  basetypes.SetValue    `tfsdk:"values"`
	// contains filtered or unexported fields
}

func NewFiltersValue

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

func NewFiltersValueMust

func NewFiltersValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) FiltersValue

func NewFiltersValueNull

func NewFiltersValueNull() FiltersValue

func NewFiltersValueUnknown

func NewFiltersValueUnknown() FiltersValue

func (FiltersValue) AttributeTypes

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

func (FiltersValue) Equal

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

func (FiltersValue) IsNull

func (v FiltersValue) IsNull() bool

func (FiltersValue) IsUnknown

func (v FiltersValue) IsUnknown() bool

func (FiltersValue) String

func (v FiltersValue) String() string

func (FiltersValue) ToObjectValue

func (FiltersValue) ToTerraformValue

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

func (FiltersValue) Type

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

type NodesModel

type NodesModel struct {
	Filter  FilterValue  `tfsdk:"filter"`
	Filters types.List   `tfsdk:"filters"`
	Id      types.String `tfsdk:"id"`
	NodeIds types.List   `tfsdk:"node_ids"`
	Nodes   types.List   `tfsdk:"nodes"`
}

type NodesType

type NodesType struct {
	basetypes.ObjectType
}

func (NodesType) Equal

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

func (NodesType) String

func (t NodesType) String() string

func (NodesType) ValueFromObject

func (NodesType) ValueFromTerraform

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

func (NodesType) ValueType

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

type NodesValue

type NodesValue struct {
	ApiResponding basetypes.BoolValue   `tfsdk:"api_responding"`
	ClusterName   basetypes.StringValue `tfsdk:"cluster_name"`
	ClusterUuid   basetypes.StringValue `tfsdk:"cluster_uuid"`
	Id            basetypes.StringValue `tfsdk:"id"`
	IsMaster      basetypes.BoolValue   `tfsdk:"is_master"`
	Name          basetypes.StringValue `tfsdk:"name"`
	NodePoolName  basetypes.StringValue `tfsdk:"node_pool_name"`
	NodePoolUuid  basetypes.StringValue `tfsdk:"node_pool_uuid"`
	PrimaryIp     basetypes.StringValue `tfsdk:"primary_ip"`
	Status        basetypes.StringValue `tfsdk:"status"`
	// contains filtered or unexported fields
}

func NewNodesValue

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

func NewNodesValueMust

func NewNodesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) NodesValue

func NewNodesValueNull

func NewNodesValueNull() NodesValue

func NewNodesValueUnknown

func NewNodesValueUnknown() NodesValue

func (NodesValue) AttributeTypes

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

func (NodesValue) Equal

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

func (NodesValue) IsNull

func (v NodesValue) IsNull() bool

func (NodesValue) IsUnknown

func (v NodesValue) IsUnknown() bool

func (NodesValue) String

func (v NodesValue) String() string

func (NodesValue) ToObjectValue

func (NodesValue) ToTerraformValue

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

func (NodesValue) Type

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

Jump to

Keyboard shortcuts

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