token

package
v4.2.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

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 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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL