Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for asSlice (0.11 sec)

  1. pkg/kubelet/kubelet.go

    		if klogVEnabled {
    			containers = append(containers, container{Name: s.Name, State: string(s.State), ExitCode: s.ExitCode, FinishedAt: s.FinishedAt.UTC().Format(time.RFC3339Nano)})
    		}
    	}
    	if klogVEnabled {
    		sort.Slice(containers, func(i, j int) bool { return containers[i].Name < containers[j].Name })
    		klog.V(4).InfoS("Post-termination container state", "pod", klog.KObj(pod), "podUID", pod.UID, "containers", containers)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/pkg.go

    		if path != "" && path[0] == '"' {
    			s, err := strconv.Unquote(path)
    			if err != nil {
    				return ""
    			}
    			path = s
    		}
    		return path
    	})
    }
    
    // findVersionElement returns the slice indices of the final version element /vN in path.
    // If there is no such element, it returns -1, -1.
    func findVersionElement(path string) (i, j int) {
    	j = len(path)
    	for i = len(path) - 1; i >= 0; i-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  3. cluster/gce/util.sh

      flags+=" --container-runtime-endpoint=${CONTAINER_RUNTIME_ENDPOINT}"
    
      if [[ "${CONTAINER_RUNTIME_ENDPOINT}" =~ /containerd.sock$ ]]; then
        flags+=" --runtime-cgroups=/system.slice/containerd.service"
      fi
    
      KUBELET_ARGS="${flags}"
    }
    
    # Sets KUBELET_ARGS with the kubelet flags for Windows nodes.
    # Note that to configure flags with explicit empty string values, we can't escape
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
Back to top