Documentation ¶
Index ¶
- func GetDefaultDomainsForSvc(ns, name string) []string
- func GetTunnelServerAddr(clientset kubernetes.Interface) (string, error)
- func GetYurttunelServerDNSandIP(clientset kubernetes.Interface) ([]string, []net.IP, error)
- func NodeListToNodes(nodeLst *corev1.NodeList) []*corev1.Node
- func YurttunnelServerAddrManager(factory informers.SharedInformerFactory) ([]string, []net.IP, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultDomainsForSvc ¶
getDefaultDomainsForSvc get default domains for specified service
func GetTunnelServerAddr ¶
func GetTunnelServerAddr(clientset kubernetes.Interface) (string, error)
GetServerAddr gets the service address that exposes the tunnel server for tunnel agent to connect
func NodeListToNodes ¶ added in v0.6.0
func YurttunnelServerAddrManager ¶ added in v0.6.0
func YurttunnelServerAddrManager(factory informers.SharedInformerFactory) ([]string, []net.IP, error)
YurttunelServerAddrManager list the latest tunnel server resources, extract ips and dnsNames from them
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.