kubernetes/staging/src/k8s.io/apiserver/pkg/server/config_selfclient.go

const LoopbackClientServerNameOverride

func (s *SecureServingInfo) NewClientConfig(caCert []byte) (*restclient.Config, error) {}

func (s *SecureServingInfo) NewLoopbackClientConfig(token string, loopbackCert []byte) (*restclient.Config, error) {}

// LoopbackHostPort returns the host and port loopback REST clients should use
// to contact the server.
func LoopbackHostPort(bindAddress string) (string, string, error) {}

// getLoopbackAddress returns the ip address of local loopback interface. If any error occurs or loopback interface is not found, will fall back to "localhost"
func getLoopbackAddress(wantIPv6 bool) string {}