ske

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 22 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
	ClusterName  types.String `tfsdk:"cluster_name"`
	ProjectId    types.String `tfsdk:"project_id"`
	KubeconfigId types.String `tfsdk:"kube_config_id"` // uuid generated internally because kubeconfig has no identifier
	Kubeconfig   types.String `tfsdk:"kube_config"`
	Expiration   types.Int64  `tfsdk:"expiration"`
	Refresh      types.Bool   `tfsdk:"refresh"`
	ExpiresAt    types.String `tfsdk:"expires_at"`
}

Jump to

Keyboard shortcuts

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