Documentation ¶
Index ¶
- func KubeconfigDataSourceSchema(ctx context.Context) schema.Schema
- type ExecType
- func (t ExecType) Equal(o attr.Type) bool
- func (t ExecType) String() string
- func (t ExecType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t ExecType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t ExecType) ValueType(ctx context.Context) attr.Value
- type ExecValue
- func (v ExecValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v ExecValue) Equal(o attr.Value) bool
- func (v ExecValue) IsNull() bool
- func (v ExecValue) IsUnknown() bool
- func (v ExecValue) String() string
- func (v ExecValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v ExecValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v ExecValue) Type(ctx context.Context) attr.Type
- type KubeconfigModel
- type KubeconfigsType
- func (t KubeconfigsType) Equal(o attr.Type) bool
- func (t KubeconfigsType) String() string
- func (t KubeconfigsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t KubeconfigsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t KubeconfigsType) ValueType(ctx context.Context) attr.Value
- type KubeconfigsValue
- func NewKubeconfigsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (KubeconfigsValue, diag.Diagnostics)
- func NewKubeconfigsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) KubeconfigsValue
- func NewKubeconfigsValueNull() KubeconfigsValue
- func NewKubeconfigsValueUnknown() KubeconfigsValue
- func (v KubeconfigsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v KubeconfigsValue) Equal(o attr.Value) bool
- func (v KubeconfigsValue) IsNull() bool
- func (v KubeconfigsValue) IsUnknown() bool
- func (v KubeconfigsValue) String() string
- func (v KubeconfigsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v KubeconfigsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v KubeconfigsValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExecType ¶
type ExecType struct {
basetypes.ObjectType
}
func (ExecType) ValueFromObject ¶
func (t ExecType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (ExecType) ValueFromTerraform ¶
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 NewExecValueMust ¶
func NewExecValueNull ¶
func NewExecValueNull() ExecValue
func NewExecValueUnknown ¶
func NewExecValueUnknown() ExecValue
func (ExecValue) AttributeTypes ¶
func (ExecValue) ToObjectValue ¶
func (v ExecValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (ExecValue) ToTerraformValue ¶
type KubeconfigModel ¶
type KubeconfigsType ¶
type KubeconfigsType struct {
basetypes.ObjectType
}
func (KubeconfigsType) String ¶
func (t KubeconfigsType) String() string
func (KubeconfigsType) ValueFromObject ¶
func (t KubeconfigsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (KubeconfigsType) ValueFromTerraform ¶
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 NewKubeconfigsValueNull ¶
func NewKubeconfigsValueNull() KubeconfigsValue
func NewKubeconfigsValueUnknown ¶
func NewKubeconfigsValueUnknown() KubeconfigsValue
func (KubeconfigsValue) AttributeTypes ¶
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 (v KubeconfigsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (KubeconfigsValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.