- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 70 for Rt (0.12 sec)
-
cmd/kubeadm/app/cmd/util/cmdutil_test.go
supportedArgs: []string{"node-name"}, expectedErr: true, }, } for _, rt := range tests { t.Run(rt.name, func(t *testing.T) { actual := ValidateExactArgNumber(rt.args, rt.supportedArgs) if (actual != nil) != rt.expectedErr { t.Errorf( "failed ValidateExactArgNumber:\n\texpected error: %t\n\t actual error: %t", rt.expectedErr, (actual != nil), ) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 4K bytes - Viewed (0) -
cmd/kubeadm/app/images/images_test.go
ImageRepository: gcrPrefix, KubernetesVersion: testversion, }, }, } for _, rt := range tests { actual := GetKubernetesImage(rt.image, rt.cfg) if actual != rt.expected { t.Errorf( "failed GetKubernetesImage:\n\texpected: %s\n\t actual: %s", rt.expected, actual, ) } } } func TestGetEtcdImage(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 06:33:37 UTC 2023 - 8.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/common_test.go
scheduler: {} `), }, } for _, rt := range tests { t.Run(rt.name, func(t *testing.T) { rt.buf = bytes.NewBufferString("") printConfiguration(rt.cfg, rt.buf, &output.TextPrinter{}) actualBytes := rt.buf.Bytes() if !bytes.Equal(actualBytes, rt.expectedBytes) { t.Errorf( "failed PrintConfiguration:\n\texpected: %q\n\t actual: %q", string(rt.expectedBytes), string(actualBytes), )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/initconfiguration_test.go
cfgFiles["Kube-proxy_componentconfig"], cfgFiles["Kubelet_componentconfig"], }, []byte(constants.YAMLDocumentSeparator)), }, } for _, rt := range tests { t.Run(rt.name, func(t2 *testing.T) { cfgPath := filepath.Join(tmpdir, rt.name) err := os.WriteFile(cfgPath, rt.fileContents, 0644) if err != nil { t.Errorf("Couldn't create file: %v", err) return } opts := LoadOrDefaultConfigurationOptions{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 13 09:17:03 UTC 2023 - 5.2K bytes - Viewed (0) -
src/runtime/asan/asan.go
// Keep in sync with the definition in compiler-rt // https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/asan/asan_interface_internal.h#L41 // This structure is used to describe the source location of // a place where global was defined. struct _asan_global_source_location { const char *filename; int line_no; int column_no; }; // Keep in sync with the definition in compiler-rt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 00:22:11 UTC 2023 - 2.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/error_test.go
{"preflight error", &pferror{}, PreFlightExitCode}, } for _, rt := range tests { t.Run(rt.name, func(t *testing.T) { codeReturned = 0 checkErr(rt.e, errHandle) if codeReturned != rt.expected { t.Errorf( "failed checkErr:\n\texpected: %d\n\t actual: %d", rt.expected, codeReturned, ) } }) } } func TestFormatErrMsg(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jul 04 08:41:27 UTC 2021 - 2.4K bytes - Viewed (0) -
pkg/kubeapiserver/authorizer/modes/modes_test.go
{"Webhook", true}, // supported {"AlwaysAllow", true}, // supported {"AlwaysDeny", true}, // supported } for _, rt := range tests { actual := IsValidAuthorizationMode(rt.authzMode) if actual != rt.expected { t.Errorf( "failed ValidAuthorizationMode:\n\texpected: %t\n\t actual: %t", rt.expected, actual, ) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 23 13:27:16 UTC 2017 - 1.2K bytes - Viewed (0) -
pkg/kube/krt/recomputetrigger_test.go
"istio.io/istio/pkg/ptr" "istio.io/istio/pkg/test/util/assert" ) func TestRecomputeTrigger(t *testing.T) { rt := krt.NewRecomputeTrigger() col1 := krt.NewStatic(ptr.Of("foo")).AsCollection() response := "foo" col2 := krt.NewCollection(col1, func(ctx krt.HandlerContext, i string) *string { rt.MarkDependant(ctx) return ptr.Of(response) }) tt := assert.NewTracker[string](t) col2.Register(TrackerHandler[string](tt))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 07 05:51:56 UTC 2024 - 1.3K bytes - Viewed (0) -
pkg/util/async/bounded_frequency_runner.go
next time.Time } func (rt *realTimer) C() <-chan time.Time { return rt.timer.C } func (rt *realTimer) Reset(d time.Duration) bool { rt.next = time.Now().Add(d) return rt.timer.Reset(d) } func (rt *realTimer) Stop() bool { return rt.timer.Stop() } func (rt *realTimer) Now() time.Time { return time.Now() } func (rt *realTimer) Remaining() time.Duration {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 15 09:36:26 UTC 2022 - 9.4K bytes - Viewed (0) -
src/internal/buildcfg/exp.go
if goexp != "" { // Create a map of known experiment names. names := make(map[string]func(bool)) rv := reflect.ValueOf(&flags.Flags).Elem() rt := rv.Type() for i := 0; i < rt.NumField(); i++ { field := rv.Field(i) names[strings.ToLower(rt.Field(i).Name)] = field.SetBool } // "regabi" is an alias for all working regabi // subexperiments, and not an experiment itself. Doing
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:38:52 UTC 2024 - 5.5K bytes - Viewed (0)