Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Sethostname (0.14 sec)

  1. cmd/kubelet/app/server.go

    				klog.V(2).InfoS("Successfully initialized cloud provider", "cloudProvider", s.CloudProvider, "cloudConfigFile", s.CloudConfigFile)
    			}
    			kubeDeps.Cloud = cloud
    		}
    	}
    
    	hostName, err := nodeutil.GetHostname(s.HostnameOverride)
    	if err != nil {
    		return err
    	}
    	nodeName, err := getNodeName(kubeDeps.Cloud, hostName)
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  2. cmd/handler-utils.go

    				r.Method, r.URL.Path),
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    	}
    }
    
    // gets host name for current node
    func getHostName(r *http.Request) (hostName string) {
    	if globalIsDistErasure {
    		hostName = globalLocalNodeName
    	} else {
    		hostName = r.Host
    	}
    	return
    }
    
    // Proxy any request to an endpoint.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. pkg/workloadapi/workload.pb.go

    	if x != nil {
    		return x.Name
    	}
    	return ""
    }
    
    func (x *Service) GetNamespace() string {
    	if x != nil {
    		return x.Namespace
    	}
    	return ""
    }
    
    func (x *Service) GetHostname() string {
    	if x != nil {
    		return x.Hostname
    	}
    	return ""
    }
    
    func (x *Service) GetAddresses() []*NetworkAddress {
    	if x != nil {
    		return x.Addresses
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  4. cmd/utils.go

    	object := likelyUnescapeGeneric(vars["object"], url.PathUnescape)
    	reqInfo := &logger.ReqInfo{
    		DeploymentID: globalDeploymentID(),
    		RequestID:    reqID,
    		RemoteHost:   handlers.GetSourceIP(r),
    		Host:         getHostName(r),
    		UserAgent:    r.UserAgent(),
    		API:          api,
    		BucketName:   bucket,
    		ObjectName:   object,
    		VersionID:    strings.TrimSpace(r.Form.Get(xhttp.VersionID)),
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  5. pkg/volume/plugins.go

    	// Get mounter interface.
    	GetMounter(pluginName string) mount.Interface
    
    	// Returns the hostname of the host kubelet is running on
    	GetHostName() string
    
    	// Returns host IP or nil in the case of error.
    	GetHostIP() (net.IP, error)
    
    	// Returns node allocatable.
    	GetNodeAllocatable() (v1.ResourceList, error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top