Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for absDate (0.13 sec)

  1. src/cmd/go/internal/work/gccgo.go

    			args = append(args, "-ffile-prefix-map="+b.WorkDir+"=/tmp/go-build")
    		}
    		if fsys.OverlayFile != "" {
    			for _, name := range gofiles {
    				absPath := mkAbs(p.Dir, name)
    				overlayPath, ok := fsys.OverlayPath(absPath)
    				if !ok {
    					continue
    				}
    				toPath := absPath
    				// gccgo only applies the last matching rule, so also handle the case where
    				// BuildTrimpath is true and the path is relative to base.Cwd().
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    	var absPaths []string
    	for _, endpoint := range endpoints {
    		if endpoint.IsLocal {
    			var absPath string
    			absPath, err = filepath.Abs(endpoint.Path)
    			if err != nil {
    				return err
    			}
    			absPaths = append(absPaths, absPath)
    		}
    	}
    	return mountinfo.CheckCrossDevice(absPaths)
    }
    
    // PoolEndpointList is a temporary type to holds the list of endpoints
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease.go

    func (c *PeerEndpointLeaseController) Run(stopCh <-chan struct{}) {
    	// wait until process is ready
    	wait.PollImmediateUntil(100*time.Millisecond, func() (bool, error) {
    		var code int
    		c.client.CoreV1().RESTClient().Get().AbsPath("/readyz").Do(context.TODO()).StatusCode(&code)
    		return code == http.StatusOK, nil
    	}, stopCh)
    
    	wait.NonSlidingUntil(func() {
    		if err := c.UpdatePeerEndpointLeases(); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/apiclient/wait.go

    		context.Background(),
    		constants.KubernetesAPICallRetryInterval,
    		w.timeout,
    		true, func(ctx context.Context) (bool, error) {
    			healthStatus := 0
    			w.client.Discovery().RESTClient().Get().AbsPath("/healthz").Do(ctx).StatusCode(&healthStatus)
    			if healthStatus != http.StatusOK {
    				return false, nil
    			}
    			return true, nil
    		})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. cmd/kube-apiserver/app/testing/testserver.go

    		err = wait.Poll(100*time.Millisecond, time.Minute, func() (bool, error) {
    			select {
    			case err := <-errCh:
    				return false, err
    			default:
    			}
    
    			req := client.CoreV1().RESTClient().Get().AbsPath("/healthz")
    			// The storage version bootstrap test wraps the storage version post-start
    			// hook, so the hook won't become health when the server bootstraps
    			if instanceOptions.StorageVersionWrapFunc != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

        }
    
        @Override
        public <T> T realize(ModelPath path, ModelType<T> type) {
            return toType(type, require(path), "get(ModelPath, ModelType)");
        }
    
        public ModelNode atState(ModelPath path, ModelNode.State state) {
            return atStateOrMaybeLater(path, state, false);
        }
    
        @Override
        public ModelNode atStateOrLater(ModelPath path, ModelNode.State state) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  7. pkg/kubelet/certificate/bootstrap/bootstrap.go

    		return fmt.Errorf("couldn't create client: %v", err)
    	}
    
    	ctx, cancel := context.WithTimeout(ctx, deadline)
    	defer cancel()
    
    	var connected bool
    	wait.JitterUntil(func() {
    		if _, err := cli.Get().AbsPath("/healthz").Do(ctx).Raw(); err != nil {
    			klog.InfoS("Failed to connect to apiserver", "err", err)
    			return
    		}
    		cancel()
    		connected = true
    	}, 2*time.Second, 0.2, true, ctx.Done())
    
    	if !connected {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  8. build/root/Makefile

    #
    # Example:
    #   make kubectl kube-proxy
    endef
    #TODO: make EXCLUDE_TARGET auto-generated when there are other files in cmd/
    EXCLUDE_TARGET=OWNERS
    CMD_TARGET = $(filter-out %$(EXCLUDE_TARGET),$(notdir $(abspath $(wildcard cmd/*/))))
    .PHONY: $(CMD_TARGET)
    ifeq ($(PRINT_HELP),y)
    $(CMD_TARGET):
    	echo "$$CMD_HELP_INFO"
    else
    $(CMD_TARGET):
    	hack/make-rules/build.sh cmd/$@
    endif
    
    define HELP_INFO
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. cmd/kube-scheduler/app/options/options_test.go

    				t.Error("unexpected nil client")
    				return
    			}
    
    			// test the client talks to the endpoint we expect with the credentials we expect
    			username = ""
    			_, err = config.Client.Discovery().RESTClient().Get().AbsPath("/").DoRaw(context.TODO())
    			if err != nil {
    				t.Error(err)
    				return
    			}
    			if username != tc.expectedUsername {
    				t.Errorf("expected server call with user %q, got %q", tc.expectedUsername, username)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go

    	if err != nil {
    		if errors.IsNotFound(err) && len(i.Namespace) > 0 && i.Namespace != metav1.NamespaceDefault && i.Namespace != metav1.NamespaceAll {
    			err2 := i.Client.Get().AbsPath("api", "v1", "namespaces", i.Namespace).Do(context.TODO()).Error()
    			if err2 != nil && errors.IsNotFound(err2) {
    				return err2
    			}
    		}
    		return err
    	}
    	i.Object = obj
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
Back to top