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 ( ApplyType Type = "A" ConfigurationVersionType Type = "C" GroupType Type = "G" JobType Type = "J" JobLogDescriptorType Type = "JL" ManagedIdentityType Type = "M" ManagedIdentityAccessRuleType Type = "MR" NamespaceMembershipType Type = "NM" PlanType Type = "P" RunType Type = "R" RunnerType Type = "RNR" ServiceAccountType Type = "SA" StateVersionType Type = "SV" StateVersionOutputType Type = "SO" TeamType Type = "T" TeamMemberType Type = "TM" UserType Type = "U" VariableType Type = "V" WorkspaceType Type = "W" TerraformProviderType Type = "TP" TerraformProviderVersionType Type = "TPV" TerraformProviderPlatformType Type = "TPP" TerraformModuleType Type = "TMO" TerraformModuleVersionType Type = "TMV" TerraformModuleAttestationType Type = "TMA" GPGKeyType Type = "GPG" ActivityEventType Type = "AE" VCSProviderType Type = "VP" WorkspaceVCSProviderLinkType Type = "WPL" VCSEventType Type = "VE" RoleType Type = "RL" )
Type constants
Click to show internal directories.
Click to hide internal directories.