Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 804 for unmarshalV1 (0.2 sec)

  1. staging/src/k8s.io/api/policy/v1/generated.pb.go

    func (*Eviction) ProtoMessage() {}
    func (*Eviction) Descriptor() ([]byte, []int) {
    	return fileDescriptor_204bc6fa48ff56f7, []int{0}
    }
    func (m *Eviction) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *Eviction) 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.1K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/comparator.go

    	for _, resp := range istiodResponses {
    		istiodDump := &configdump.Wrapper{}
    		err := json.Unmarshal(resp, istiodDump)
    		if err != nil {
    			continue
    		}
    		c.istiod = istiodDump
    		break
    	}
    	if c.istiod == nil {
    		return nil, fmt.Errorf("unable to find config dump in Istiod responses")
    	}
    	envoyDump := &configdump.Wrapper{}
    	err := json.Unmarshal(envoyResponse, envoyDump)
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/encoding/json/example_marshaling_test.go

    	"fmt"
    	"log"
    	"strings"
    )
    
    type Animal int
    
    const (
    	Unknown Animal = iota
    	Gopher
    	Zebra
    )
    
    func (a *Animal) UnmarshalJSON(b []byte) error {
    	var s string
    	if err := json.Unmarshal(b, &s); err != nil {
    		return err
    	}
    	switch strings.ToLower(s) {
    	default:
    		*a = Unknown
    	case "gopher":
    		*a = Gopher
    	case "zebra":
    		*a = Zebra
    	}
    
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 20:18:52 UTC 2016
    - 1.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/admissionregistration/v1alpha1/generated.pb.go

    func (*AuditAnnotation) ProtoMessage() {}
    func (*AuditAnnotation) Descriptor() ([]byte, []int) {
    	return fileDescriptor_2c49182728ae0af5, []int{0}
    }
    func (m *AuditAnnotation) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *AuditAnnotation) 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
    - 117.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/storage/v1/generated.pb.go

    func (*CSIDriver) ProtoMessage() {}
    func (*CSIDriver) Descriptor() ([]byte, []int) {
    	return fileDescriptor_662262cc70094b41, []int{0}
    }
    func (m *CSIDriver) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *CSIDriver) 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
    - 133.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1/generated.pb.go

    func (*AuditAnnotation) ProtoMessage() {}
    func (*AuditAnnotation) Descriptor() ([]byte, []int) {
    	return fileDescriptor_3205c7dc5bf0c9bf, []int{0}
    }
    func (m *AuditAnnotation) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *AuditAnnotation) 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: Wed Mar 06 00:00:21 UTC 2024
    - 200.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/flowcontrol/v1beta1/generated.pb.go

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

    func (*AggregationRule) ProtoMessage() {}
    func (*AggregationRule) Descriptor() ([]byte, []int) {
    	return fileDescriptor_c5bc2d145acd4e45, []int{0}
    }
    func (m *AggregationRule) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *AggregationRule) 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
    - 77.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/rbac/v1alpha1/generated.pb.go

    func (*AggregationRule) ProtoMessage() {}
    func (*AggregationRule) Descriptor() ([]byte, []int) {
    	return fileDescriptor_758889dfd9a88fa6, []int{0}
    }
    func (m *AggregationRule) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *AggregationRule) 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
    - 77.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/storage/v1alpha1/generated.pb.go

    func (*CSIStorageCapacity) ProtoMessage() {}
    func (*CSIStorageCapacity) Descriptor() ([]byte, []int) {
    	return fileDescriptor_02e7952e43280c27, []int{0}
    }
    func (m *CSIStorageCapacity) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *CSIStorageCapacity) 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
    - 76.5K bytes
    - Viewed (0)
Back to top