Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 182 for unmarshalV (0.15 sec)

  1. cmd/metacache-walk_gen.go

    	o = msgp.AppendInt(o, z.Limit)
    	// string "DiskID"
    	o = append(o, 0xa6, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44)
    	o = msgp.AppendString(o, z.DiskID)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *WalkDirOptions) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. cmd/site-replication-utils_gen.go

    	o, err = z.TargetReplicationResyncStatus.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "TargetReplicationResyncStatus")
    		return
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *SiteResyncStatus) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 14 15:16:40 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin.go

    }
    
    // parseConfig parses the supplied configuration (and prevResult) from stdin.
    func parseConfig(stdin []byte) (*Config, error) {
    	conf := Config{}
    
    	if err := json.Unmarshal(stdin, &conf); err != nil {
    		return nil, fmt.Errorf("failed to parse network configuration: %v", err)
    	}
    
    	log.Debugf("istio-cni: Config is: %+v", conf)
    	// Parse previous result. Remove this if your plugin is not chained.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. cmd/bucket-metadata-sys.go

    		if e != nil && !errors.Is(e, errConfigNotFound) {
    			return updatedAt, e
    		}
    		var expiryRuleRemoved bool
    		if len(meta.LifecycleConfigXML) > 0 {
    			var lcCfg lifecycle.Lifecycle
    			if err := xml.Unmarshal(meta.LifecycleConfigXML, &lcCfg); err != nil {
    				return updatedAt, err
    			}
    			// find a single expiry rule set the flag
    			for _, rl := range lcCfg.Rules {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. istioctl/pkg/kubeinject/kubeinject.go

    			valuesConfigMapKey, injectConfigMapName)
    	}
    
    	return valuesData, nil
    }
    
    func readInjectConfigFile(f []byte) (inject.RawTemplates, error) {
    	var injectConfig inject.Config
    	err := yaml.Unmarshal(f, &injectConfig)
    	if err != nil || len(injectConfig.RawTemplates) == 0 {
    		// This must be a direct template, instead of an inject.Config. We support both formats
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. cmd/format-erasure_test.go

    	}
    
    	b, err = os.ReadFile(pathJoin(rootPath, minioMetaBucket, formatConfigFile))
    	if err != nil {
    		t.Fatal(err)
    	}
    	formatV3 := &formatErasureV3{}
    	if err = json.Unmarshal(b, formatV3); err != nil {
    		t.Fatal(err)
    	}
    	if formatV3.Erasure.This != m.Erasure.Disk {
    		t.Fatalf("expected drive uuid: %s, got: %s", m.Erasure.Disk, formatV3.Erasure.This)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. internal/bucket/object/lock/lock.go

    func NewObjectLockConfig() *Config {
    	return &Config{
    		ObjectLockEnabled: Enabled,
    	}
    }
    
    // RetentionDate is a embedded type containing time.Time to unmarshal
    // Date in Retention
    type RetentionDate struct {
    	time.Time
    }
    
    // UnmarshalXML parses date from Retention and validates date format
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. cmd/admin-handlers-site-replication.go

    		data, err = madmin.DecryptData(encryptionKey, bytes.NewReader(data))
    		if err != nil {
    			return SRError{
    				Cause: err,
    				Code:  ErrSiteReplicationInvalidRequest,
    			}
    		}
    	}
    	return json.Unmarshal(data, v)
    }
    
    // SiteReplicationStatus - GET /minio/admin/v3/site-replication/status
    func (a adminAPIHandlers) SiteReplicationStatus(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. docs/debugging/inspect/export.go

    	}
    	return nil
    }
    
    type xlMetaV2VersionHeaderV2 struct {
    	VersionID [16]byte
    	ModTime   int64
    	Signature [4]byte
    	Type      uint8
    	Flags     uint8
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *xlMetaV2VersionHeaderV2) UnmarshalMsg(bts []byte) (o []byte, e error) {
    	var zb0001 uint32
    	zb0001, bts, e = msgp.ReadArrayHeaderBytes(bts)
    	if e != nil {
    		e = msgp.WrapError(e)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    		return
    	}
    
    	user := creds.AccessKey
    	if creds.ParentUser != "" {
    		user = creds.ParentUser
    	}
    
    	job := &BatchJobRequest{}
    	if err = yaml.Unmarshal(buf, job); err != nil {
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Fill with default values
    	if job.Replicate != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top