Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for Series (0.22 sec)

  1. istioctl/pkg/metrics/metrics.go

    		Long: `
    Prints the metrics for the specified service(s) when running in Kubernetes.
    
    This command finds a Prometheus pod running in the specified istio system
    namespace. It then executes a series of queries per requested workload to
    find the following top-level workload metrics: total requests per second,
    error rate, and request latency at p50, p90, and p99 percentiles. The
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    		}
    	}
    	return hdr, err
    }
    
    func (tr *Reader) next() (*Header, error) {
    	var paxHdrs map[string]string
    	var gnuLongName, gnuLongLink string
    
    	// Externally, Next iterates through the tar archive as if it is a series of
    	// files. Internally, the tar format often uses fake "files" to add meta
    	// data that describes the next file. These meta data "files" should not
    	// normally be visible to the outside. As such, this loop iterates through
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    		Recursive: false,
    		Immediate: false,
    	})
    	if err != errDiskNotFound {
    		t.Errorf("Expected: \"Drive not found\", got \"%s\"", err)
    	}
    }
    
    // TestXLStorageDeleteFile - Series of test cases construct valid and invalid input data and validates the result and the error response.
    func TestXLStorageDeleteFile(t *testing.T) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip()
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  4. istioctl/pkg/metrics/metrics_test.go

    	}
    	return canned, nil, nil
    }
    
    func (client mockPromAPI) WalReplay(ctx context.Context) (promv1.WalReplayStatus, error) {
    	// TODO implement me
    	panic("implement me")
    }
    
    func (client mockPromAPI) Series(ctx context.Context, matches []string,
    	startTime time.Time, endTime time.Time,
    ) ([]prometheus_model.LabelSet, promv1.Warnings, error) {
    	return nil, nil, nil
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  5. cmd/metacache-set.go

    					o.objectPath(0), "", ReadOptions{})
    				if err != nil {
    					time.Sleep(retryDelay250)
    					retries++
    					continue
    				}
    				break
    			}
    		}
    		retryWait := func() {
    			retries++
    			if retries == 1 {
    				time.Sleep(retryDelay)
    			} else {
    				time.Sleep(retryDelay250)
    			}
    		}
    		// Load first part metadata...
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  6. cmd/api-resources.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"encoding/base64"
    	"net/url"
    	"strconv"
    )
    
    // Parse bucket url queries
    func getListObjectsV1Args(values url.Values) (prefix, marker, delimiter string, maxkeys int, encodingType string, errCode APIErrorCode) {
    	errCode = ErrNone
    
    	if values.Get("max-keys") != "" {
    		var err error
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jun 07 18:25:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. cmd/sts-handlers.go

    		Queries(stsAction, clientGrants).
    		Queries(stsVersion, stsAPIVersion).
    		Queries(stsToken, "{Token:.*}")
    
    	// AssumeRoleWithWebIdentity
    	stsRouter.Methods(http.MethodPost).HandlerFunc(httpTraceAll(sts.AssumeRoleWithWebIdentity)).
    		Queries(stsAction, webIdentity).
    		Queries(stsVersion, stsAPIVersion).
    		Queries(stsWebIdentityToken, "{Token:.*}")
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  8. cmd/iam-object-store.go

    func (iamOS *IAMObjectStore) loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, retries int) error {
    	for {
    	retry:
    		data, objInfo, err := iamOS.loadIAMConfigBytesWithMetadata(ctx, getPolicyDocPath(policy))
    		if err != nil {
    			if err == errConfigNotFound {
    				return errNoSuchPolicy
    			}
    			retries--
    			if retries <= 0 {
    				return err
    			}
    			time.Sleep(500 * time.Millisecond)
    			goto retry
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    				return true, nil
    			}
    			return false, err
    		}
    		err = d.deserialize(r)
    		r.Close()
    		return err != nil, nil
    	}
    
    	// Caches are read+written without locks,
    	retries := 0
    	for retries < 5 {
    		retry, err := load(name, time.Minute)
    		if err != nil {
    			return toObjectErr(err, dataUsageBucket, name)
    		}
    		if !retry {
    			break
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  10. cmd/batch-job-common-types.go

    type BatchJobRetry struct {
    	line, col int
    	Attempts  int           `yaml:"attempts" json:"attempts"` // number of retry attempts
    	Delay     time.Duration `yaml:"delay" json:"delay"`       // delay between each retries
    }
    
    var _ yaml.Unmarshaler = &BatchJobRetry{}
    
    // UnmarshalYAML - BatchJobRetry extends unmarshal to extract line, column information
    func (r *BatchJobRetry) UnmarshalYAML(val *yaml.Node) error {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
Back to top