Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultNamespace = "default"
DefaultNamespace is the fallback namespace
View Source
const ServiceAccountNamespaceFile = "/var/run/secrets/kubernetes.io/serviceaccount/namespace"
ServiceAccountNamespaceFile is the default service account namespace file path
Variables ¶
This section is empty.
Functions ¶
func GetNamespace ¶
GetNamespace returns the current namespace on which the server is running
Types ¶
type TLSInfo ¶
type TLSInfo struct { CertFilePath string KeyFilePath string // contains filtered or unexported fields }
TLSInfo holds the certs and key data
func (*TLSInfo) Clean ¶
func (ti *TLSInfo) Clean()
Clean removes all data managed by this TLSInfo instance
func (*TLSInfo) UpdateFromK8S ¶
UpdateFromK8S fetches all the relevant config from K8S
Click to show internal directories.
Click to hide internal directories.