serveraddr

package
v1.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultDomainsForSvc

func GetDefaultDomainsForSvc(ns, name string) []string

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 GetYurttunelServerDNSandIP

func GetYurttunelServerDNSandIP(
	clientset kubernetes.Interface) ([]string, []net.IP, error)

func NodeListToNodes added in v0.6.0

func NodeListToNodes(nodeLst *corev1.NodeList) []*corev1.Node

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL