Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractUsernameFromAccessToken ¶ added in v0.4.0
func IsEncrypted ¶ added in v0.1.1
Types ¶
type ArtifactoryDetails ¶
type ArtifactoryDetails interface { GetUrl() string GetUser() string GetPassword() string GetApiKey() string GetAccessToken() string GetSshUrl() string GetSshKeyPath() string GetSshPassphrase() string GetSshAuthHeaders() map[string]string GetVersion() (string, error) SetUrl(url string) SetUser(user string) SetPassword(password string) SetApiKey(apiKey string) SetAccessToken(accessToken string) SetSshUrl(url string) SetSshKeyPath(sshKeyPath string) SetSshPassphrase(sshPassphrase string) SetSshAuthHeaders(sshAuthHeaders map[string]string) IsSshAuthHeaderSet() bool IsSshAuthentication() bool AuthenticateSsh(sshKey, sshPassphrase string) error HandleTokenExpiry(statusCode int, httpClientDetails *httputils.HttpClientDetails) (bool, error) CreateHttpClientDetails() httputils.HttpClientDetails }
func NewArtifactoryDetails ¶
func NewArtifactoryDetails() ArtifactoryDetails
type SshAuthResult ¶
Click to show internal directories.
Click to hide internal directories.