package
3.8.5+incompatible
Repository: https://github.com/kerenbenzion/provision.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
DecodeYaml is a helper function for dealing with user input -- when accepting input from the user, we want to treat both YAML and JSON as first-class citizens.
EqualItem creates a test function to see if a value in the passed interface is equal.
GenPatch generates a JSON patch that will transform source into target.
NewTaskRunner creates a new TaskRunner for the passed-in machine.
No description provided by the author
No description provided by the author
Pretty marshals object acciording to the the fmt, in whatever passed for "pretty" according to fmt.
TokenSession creates a new api.Client that will use the passed-in Token for authentication.
UserSession creates a new api.Client that can act on behalf of a user.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIPATH is the base path for all API endpoints that digitalrebar provision provides.

# Structs

Client wraps *http.Client to include our authentication routines and routines for handling some of the biolerplate CRUD operations against digitalrebar provision.
EventStream recieves events from the digitalrebar provider.
No description provided by the author
R encapsulates a single Request/Response round trip.
RecievedEvent contains an event recieved from the digitalrebar provision server along with any errors that occurred while recieving the event.
TaskRunner is responsible for expanding templates and running scripts for a single task.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author