Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for nvalid (0.31 sec)

  1. cmd/object-handlers.go

    // GetObjectAttributes ...
    func (api objectAPIHandlers) getObjectAttributesHandler(ctx context.Context, objectAPI ObjectLayer, bucket, object string, w http.ResponseWriter, r *http.Request) {
    	opts, valid := getAndValidateAttributesOpts(ctx, w, r, bucket, object)
    	if !valid {
    		return
    	}
    
    	var s3Error APIErrorCode
    	if opts.VersionID != "" {
    		s3Error = checkRequestAuthType(ctx, r, policy.GetObjectVersionAttributesAction, bucket, object)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    	if len(lines) != 1 {
    		return 0, 0, fmt.Errorf("error parsing line %q: it must contain only one line", input)
    	}
    
    	parts := strings.Fields(lines[0])
    	if len(parts) != 4 {
    		return 0, 0, fmt.Errorf("invalid line %q", input)
    	}
    
    	// Parsing the numbers
    	num1, err := strconv.ParseUint(parts[2], 10, 32)
    	if err != nil {
    		return 0, 0, fmt.Errorf("error parsing line %q: %w", input, err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_test.go

    	updatePluginResourcesFunc := func(node *schedulerframework.NodeInfo, attrs *lifecycle.PodAdmitAttributes) error {
    		// Maps from resourceName to the value we use to set node.allocatableResource[resourceName].
    		// A resource with invalid value (< 0) causes the function to return an error
    		// to emulate resource Allocation failure.
    		// Resources not contained in this map will have their node.allocatableResource
    		// quantity unchanged.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    	ctx := context.Background()
    	logger := klog.TODO()
    
    	if rootDirectory == "" {
    		return nil, fmt.Errorf("invalid root directory %q", rootDirectory)
    	}
    	if podLogsDirectory == "" {
    		return nil, errors.New("pod logs root directory is empty")
    	}
    	if kubeCfg.SyncFrequency.Duration <= 0 {
    		return nil, fmt.Errorf("invalid sync frequency %d", kubeCfg.SyncFrequency.Duration)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    		Help:      "Total number of S3 requests rejected for invalid header",
    		Type:      counterMetric,
    	}
    }
    
    func getS3RejectedTimestampRequestsTotalMD() MetricDescription {
    	return MetricDescription{
    		Namespace: s3MetricNamespace,
    		Subsystem: requestsRejectedSubsystem,
    		Name:      timestampTotal,
    		Help:      "Total number of S3 requests rejected for invalid timestamp",
    		Type:      counterMetric,
    	}
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    				ReplicationProxyRequest: "true",
    			},
    			PartNumber: opts.PartNumber,
    		}
    		if rs != nil {
    			h, err := rs.ToHeader()
    			if err != nil {
    				replLogIf(ctx, fmt.Errorf("invalid range header for %s/%s(%s) - %w", bucket, object, opts.VersionID, err))
    				continue
    			}
    			gopts.Set(xhttp.Range, h)
    		}
    
    		objInfo, err := tgt.StatObject(ctx, t.TargetBucket, object, gopts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_test.go

    			Protocol: "GRPC",
    		},
    	}
    	svc := findOrCreateService(instances, ingress, "sidecar", "sidecarns")
    	if svc == nil || svc.Hostname.Matches("sidecar.sidecarns") {
    		t.Fatal("Expected to return a valid instance, but got nil/default instance")
    	}
    	if !reflect.DeepEqual(svc, service) {
    		t.Fatal("Expected returned copy of instance to be equal, but they are different")
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top