Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UnmarshalJSON (0.05 sec)

  1. cmd/xl-storage-format-v1.go

    		Name:      fmt.Sprintf("part.%d", c.PartNumber),
    		Algorithm: c.Algorithm.String(),
    		Hash:      hex.EncodeToString(c.Hash),
    	}
    	return json.Marshal(info)
    }
    
    // UnmarshalJSON - custom checksum info unmarshaller
    func (c *ChecksumInfo) UnmarshalJSON(data []byte) error {
    	var info checksumInfoJSON
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err := json.Unmarshal(data, &info); err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    		if err != nil {
    			return fmt.Errorf("failed to execute command on ingress gateway sidecar: %v", err)
    		}
    		cd := configdump.Wrapper{}
    		err = cd.UnmarshalJSON(byConfigDump)
    		if err != nil {
    			return fmt.Errorf("can't parse ingress gateway sidecar config_dump: %v", err)
    		}
    
    		for _, svc := range matchingServices {
    			for _, port := range svc.Spec.Ports {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top