kubeconfig

package
Version: v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 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 `json:"path"`
}

Config is the configuration for the Kubeconfig provider.

Source Files

Jump to

Keyboard shortcuts

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