Documentation ¶
Index ¶
Constants ¶
View Source
const ( Pre117RegionLabel = Pre117TopologyLabelPrefix + "/" + RegionSuffix Pre117TopologyLabelPrefix = "failure-domain.beta.kubernetes.io" Pre117ZoneLabel = Pre117TopologyLabelPrefix + "/" + ZoneSuffix )
View Source
const ( RegionLabel = TopologyLabelPrefix + "/" + RegionSuffix TopologyLabelPrefix = "topology.kubernetes.io" ZoneLabel = TopologyLabelPrefix + "/" + ZoneSuffix )
View Source
const ( RegionSuffix = "region" ZoneSuffix = "zone" )
View Source
const (
NoResourcesFoundMessage = "No resources found."
)
Variables ¶
This section is empty.
Functions ¶
func PrintResult ¶
Types ¶
type NodeList ¶
type NodeList []Node
func ListNodes ¶
func ListNodes(kubeClient kubernetes.Interface, o *TopologyOptions) (NodeList, error)
type PodList ¶
type PodList []Pod
func ListPods ¶
func ListPods(kubeClient kubernetes.Interface, o *TopologyOptions) (PodList, error)
type TopologyOptions ¶
func NewTopologyOptions ¶
func NewTopologyOptions(region, zone, namespace string) (*TopologyOptions, error)
func (*TopologyOptions) GetLabelSelector ¶
func (o *TopologyOptions) GetLabelSelector(prefix string) string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.