Documentation
¶
Overview ¶
Package gid package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromGlobalID ¶
FromGlobalID converts a global ID string to a DB ID string
func ToGlobalID ¶
ToGlobalID converts a model type and DB ID to a global ID string
Types ¶
type GlobalID ¶
GlobalID is a model ID with type information
func NewGlobalID ¶
NewGlobalID returns a new GlobalID
func ParseGlobalID ¶
ParseGlobalID parses a global ID string and returns a GlobalID type
type Type ¶
type Type string
Type is the type of the global ID
const ( UserType Type = "U" RoleType Type = "RL" OrganizationType Type = "O" MembershipType Type = "M" ResourceLimitType Type = "RLM" ProjectType Type = "P" ProjectVariableType Type = "PVAR" ProjectVariableSetType Type = "PVS" TeamType Type = "T" TeamMemberType Type = "TM" PipelineTemplateType Type = "PT" PipelineType Type = "PI" PipelineApprovalType Type = "PA" AgentType Type = "A" AgentSessionType Type = "AS" JobType Type = "J" EnvironmentType Type = "E" ServiceAccountType Type = "SA" SCIMTokenType Type = "ST" LogStreamType Type = "LS" PipelineActionOutputType Type = "PAO" ApprovalRuleType Type = "AR" LifecycleTemplateType Type = "LT" ReleaseLifecycleType Type = "RLC" ReleaseType Type = "R" ActivityEventType Type = "AE" CommentType Type = "C" PluginType Type = "PL" PluginVersionType Type = "PV" PluginPlatformType Type = "PP" ToDoItemType Type = "TI" VCSProviderType Type = "VP" ThreadType Type = "TH" EnvironmentRuleType Type = "ER" MetricType Type = "MET" )
Type constants
Click to show internal directories.
Click to hide internal directories.