_Init.ps1
$global:GitlabConfigurationPath = Join-Path $env:HOME "/.config/powershell/gitlab.config" $global:GitlabConsoleColors = @{ Black = '0;30' Blue = '0;34' Cyan = '0;36' DarkGray = '1;30' Green = '0;32' LightBlue = '1;34' LightCyan = '1;36' LightGray = '0;37' LightGreen = '1;32' LightPurple = '1;35' LightRed = '1;31' Orange = '0;33' Purple = '0;35' Red = '0;31' White = '1;37' Yellow = '1;33' } $global:GitlabIdentityPropertyNameExemptions=@{ 'Gitlab.AuditEvent' = 'Id' 'Gitlab.AccessToken' = 'Id' 'Gitlab.BlobSearchResult' = '' 'Gitlab.Branch' = '' 'Gitlab.Commit' = 'Id' 'Gitlab.Configuration' = '' 'Gitlab.Environment' = 'Id' 'Gitlab.Event' = 'Id' 'Gitlab.Group' = 'Id' 'Gitlab.ProjectIntegration' = 'Id' 'Gitlab.Job' = 'Id' 'Gitlab.Member' = 'Id' 'Gitlab.MergeRequestApprovalRule' = 'Id' 'Gitlab.Milestone' = 'Iid' 'Gitlab.NewPersonalAccessToken' = 'Id' 'Gitlab.Note' = 'Id' 'Gitlab.PersonalAccessToken' = 'Id' 'Gitlab.Pipeline' = 'Id' 'Gitlab.PipelineBridge' = 'Id' 'Gitlab.PipelineDefinition' = '' 'Gitlab.PipelineVariable' = '' 'Gitlab.PipelineSchedule' = 'Id' 'Gitlab.PipelineScheduleVariable' = '' 'Gitlab.Project' = 'Id' 'Gitlab.ProjectHook' = 'Id' 'Gitlab.ProtectedBranch' = 'Id' 'Gitlab.Release' = '' 'Gitlab.RepositoryFile' = '' 'Gitlab.RepositoryTree' = '' 'Gitlab.Runner' = 'Id' 'Gitlab.RunnerJob' = 'Id' 'Gitlab.SearchResult.Blob' = '' 'Gitlab.SearchResult.MergeRequest' = '' 'Gitlab.SearchResult.Project' = '' 'Gitlab.Todo' = 'Id' 'Gitlab.Topic' = 'Id' 'Gitlab.User' = 'Id' 'Gitlab.UserMembership' = '' 'Gitlab.Variable' = '' } $global:GitlabJobLogSections = New-Object 'Collections.Generic.Stack[string]' $global:GitlabUserImpersonationSession = $null |