Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 73 for item (0.13 sec)

  1. src/builtin/builtin.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    Package builtin provides documentation for Go's predeclared identifiers.
    The items documented here are not actually in package builtin
    but their descriptions here allow godoc to present documentation
    for the language's special identifiers.
    */
    package builtin
    
    import "cmp"
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		TypeMeta:      metav1.TypeMeta{},
    		LabelSelector: strings.Join(kv, ","),
    		FieldSelector: "spec.nodeName=" + node,
    	})
    	if err != nil {
    		return types.NamespacedName{}, err
    	}
    	pods := slices.Reference(podsr.Items)
    	if len(pods) > 0 {
    		// We need to pass in a sorter, and the one used by `kubectl logs` is good enough.
    		sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) }
    		sort.Sort(sortBy(pods))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    	}
    
    	return dfi.ToObjectInfo(bucket, object, opts.Versioned || opts.VersionSuspended), nil
    }
    
    // Send the successful but partial upload/delete, however ignore
    // if the channel is blocked by other items.
    func (er erasureObjects) addPartial(bucket, object, versionID string) {
    	globalMRFState.addPartialOp(partialOperation{
    		bucket:    bucket,
    		object:    object,
    		versionID: versionID,
    		queued:    time.Now(),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/admin-handlers-users_test.go

    	listResp, err := madmClient.ListServiceAccounts(ctx, parentAK)
    	if err != nil {
    		c.Fatalf("unable to list svc accounts: %v", err)
    	}
    	var accessKeys []string
    	for _, item := range listResp.Accounts {
    		accessKeys = append(accessKeys, item.AccessKey)
    	}
    	if !set.CreateStringSet(accessKeys...).Contains(svcAK) {
    		c.Fatalf("service account did not appear in listing!")
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/compare/sds/util.go

    	NotAfter     string `json:"not_after"`
    	NotBefore    string `json:"not_before"`
    	Type         string `json:"type"`
    }
    
    // NewSecretItemBuilder returns a new builder to create a secret item
    func NewSecretItemBuilder() SecretItemBuilder {
    	return &secretItemBuilder{}
    }
    
    // SecretItemBuilder wraps the process of setting fields for the SecretItem
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  6. cmd/erasure-healing.go

    				hr.After.Drives[i].State = madmin.DriveStateOffline
    			default:
    				hr.After.Drives[i].State = madmin.DriveStateCorrupt
    			}
    		}
    	}
    	return hr, nil
    }
    
    // Populates default heal result item entries with possible values when we are returning prematurely.
    // This is to ensure that in any circumstance we are not returning empty arrays with wrong values.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  7. cmd/global-heal.go

    	// Heal all buckets with all objects
    	for _, bucket := range healBuckets {
    		if tracker.isHealed(bucket) {
    			continue
    		}
    		var forwardTo string
    		// If we resume to the same bucket, forward to last known item.
    		if b := tracker.getBucket(); b != "" {
    			if b == bucket {
    				forwardTo = tracker.getObject()
    			} else {
    				// Reset to where last bucket ended if resuming.
    				tracker.resume()
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  8. cmd/admin-handlers.go

    	type healResp struct {
    		respBytes []byte
    		apiErr    APIError
    		errBody   string
    	}
    
    	// Define a closure to start sending whitespace to client
    	// after 10s unless a response item comes in
    	keepConnLive := func(w http.ResponseWriter, r *http.Request, respCh chan healResp) {
    		ticker := time.NewTicker(time.Second * 10)
    		defer ticker.Stop()
    		started := false
    	forLoop:
    		for {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  9. istioctl/pkg/admin/istiodconfig.go

    				}
    
    				if len(pl.Items) < 1 {
    					return errors.New("no pods found")
    				}
    
    				if len(pl.Items) > 1 {
    					log.Warnf("more than 1 pods fits selector: %s; will use pod: %s", istiodLabelSelector, pl.Items[0].Name)
    				}
    
    				// only use the first pod in the list
    				podName = pl.Items[0].Name
    				ns = pl.Items[0].Namespace
    			} else if len(args) == 1 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  10. internal/s3select/simdj/reader.go

    			r.err = &in.Error
    			return
    		}
    		if in.Value == nil {
    			if in.Error == io.EOF {
    				return
    			}
    			continue
    		}
    		i := in.Value.Iter()
    	readloop:
    		for {
    			var next simdjson.Iter
    			typ, err := i.AdvanceIter(&next)
    			if err != nil {
    				r.err = &err
    				return
    			}
    			switch typ {
    			case simdjson.TypeNone:
    				break readloop
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top