Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 452 for Map (0.12 sec)

  1. internal/event/rulesmap.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    // RulesMap - map of rules for every event name.
    type RulesMap map[Name]Rules
    
    // add - adds event names, prefixes, suffixes and target ID to rules map.
    func (rulesMap RulesMap) add(eventNames []Name, pattern string, targetID TargetID) {
    	rules := make(Rules)
    	rules.Add(pattern, targetID)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.6K bytes
    - Viewed (0)
  2. cmd/storage-rest-common_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *nsScannerOptions) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 3
    	// write "id"
    	err = en.Append(0x83, 0xa2, 0x69, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.DiskID)
    	if err != nil {
    		err = msgp.WrapError(err, "DiskID")
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. istioctl/pkg/checkinject/checkinject.go

    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    			var podName, podNs string
    			var podLabels, nsLabels map[string]string
    			if len(args) == 1 {
    				podName, podNs, err = ctx.InferPodInfoFromTypedResource(args[0], ctx.Namespace())
    				if err != nil {
    					return err
    				}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. cmd/tier-last-day-stats_gen.go

    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0007, zb0008 := range z {
    		err = en.WriteString(zb0007)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		// map header, size 2
    		// write "Bins"
    		err = en.Append(0x82, 0xa4, 0x42, 0x69, 0x6e, 0x73)
    		if err != nil {
    			return
    		}
    		err = en.WriteArrayHeader(uint32(24))
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    	RetryCount           uint32
    	ResetID              string
    	Dsc                  ReplicateDecision
    	ExistingObjResync    ResyncDecision
    	TargetArn            string
    	TargetStatuses       map[string]replication.StatusType
    	TargetPurgeStatuses  map[string]VersionPurgeStatusType
    	ReplicationTimestamp time.Time
    }
    
    // MultipartInfo captures metadata information about the uploadId
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    func filterReplicationStatusMetadata(metadata map[string]string) map[string]string {
    	// Copy on write
    	dst := metadata
    	var copied bool
    	delKey := func(key string) {
    		if _, ok := metadata[key]; !ok {
    			return
    		}
    		if !copied {
    			dst = make(map[string]string, len(metadata))
    			for k, v := range metadata {
    				dst[k] = v
    			}
    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)
  7. cmd/iam-store.go

    	// map of STS access key to policy names
    	iamSTSPolicyMap *xsync.MapOf[string, MappedPolicy]
    
    	// map of group names to group info
    	iamGroupsMap map[string]GroupInfo
    	// map of user names to groups they are a member of
    	iamUserGroupMemberships map[string]set.StringSet
    	// map of group names to policy names
    	iamGroupPolicyMap *xsync.MapOf[string, MappedPolicy]
    }
    
    func newIamCache() *iamCache {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  8. docs/iam/identity-manager-plugin.go

    	w.WriteHeader(http.StatusBadRequest)
    	json.NewEncoder(w).Encode(map[string]string{
    		"reason": fmt.Sprintf("%v", err),
    	})
    }
    
    type Resp struct {
    	User               string                 `json:"user"`
    	MaxValiditySeconds int                    `json:"maxValiditySeconds"`
    	Claims             map[string]interface{} `json:"claims"`
    }
    
    var tokens map[string]Resp = map[string]Resp{
    	"aaa": {
    		User:               "Alice",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/informers_test.go

    			Namespace: "test",
    			UID:       "1234",
    			Labels:    map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeNone},
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    	ns := &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:   "test",
    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)
  10. schema/relationship_test.go

    		}
    		Toys []Toy `gorm:"polymorphic:Owner;"`
    	}
    
    	s, err := schema.Parse(&User{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("Failed to parse schema, got error %v", err)
    	}
    
    	checkEmbeddedRelations(t, s.Relationships.EmbeddedRelations, map[string]EmbeddedRelations{
    		"Cat": {
    			Relations: map[string]Relation{
    				"Toy": {
    					Name:        "Toy",
    					Type:        schema.HasOne,
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top