Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for validateBind (0.17 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		if pvc.Annotations[volume.AnnSelectedNode] != "" {
    			t.Errorf("expected volume.AnnSelectedNode of pvc %q empty, but got %q", pvcKey, pvc.Annotations[volume.AnnSelectedNode])
    		}
    	}
    }
    
    func (env *testEnv) validateBind(
    	t *testing.T,
    	pod *v1.Pod,
    	expectedPVs []*v1.PersistentVolume,
    	expectedAPIPVs []*v1.PersistentVolume) {
    
    	// Check pv cache
    	pvCache := env.internalBinder.pvCache
    	for _, pv := range expectedPVs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  2. src/net/smtp/smtp.go

    // functionality. Higher-level packages exist outside of the standard
    // library.
    func SendMail(addr string, a Auth, from string, to []string, msg []byte) error {
    	if err := validateLine(from); err != nil {
    		return err
    	}
    	for _, recp := range to {
    		if err := validateLine(recp); err != nil {
    			return err
    		}
    	}
    	c, err := Dial(addr)
    	if err != nil {
    		return err
    	}
    	defer c.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/rule.go

    	errInvalidRuleDelMarkerExpiration = Errorf("Rule with DelMarkerExpiration cannot have tags based filtering")
    )
    
    // validateID - checks if ID is valid or not.
    func (r Rule) validateID() error {
    	if len(r.ID) > 255 {
    		return errInvalidRuleID
    	}
    	return nil
    }
    
    // validateStatus - checks if status is valid or not.
    func (r Rule) validateStatus() error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. internal/bucket/replication/rule.go

    	errTagsDeleteMarkerReplicationDisallowed  = Errorf("Delete marker replication is not supported if any Tag filter is specified")
    )
    
    // validateID - checks if ID is valid or not.
    func (r Rule) validateID() error {
    	// cannot be longer than 255 characters
    	if len(r.ID) > 255 {
    		return errInvalidRuleID
    	}
    	return nil
    }
    
    // validateStatus - checks if status is valid or not.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 24 23:22:20 UTC 2022
    - 8.3K bytes
    - Viewed (0)
Back to top