Versions in this module Expand all Collapse all v0 v0.1.1 Mar 22, 2020 v0.1.0 Feb 15, 2020 Changes in this version + const NoResourcesFoundMessage + const Pre117RegionLabel + const Pre117TopologyLabelPrefix + const Pre117ZoneLabel + const RegionLabel + const RegionSuffix + const TopologyLabelPrefix + const ZoneLabel + const ZoneSuffix + func PrintResult(r Result, noHeaders bool) error + type Node struct + Name string + Region string + Zone string + func NewNode(node corev1.Node) Node + type NodeList []Node + func ListNodes(kubeClient kubernetes.Interface, o *TopologyOptions) (NodeList, error) + func (l NodeList) Headers() string + func (l NodeList) Items() []string + func (l NodeList) Length() int + type Pod struct + Name string + Namespace string + Node Node + func NewPod(pod corev1.Pod, node Node) Pod + type PodList []Pod + func ListPods(kubeClient kubernetes.Interface, o *TopologyOptions) (PodList, error) + func (l PodList) Headers() string + func (l PodList) Items() []string + func (l PodList) Length() int + type Result interface + Headers func() string + Items func() []string + Length func() int + type TopologyOptions struct + Namespace string + Region string + Zone string + func NewTopologyOptions(region, zone, namespace string) (*TopologyOptions, error) + func (o *TopologyOptions) GetLabelSelector(prefix string) string