- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 177 for unmarshaler (0.17 sec)
-
pkg/config/mesh/mesh.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 12K bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/listener_patch.go
lis *listener.Listener, fc *listener.FilterChain, filter *listener.Filter, ) { httpconn := &hcm.HttpConnectionManager{} if filter.GetTypedConfig() != nil { if err := filter.GetTypedConfig().UnmarshalTo(httpconn); err != nil { return // todo: figure out a non noisy logging option here // as this loop will be called very frequently } } for _, lp := range patches[networking.EnvoyFilter_HTTP_FILTER] {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 15:39:29 UTC 2024 - 26.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
} // ToUnstructured implements the value.UnstructuredConverter interface. func (q Quantity) ToUnstructured() interface{} { return q.String() } // UnmarshalJSON implements the json.Unmarshaller interface. // TODO: Remove support for leading/trailing whitespace func (q *Quantity) UnmarshalJSON(value []byte) error { l := len(value) if l == 4 && bytes.Equal(value, []byte("null")) { q.d.Dec = nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 23.8K bytes - Viewed (0) -
pkg/controller/podgc/gc_controller_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 08:16:48 UTC 2024 - 29K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder_test.go
t.Helper() if c.TransportSocket == nil { return nil } tlsContext := &tls.UpstreamTlsContext{} err := c.TransportSocket.GetTypedConfig().UnmarshalTo(tlsContext) if err != nil { t.Fatalf("Failed to unmarshall tls context: %v", err) } return tlsContext } func TestShouldH2Upgrade(t *testing.T) { tests := []struct { name string clusterName string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0) -
src/internal/fuzz/fuzz.go
// Data is the raw input data. Data should only be populated for seed // values. For on-disk corpus files, Data will be nil, as it will be loaded // from disk using Path. Data []byte // Values is the unmarshaled values from a corpus file. Values []any Generation int // IsSeed indicates whether this entry is part of the seed corpus. IsSeed bool }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 34.1K bytes - Viewed (0) -
pkg/serviceaccount/jwt_test.go
ecdsaTokenJWS, err := jose.ParseSigned(ecdsaToken) if err != nil { t.Fatal(err) } dataFullSerialize := map[string]any{} if err := json.Unmarshal([]byte(ecdsaTokenJWS.FullSerialize()), &dataFullSerialize); err != nil { t.Fatal(err) } dataFullSerialize["malformed_iss"] = "." + base64.RawURLEncoding.EncodeToString([]byte(`{"iss":"bar"}`)) + "."
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 22:16:08 UTC 2024 - 17K bytes - Viewed (0) -
pkg/kube/inject/inject.go
} const ( SidecarTemplateName = "sidecar" ) // UnmarshalConfig unmarshals the provided YAML configuration, while normalizing the resulting configuration func UnmarshalConfig(yml []byte) (Config, error) { var injectConfig Config if err := yaml.Unmarshal(yml, &injectConfig); err != nil { return injectConfig, fmt.Errorf("failed to unmarshal injection template: %v", err) } if injectConfig.RawTemplates == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 28.8K bytes - Viewed (1) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go
} { t.Run(fmt.Sprintf("%x", tc.example), func(t *testing.T) { if tc.fixme != "" { t.Skip(tc.fixme) // TODO: Remove once all cases are fixed. } var decoded interface{} err := modes.Decode.Unmarshal(tc.example, &decoded) if err != nil { if tc.reject != "" { t.Logf("expected decode error (%s) occurred: %v", tc.reject, err) return } t.Fatalf("unexpected decode error: %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 15 18:59:36 UTC 2024 - 15.8K bytes - Viewed (0) -
src/crypto/x509/x509_test.go
t.Errorf("Marshal(rsa.PublicKey) = %x, want %x", derBytes2, derBytes) } pub3 := new(rsa.PublicKey) rest, err := asn1.Unmarshal(derBytes, pub3) if err != nil { t.Errorf("Unmarshal(rsa.PublicKey): %v", err) } if len(rest) != 0 || pub.N.Cmp(pub3.N) != 0 || pub.E != pub3.E { t.Errorf("Unmarshal(rsa.PublicKey) = %+v, %q want %+v, %q", pub, rest, pub2, []byte(nil)) } publicKeys := []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0)