Documentation
¶
Index ¶
- func WithDefaultRepo(repoURL string, releaseEnabled, snapshotEnabled bool) option
- func WithOffline(offline bool) option
- func WithSettingsRepos(repos []SettingsRepo, releaseEnabled, snapshotEnabled bool) option
- type Metadata
- type Mirror
- type Parser
- type Profile
- type Proxy
- type Server
- type SettingsRepo
- type SnapshotVersion
- type Versioning
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDefaultRepo ¶ added in v0.68.0
func WithOffline ¶
func WithOffline(offline bool) option
func WithSettingsRepos ¶ added in v0.68.0
func WithSettingsRepos(repos []SettingsRepo, releaseEnabled, snapshotEnabled bool) option
Types ¶
type Metadata ¶ added in v0.53.0
type Metadata struct {
GroupId string `xml:"groupId"`
ArtifactId string `xml:"artifactId"`
Versioning Versioning `xml:"versioning"`
Version string `xml:"version"`
}
type SettingsRepo ¶ added in v0.71.0
SettingsRepo is a repository injected via WithSettingsRepos. ID is needed so that <mirror> rules like <mirrorOf>my-repo</mirrorOf> can match by exact repository id; wildcard and external:* match without it.
type SnapshotVersion ¶ added in v0.53.0
type Versioning ¶ added in v0.53.0
type Versioning struct {
SnapshotVersions []SnapshotVersion `xml:"snapshotVersions>snapshotVersion"`
}
Click to show internal directories.
Click to hide internal directories.