1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 21:32:10 +00:00

add fields for kubeconfig saml tokens

This commit is contained in:
kinarashah
2020-07-16 13:03:01 -07:00
parent ae84b42a47
commit cf6aad45fb
5 changed files with 27 additions and 0 deletions

View File

@@ -16,4 +16,5 @@ type Manager interface {
SetPrincipalOnCurrentUserByUserID(userID string, principal v3.Principal) (*v3.User, error)
CreateNewUserClusterRoleBinding(userName string, userUID apitypes.UID) error
GetUserByPrincipalID(principalName string) (*v3.User, error)
GetKubeconfigToken(clusterName, tokenName, description, kind, userName string) (*v3.Token, error)
}