Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationType ¶
type AuthenticationType string
const ( Keycloak AuthenticationType = "keycloak" Ldap AuthenticationType = "ldap" Horusec AuthenticationType = "horusec" )
func GetAuthTypeByString ¶
func GetAuthTypeByString(authType string) (a AuthenticationType)
func (AuthenticationType) IsInvalid ¶
func (a AuthenticationType) IsInvalid() bool
func (AuthenticationType) ToString ¶
func (a AuthenticationType) ToString() string
func (AuthenticationType) Values ¶
func (a AuthenticationType) Values() []AuthenticationType
type AuthorizationType ¶
type AuthorizationType string
const ( ApplicationAdmin AuthorizationType = "IsApplicationAdmin" WorkspaceAdmin AuthorizationType = "IsWorkspaceAdmin" WorkspaceMember AuthorizationType = "IsWorkspaceMember" RepositoryAdmin AuthorizationType = "IsRepositoryAdmin" RepositorySupervisor AuthorizationType = "IsRepositorySupervisor" RepositoryMember AuthorizationType = "IsRepositoryMember" )
func Values ¶
func Values() []AuthorizationType
func (AuthorizationType) ToString ¶
func (i AuthorizationType) ToString() string
Click to show internal directories.
Click to hide internal directories.