- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for Preflight (0.2 sec)
-
cmd/kubeadm/app/cmd/join_test.go
if !expected.Equal(data.ignorePreflightErrors) { t.Errorf("Invalid ignore preflight errors. Expected: %v. Actual: %v", sets.List(expected), sets.List(data.ignorePreflightErrors)) } if !expected.HasAll(data.cfg.NodeRegistration.IgnorePreflightErrors...) { t.Errorf("Invalid ignore preflight errors in JoinConfiguration. Expected: %v. Actual: %v", sets.List(expected), data.cfg.NodeRegistration.IgnorePreflightErrors)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 12:26:20 UTC 2024 - 12.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/reset_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 13:42:50 UTC 2024 - 8.5K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks_windows.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package preflight import ( "github.com/pkg/errors" "golang.org/x/sys/windows" ) // Check validates if a user has elevated (administrator) privileges. func (ipuc IsPrivilegedUserCheck) Check() (warnings, errorList []error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 17:23:02 UTC 2024 - 1.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go
limitations under the License. */ package phases import ( "os" "path/filepath" "testing" kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants" "k8s.io/kubernetes/cmd/kubeadm/app/preflight" ) func assertExists(t *testing.T, path string) { if _, err := os.Stat(path); os.IsNotExist(err) { t.Errorf("file/directory does not exist; error: %s", err) t.Errorf("file/directory does not exist: %s", path)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 5.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/init_test.go
if !expected.Equal(data.ignorePreflightErrors) { t.Errorf("Invalid ignore preflight errors. Expected: %v. Actual: %v", sets.List(expected), sets.List(data.ignorePreflightErrors)) } if !expected.HasAll(data.cfg.NodeRegistration.IgnorePreflightErrors...) { t.Errorf("Invalid ignore preflight errors in InitConfiguration. Expected: %v. Actual: %v", sets.List(expected), data.cfg.NodeRegistration.IgnorePreflightErrors)
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/preflight/checks_other.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package preflight import ( system "k8s.io/system-validators/validators" utilsexec "k8s.io/utils/exec" ) // addOSValidator adds a new OSValidator // No-op for Darwin (MacOS), Windows.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 23 07:37:42 UTC 2024 - 1.5K bytes - Viewed (0) -
tests/integration/security/jwt_test.go
opts.Check = check.Status(http.StatusUnauthorized) }, }, { name: "expired-token-cors-preflight-request-allowed", customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) { opts.HTTP.Path = "/expired-token-cors-preflight-request-allowed" opts.HTTP.Method = "OPTIONS" opts.HTTP.Headers = headers.New(). WithAuthz(jwt.TokenExpired).
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 25.3K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks_linux.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package preflight import ( "syscall" "github.com/pkg/errors" system "k8s.io/system-validators/validators" utilsexec "k8s.io/utils/exec" ) // Check number of memory required by kubeadm
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 3.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/postupgrade_test.go
kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm" "k8s.io/kubernetes/cmd/kubeadm/app/componentconfigs" "k8s.io/kubernetes/cmd/kubeadm/app/constants" "k8s.io/kubernetes/cmd/kubeadm/app/preflight" testutil "k8s.io/kubernetes/cmd/kubeadm/test" ) func TestMoveFiles(t *testing.T) { tmpdir := testutil.SetupTempDir(t) defer os.RemoveAll(tmpdir) os.Chmod(tmpdir, 0766)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 11:40:04 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/generic.go
func AddConfigFlag(fs *pflag.FlagSet, cfgPath *string) { fs.StringVar(cfgPath, CfgPath, *cfgPath, "Path to a kubeadm configuration file.") } // AddIgnorePreflightErrorsFlag adds the --ignore-preflight-errors flag to the given flagset func AddIgnorePreflightErrorsFlag(fs *pflag.FlagSet, ignorePreflightErrors *[]string) { fs.StringSliceVar( ignorePreflightErrors, IgnorePreflightErrors, *ignorePreflightErrors,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 5.5K bytes - Viewed (0)