Documentation
¶
Index ¶
Constants ¶
View Source
const ArtifactoryMirrorID = "artifactory-mirror"
ArtifactoryMirrorID is the ID used for the Artifactory mirror.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SettingsXmlManager ¶
type SettingsXmlManager struct {
// contains filtered or unexported fields
}
SettingsXmlManager manages the maven settings file (`settings.xml`).
func NewSettingsXmlManager ¶
func NewSettingsXmlManager() (*SettingsXmlManager, error)
NewSettingsXmlManager creates a new SettingsXmlManager instance. It automatically loads the existing settings from the `settings.xml` file if it exists.
func (*SettingsXmlManager) ConfigureArtifactoryMirror ¶
func (sxm *SettingsXmlManager) ConfigureArtifactoryMirror(artifactoryUrl, repoName, username, password string) error
ConfigureArtifactoryMirror updates or adds the Artifactory mirror and its credentials in the settings.
Click to show internal directories.
Click to hide internal directories.