Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for assignee (0.14 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    	if err != nil {
    		t.Fatalf("Expected parsing to succeed but failed with %v", err)
    	}
    	for _, rule := range lc.Rules {
    		if rule.ID == "" {
    			t.Fatalf("Expected all rules to have a unique id assigned %#v", rule)
    		}
    	}
    }
    
    func TestFilterAndSetPredictionHeaders(t *testing.T) {
    	lc := Lifecycle{
    		Rules: []Rule{
    			{
    				ID:     "rule-1",
    				Status: "Enabled",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. tests/serializer_test.go

    			IsIntern: false,
    		},
    		CustomSerializerString: "world",
    	}
    
    	// first time insert record
    	out := SerializerStruct{}
    	if err := DB.Assign(data).FirstOrCreate(&out).Error; err != nil {
    		t.Fatalf("failed to FirstOrCreate Assigned data, got error %v", err)
    	}
    
    	var result SerializerStruct
    	if err := DB.First(&result, out.ID).Error; err != nil {
    		t.Fatalf("failed to query data, got error %v", err)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 21 14:09:38 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/ast.go

    	ctxSwitch
    	ctxTypeSwitch
    	ctxFile
    	ctxDecl
    	ctxSpec
    	ctxDefer
    	ctxCall  // any function call other than ctxCall2
    	ctxCall2 // function call whose result is assigned to two variables
    	ctxSelector
    )
    
    // walk walks the AST x, calling visit(f, x, context) for each node.
    func (f *File) walk(x interface{}, context astContext, visit func(*File, interface{}, astContext)) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. schema/field_test.go

    		"birthday":   time.Now(),
    		"active":     f,
    	}
    
    	for k, v := range newValues {
    		if err := userSchema.FieldsByDBName[k].Set(context.Background(), reflectValue, v); err != nil {
    			t.Errorf("no error should happen when assign value to field %v, but got %v", k, err)
    		}
    	}
    	newValues["updated_at"] = time.Time{}
    	newValues["active"] = false
    	checkField(t, userSchema, reflectValue, newValues)
    
    	// test valuer and other type
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Viewed (0)
  5. internal/logger/target/http/http.go

    		TotalMessages:  atomic.LoadInt64(&h.totalMessages),
    		FailedMessages: atomic.LoadInt64(&h.failedMessages),
    		QueueLength:    queueLength,
    	}
    
    	return stats
    }
    
    // AssignMigrateTarget assigns a target
    // which will eventually replace the current target.
    func (h *Target) AssignMigrateTarget(migrateTgt *Target) {
    	h.migrateTarget = migrateTgt
    }
    
    // Init validate and initialize the http target
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  6. callbacks/preload.go

    			fieldValues[idx], _ = field.ValueOf(tx.Statement.Context, elem)
    		}
    
    		datas, ok := identityMap[utils.ToStringKey(fieldValues...)]
    		if !ok {
    			return fmt.Errorf("failed to assign association %#v, make sure foreign fields exists", elem.Interface())
    		}
    
    		for _, data := range datas {
    			reflectFieldValue := rel.Field.ReflectValueOf(tx.Statement.Context, data)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  7. cmd/bucket-replication-utils.go

    type TargetReplicationResyncStatus struct {
    	StartTime  time.Time `json:"startTime" msg:"st"`
    	LastUpdate time.Time `json:"lastUpdated" msg:"lst"`
    	// Resync ID assigned to this reset
    	ResyncID string `json:"resyncID" msg:"id"`
    	// ResyncBeforeDate - resync all objects created prior to this date
    	ResyncBeforeDate time.Time `json:"resyncBeforeDate" msg:"rdt"`
    	// Status of resync operation
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 26.2K bytes
    - Viewed (0)
  8. statement.go

    	RaiseErrorOnNotFound bool
    	SkipHooks            bool
    	SQL                  strings.Builder
    	Vars                 []interface{}
    	CurDestIndex         int
    	attrs                []interface{}
    	assigns              []interface{}
    	scopes               []func(*DB) *DB
    }
    
    type join struct {
    	Name     string
    	Conds    []interface{}
    	On       *clause.Where
    	Selects  []string
    	Omits    []string
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top