Documentation ¶
Index ¶
- func CreateTempDirectory(parentDirectory string, c *check.C) string
- func CreateTempFile(directory, fileName, content string, c *check.C) *os.File
- func DirEntry(name string, isDir bool) fs.DirEntry
- type Executor
- func (nsexec *Executor) Execute([]string, string, []string, time.Duration) (string, error)
- func (nsexec *Executor) ExecuteWithStdin(string, []string, string, time.Duration) (string, error)
- func (nsexec *Executor) ExecuteWithStdinPipe(string, []string, string, time.Duration) (string, error)
- func (nsexec *Executor) ExecuteWithTimeout([]string, string, []string, time.Duration) (string, error)
- func (nsexec *Executor) ExecuteWithoutTimeout([]string, string, []string, time.Duration) (string, error)
- type FileSystem
- type Joiner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTempDirectory ¶
func CreateTempFile ¶
Types ¶
type Executor ¶
type Executor struct{}
func (*Executor) ExecuteWithStdin ¶
func (*Executor) ExecuteWithStdinPipe ¶
func (*Executor) ExecuteWithTimeout ¶
type FileSystem ¶
FileSystem is a mock implementation of the fs.FS interface
Click to show internal directories.
Click to hide internal directories.