- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 72 for WORKDIR (0.12 sec)
-
pkg/test/util/yml/file.go
WriteYAMLOrFail(t test.Failer, filenamePrefix string, contents ...string) []string } type writerImpl struct { workDir string } // NewFileWriter creates a new FileWriter that stores files under workDir. func NewFileWriter(workDir string) FileWriter { return &writerImpl{ workDir: workDir, } } // WriteYAML writes the given YAML content to one or more YAML files.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 07 14:33:54 UTC 2023 - 4.2K bytes - Viewed (0) -
pkg/test/framework/testcontext.go
NewSubTestf(format string, a ...any) Test // WorkDir allocated for this test. WorkDir() string // CreateDirectoryOrFail creates a new sub directory with the given name in the workdir, or fails the test. CreateDirectoryOrFail(name string) string // CreateTmpDirectoryOrFail creates a new temporary directory with the given prefix in the workdir, or fails the test. CreateTmpDirectoryOrFail(prefix string) string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/test/kube/dump.go
// PodDumper will dump information from all the pods into the given workDir. // If no pods are provided, client will be used to fetch all the pods in a namespace. type PodDumper func(ctx resource.Context, cluster cluster.Cluster, workDir string, namespace string, pods ...corev1.Pod) func podOutputPath(workDir string, cluster cluster.Cluster, pod corev1.Pod, dumpName string) string { return outputPath(workDir, cluster, pod.Name, dumpName) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 22.2K bytes - Viewed (0) -
pkg/test/framework/suitecontext.go
scopeID := fmt.Sprintf("[suite(%s)]", s.TestID) workDir := path.Join(s.RunDir(), "_suite_context") if err := os.MkdirAll(workDir, os.ModePerm); err != nil { return nil, err } c := &suiteContext{ settings: s, globalScope: newScope(scopeID, nil), workDir: workDir, FileWriter: yml.NewFileWriter(workDir), suiteLabels: labels, contextNames: sets.New[string](),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.5K bytes - Viewed (0) -
src/cmd/go/internal/vcweb/vcweb.go
if err != nil { return nil, err } if workDir == "" { workDir, err = os.MkdirTemp("", "vcweb-*") if err != nil { return nil, err } logger.Printf("vcweb work directory: %s", workDir) } else { workDir, err = filepath.Abs(workDir) if err != nil { return nil, err } } homeDir := filepath.Join(workDir, "home") if err := os.MkdirAll(homeDir, 0755); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 12.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/FileTimeStampInspector.java
*/ public abstract class FileTimeStampInspector { private final File workDir; private final File markerFile; private final TemporaryFileProvider temporaryFileProvider; private long lastBuildTimestamp; protected FileTimeStampInspector(File workDir) { this.workDir = workDir; this.markerFile = new File(workDir, "last-build.bin");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 20 16:22:11 UTC 2021 - 5K bytes - Viewed (0) -
pkg/test/cert/ca/root.go
} // NewRoot generates the files for a new self-signed Root CA files under the given directory. func NewRoot(workDir string) (Root, error) { root := Root{ KeyFile: filepath.Join(workDir, "root-key.pem"), ConfFile: filepath.Join(workDir, "root-ca.conf"), CSRFile: filepath.Join(workDir, "root-ca.csr"), CertFile: filepath.Join(workDir, "root-cert.pem"), } // Write out the conf file.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 03 18:09:59 UTC 2021 - 2.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_race_install.txt
[!race] skip [short] skip mkdir $WORKDIR/tmp/pkg go install -race -pkgdir=$WORKDIR/tmp/pkg std -- go.mod -- module empty go 1.16 -- pkg/pkg.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 01 08:31:45 UTC 2022 - 159 bytes - Viewed (0) -
src/cmd/go/internal/vcweb/vcstest/vcstest.go
workDir, err := os.MkdirTemp("", "vcstest") if err != nil { return nil, err } defer func() { if err != nil { os.RemoveAll(workDir) } }() logger := log.Default() if !testing.Verbose() { logger = log.New(io.Discard, "", log.LstdFlags) } handler, err := vcweb.NewServer(scriptDir, workDir, logger) if err != nil { return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 13:44:48 UTC 2022 - 3.8K bytes - Viewed (0) -
pkg/test/framework/components/istio/installer.go
} type installer struct { ctx resource.Context workDir string manifests map[string][]string mu sync.Mutex } func newInstaller(ctx resource.Context, workDir string) *installer { return &installer{ ctx: ctx, workDir: workDir, manifests: make(map[string][]string), } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 4.8K bytes - Viewed (0)