- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for istioScheme (0.26 sec)
-
pkg/kube/client.go
} return obj, dr, nil } // IstioScheme returns a scheme will all known Istio-related types added var ( IstioScheme = istioScheme() IstioCodec = serializer.NewCodecFactory(IstioScheme) ) // FakeIstioScheme is an IstioScheme that has List type registered. var FakeIstioScheme = func() *runtime.Scheme { s := istioScheme() // Workaround https://github.com/kubernetes/kubernetes/issues/107823
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 39K bytes - Viewed (0) -
pilot/pkg/config/file/store.go
kind: groupVersionKind.Kind, } } runtimeScheme := runtime.NewScheme() codecs := serializer.NewCodecFactory(runtimeScheme) deserializer := codecs.UniversalDeserializer() obj, err := kube.IstioScheme.New(schema.GroupVersionKind().Kubernetes()) if err != nil { return resources, fmt.Errorf("failed to initialize interface for built-in type: %v", err) } _, _, err = deserializer.Decode(jsonChunk, nil, obj)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/kube/util.go
// will not be round-tripped through internal versions. Defaulting does not happen // on the client. config.NegotiatedSerializer = serializer.NewCodecFactory(IstioScheme).WithoutConversion() } if len(config.UserAgent) == 0 { config.UserAgent = IstioUserAgent() } return config }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 18.6K bytes - Viewed (0)