datasource_kubeconfig

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KubeconfigDataSourceSchema

func KubeconfigDataSourceSchema(ctx context.Context) schema.Schema

Types

type ExecType

type ExecType struct {
	basetypes.ObjectType
}

func (ExecType) Equal

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

func (ExecType) String

func (t ExecType) String() string

func (ExecType) ValueFromObject

func (ExecType) ValueFromTerraform

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

func (ExecType) ValueType

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

type ExecValue

type ExecValue struct {
	ApiVersion basetypes.StringValue `tfsdk:"api_version"`
	Args       basetypes.ListValue   `tfsdk:"args"`
	Command    basetypes.StringValue `tfsdk:"command"`
	Env        basetypes.MapValue    `tfsdk:"env"`
	// contains filtered or unexported fields
}

func NewExecValue

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

func NewExecValueMust

func NewExecValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ExecValue

func NewExecValueNull

func NewExecValueNull() ExecValue

func NewExecValueUnknown

func NewExecValueUnknown() ExecValue

func (ExecValue) AttributeTypes

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

func (ExecValue) Equal

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

func (ExecValue) IsNull

func (v ExecValue) IsNull() bool

func (ExecValue) IsUnknown

func (v ExecValue) IsUnknown() bool

func (ExecValue) String

func (v ExecValue) String() string

func (ExecValue) ToObjectValue

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

func (ExecValue) ToTerraformValue

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

func (ExecValue) Type

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

type KubeconfigModel

type KubeconfigModel struct {
	CloudspaceName types.String `tfsdk:"cloudspace_name"`
	Id             types.String `tfsdk:"id"`
	Kubeconfigs    types.List   `tfsdk:"kubeconfigs"`
	Raw            types.String `tfsdk:"raw"`
}

type KubeconfigsType

type KubeconfigsType struct {
	basetypes.ObjectType
}

func (KubeconfigsType) Equal

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

func (KubeconfigsType) String

func (t KubeconfigsType) String() string

func (KubeconfigsType) ValueFromObject

func (KubeconfigsType) ValueFromTerraform

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

func (KubeconfigsType) ValueType

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

type KubeconfigsValue

type KubeconfigsValue struct {
	Cluster  basetypes.StringValue `tfsdk:"cluster"`
	Exec     basetypes.ObjectValue `tfsdk:"exec"`
	Host     basetypes.StringValue `tfsdk:"host"`
	Insecure basetypes.BoolValue   `tfsdk:"insecure"`
	Name     basetypes.StringValue `tfsdk:"name"`
	Token    basetypes.StringValue `tfsdk:"token"`
	Username basetypes.StringValue `tfsdk:"username"`
	// contains filtered or unexported fields
}

func NewKubeconfigsValue

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

func NewKubeconfigsValueMust

func NewKubeconfigsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) KubeconfigsValue

func NewKubeconfigsValueNull

func NewKubeconfigsValueNull() KubeconfigsValue

func NewKubeconfigsValueUnknown

func NewKubeconfigsValueUnknown() KubeconfigsValue

func (KubeconfigsValue) AttributeTypes

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

func (KubeconfigsValue) Equal

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

func (KubeconfigsValue) IsNull

func (v KubeconfigsValue) IsNull() bool

func (KubeconfigsValue) IsUnknown

func (v KubeconfigsValue) IsUnknown() bool

func (KubeconfigsValue) String

func (v KubeconfigsValue) String() string

func (KubeconfigsValue) ToObjectValue

func (KubeconfigsValue) ToTerraformValue

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

func (KubeconfigsValue) Type

Jump to

Keyboard shortcuts

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