info

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CA_PATH = "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
View Source
const NS_PATH = "/var/run/secrets/kubernetes.io/serviceaccount/namespace"
View Source
const TOKEN_PATH = "/var/run/secrets/kubernetes.io/serviceaccount/token"

Variables

This section is empty.

Functions

func GetKubeConfigPath

func GetKubeConfigPath() string

func GetKubeProxyAddress

func GetKubeProxyAddress() (string, error)

func GetKubeProxyPort

func GetKubeProxyPort() (string, error)

func GetNamespace

func GetNamespace() (string, error)

func GetServiceAccountCAPath

func GetServiceAccountCAPath() string

func GetServiceAccountNS

func GetServiceAccountNS() ([]byte, error)

func GetServiceAccountNSPath

func GetServiceAccountNSPath() string

func GetServiceAccountToken

func GetServiceAccountToken() ([]byte, error)

func GetServiceAccountTokenPath

func GetServiceAccountTokenPath() string

func GetSparkImage

func GetSparkImage() string

func GetWebServiceName

func GetWebServiceName() string

func InAPod

func InAPod() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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