Documentation ¶
Index ¶
- Variables
- func GetMetadataMapBundleOnAllNodes(_ *APIClient) (*apiv1.MetadataResponse, error)
- func GetMetadataMapBundleOnNode(nodeName string) (*apiv1.MetadataResponse, error)
- func GetNodeLabels(nodeName string) (map[string]string, error)
- func GetPodMetadataNames(nodeName, ns, podName string) ([]string, error)
- type APIClient
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotCompiled is returned if kubernetes apiserver support is not compiled in. // User classes should handle that case as gracefully as possible. ErrNotCompiled = errors.New("kubernetes apiserver support not compiled in") )
Functions ¶
func GetMetadataMapBundleOnAllNodes ¶
func GetMetadataMapBundleOnAllNodes(_ *APIClient) (*apiv1.MetadataResponse, error)
GetMetadataMapBundleOnAllNodes is used for the CLI svcmap command to run fetch the service map of all nodes.
func GetMetadataMapBundleOnNode ¶
func GetMetadataMapBundleOnNode(nodeName string) (*apiv1.MetadataResponse, error)
GetMetadataMapBundleOnNode is used for the CLI svcmap command to output given a nodeName
func GetNodeLabels ¶
GetNodeLabels retrieves the labels of the queried node from the cache of the shared informer.
func GetPodMetadataNames ¶
GetPodMetadataNames is used when the API endpoint of the DCA to get the services of a pod is hit.
Types ¶
Click to show internal directories.
Click to hide internal directories.