1
0
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:
rmweir
2021-01-04 21:51:08 -07:00
parent 72359190db
commit 048d281ee0
3 changed files with 13 additions and 2 deletions

View 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
}