Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,732 for fmtF (0.12 sec)

  1. tests/integration/operator/switch_cr_test.go

    				return fmt.Errorf("istio operator pod is not ready: %v", err)
    			}
    
    			return fmt.Errorf("status not found from the istioOperator resource")
    		}
    		usIOPStatus = usIOPStatus.(map[string]any)
    		iopStatusString, err := json.Marshal(usIOPStatus)
    		if err != nil {
    			return fmt.Errorf("failed to marshal istioOperator status: %v", err)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. cmd/kubemark/app/hollow_node.go

    	clientConfig, err := clientcmd.LoadFromFile(c.KubeconfigPath)
    	if err != nil {
    		return nil, fmt.Errorf("error while loading kubeconfig from file %v: %v", c.KubeconfigPath, err)
    	}
    	config, err := clientcmd.NewDefaultClientConfig(*clientConfig, &clientcmd.ConfigOverrides{}).ClientConfig()
    	if err != nil {
    		return nil, fmt.Errorf("error while creating kubeconfig: %v", err)
    	}
    	config.ContentType = c.ContentType
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. pilot/pkg/credentials/kube/secrets.go

    	if hasKeys(scrt.Data, GenericScrtCert, GenericScrtKey) {
    		return nil, fmt.Errorf("found keys %q and %q, but they were empty", GenericScrtCert, GenericScrtKey)
    	}
    	if hasKeys(scrt.Data, TLSSecretCert, TLSSecretKey) {
    		return nil, fmt.Errorf("found keys %q and %q, but they were empty", TLSSecretCert, TLSSecretKey)
    	}
    	found := truncatedKeysMessage(scrt.Data)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/testflag.go

    	case strings.Contains(value, "="):
    		return fmt.Errorf("-vet argument cannot contain equal signs")
    	case strings.Contains(value, " "):
    		return fmt.Errorf("-vet argument is comma-separated list, cannot contain spaces")
    	}
    
    	*f = vetFlag{explicit: true}
    	var single string
    	for _, arg := range strings.Split(value, ",") {
    		switch arg {
    		case "":
    			return fmt.Errorf("-vet argument contains empty list element")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. operator/pkg/validate/common.go

    		v := reflect.ValueOf(val).Int()
    		if v < min || v > max {
    			err = fmt.Errorf("value %s:%v falls outside range [%v, %v]", path, v, min, max)
    		}
    	case util.IsUintKind(k):
    		v := reflect.ValueOf(val).Uint()
    		if int64(v) < min || int64(v) > max {
    			err = fmt.Errorf("value %s:%v falls out side range [%v, %v]", path, v, min, max)
    		}
    	default:
    		err = fmt.Errorf("validateIntRange %s unexpected type %T, want int type", path, val)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11K bytes
    - Viewed (0)
  6. internal/grid/muxclient.go

    func (m *muxClient) response(seq uint32, r Response) {
    	if debugReqs {
    		fmt.Println(m.MuxID, m.parent.String(), "RESP")
    	}
    	if debugPrint {
    		fmt.Printf("mux %d: got msg seqid %d, payload length: %d, err:%v\n", m.MuxID, seq, len(r.Msg), r.Err)
    	}
    	if !m.checkSeq(seq) {
    		if debugReqs {
    			fmt.Println(m.MuxID, m.parent.String(), "CHECKSEQ FAIL", m.RecvSeq, seq)
    		}
    		PutByteBuffer(r.Msg)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. tools/docker-builder/main.go

    		return fmt.Errorf("pushing to official registry only supported in CI")
    	}
    	if !sets.New(DockerBuilder, CraneBuilder).Contains(a.Builder) {
    		return fmt.Errorf("unknown builder %v", a.Builder)
    	}
    
    	if a.Builder == CraneBuilder && a.Save {
    		return fmt.Errorf("crane builder does not support save")
    	}
    	if a.Builder == CraneBuilder && a.NoClobber {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 13:23:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/check/checkers.go

    			if err != nil {
    				return fmt.Errorf("unexpected error: %w", err)
    			}
    			return nil
    		}
    		if err == nil {
    			return fmt.Errorf("expected gRPC error with status %s, but got OK", expected.String())
    		}
    		expectedSubstr := fmt.Sprintf("code = %s", expected.String())
    		if strings.Contains(err.Error(), expectedSubstr) {
    			return nil
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 03 16:19:07 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  9. src/os/signal/signal_cgo_test.go

    	var b [1]byte
    	if _, err := pty.Write(b[:]); err != nil {
    		fmt.Fprintf(os.Stderr, "error writing byte to PTY: %v\n", err)
    		os.Exit(1)
    	}
    
    	_, err := pty.Read(b[:])
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	if b[0] == '\n' {
    		// This is what we expect
    		fmt.Println("read newline")
    	} else {
    		fmt.Fprintf(os.Stderr, "read 1 unexpected byte: %q\n", b)
    		os.Exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/admission/v1beta1/generated.pb.go

    		`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
    		`Operation:` + fmt.Sprintf("%v", this.Operation) + `,`,
    		`UserInfo:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.UserInfo), "UserInfo", "v11.UserInfo", 1), `&`, ``, 1) + `,`,
    		`Object:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Object), "RawExtension", "runtime.RawExtension", 1), `&`, ``, 1) + `,`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top