Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KernelOutcome ¶
type KernelOutcome interface { eidiom.UnconfirmedOutcome IsCouldNotResolveProc() bool Errno() syscall.Errno // LastError Returns the proc's last error LastError() error }
KernelOutcome consumer need to verify procedure's output to determine weather the process failed or not. KernelOutcome marks as error only when the procedure is not found or could not bind to kernel module, etc.
func NewKernelOutcomeCouldNotResolveProc ¶
func NewKernelOutcomeCouldNotResolveProc(resolveError error) KernelOutcome
func NewKernelOutcomeNoObviousError ¶
func NewKernelOutcomeNoObviousError(lastErr error) KernelOutcome
Click to show internal directories.
Click to hide internal directories.