package
3.8.5+incompatible
Repository: https://github.com/kerenbenzion/provision.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AddToCache adds a new remote -> local IP address mapping to the connection cache.
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
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
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
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
No description provided by the author
No description provided by the author
DefaultIP figures out the IP address of the interface that has the default route.
FakeLeaseFor returns a lease that has zero duration and that should not be saved.
No description provided by the author
FindLease finds an appropriate matching Lease.
FindOrCreateLease will return a lease for the passed information, creating it if it can.
LocalFor returns the local IP address that has responded to TFTP or HTTP requests for the given remote IP.
No description provided by the author
NewClaim creates a new, unsigned Token that doesn't allow access to anything.
Create a new DataTracker that will use passed store to save all operational data.
NewFS creates a new initialized filesystem that will fall back to serving files from backingFSPath if there is not a template to be rendered.
New creates a new Manager which provides JWTs using the given signing key.
No description provided by the author
No description provided by the author
This must be locked with ALL locks on the source datatracker from the caller.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BootEnv encapsulates the machine-agnostic information needed by the provisioner to set up a boot environment.
DataTracker represents everything there is to know about acting as a dataTracker.
DrpCustomClaims is a JWT token that contains a list of all the things this token allows access to.
FileSystem provides the routines to allow the static HTTP and TFTP services to render templates on demand..
Grantor Claims allow for the token to be validated against the granting user, the current user, and the machine.
Job represents a task that is running (or has run) on a machine.
Config configures a Manager.
Manager is a JSON Web Token (JWT) Provider which create or retrieves tokens with a particular signing key and options.
Lease models a DHCP Lease swagger:model.
Machine represents a single bare-metal system that the provisioner should manage the boot environment for.
Param represents metadata about a Parameter or a Preference.
Plugin represents a single instance of a running plugin.
Pref tracks a global DigitalRebar Provision preference -- things like the bootenv to use for unknown systems trying to PXE boot to us, the default bootenv for known systems, etc.
Profile represents a set of key/values to use in template expansion.
No description provided by the author
RenderData is the struct that is passed to templates as a source of parameters and useful methods.
No description provided by the author
No description provided by the author
Reservation tracks persistent DHCP IP address reservations.
No description provided by the author
Stage encapsulates tasks we want to run a machine
swagger:model.
dtobjs is an in-memory cache of all the objects we could reference.
Subnet represents a DHCP Subnet
swagger:model.
Task is a thing that can run on a Machine.
Template represents a template that will be associated with a boot environment.
No description provided by the author
User is an API user of DigitalRebar Provision swagger:model.
No description provided by the author