Documentation ¶
Index ¶
- func Tokenize(password string, j *JobToken) (string, error)
- type JobToken
- func NewDelayJob(region, ID string, until time.Time) *JobToken
- func NewForceStopJob(region, ID string) *JobToken
- func NewStopJob(region, ID string) *JobToken
- func NewTerminateJob(region, ID string) *JobToken
- func NewWhitelistJob(region, ID string) *JobToken
- func Untokenize(password, t string) (j *JobToken, err error)
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JobToken ¶
type JobToken struct { Action Type ID string Region string IgnoreUntil time.Time ValIDUntil time.Time }
Not very scalable but good enough for our requirements
func NewForceStopJob ¶
func NewStopJob ¶
func NewTerminateJob ¶
func NewWhitelistJob ¶
func Untokenize ¶
Click to show internal directories.
Click to hide internal directories.