Documentation ¶
Index ¶
- Constants
- func GetKubeConfigPath() string
- func GetKubeProxyAddress() (string, error)
- func GetKubeProxyPort() (string, error)
- func GetNamespace() (string, error)
- func GetServiceAccountCAPath() string
- func GetServiceAccountNS() ([]byte, error)
- func GetServiceAccountNSPath() string
- func GetServiceAccountToken() ([]byte, error)
- func GetServiceAccountTokenPath() string
- func GetSparkImage() string
- func GetWebServiceName() string
- func InAPod() bool
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 GetKubeProxyPort ¶
func GetNamespace ¶
func GetServiceAccountCAPath ¶
func GetServiceAccountCAPath() string
func GetServiceAccountNS ¶
func GetServiceAccountNSPath ¶
func GetServiceAccountNSPath() string
func GetServiceAccountToken ¶
func GetServiceAccountTokenPath ¶
func GetServiceAccountTokenPath() string
func GetSparkImage ¶
func GetSparkImage() string
func GetWebServiceName ¶
func GetWebServiceName() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.