Documentation
¶
Index ¶
Constants ¶
View Source
const LoftAdminKind = "LoftAdmin"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loft ¶
type Loft struct {
// The UID of the user or team that this token is for
UID string `json:"uid,omitempty"`
// The kubernetes name of the user or team that this token is signed for
Name string `json:"name,omitempty"`
// The kind of the entity (either User or Team)
Kind string `json:"kind,omitempty"`
// The generation of the token
Gen int64 `json:"gen,omitempty"`
// The requester name of the token
OriginalRequester *user.DefaultInfo `json:"originalRequester,omitempty"`
// The scope of the token if there is any
Scope *storagev1.AccessKeyScope `json:"scope,omitempty"`
}
type PrivateClaims ¶
type PrivateClaims struct {
Loft Loft `json:"loft.sh,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.