client

package
v0.0.0-...-cb67029 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildKubeConfig

func BuildKubeConfig(kubeconfig string) (*rest.Config, error)

BuildKubeConfig allows to build a k8s kubernetes from a path or in cluster config.

func InClusterConfig

func InClusterConfig() (*rest.Config, error)

InClusterConfig gets a client based on the ServiceAccount token provided by the cluster.

func MustNewKubeClient

func MustNewKubeClient() kubernetes.Interface

MustNewKubeClient returns the kubernetes client with cluster config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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