- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setupFuncs (0.14 sec)
-
cmd/kubeadm/app/phases/certs/certs_test.go
// Create temp folder for the test case tmpdir := testutil.SetupTempDir(t) defer os.RemoveAll(tmpdir) // executes setup func (if necessary) if test.setupFunc != nil { if err := test.setupFunc(tmpdir); err != nil { t.Errorf("error executing setupFunc: %v", err) continue } } // executes create func err := writeCertificateAuthorityFilesIfNotExist(tmpdir, "dummy", caCert, caKey)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 23.3K bytes - Viewed (0) -
pkg/volume/volume_linux_test.go
tests := []struct { description string fsGroupChangePolicy *v1.PodFSGroupChangePolicy setupFunc func(path string) error assertFunc func(path string) error }{ { description: "featuregate=on, fsgroupchangepolicy=always", fsGroupChangePolicy: &always, setupFunc: func(path string) error { info, err := os.Lstat(path) if err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 12.1K bytes - Viewed (0)