Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Owner is the owner role. Owner = "owner" // Reader is the reader role. Reader = "reader" // TenantSystem is the tenant-system role. TenantSystem = "tenant-system" // Member is the member role. Member = "member" )
Variables ¶
This section is empty.
Functions ¶
func OrganizationRoleToProtoEnum ¶
func OrganizationRoleToProtoEnum(role string) (uv1.OrganizationRole, bool)
OrganizationRoleToProtoEnum converts a string to an organization role.
func OrganizationRoleToString ¶
func OrganizationRoleToString(role uv1.OrganizationRole) (string, bool)
OrganizationRoleToString converts an organization role to a string.
func ProjectRoleToProtoEnum ¶
func ProjectRoleToProtoEnum(role string) (uv1.ProjectRole, bool)
ProjectRoleToProtoEnum converts a string to an project role.
func ProjectRoleToString ¶
func ProjectRoleToString(role uv1.ProjectRole) (string, bool)
ProjectRoleToString converts an project role to a string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.