Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
Generator generates tokens
func NewGenerator ¶
NewGenerator returns a new Generator
type Payload ¶
type Payload struct { Operation Operation `json:"operation,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` Resource metav1.GroupVersionResource `json:"resource,omitempty"` Params map[string]string `json:"params,omitempty"` }
Payload is the data inside our token
Click to show internal directories.
Click to hide internal directories.