clustersource

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromKubeConfig

func FromKubeConfig(kubeconfig []byte, scheme *runtime.Scheme) (cluster.Cluster, error)

FromKubeConfig creates a ClusterSource from a kubeconfig.

func FromURLAndBearerToken

func FromURLAndBearerToken(url, token string, scheme *runtime.Scheme) (cluster.Cluster, error)

FromURLAndBearerToken creates a ClusterSource from a url and token. If more complex configuration is needed, use FromKubeConfig.

Types

This section is empty.

Jump to

Keyboard shortcuts

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