MCPcopy
hub / github.com/apptainer/apptainer / WithArgs

Function WithArgs

e2e/internal/e2e/apptainercmd.go:312–318  ·  view source on GitHub ↗

WithArgs sets the apptainer command arguments.

(args ...string)

Source from the content-addressed store, hash-verified

310
311// WithArgs sets the apptainer command arguments.
312func WithArgs(args ...string) ApptainerCmdOp {
313 return func(s *apptainerCmd) {
314 if len(args) > 0 {
315 s.args = append(s.args, args...)
316 }
317 }
318}
319
320// WithEnv sets environment variables to use while running a
321// apptainer command.

Callers 15

issue5097Method · 0.92
issue5350Method · 0.92
prepTestFunction · 0.92
testMultipleArchMethod · 0.92
issue4488Method · 0.92
issue4587Method · 0.92
issue4755Method · 0.92
issue4768Method · 0.92
issue4797Method · 0.92
issue4836Method · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected