Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for assignee (0.17 sec)

  1. internal/bucket/lifecycle/lifecycle.go

    		}
    
    	}
    	return false
    }
    
    // ParseLifecycleConfigWithID - parses for a Lifecycle config and assigns
    // unique id to rules with empty ID.
    func ParseLifecycleConfigWithID(r io.Reader) (*Lifecycle, error) {
    	var lc Lifecycle
    	if err := xml.NewDecoder(r).Decode(&lc); err != nil {
    		return nil, err
    	}
    	// assign a unique id for rules with empty ID
    	for i := range lc.Rules {
    		if lc.Rules[i].ID == "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/informers.go

    			// it's not routable at this point and something is wrong/we should discard this event.
    			podIPs := util.GetPodIPsIfPresent(pod)
    			if len(podIPs) == 0 {
    				log.Warnf("pod %s does not appear to have any assigned IPs, not capturing", pod.Name)
    				return nil
    			}
    
    			err := s.dataplane.AddPodToMesh(s.ctx, pod, podIPs, "")
    			log.Debugf("AddPodToMesh(%s) returned %v", newPod.Name, err)
    		}
    	case controllers.EventDelete:
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  3. schema/schema.go

    	FieldsByBindName          map[string]*Field // embedded fields is 'Embed.Field'
    	FieldsByDBName            map[string]*Field
    	FieldsWithDefaultDBValue  []*Field // fields with default value assigned by database
    	Relationships             Relationships
    	CreateClauses             []clause.Interface
    	QueryClauses              []clause.Interface
    	UpdateClauses             []clause.Interface
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  4. 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 Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 21 14:09:38 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  5. internal/kms/kes.go

    	c.lock.RLock()
    	defer c.lock.RUnlock()
    
    	return c.client.GetPolicy(ctx, policy)
    }
    
    // DescribeIdentity describes an identity by returning its metadata.
    // e.g. which policy is currently assigned and whether its an admin identity.
    func (c *kesClient) DescribeIdentity(ctx context.Context, identity string) (*kes.IdentityInfo, error) {
    	c.lock.RLock()
    	defer c.lock.RUnlock()
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  6. association.go

    	Dest   reflect.Value
    }
    
    func (association *Association) saveAssociation(clear bool, values ...interface{}) {
    	var (
    		reflectValue = association.DB.Statement.ReflectValue
    		assignBacks  []assignBack // assign association values back to arguments after save
    	)
    
    	appendToRelations := func(source, rv reflect.Value, clear bool) {
    		switch association.Relationship.Type {
    		case schema.HasOne, schema.BelongsTo:
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu May 04 11:30:45 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  7. cni/pkg/util/podutil.go

    			"status",
    		)
    	if errors.IsNotFound(err) {
    		return nil
    	}
    	return err
    }
    
    // Get any IPs currently assigned to the Pod.
    //
    // If 'PodIPs' exists, it is preferred (and should be guaranteed to contain the address in 'PodIP'),
    // otherwise fallback to 'PodIP'.
    //
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. 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)
  9. 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 Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Viewed (0)
  10. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top