access

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2018 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

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

Default returns the client config using the default kubeconfig search paths

func ForConfig

func ForConfig(kcfg string) (*rest.Config, error)

ForConfig returns a client config from the provided file path

func InCluster

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

InCluster returns a REST configuration for using it inside a Pod

func IsInCluster

func IsInCluster() bool

IsInCluster returns true if the process is running in a Pod

Types

This section is empty.

Jump to

Keyboard shortcuts

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