- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ResolveBindAddress (0.19 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/net/interface.go
} // ResolveBindAddress returns the IP address of a daemon, based on the given bindAddress: // If bindAddress is unset, it returns the host's default IP, as with ChooseHostInterface(). // If bindAddress is unspecified or loopback, it returns the default IP of the same // address family as bindAddress. // Otherwise, it just returns bindAddress. func ResolveBindAddress(bindAddress net.IP) (net.IP, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 27 07:07:03 UTC 2022 - 14.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/common.go
} return nil } // ChooseAPIServerBindAddress is a wrapper for netutil.ResolveBindAddress that also handles // the case where no default routes were found and an IP for the API server could not be obtained. func ChooseAPIServerBindAddress(bindAddress net.IP) (net.IP, error) { ip, err := netutil.ResolveBindAddress(bindAddress) if err != nil { if netutil.IsNoRoutesError(err) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 18.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/serving.go
} } func (s *SecureServingOptions) DefaultExternalAddress() (net.IP, error) { if s.ExternalAddress != nil && !s.ExternalAddress.IsUnspecified() { return s.ExternalAddress, nil } return utilnet.ResolveBindAddress(s.BindAddress) } func (s *SecureServingOptions) Validate() []error { if s == nil { return nil } errors := []error{} if s.Required && s.BindPort < 1 || s.BindPort > 65535 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 13:08:18 UTC 2024 - 15.9K bytes - Viewed (0) -
pkg/kubelet/nodestatus/setters.go
ipAddr = addr break } else if ipAddr == nil { ipAddr = addr } } } if ipAddr == nil { ipAddr, err = utilnet.ResolveBindAddress(nodeIP) } } if ipAddr == nil { // We tried everything we could, but the IP address wasn't fetchable; error out return fmt.Errorf("can't get ip address of node %s. error: %v", node.Name, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 12:12:04 UTC 2024 - 30.5K bytes - Viewed (0)