WithArgs sets the apptainer command arguments.
(args ...string)
| 310 | |
| 311 | // WithArgs sets the apptainer command arguments. |
| 312 | func 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. |
no outgoing calls
no test coverage detected