datasource_kubeconfig

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 KubeconfigDataSourceSchema

func KubeconfigDataSourceSchema(ctx context.Context) schema.Schema

Types

type KubeconfigModel

type KubeconfigModel struct {
	AuthenticationMethod types.String `tfsdk:"authentication_method"`
	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 {
	ClientCertificate    basetypes.StringValue `tfsdk:"client_certificate"`
	ClientKey            basetypes.StringValue `tfsdk:"client_key"`
	Cluster              basetypes.StringValue `tfsdk:"cluster"`
	ClusterCaCertificate basetypes.StringValue `tfsdk:"cluster_ca_certificate"`
	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