Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSkipped = []string{"branch_protection"}
DefaultSkipped lists resource types that are skipped unless the user explicitly opts in via --include. Currently contains branch_protection because the gitlabhq/gitlab provider's Read does not populate unprotect_access_level into state on Free tier, causing perpetual ForceNew drift on every plan.
View Source
var Groups = map[string][]string{
"premium": {"hooks", "approval_rules", "mr_approvals", "service_accounts"},
}
Groups map a single name to multiple resource types.
View Source
var ResourceTypes = []string{
"memberships",
"hooks",
"labels",
"variables",
"approval_rules",
"mr_approvals",
"schedules",
"branch_protection",
"service_accounts",
"job_token_scopes",
}
Known resource types that can be skipped.
Functions ¶
This section is empty.
Types ¶
type Set ¶
Set tracks which resource types should be skipped.
func Parse ¶
Parse resolves group names, validates resource type names, and returns the resulting Set plus any unknown names as warnings.
Click to show internal directories.
Click to hide internal directories.