- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newInitData (0.27 sec)
-
cmd/kubeadm/app/cmd/init_test.go
for f, v := range tc.flags { cmd.Flags().Set(f, v) } // test newInitData method data, err := newInitData(cmd, tc.args, initOptions, nil) if err != nil && !tc.expectError { t.Fatalf("newInitData returned unexpected error: %v", err) } if err == nil && tc.expectError { t.Fatal("newInitData didn't return error when expected") } // exec additional validation on the returned value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 12:26:20 UTC 2024 - 11.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/init.go
uploadCerts: false, } } // newInitData returns a new initData struct to be used for the execution of the kubeadm init workflow. // This func takes care of validating initOptions passed to the command, and then it converts // options into the internal InitConfiguration type that is used as input all the phases in the kubeadm init workflow
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 17 03:37:05 UTC 2024 - 24.1K bytes - Viewed (0)