Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentNamespace ¶ added in v0.0.2
func CurrentNamespace(configFlags *genericclioptions.ConfigFlags) (string, error)
CurrentNamespace get the namespace in use
Types ¶
type ClusterInfo ¶
func NewClusterInfo ¶
func NewClusterInfo() *ClusterInfo
func (*ClusterInfo) AddPodEndpoints ¶
func (c *ClusterInfo) AddPodEndpoints(endpoints *v1.Endpoints)
TODO: handle merger of pod info
func (*ClusterInfo) GetPodInfo ¶
func (c *ClusterInfo) GetPodInfo(podAddress string) PodInfo
func (*ClusterInfo) UpdatePods ¶
func (c *ClusterInfo) UpdatePods(podList *v1.PodList)
Click to show internal directories.
Click to hide internal directories.