Documentation
¶
Index ¶
Constants ¶
View Source
const ( MaxPerUser = 3 DefaultExpiration = time.Duration(24 * time.Hour) )
Variables ¶
View Source
var SpawnLimitErr = errors.New("User is already running the max allowed # of spawn hosts")
Functions ¶
This section is empty.
Types ¶
type BadOptionsErr ¶
type BadOptionsErr struct {
// contains filtered or unexported fields
}
BadOptionsErr represents an in valid set of spawn options.
func (BadOptionsErr) Error ¶
func (bsoe BadOptionsErr) Error() string
type Options ¶
type Options struct { Distro string UserName string PublicKey string UserData string TaskId string }
Options holds the required parameters for spawning a host.
type Spawn ¶
type Spawn struct {
// contains filtered or unexported fields
}
Spawn handles Spawning hosts for users.
func (Spawn) CreateHost ¶
CreateHost spawns a host with the given options.
Click to show internal directories.
Click to hide internal directories.