k8s

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindWorkingKubernetesAddress added in v0.7.0

func FindWorkingKubernetesAddress(configPath string, inCluster bool) (*kubernetes.Clientset, error)

func NewClientset

func NewClientset(configPath string, inCluster bool, hostname string) (*kubernetes.Clientset, error)

NewClientset takes an optional configPath and creates a new clientset. If the configPath is not specified, and inCluster is true, then an InClusterConfig is used. Also takes a hostname which allow for overriding the config's hostname before generating a client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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