add credential usage hander

Signed-off-by: runzexia <runzexia@yunify.com>
This commit is contained in:
runzexia
2020-03-27 15:03:17 +08:00
parent 98fed531ac
commit f827116a1d
5 changed files with 61 additions and 8 deletions

View File

@@ -51,7 +51,5 @@ type CredentialOperator interface {
GetCredentialInProject(projectId, id string) (*Credential, error)
GetCredentialsInProject(projectId string) ([]*Credential, error)
DeleteCredentialInProject(projectId, id string) (string, error)
}