package config

Import Path
	go.pact.im/x/goship/internal/config (on go.dev)

Dependency Relation
	imports 13 packages, and imported by 2 packages

Involved Source Files Package config parses and loads goship repository configuration. externaltag.go schema.go union.go
Package-Level Type Names (total 6, all are exported)
/* sort exporteds by: | */
CheckMode controls API compatibility verification during plan and run. func ParseCheckMode(raw string) (CheckMode, error) const CheckError const CheckOff const CheckWarn
Config holds repository-level configuration for goship. The zero value uses defaults for all fields. Check controls apidiff semver compatibility checks ("off", "warn", "error"). CommitTemplate is a Go text/template for dependency-bump commit messages. Exclude skips modules matching any glob pattern (matched against both module path and repo-relative directory). ExcludeVersions skips any module that requires a dependency at one of these exact versions (for example, fake integration-test versions). Include restricts selection to modules matching at least one glob pattern (matched against both module path and repo-relative directory). Remote optionally overrides the VCS’s default remote used by -push. An empty value delegates to each VCS backend’s own default remote. TagTemplate is a Go text/template for tag messages. VCS selects and configures the version control backend. Workspace selects and configures how Go modules are loaded. func Parse(data []byte) (Config, error)
VCSConfig is an externally tagged VCS configuration. Fossil fossilvcs.Config Git gitvcs.Config Hg hgvcs.Config JJ jjvcs.Config Type string IsZero reports whether no VCS variant is selected. MarshalJSONTo implements [json.MarshalerTo]. Name returns the selected VCS backend name (vcs.BackendAuto when unset). UnmarshalJSONFrom implements [json.UnmarshalerFrom]. VCSConfig : encoding/json/v2.MarshalerTo *VCSConfig : encoding/json/v2.UnmarshalerFrom
WalkConfig configures VCS tree-walk workspace loading.
WorkConfig configures go.work-based workspace loading. File string
WorkspaceConfig is an externally tagged workspace configuration. Auto WorkConfig Type workspace.Mode Walk WalkConfig Work WorkConfig IsZero reports whether no workspace variant is selected. MarshalJSONTo implements [json.MarshalerTo]. Mode returns the selected workspace mode (workspace.ModeAuto when unset). UnmarshalJSONFrom implements [json.UnmarshalerFrom]. WorkFile returns the configured go.work file path, if any. WorkspaceConfig : encoding/json/v2.MarshalerTo *WorkspaceConfig : encoding/json/v2.UnmarshalerFrom
Package-Level Functions (total 5, in which 2 are exported)
Parse strictly parses JSON configuration bytes using encoding/json/v2.
ParseCheckMode validates a check mode string.
Package-Level Constants (total 6, all are exported)
CheckError fails planning when semver compatibility is violated.
CheckOff disables apidiff compatibility checking (default).
CheckWarn reports semver compatibility violations as warnings.
DefaultCommitTemplate is the default Go text/template used for dependency update commit messages.
DefaultFileName is the configuration file loaded from the repository root.
DefaultTagTemplate is the default Go text/template used for tag messages.