kubeconfig

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetClusters() ([]cluster.Client, error)
}

Client is the interface, which must be implemented by the kubeconfig client.

func New

func New(config *Config) Client

New returns a new kubeconfig client, with the given configuration.

type Config

type Config struct {
	Path string `json:"path"`
}

Config is the configuration for the Kubeconfig provider.

Jump to

Keyboard shortcuts

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