role

package
v1.27.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL