kubeconfig

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusters

func GetClusters(config *Config) ([]*cluster.Cluster, error)

GetClusters returns all clusters from a given Kubeconfig file. For that the user have to provide the path to the Kubeconfig file.

Types

type Config

type Config struct {
	Path string `yaml:"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