Documentation ¶
Index ¶
- type IPCache
- func (c *IPCache) BuildClusterIPCache() error
- func (c *IPCache) ClearCache()
- func (c *IPCache) GetIPType(ip string) (model.EndpointType, error)
- func (c *IPCache) GetNodeFromIP(ip string) (*v1.Node, error)
- func (c *IPCache) GetNodeFromName(name string) (*v1.Node, error)
- func (c *IPCache) GetNodes() ([]*v1.Node, error)
- func (c *IPCache) GetPodFromIP(ip string) (*v1.Pod, error)
- func (c *IPCache) GetPodFromName(namespace, name string) (*v1.Pod, error)
- func (c *IPCache) GetServiceFromIP(ip string) (*v1.Service, error)
- func (c *IPCache) GetServiceFromNodePort(nodePort uint16, protocol model.Protocol) (*v1.Service, error)
- type NodeInfo
- type NodeMeta
- type NodeNetworkStackDump
- type Pod
- type PodMeta
- type PodNetInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPCache ¶
type IPCache struct {
// contains filtered or unexported fields
}
func NewIPCache ¶
func NewIPCache(k8sCli *kubernetes.Clientset) *IPCache
func (*IPCache) BuildClusterIPCache ¶
func (*IPCache) ClearCache ¶
func (c *IPCache) ClearCache()
func (*IPCache) GetPodFromName ¶
func (*IPCache) GetServiceFromIP ¶
type NodeNetworkStackDump ¶
type NodeNetworkStackDump struct { Pods []PodNetInfo `json:"p"` Netns []netstack.NetNSInfo `json:"n"` }
Click to show internal directories.
Click to hide internal directories.