kubernetes

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecCache added in v0.5.0

type ExecCache struct {
	// contains filtered or unexported fields
}

func NewExecCache added in v0.5.0

func NewExecCache(fs afero.Fs, cachedir string) *ExecCache

func NewUserExecCache added in v0.5.0

func NewUserExecCache(fs afero.Fs) (*ExecCache, error)

func (*ExecCache) Clean added in v0.5.0

func (ec *ExecCache) Clean(clusterid string) error

func (*ExecCache) ExecConfig added in v0.5.0

func (ec *ExecCache) ExecConfig(clusterid string, kubeRaw string, exp time.Duration) (*c.ExecCredential, error)

func (*ExecCache) LoadCachedCredentials added in v0.5.0

func (ec *ExecCache) LoadCachedCredentials(clusterid string) (*c.ExecCredential, error)

type MergedKubeconfig

type MergedKubeconfig struct {
	Raw         []byte
	Path        string
	ContextName string
}

func MergeKubeconfig

func MergeKubeconfig(fs afero.Fs, raw []byte, kubeconfigPath, projectName *string, projectid, clusterid string) (*MergedKubeconfig, error)

Jump to

Keyboard shortcuts

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