Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 305 for unmarshalV1 (0.23 sec)

  1. cmd/metrics-v2_gen.go

    	o = msgp.AppendString(o, z.Help)
    	// string "Type"
    	o = append(o, 0xa4, 0x54, 0x79, 0x70, 0x65)
    	o = msgp.AppendString(o, string(z.Type))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *MetricDescription) 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/apidiscovery/v2/generated.pb.go

    func (*APIGroupDiscovery) ProtoMessage() {}
    func (*APIGroupDiscovery) Descriptor() ([]byte, []int) {
    	return fileDescriptor_e0b7287280068d8f, []int{0}
    }
    func (m *APIGroupDiscovery) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *APIGroupDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    	n, err := m.MarshalToSizedBuffer(b)
    	if err != nil {
    		return nil, err
    	}
    	return b[:n], nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/apiserverinternal/v1alpha1/generated.pb.go

    func (*ServerStorageVersion) Descriptor() ([]byte, []int) {
    	return fileDescriptor_126bcbf538b54729, []int{0}
    }
    func (m *ServerStorageVersion) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ServerStorageVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    	n, err := m.MarshalToSizedBuffer(b)
    	if err != nil {
    		return nil, err
    	}
    	return b[:n], nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. pkg/credentialprovider/config_test.go

    			},
    			"http://bar.example.com": {
    				Username: "bar",
    				Password: "baz",
    				Email:    "******@****.***",
    			},
    		}),
    	}
    
    	var output DockerConfigJSON
    	err := json.Unmarshal(input, &output)
    	if err != nil {
    		t.Errorf("Received unexpected error: %v", err)
    	}
    
    	if !reflect.DeepEqual(expect, output) {
    		t.Errorf("Received unexpected output. Expected %#v, got %#v", expect, output)
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apidiscovery/v2beta1/generated.pb.go

    func (*APIGroupDiscovery) ProtoMessage() {}
    func (*APIGroupDiscovery) Descriptor() ([]byte, []int) {
    	return fileDescriptor_48661e6ba3d554f3, []int{0}
    }
    func (m *APIGroupDiscovery) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *APIGroupDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    	n, err := m.MarshalToSizedBuffer(b)
    	if err != nil {
    		return nil, err
    	}
    	return b[:n], nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/certificates/v1alpha1/generated.pb.go

    func (*ClusterTrustBundle) ProtoMessage() {}
    func (*ClusterTrustBundle) Descriptor() ([]byte, []int) {
    	return fileDescriptor_f73d5fe56c015bb8, []int{0}
    }
    func (m *ClusterTrustBundle) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ClusterTrustBundle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    	n, err := m.MarshalToSizedBuffer(b)
    	if err != nil {
    		return nil, err
    	}
    	return b[:n], nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. pkg/config/model.go

    	}
    	pbs := &structpb.Struct{}
    	if err := protomarshal.Unmarshal(js, pbs); err != nil {
    		return nil, err
    	}
    	return protoconv.MessageToAnyWithError(pbs)
    }
    
    func ToMap(s Spec) (map[string]any, error) {
    	js, err := ToJSON(s)
    	if err != nil {
    		return nil, err
    	}
    
    	// Unmarshal from json bytes to go map
    	var data map[string]any
    	err = json.Unmarshal(js, &data)
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/coordination/v1/generated.pb.go

    func (*Lease) ProtoMessage() {}
    func (*Lease) Descriptor() ([]byte, []int) {
    	return fileDescriptor_239d5a4df3139dce, []int{0}
    }
    func (m *Lease) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *Lease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    	n, err := m.MarshalToSizedBuffer(b)
    	if err != nil {
    		return nil, err
    	}
    	return b[:n], nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/coordination/v1beta1/generated.pb.go

    func (*Lease) ProtoMessage() {}
    func (*Lease) Descriptor() ([]byte, []int) {
    	return fileDescriptor_8d4e223b8bb23da3, []int{0}
    }
    func (m *Lease) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *Lease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    	n, err := m.MarshalToSizedBuffer(b)
    	if err != nil {
    		return nil, err
    	}
    	return b[:n], nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. pkg/adsc/adsc.go

    		}
    
    		if msg.TypeUrl == gvk.MeshConfig.String() &&
    			len(msg.Resources) > 0 {
    			rsc := msg.Resources[0]
    			m := &v1alpha1.MeshConfig{}
    			err = proto.Unmarshal(rsc.Value, m)
    			if err != nil {
    				adscLog.Warnf("Failed to unmarshal mesh config: %v", err)
    			}
    			a.Mesh = m
    			if a.LocalCacheDir != "" {
    				strResponse, err := protomarshal.ToJSONWithIndent(m, "  ")
    				if err != nil {
    					continue
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top