Documentation
¶
Overview ¶
Package mockos defines a mock interface into operating system functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockReadWriteCloser ¶
func NewMockReadWriteCloser() *mockReadWriteCloser
NewMockReadWriteCloser returns a *mockReadWriteCloser over an empty buffer.
func NewOS ¶
func NewOS() *mockOS
NewOS returns a *mockOS, which mocks out operating system functionality.
func NewProcessExitState ¶
func NewProcessExitState(exitCode int) *mockProcessExitState
NewProcessExitState returns a *mockProcessExitState with the given exit code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.