Versions in this module Expand all Collapse all v0 v0.5.0 Jul 5, 2018 Changes in this version + const All + const Authorities + const ControllerComponentLabel + const ControllerNSLabel + const CreatedByAnnotation + const Deployments + const KubeapiAccessCheckDescription + const KubeapiClientCheckDescription + const KubeapiSubsystemName + const KubeapiVersionCheckDescription + const Namespaces + const Pods + const ProxyDaemonSetLabel + const ProxyDeploymentLabel + const ProxyJobLabel + const ProxyReplicaSetLabel + const ProxyReplicationControllerLabel + const ProxyStatefulSetLabel + const ProxyVersionAnnotation + const ReplicationControllers + const Services + const TLSCertFileName + const TLSPrivateKeyFileName + const TLSTrustAnchorConfigMapName + const TLSTrustAnchorFileName + var ResourceTypesToProxyLabels = map[string]string + var StatAllResourceTypes = []string + func CanonicalResourceNameFromFriendlyName(friendlyName string) (string, error) + func CreatedByAnnotationValue() string + func GetControllerNs(objectMeta meta.ObjectMeta) string + func GetOwnerLabels(objectMeta meta.ObjectMeta) map[string]string + func ShortNameFromCanonicalResourceName(canonicalName string) string + type KubernetesApi interface + NewClient func() (*http.Client, error) + UrlFor func(namespace string, extraPathStartingWithSlash string) (*url.URL, error) + func NewAPI(configPath string) (KubernetesApi, error) + type KubernetesProxy struct + func NewProxy(configPath string, proxyPort int) (*KubernetesProxy, error) + func (kp *KubernetesProxy) Run() error + func (kp *KubernetesProxy) URLFor(namespace string, extraPathStartingWithSlash string) (*url.URL, error) + type MockKubeApi struct + ErrorToReturn error + NewClientClientToReturn *http.Client + SelfCheckResultsToReturn []*healthcheckPb.CheckResult + UrlExtraPathStartingWithSlashReceived string + UrlForNamespaceReceived string + UrlForUrlToReturn *url.URL + func (m *MockKubeApi) NewClient() (*http.Client, error) + func (m *MockKubeApi) SelfCheck() []*healthcheckPb.CheckResult + func (m *MockKubeApi) UrlFor(namespace string, extraPathStartingWithSlash string) (*url.URL, error) + type TLSIdentity struct + ControllerNamespace string + Kind string + Name string + Namespace string + func (i TLSIdentity) ToControllerIdentity() TLSIdentity + func (i TLSIdentity) ToDNSName() string + func (i TLSIdentity) ToSecretName() string