Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 163 for could (0.13 sec)

  1. istioctl/pkg/metrics/metrics_test.go

    		})
    	}
    }
    
    func TestMetrics(t *testing.T) {
    	cases := []testutil.TestCase{
    		{ // case 0
    			Args:           strings.Split("details", " "),
    			ExpectedRegexp: regexp.MustCompile("could not build metrics for workload"),
    			WantException:  true,
    		},
    	}
    
    	ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    		IstioNamespace: "istio-system",
    	})
    	client, err := ctx.CLIClient()
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes.go

    	// used for the upload-id-marker request parameter in a subsequent request.
    	NextUploadIDMarker string
    
    	// Maximum number of multipart uploads that could have been included in the
    	// response.
    	MaxUploads int
    
    	// Indicates whether the returned list of multipart uploads is truncated. A
    	// value of true indicates that the list was truncated. The list can be truncated
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    			if err := rs.ReconstructData(split); err == nil {
    				fmt.Println("Could reconstruct completely")
    				for i, data := range split[:k] {
    					start := i * len(data)
    					copy(mapped[start:], data)
    				}
    				lastValid = size - 1
    				missing = 0
    			} else {
    				fmt.Println("Could NOT reconstruct:", err)
    			}
    		}
    	}
    	if lastValid == 0 {
    		return errors.New("no valid data found")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  4. istioctl/pkg/multicluster/remote_secret.go

    	if opt.SecretName != "" {
    		secret, err := client.Kube().CoreV1().Secrets(opt.Namespace).Get(ctx, opt.SecretName, metav1.GetOptions{})
    		if err != nil {
    			return nil, fmt.Errorf("could not get specified secret %s/%s: %v",
    				opt.Namespace, opt.SecretName, err)
    		}
    		if err := secretReferencesServiceAccount(serviceAccount, secret); err != nil {
    			return nil, err
    		}
    		return secret, nil
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  5. cmd/admin-heal-ops.go

    					delete(ahs.healSeqMap, path)
    				}
    			}
    			ahs.Unlock()
    
    			periodicTimer.Reset(time.Minute * 5)
    		case <-ctx.Done():
    			// server could be restarting - need
    			// to exit immediately
    			return
    		}
    	}
    }
    
    // getHealSequenceByToken - Retrieve a heal sequence by token. The second
    // argument returns if a heal sequence actually exists.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  6. migrator/migrator.go

    			return tx.Exec("DROP TABLE IF EXISTS ?", m.CurrentTable(stmt)).Error
    		}); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // HasTable returns table exists or not for value, value could be a struct or string
    func (m Migrator) HasTable(value interface{}) bool {
    	var count int64
    
    	m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		currentDatabase := m.DB.Migrator().CurrentDatabase()
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  7. src/archive/zip/reader.go

    		if f.ModifiedTime != 0 || f.ModifiedDate != 0 {
    			f.Modified = modified.In(timeZone(msdosModified.Sub(modified)))
    		}
    	}
    
    	// Assume that uncompressed size 2³²-1 could plausibly happen in
    	// an old zip32 file that was sharding inputs into the largest chunks
    	// possible (or is just malicious; search the web for 42.zip).
    	// If needUSize is true still, it means we didn't see a zip64 extension.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/arch/arch.go

    	register := make(map[string]int16)
    
    	// Standard register names.
    	for i := riscv.REG_X0; i <= riscv.REG_X31; i++ {
    		// Disallow X3 in shared mode, as this will likely be used as the
    		// GP register, which could result in problems in non-Go code,
    		// including signal handlers.
    		if shared && i == riscv.REG_GP {
    			continue
    		}
    		if i == riscv.REG_TP || i == riscv.REG_G {
    			continue
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  9. cni/pkg/iptables/iptables.go

    	// This is effectively an analog for Istio's old-style podSpec-based health check rewrites.
    	// Before Istio would update the pod manifest to rewrite healthchecks to go to sidecar Envoy port 15021,
    	// so that it could distinguish things that can be unauthenticated (healthchecks) from other kinds of node traffic
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  10. istioctl/pkg/kubeinject/kubeinject.go

    	var obj runtime.Object
    	var ar *kube.AdmissionReview
    	out, _, err := deserializer.Decode(body, nil, obj)
    	if err != nil {
    		return nil, fmt.Errorf("could not decode body: %v", err)
    	}
    	ar, err = kube.AdmissionReviewKubeToAdapter(out)
    	if err != nil {
    		return nil, fmt.Errorf("could not decode object: %v", err)
    	}
    
    	return ar.Response.Patch, nil
    }
    
    var (
    	runtimeScheme = func() *runtime.Scheme {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
Back to top