mirror of
https://github.com/rancher/types.git
synced 2025-09-16 14:59:16 +00:00
Add systems token interface
This commit is contained in:
6
config/systemtokens/systemtokens.go
Normal file
6
config/systemtokens/systemtokens.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package systemtokens
|
||||
|
||||
type Interface interface {
|
||||
EnsureSystemToken(name, description, kind, username string, overrideTTL *int64, randomize bool) (string, error)
|
||||
DeleteToken(tokenName string) error
|
||||
}
|
Reference in New Issue
Block a user