package
0.0.0-20230817210439-f22496c4d754
Repository: https://github.com/facebookincubator/go2chef.git
Documentation: pkg.go.dev

# Functions

EnsureSuperuser checks that we're running as superuser.
Loader implements the go2chef.StepLoader interface required for plugins.
RegisterSanityCheck registers an additional sanity check.

# Constants

TypeName is the name of this plugin.

# Variables

ErrNotSuperuser is the error raised when not running as a superuser.
ErrSanityCheckNeedsFix is the error raised when a sanity check needs a fix run.
Unix superuser variables to allow testing.
Unix superuser variables to allow testing.

# Structs

SanityCheck implements basic sanity checks, and provides an API for additional sanity-checks to be built as plugins.

# Type aliases

CheckFn is the type for sanity checks.
FixFn is the type for sanity check fixes.