Versions in this module Expand all Collapse all v1 v1.7.0 Aug 20, 2020 v1.6.0 Aug 20, 2020 v1.1.0 Aug 20, 2020 Changes in this version + const ExportSettingsMimeType + const GroupMimeType + const ImportSettingsMimeType + const LocalRepoMimeType + const PermissionTargetMimeType + const RemoteRepoMimeType + const SystemVersionMimeType + const UserMimeType + const VERSION + const VirtualRepoMimeType + type AQLFileInfo struct + ActualMD5 string + ActualSHA1 string + Created string + CreatedBy string + Depth int + Modified string + ModifiedBy string + Name string + OriginalSHA1 string + Path string + Properties []AQLProperties + Repo string + Size int64 + Type string + type AQLProperties struct + Key string + Value string + type AQLResults struct + Range struct{ ... } + Results []AQLFileInfo + type Artifact struct + Client *Client + Info FileInfo + func (c *Artifact) Delete() error + func (c *Artifact) Download() ([]byte, error) + type ArtifactChecksums struct + MD5 string + SHA1 string + type ArtifactProperties map[string][]string + type Client struct + Client *http.Client + Config *ClientConfig + Transport *http.Transport + func NewClient(config *ClientConfig) (c Client) + func NewClientFromEnv() (c Client) + func (c *Client) CreateGroup(gname string, g GroupDetails) error + func (c *Client) CreatePermissionTarget(u string, p PermissionTargetDetails, q map[string]string) error + func (c *Client) CreateUser(uname string, u UserDetails) error + func (c *Client) CreateUserAPIKey() (string, error) + func (c *Client) Delete(path string) error + func (c *Client) DeleteArtifact(repo, path string) ([]byte, error) + func (c *Client) DeleteUser(uname string) error + func (c *Client) DeployArtifact(repoKey string, filename string, path string, properties map[string]string) (CreatedStorageItem, error) + func (c *Client) DockerSearch(name string) (files []FileInfo, e error) + func (c *Client) GAVCSearch(coords *GAVC) (files []FileInfo, e error) + func (c *Client) Get(path string, options map[string]string) ([]byte, error) + func (c *Client) GetFileInfo(path string) (a Artifact, err error) + func (c *Client) GetGeneralConfiguration() (s string, e error) + func (c *Client) GetGroupDetails(u string) (GroupDetails, error) + func (c *Client) GetGroups() ([]Group, error) + func (c *Client) GetLicenseInformation() (LicenseInformation, error) + func (c *Client) GetPermissionTargetDetails(u string) (PermissionTargetDetails, error) + func (c *Client) GetPermissionTargets() ([]PermissionTarget, error) + func (c *Client) GetSystemSecurityConfiguration() (s string, e error) + func (c *Client) GetUserAPIKey() (string, error) + func (c *Client) GetUserDetails(u string) (UserDetails, error) + func (c *Client) GetUserEncryptedPassword() (string, error) + func (c *Client) GetUsers() ([]User, error) + func (c *Client) HTTPRequest(ar Request) ([]byte, error) + func (c *Client) HTTPRequestWithResponse(ar Request) (*http.Response, error) + func (c *Client) ListFiles(repo string) (fileList FileList, err error) + func (c *Client) Post(path string, data string, options map[string]string) ([]byte, error) + func (c *Client) Put(path string, data string, options map[string]string) ([]byte, error) + func (c *Client) RetrieveArtifact(repo string, path string) ([]byte, error) + func (c *Client) VagrantSearch(name string) (files []AQLFileInfo, e error) + func (client *Client) CreateRepo(key string, r RepoConfig, q map[string]string) error + func (client *Client) GetRepo(key string) (RepoConfig, error) + func (client *Client) GetRepos(rtype string) ([]Repo, error) + func (client *Client) UpdateRepo(key string, r RepoConfig, q map[string]string) error + type ClientConfig struct + AuthMethod string + BaseURL string + Client *http.Client + Password string + Token string + Transport *http.Transport + Username string + VerifySSL bool + type CreatedStorageItem struct + Checksums ArtifactChecksums + Created string + CreatedBy string + DownloadURI string + MimeType string + OriginalChecksums ArtifactChecksums + Repo string + Size string + URI string + type ErrorJSON struct + Message string + Status string + type ErrorsJSON struct + Error string + Errors []ErrorJSON + type FileInfo struct + Checksums struct{ ... } + Created string + CreatedBy string + DownloadURI string + LastModified string + MimeType string + ModifiedBy string + OriginalChecksums struct{ ... } + Path string + Properties ArtifactProperties + RemoteURL string + Repo string + Size string + URI string + type FileList struct + Created string + Files []FileListItem + URI string + type FileListItem struct + Folder bool + LastModified string + SHA1 string + Size int + URI string + type GAVC struct + ArtifactID string + Classifier string + GroupID string + Repos []string + Version string + type GavcSearchResults struct + Results []FileInfo + type GenericRepoConfig struct + BlackedOut bool + Description string + ExcludesPattern string + HandleReleases bool + HandleSnapshots bool + IncludesPattern string + Key string + MaxUniqueSnapshots int + Notes string + PackageType string + PropertySets []string + RClass string + SuppressPomConsistencyChecks bool + func (r GenericRepoConfig) MimeType() string + type Group struct + Name string + URI string + type GroupDetails struct + AutoJoin bool + Description string + Name string + Realm string + RealmAttributes string + type LicenseInformation struct + LicenseType string + LicensedTo string + ValidThrough string + type LocalRepoConfig struct + ArchiveBrowsingEnabled bool + CalculateYumMetadata bool + ChecksumPolicyType string + DebianTrivialLayout bool + LayoutRef string + SnapshotVersionBehavior string + YumRootDepth int + func (r LocalRepoConfig) MimeType() string + type PermissionTarget struct + Name string + URI string + type PermissionTargetDetails struct + ExcludesPattern string + IncludesPattern string + Name string + Principals Principals + Repositories []string + type Principals struct + Groups map[string][]string + Users map[string][]string + type RemoteRepoConfig struct + AllowAnyHostAuth bool + BowerRegistryURL string + EnableCookieManagement bool + FailedRetrievalCachePeriodSecs int + FetchJarsEagerly bool + HardFail bool + LocalAddress string + MissedRetrievalCachePeriodSecs int + Offline bool + Password string + Proxy string + RemoteRepoChecksumPolicyType string + RetrivialCachePeriodSecs int + ShareConfiguration bool + SocketTimeoutMillis int + StoreArtifactsLocally bool + SynchronizeProperties bool + URL string + UnusedArtifactsCleanupEnabled bool + UnusedArtifactsCleanupPeriodHours int + Username string + VcsGitDownloader string + VcsGitProvider string + VcsType string + func (r RemoteRepoConfig) MimeType() string + type Repo struct + Description string + Key string + Rtype string + URL string + type RepoConfig interface + MimeType func() string + type Request struct + Accept string + Body io.Reader + ContentType string + Path string + QueryParams map[string]string + Verb string + type URI struct + URI string + type User struct + Name string + URI string + type UserAPIKey struct + APIKey string + type UserDetails struct + Admin bool + Email string + Groups []string + InternalPasswordDisabled bool + LastLoggedIn string + Name string + Password string + ProfileUpdatable bool + Realm string + type VirtualRepoConfig struct + ArtifactoryRequestsCanRetrieveRemoteArtifacts bool + DebianTrivialLayout bool + KeyPair string + PomRepositoryReferenceCleanupPolicy string + Repositories []string + func (r VirtualRepoConfig) MimeType() string