Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for triggered (0.27 sec)

  1. cni/pkg/nodeagent/informers_test.go

    	// wait for an update event
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "update"}, monitortest.AtLeast(2))
    
    	// wait for the pod to be annotated
    	// after Pod annotated, another update event will be triggered.
    	assertPodAnnotated(t, client, pod)
    
    	// Assert expected calls actually made
    	fs.AssertExpectations(t)
    
    	// unlabelling the namespace should cause only one RemovePodFromMesh to happen
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/lex_test.go

    			continue
    		}
    		if !strings.Contains(err.Error(), test.error) {
    			t.Errorf("got error %q expected %q", err.Error(), test.error)
    		}
    	}
    }
    
    // firstError returns the first error value triggered by the input.
    func firstError(input *Input) (err error) {
    	panicOnError = true
    	defer func() {
    		panicOnError = false
    		switch e := recover(); e := e.(type) {
    		case nil:
    		case error:
    			err = e
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. internal/event/event.go

    	ConfigurationID string `json:"configurationId"`
    	Bucket          Bucket `json:"bucket"`
    	Object          Object `json:"object"`
    }
    
    // Source represents client information who triggered the event.
    type Source struct {
    	Host      string `json:"host"`
    	Port      string `json:"port"`
    	UserAgent string `json:"userAgent"`
    }
    
    // Event represents event notification information defined in
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  4. cni/pkg/install/install.go

    	if err != nil {
    		return err
    	}
    	defer func() {
    		setNotReady(in.isReady)
    		watcher.Close()
    	}()
    
    	// Before we process whether any file events have been triggered, we must check that the file is correct
    	// at this moment, and if not, yield. This is to catch other CNIs which might have mutated the file between
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    	ReplicateQueued = "replicate:queue"
    
    	// ReplicateExisting - audit trail for existing objects replication
    	ReplicateExisting = "replicate:existing"
    	// ReplicateExistingDelete - audit trail for delete replication triggered for existing delete markers
    	ReplicateExistingDelete = "replicate:existing:delete"
    
    	// ReplicateMRF - audit trail for replication from Most Recent Failures (MRF) queue
    	ReplicateMRF = "replicate:mrf"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  6. internal/bucket/lifecycle/lifecycle.go

    			continue
    		}
    		rules = append(rules, rule)
    	}
    	return rules
    }
    
    // ObjectOpts provides information to deduce the lifecycle actions
    // which can be triggered on the resultant object.
    type ObjectOpts struct {
    	Name             string
    	UserTags         string
    	ModTime          time.Time
    	Size             int64
    	VersionID        string
    	IsLatest         bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    							versionID: fi.VersionID,
    							queued:    time.Now(),
    							setIndex:  er.setIndex,
    							poolIndex: er.poolIndex,
    							scanMode:  scan,
    						})
    					})
    					// Healing is triggered and we have written
    					// successfully the content to client for
    					// the specific part, we should `nil` this error
    					// and proceed forward, instead of throwing errors.
    					err = nil
    				}
    			}
    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)
  8. internal/bucket/replication/replication.go

    	switch t {
    	case ObjectReplicationType, HealReplicationType, ExistingObjectReplicationType:
    		return true
    	}
    	return false
    }
    
    // ObjectOpts provides information to deduce whether replication
    // can be triggered on the resultant object.
    type ObjectOpts struct {
    	Name           string
    	UserTags       string
    	VersionID      string
    	DeleteMarker   bool
    	SSEC           bool
    	OpType         Type
    	Replica        bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/bufio/example_test.go

    			return 0, nil, nil
    		}
    		// There is one final token to be delivered, which may be the empty string.
    		// Returning bufio.ErrFinalToken here tells Scan there are no more tokens after this
    		// but does not trigger an error to be returned from Scan itself.
    		return 0, data, bufio.ErrFinalToken
    	}
    	scanner.Split(onComma)
    	// Scan.
    	for scanner.Scan() {
    		fmt.Printf("%q ", scanner.Text())
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  10. internal/dsync/dsync_test.go

    	// These goroutines yield during local work, so that switching from
    	// a blocked goroutine to other goroutines is profitable.
    	// As a matter of fact, this benchmark still triggers some spinning in the mutex.
    	m := NewDRWMutex(ds, "")
    	var acc0, acc1 uint64
    	b.SetParallelism(4)
    	b.RunParallel(func(pb *testing.PB) {
    		c := make(chan bool)
    		var data [4 << 10]uint64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
Back to top