Documentation ¶
Index ¶
Constants ¶
View Source
const ( RepoValidName = repo + ".valid_name" RepoCreate = repo + ".create" RepoRead = repo + ".read" RepoWrite = repo + ".write" RepoAdmin = repo + ".admin" NamespaceCreate = namespace + ".create" NamespaceRead = namespace + ".read" NamespaceWrite = namespace + ".write" NamespaceAdmin = namespace + ".admin" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyRequest ¶
type PolicyRequest struct { Repo models.Repo `json:"repo"` CreateNamespace models.CreateNamespaceRequest `json:"create_namespace"` Namespace models.Namespace `json:"namespace"` CreateRepo models.CreateRepoRequest `json:"create_repo"` RepoPermissions []models.RepoPermission `json:"repo_permissions"` NamespacePermissions []models.NamespacePermission `json:"namespace_permissions"` UserID string `json:"uid"` }
Click to show internal directories.
Click to hide internal directories.