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 EXPORT_SETTIGNS_MIMETYPE + const GROUP_MIMETYPE + const IMPORT_SETTINGS_MIMETYPE + const LOCAL_REPO_MIMETYPE + const PERMISSION_TARGET_MIMETYPE + const REMOTE_REPO_MIMETYPE + const SYSTEM_VERSION_MIMETYPE + const USER_MIMETYPE + const VERSION + const VIRTUAL_REPO_MIMETYPE + type AQLFileInfo struct + ActualMD5 string + ActualSHA1 string + Created string + CreatedBy string + Depth int + Modified string + ModifiedBy string + Name string + OriginalSHA1 string + Path string + Properties []AQLPropertes + Repo string + Size int64 + Type string + type AQLPropertes struct + Key string + Value string + type AQLResults struct + Range struct{ ... } + Results []AQLFileInfo + type Artifact struct + Client *ArtifactoryClient + 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 ArtifactoryClient struct + Client *http.Client + Config *ClientConfig + Transport *http.Transport + func NewClient(config *ClientConfig) (c ArtifactoryClient) + func NewClientFromEnv() (c ArtifactoryClient) + func (c *ArtifactoryClient) CreateGroup(gname string, g GroupDetails) error + func (c *ArtifactoryClient) CreateUser(uname string, u UserDetails) error + func (c *ArtifactoryClient) CreateUserApiKey() (s string, err error) + func (c *ArtifactoryClient) Delete(path string) error + func (c *ArtifactoryClient) DeleteArtifact(repo, path string) ([]byte, error) + func (c *ArtifactoryClient) DeleteUser(uname string) error + func (c *ArtifactoryClient) DeployArtifact(repoKey string, filename string, path string, properties map[string]string) (CreatedStorageItem, error) + func (c *ArtifactoryClient) DockerSearch(name string) (files []FileInfo, e error) + func (c *ArtifactoryClient) GAVCSearch(coords *Gavc) (files []FileInfo, e error) + func (c *ArtifactoryClient) Get(path string, options map[string]string) ([]byte, error) + func (c *ArtifactoryClient) GetFileInfo(path string) (a Artifact, err error) + func (c *ArtifactoryClient) GetGeneralConfiguration() (s string, e error) + func (c *ArtifactoryClient) GetGroupDetails(u string) (GroupDetails, error) + func (c *ArtifactoryClient) GetGroups() ([]Group, error) + func (c *ArtifactoryClient) GetLicenseInformation() (LicenseInformation, error) + func (c *ArtifactoryClient) GetPermissionTargetDetails(u string) (PermissionTargetDetails, error) + func (c *ArtifactoryClient) GetPermissionTargets() ([]PermissionTarget, error) + func (c *ArtifactoryClient) GetSystemSecurityConfiguration() (s string, e error) + func (c *ArtifactoryClient) GetUserApiKey() (s string, err error) + func (c *ArtifactoryClient) GetUserDetails(u string) (UserDetails, error) + func (c *ArtifactoryClient) GetUserEncryptedPassword() (s string, err error) + func (c *ArtifactoryClient) GetUsers() ([]User, error) + func (c *ArtifactoryClient) HttpRequest(ar ArtifactoryRequest) ([]byte, error) + func (c *ArtifactoryClient) ListFiles(repo string) (fileList FileList, err error) + func (c *ArtifactoryClient) Post(path string, data string, options map[string]string) ([]byte, error) + func (c *ArtifactoryClient) Put(path string, data string, options map[string]string) ([]byte, error) + func (c *ArtifactoryClient) RetrieveArtifact(repo string, path string) ([]byte, error) + func (c *ArtifactoryClient) VagrantSearch(name string) (files []AQLFileInfo, e error) + func (client *ArtifactoryClient) GetRepo(key string) (RepoConfig, error) + func (client *ArtifactoryClient) GetRepos(rtype string) ([]Repo, error) + type ArtifactoryRequest struct + Accept string + Body io.Reader + ContentType string + Path string + QueryParams map[string]string + Verb string + 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 + UnusedArtifactsCleanupEnabled bool + UnusedArtifactsCleanupPeriodHours int + Url string + 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 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