Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token struct {
ClusterId string `json:"clusterId"` // legacy, for audit
Method string `json:"method"` // legacy, for audit
Path string `json:"path"` // legacy, for audit
Query map[string]string `json:"query"`
Headers map[string]string `json:"headers"`
Expiration time.Time `json:"-"`
}
func GenerateToken ¶
func GenerateToken(clusterId string, cred credentials.Credential) (*Token, error)
Click to show internal directories.
Click to hide internal directories.