- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 174 for roundTrip (0.4 sec)
-
cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer_test.go
limitations under the License. */ package fuzzer import ( "testing" "k8s.io/apimachinery/pkg/api/apitesting/roundtrip" "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/scheme" ) func TestRoundTripTypes(t *testing.T) { roundtrip.RoundTripTestForAPIGroup(t, scheme.AddToScheme, Funcs)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 17 14:40:46 UTC 2021 - 829 bytes - Viewed (0) -
pkg/apis/extensions/v1beta1/defaults_test.go
}, RevisionHistoryLimit: utilpointer.Int32(10), }, }, }, } for i, test := range tests { original := test.original expected := test.expected obj2 := roundTrip(t, runtime.Object(original)) got, ok := obj2.(*extensionsv1beta1.DaemonSet) if !ok { t.Errorf("(%d) unexpected object: %v", i, got) t.FailNow() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 21.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/scheme/roundtrip_test.go
limitations under the License. */ package scheme import ( "testing" "k8s.io/apimachinery/pkg/api/apitesting/roundtrip" "k8s.io/apimachinery/pkg/apis/meta/fuzzer" ) func TestRoundTrip(t *testing.T) { roundtrip.RoundTripTestForScheme(t, scheme, fuzzer.Funcs)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 12 17:32:02 UTC 2019 - 803 bytes - Viewed (0) -
pkg/registry/flowcontrol/prioritylevelconfiguration/strategy.go
// 1.28 server is not aware of the roundtrip annotation, and will // default any 0 value persisted (for the NominalConcurrencyShares // field of a priority level configuration object) back to 30 when // reading from etcd. // That means we should not allow 0 values to be introduced, either // via v1 or v1beta3(with the roundtrip annotation) until we know
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 20:55:50 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/composite_op_round_trip.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 03:40:50 UTC 2024 - 1.1K bytes - Viewed (0) -
pkg/api/testing/copy_test.go
"k8s.io/apimachinery/pkg/api/apitesting/fuzzer" "k8s.io/apimachinery/pkg/api/apitesting/roundtrip" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/kubernetes/pkg/api/legacyscheme" ) func TestDeepCopyApiObjects(t *testing.T) { for i := 0; i < *roundtrip.FuzzIters; i++ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:45:31 UTC 2023 - 2.7K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
obj := roundTrip(t, runtime.Object(in)) out := obj.(*v1.Service) if out.Spec.Ports[0].TargetPort != intstr.FromInt32(1234) { t.Errorf("Expected TargetPort to be defaulted, got %v", out.Spec.Ports[0].TargetPort) } in = &v1.Service{Spec: v1.ServiceSpec{Ports: []v1.ServicePort{{Port: 1234, TargetPort: intstr.FromInt32(5678)}}}} obj = roundTrip(t, runtime.Object(in)) out = obj.(*v1.Service)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
pkg/apis/flowcontrol/v1beta3/defaults_test.go
QueueLengthLimit: PriorityLevelConfigurationDefaultQueueLengthLimit, }, }, }, }, }, }, { name: "NominalConcurrencyShares is 0, roundtrip annotation is not set, default value should be applied", original: &flowcontrolv1beta3.PriorityLevelConfiguration{ Spec: flowcontrolv1beta3.PriorityLevelConfigurationSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 22:22:51 UTC 2023 - 9.3K bytes - Viewed (0) -
src/net/http/omithttp2.go
type http2Transport struct { MaxHeaderListSize uint32 ConnPool any } func (*http2Transport) RoundTrip(*Request) (*Response, error) { panic(noHTTP2) } func (*http2Transport) CloseIdleConnections() {} type http2noDialH2RoundTripper struct{} func (http2noDialH2RoundTripper) RoundTrip(*Request) (*Response, error) { panic(noHTTP2) } type http2noDialClientConnPool struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 22 20:51:27 UTC 2023 - 1.9K bytes - Viewed (0) -
pkg/kubelet/apis/config/scheme/scheme_test.go
import ( "testing" "k8s.io/apimachinery/pkg/api/apitesting/roundtrip" componentconfigtesting "k8s.io/component-base/config/testing" "k8s.io/kubernetes/pkg/kubelet/apis/config/fuzzer" ) func TestRoundTripFuzzing(t *testing.T) { scheme, _, err := NewSchemeAndCodecs() if err != nil { t.Fatalf("unexpected error: %v", err) } roundtrip.RoundTripTestForScheme(t, scheme, fuzzer.Funcs) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 08 16:06:16 UTC 2020 - 1.4K bytes - Viewed (0)