Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunnerClaims ¶
type RunnerClaims struct { IssuedAt time.Time `json:"iat,omitempty"` ExpiresAt time.Time `json:"exp,omitempty"` Name string `json:"n"` User string `json:"us"` Docker bool `json:"dkr"` Hostname string `json:"hst"` Ident string `json:"idt"` }
RunnerClaims implements the jwt.Claims interface.
func (*RunnerClaims) Valid ¶
func (r *RunnerClaims) Valid() (err error)
Valid validates the Runner claims. Validations occuring are ExpiredAt & IssuedAt.
Click to show internal directories.
Click to hide internal directories.