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() transport.Connection
NewMockReadWriteCloser returns a mockReadWriteCloser over an empty buffer.
func NewProcessExitState ¶
func NewProcessExitState(exitCode int) oslayer.ProcessExitState
NewProcessExitState returns a mockProcessExitState with the given exit code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.