- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 804 for unmarshalV1 (0.28 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/skipnonapplied_test.go
return internal.NewSkipNonAppliedManager(m, &internaltesting.FakeObjectCreater{}) }) updatedObj := &unstructured.Unstructured{} if err := json.Unmarshal([]byte(`{"kind": "Pod", "apiVersion": "v1", "metadata": {"labels": {"app": "my-nginx"}}}`), updatedObj); err != nil { t.Fatalf("Failed to unmarshal object: %v", err) } if err := f.Update(updatedObj, "fieldmanager_test_update"); err != nil { t.Fatalf("failed to update object: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 16 20:03:48 UTC 2023 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v2beta1/generated.pb.go
func (*ContainerResourceMetricSource) Descriptor() ([]byte, []int) { return fileDescriptor_ea74040359c1ed83, []int{0} } func (m *ContainerResourceMetricSource) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *ContainerResourceMetricSource) 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 - 142.9K bytes - Viewed (0) -
staging/src/k8s.io/api/extensions/v1beta1/generated.pb.go
func (*DaemonSet) ProtoMessage() {} func (*DaemonSet) Descriptor() ([]byte, []int) { return fileDescriptor_90a532284de28347, []int{0} } func (m *DaemonSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *DaemonSet) 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 - 293.3K bytes - Viewed (0) -
security/pkg/util/jwtutil.go
} data, err := json.Marshal(rawAud) if err != nil { return nil, err } var singleAud string if err = json.Unmarshal(data, &singleAud); err == nil { return []string{singleAud}, nil } var listAud []string if err = json.Unmarshal(data, &listAud); err == nil { return listAud, nil } return nil, err } type jwtPayload struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 16:07:11 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/bootstrap/config.go
err := json.Unmarshal([]byte(val), &m) if err != nil { log.Warnf("Env variable %s [%s] failed json unmarshal: %v", key, val, err) } }, untypedMeta) j, err := json.Marshal(untypedMeta) if err != nil { return nil, err } if err := json.Unmarshal(j, meta); err != nil { return nil, err } meta = SetIstioVersion(meta)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:02:38 UTC 2024 - 27.6K bytes - Viewed (0) -
staging/src/k8s.io/api/resource/v1alpha2/generated.pb.go
func (*AllocationResult) ProtoMessage() {} func (*AllocationResult) Descriptor() ([]byte, []int) { return fileDescriptor_4312f5b44a31ec02, []int{0} } func (m *AllocationResult) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *AllocationResult) 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: Thu Mar 14 17:07:36 UTC 2024 - 261.9K bytes - Viewed (0) -
staging/src/k8s.io/api/rbac/v1/generated.pb.go
func (*AggregationRule) ProtoMessage() {} func (*AggregationRule) Descriptor() ([]byte, []int) { return fileDescriptor_c8ba2e7dd472de66, []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.5K bytes - Viewed (0) -
staging/src/k8s.io/api/authentication/v1/generated.pb.go
func (*BoundObjectReference) Descriptor() ([]byte, []int) { return fileDescriptor_d1237cbf54dccd53, []int{0} } func (m *BoundObjectReference) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *BoundObjectReference) 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 - 72K bytes - Viewed (0) -
src/testing/slogtest/example_test.go
// This example demonstrates one technique for testing a handler with this // package. The handler is given a [bytes.Buffer] to write to, and each line // of the resulting output is parsed. // For JSON output, [encoding/json.Unmarshal] produces a result in the desired // format when given a pointer to a map[string]any. func Example_parsing() { var buf bytes.Buffer h := slog.NewJSONHandler(&buf, nil) results := func() []map[string]any {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 18:32:54 UTC 2023 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1beta1/generated.pb.go
func (*AuditAnnotation) ProtoMessage() {} func (*AuditAnnotation) Descriptor() ([]byte, []int) { return fileDescriptor_7f7c65a4f012fb19, []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 - 187.9K bytes - Viewed (0)