Help us shape the future of Go! Take the 2026 Go Developer Survey

kubeconfig

package
v0.97.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKubeconfigResource

func NewKubeconfigResource() resource.Resource

NewKubeconfigResource is a helper function to simplify the provider implementation.

Types

type Model

type Model struct {
	Id             types.String `tfsdk:"id"` // needed by TF
	InstanceName   types.String `tfsdk:"instance_name"`
	InstanceId     types.String `tfsdk:"instance_id"`
	ProjectId      types.String `tfsdk:"project_id"`
	KubeconfigId   types.String `tfsdk:"kubeconfig_id"` // uuid generated internally because kubeconfig has no identifier
	Kubeconfig     types.String `tfsdk:"kubeconfig"`
	Expiration     types.Int64  `tfsdk:"expiration"`
	RecreateBefore types.Int64  `tfsdk:"recreate_before"`
	ExpiresAt      types.String `tfsdk:"expires_at"`
	CreationTime   types.String `tfsdk:"creation_time"`
	Region         types.String `tfsdk:"region"`
}

Jump to

Keyboard shortcuts

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