Documentation ¶
Index ¶
- Constants
- func IsDeprecated(a VersionedResponse) bool
- type AQLSearchResponse
- type AllBuildsResponse
- type ArchiveEntriesSearchResponse
- type ArtifactLatestVersionBasedOnLayoutSearchResponse
- type ArtifactLatestVersionBasedOnPropertiesSearchResponse
- type ArtifactSearchResponse
- type ArtifactVersionSearchResponse
- type ArtifactsCreatedInDateRangeSearchResponse
- type ArtifactsNotDownloadedSinceSearchResponse
- type ArtifactsWithDataInRangeSearchResponse
- type BadChecksumSearchResponse
- type BinariesSummaryEntry
- type BuildArtifactsSearchResponse
- type BuildDiffCommon
- type BuildDiffResponse
- type BuildInfoResponse
- type BuildRunsResponse
- type BuildsForDependencyResponse
- type CertificateResponseEntry
- type ChecksumSearchResponse
- type CopyItemResponse
- type CreateAPIKeyResponse
- type CreateBundleResponse
- type CreateDirectoryResponse
- type CreateTokenResponse
- type DeleteRepositoryResponse
- type DeployArtifactResponse
- type EffectiveItemPermissionsResponse
- type ErrorResponse
- type ExportSystemSettingsResponse
- type FileComplianceInfoResponse
- type FileInfoResponse
- type FileListItemEntry
- type FileListResponse
- type FileStatisticsResponse
- type FileStoreSummaryEntry
- type FolderInfoResponse
- type GAVCSearchResponse
- type GenericVersionedResponse
- type GetAPIKeyResponse
- type GetBackgroundTasksResponse
- type GetBundleResponse
- type GetCertificatesResponse
- type GetEncryptedPasswordResponse
- type GetGPGPublicKeyResponse
- type GetGlobalSystemReplicationConfigurationResponse
- type GetGroupDetailsResponse
- type GetGroupsResponse
- type GetHALicenseResponse
- type GetHALicenseResponseEntry
- type GetLicenseResponse
- type GetLockedOutUsersResponse
- type GetPasswordExpirationPolicyResponse
- type GetPermissionTargetDetailsResponse
- type GetPermissionTargetsResponse
- type GetRepositoriesResponse
- type GetRepositoryReplicationConfigurationResponse
- type GetReverseProxyConfigurationResponse
- type GetReverseProxySnippetResponse
- type GetServiceIDResponse
- type GetStorageSummaryInfoResponse
- type GetUserDetailsResponse
- type GetUserEncryptedPasswordResponse
- type GetUsersResponse
- type GetVersionAndAddOnResponse
- type GroupResponse
- type ISO8601Time
- type ImportSystemSettingsResponse
- type ItemLastModifiedResponse
- type ItemPropertiesResponse
- type JSONTime
- type LicenseSearchResponse
- type ListBundlesResponse
- type ListDockerRepositoriesResponse
- type ListDockerTagsResponse
- type LocalRepositoryConfigurationResponse
- type MoveItemResponse
- type PatternSearchResponse
- type PermissionTargetEntry
- type PropertySearchResponse
- type PushToBintrayResponse
- type RefreshTokenResponse
- type RegenerateAPIKeyResponse
- type RemoteRepositoryConfigurationResponse
- type RepoSummaryListEntry
- type RepositoryConfigurationResponse
- type RepositoryItemEntry
- type RetrieveBuildStagingStrategyResponse
- type RetrievePluginInfoResponse
- type RetrievePluginItemEntry
- type RetrieveUserLockPolicyResponse
- type RevokeTokenResponse
- type ScheduledReplicationStatusResponse
- type SecurityConfigurationResponse
- type UserResponse
- type Version
- type VersionedResponse
- type VirtualRepositoryConfigurationResponse
Constants ¶
const AQLSearchResponseTestData = "aql_search.json"
AQLSearchResponseTestData is test data for AQLResponse
const AQLSearchResponseWithArchiveTestData = "aql_search_with_archive.json"
AQLSearchResponseWithArchiveTestData is test data for AQLResponse
const AbsoluteMinimumVersion = "5.1"
AbsoluteMinimumVersion is the absolute minimum version this library will support
const AllBuildsResponseTestData = "builds.json"
AllBuildsResponseTestData is test data for AllBuildsResponse
const ArchiveEntriesSearchResponseTestData = "archive_entries_search.json"
ArchiveEntriesSearchResponseTestData is test data for ArchiveEntriesSearchResponse
const ArtifactLatestVersionBasedOnPropertiesSearchResponseTestData = "artifact_latest_version_by_props_search.json"
ArtifactLatestVersionBasedOnPropertiesSearchResponseTestData is test data for ArtifactLatestVersionBasedOnPropertiesSearchResponse
const ArtifactSearchResponseTestData = "artifact_search.json"
ArtifactSearchResponseTestData is test data for ArtifactSearchResponse
const ArtifactVersionSearchResponseTestData = "artifact_version_search.json"
ArtifactVersionSearchResponseTestData is test data for ArtifactVersionSearchResponse
const ArtifactsCreatedInDateRangeSearchResponseTestData = "artifacts_created_in_date_range_search.json"
ArtifactsCreatedInDateRangeSearchResponseTestData is test data for ArtifactsCreatedInDateRangeSearchResponse
const ArtifactsNotDownloadedSinceSearchResponseTestData = "artifacts_not_downloaded_since_search.json"
ArtifactsNotDownloadedSinceSearchResponseTestData is test data for ArtifactsNotDownloadedSinceSearchResponse
const ArtifactsWithDataInRangeSearchResponseTestData = "artifacts_with_date_in_range_search.json"
ArtifactsWithDataInRangeSearchResponseTestData is test data for ArtifactsWithDataInRangeSearchResponse
const BadChecksumSearchResponseTestData = "bad_checksum_search.json"
BadChecksumSearchResponseTestData is test data for BadChecksumSearchResponse
const BuildArtifactsSearchResponseTestData = "build_artifacts_search.json"
BuildArtifactsSearchResponseTestData is test data for BuildArtifactsSearchResponse
const BuildDiffResponseTestData = "build_diff.json"
BuildDiffResponseTestData is test data for BuildDiffResponse
const BuildInfoResponseTestData = "build_info.json"
BuildInfoResponseTestData is test data for BuildInfoResponse
const BuildRunsResponseTestData = "build.json"
BuildRunsResponseTestData is test data for BuildResponse
const BuildsForDependencyResponseTestData = "build_for_dependency.json"
BuildsForDependencyResponseTestData is test data for BuildsForDepdencyResponse
const ChecksumSearchResponseTestData = "checksum_search.json"
ChecksumSearchResponseTestData is test data for ChecksumSearchResponse
const CopyItemResponseTestData = "copy_item.json"
CopyItemResponseTestData is test data for CopyItemResponse
const CreateAPIKeyResponseTestData = "api_key.json"
CreateAPIKeyResponseTestData is test data for CreateAPIKeyResponse
const CreateBundleResponseTestData = "create_bundle.json"
CreateBundleResponseTestData is test data for CreateBundleResponse
const CreateDirectoryResponseTestData = "create_directory.json"
CreateDirectoryResponseTestData is test data for CreateDirectoryResponse
const CreateTokenResponseTestData = "create_token.json"
CreateTokenResponseTestData is test data for CreateTokenResponse
const CurrentVersion = "5.5"
CurrentVersion is the current version of the API that this library is tested against
const DeployArtifactResponseTestData = "deploy_artifact.json"
DeployArtifactResponseTestData is test data for DeployArtifactResponse
const EffectiveItemPermissionsResponseTestData = "effective_item_permissions.json"
EffectiveItemPermissionsResponseTestData is test data for EffectiveItemPermissionsResponse
const ErrorResponseTestData = "error.json"
ErrorResponseTestData is test data for a user response
const ExportSystemSettingsResponseTestData = "export_system_settings.json"
ExportSystemSettingsResponseTestData is test data for ExportSystemSettingsResponse
const FileComplianceInfoResponseTestData = "file_compliance.json"
FileComplianceInfoResponseTestData is test data for FileComplianceInfoResponse
const FileInfoResponseTestData = "file_info.json"
FileInfoResponseTestData is test data for FileInfoResponse
const FileListAllOptsResponseTestData = "file_list_all_opts.json"
FileListAllOptsResponseTestData is test data for FileListResponse with all options provided
const FileListDeepResponseTestData = "file_list_deep.json"
FileListDeepResponseTestData is test data for FileListResponse with deep option
const FileListMdTimestampsResponseTestData = "file_list_md_timestamps.json"
FileListMdTimestampsResponseTestData is test data for FileListResponse with mdTimestamps option
const FileListResponseTestData = "file_list.json"
FileListResponseTestData is test data for FileListResponse
const FileListWithFoldersResponseTestData = "file_list_with_folders.json"
FileListWithFoldersResponseTestData is test data for FileListResponse with listFolders option
const FileStatisticsResponseTestData = "file_stats.json"
FileStatisticsResponseTestData is test data for FileStatisticsResponse
const FolderInfoResponseTestData = "folder_info.json"
FolderInfoResponseTestData is test data for FolderInfoResponse
const GAVCSearchResponseTestData = "gavc_search.json"
GAVCSearchResponseTestData is test data for GAVCSearchResponse
const GetAPIKeyResponseTestData = "api_key.json"
GetAPIKeyResponseTestData is test data for GetAPIKeyResponse
const GetBackgroundTasksResponseTestData = "get_background_tasks.json"
GetBackgroundTasksResponseTestData is test data for GetBackgroundTasksResponse
const GetCertificatesResponseTestData = "get_certificates.json"
GetCertificatesResponseTestData is test data for GetCertificatesResponse
const GetGlobalSystemReplicationConfigurationResponseTestData = "global_system_replication_configuration.json"
GetGlobalSystemReplicationConfigurationResponseTestData is test data for GetGlobalSystemReplicationConfigurationResponse
const GetGroupDetailsResponseTestData = "group.json"
GetGroupDetailsResponseTestData is test data for GetGroupDetailsResponse
const GetGroupsResponseTestData = "groups.json"
GetGroupsResponseTestData is test data for GetGroupsResponse
const GetHALicenseResponseTestData = "ha_license.json"
GetHALicenseResponseTestData is test data for VersionAndAddOnResponse
const GetLicenseResponseTestData = "license.json"
GetLicenseResponseTestData is test data for VersionAndAddOnResponse
const GetLockedOutUsersResponseTestData = "get_locked_out_users.json"
GetLockedOutUsersResponseTestData is test data for GetLockedOutUsersResponse
const GetPasswordExpirationPolicyResponseTestData = "password_expiration_policy.json"
GetPasswordExpirationPolicyResponseTestData is test data for GetPasswordExpirationPolicyResponse
const GetPermissionTargetDetailsResponseTestData = "permission_target.json"
GetPermissionTargetDetailsResponseTestData is test data for GetPermissionTargetResponse
const GetPermissionTargetsResponseTestData = "permission_targets.json"
GetPermissionTargetsResponseTestData is test data for GetPermissionTargetsResponse
const GetRepositoriesResponseTestData = "get_repositories.json"
GetRepositoriesResponseTestData is test data for GetRepositoriesResponse
const GetRepositoryReplicationConfigurationResponseTestData = "get_repository_replication_configuration.json"
GetRepositoryReplicationConfigurationResponseTestData is test data for GetRepositoryReplicationConfigurationResponse
const GetReverseProxyConfigurationResponseTestData = "webserver.json"
GetReverseProxyConfigurationResponseTestData is test data for ReverseProxyConfigurationResponse
const GetStorageSummaryInfoResponseTestData = "storageinfo.json"
GetStorageSummaryInfoResponseTestData is test data for GetStorageSummaryInfoResponse
const GetUserDetailsResponseTestData = "user_detail.json"
GetUserDetailsResponseTestData is test data for a user detail response
const GetUsersResponseTestData = "users.json"
GetUsersResponseTestData is test data for a get users response
const GetVersionAndAddOnResponseTestData = "version.json"
GetVersionAndAddOnResponseTestData is test data for VersionAndAddOnResponse
const ImportSystemSettingsResponseTestData = "import_system.json"
ImportSystemSettingsResponseTestData is test data for ImportSystemSettingsResponse
const ItemLastModifiedResponseTestData = "last_modified.json"
ItemLastModifiedResponseTestData is test data for ItemLastModifiedResponse
const ItemPropertiesResponseTestData = "item_properties.json"
ItemPropertiesResponseTestData is test data for ItemPropertiesResponse
const LicenseSearchResponseTestData = "license_search.json"
LicenseSearchResponseTestData is test data for LicenseSearchResponse
const ListBundlesResponseTestData = "list_bundles.json"
ListBundlesResponseTestData is test data for ListBundlesResponse
const ListDockerRepositoriesResponseTestData = "list_docker_repos.json"
ListDockerRepositoriesResponseTestData is test data for ListDockerRepositoriesResponse
const ListDockerTagsResponseTestData = "list_docker_tags.json"
ListDockerTagsResponseTestData is test data for ListDockerTagsResponse
const LocalRepositoryConfigurationResponseTestData = "local_repo.json"
LocalRepositoryConfigurationResponseTestData is test data for LocalRepositoryConfigurationResponse
const MoveItemResponseTestData = "move_item.json"
MoveItemResponseTestData is test data for MoveItemResponse
const PatternSearchResponseTestData = "pattern_search.json"
PatternSearchResponseTestData is test data for PatternSearchResponse
const PropertySearchResponseTestData = "property_search.json"
PropertySearchResponseTestData is test data for PropertySearchResponse
const PushToBintrayResponseTestData = "bintray_push.json"
PushToBintrayResponseTestData is test data for PushToBintrayResponse
const RefreshTokenResponseTestData = "create_token.json"
RefreshTokenResponseTestData is test data for RefreshTokenResponse
const RegenerateAPIKeyResponseTestData = "api_key.json"
RegenerateAPIKeyResponseTestData is test data for RegenerateAPIKeyResponse
const RemoteRepositoryConfigurationResponseTestData = "remote_repo.json"
RemoteRepositoryConfigurationResponseTestData is test data for RemoteRepositoryConfigurationResponse
const RetrieveBuildStagingStrategyResponseTestData = "build_staging_strategy.json"
RetrieveBuildStagingStrategyResponseTestData is test data for RetrieveBuildStagingStrategyResponse
const RetrieveNamedPluginInfoResponseTestData = "executions_plugins.json"
RetrieveNamedPluginInfoResponseTestData is test data for RetrievePluginInfoResponse for a specific plugin type
const RetrievePluginInfoResponseTestData = "plugins.json"
RetrievePluginInfoResponseTestData is test data for RetrievePluginInfoResponse
const RetrieveUserLockPolicyResponseTestData = "user_lock_policy.json"
RetrieveUserLockPolicyResponseTestData is test data for RetrieveUserLockPolicyResponse
const ScheduledReplicationStatusResponseTestData = "scheduled_replication_status.json"
ScheduledReplicationStatusResponseTestData is test data for ScheduledReplicationStatusResponse
const UserResponseTestData = "user.json"
UserResponseTestData is test data for a user response
const VirtualRepositoryConfigurationResponseTestData = "virtual_repo.json"
VirtualRepositoryConfigurationResponseTestData is test data for VirtualRepositoryConfigurationResponse
Variables ¶
This section is empty.
Functions ¶
func IsDeprecated ¶
func IsDeprecated(a VersionedResponse) bool
IsDeprecated indicates if a response is deprecated or not
Types ¶
type AQLSearchResponse ¶
type AQLSearchResponse struct { Results []struct { Repo string `json:"repo"` Path string `json:"path"` Name string `json:"name"` Type string `json:"type"` Size int `json:"size"` Created *JSONTime `json:"created"` CreatedBy string `json:"created_by"` Modified *JSONTime `json:"modified"` ModifiedBy string `json:"modified_by"` Updated *JSONTime `json:"updated"` Archives []struct { Entries []struct { EntryName string `json:"entry.name"` EntryPath string `json:"entry.path"` } } `json:"archives,omitempty"` } `json:"results"` Range struct { StartPos int `json:"start_pos"` EndPos int `json:"end_pos"` Total int `json:"total"` } `json:"range"` }
AQLSearchResponse represents a AQL response
type AllBuildsResponse ¶
type AllBuildsResponse struct { URI string `json:"uri"` Builds []struct { URI string `json:"uri"` LastStarted *ISO8601Time `json:"lastStarted"` } `json:"builds"` }
AllBuildsResponse represents a AllBuilds response
type ArchiveEntriesSearchResponse ¶
type ArchiveEntriesSearchResponse struct { Results []struct { Entry string `json:"entry"` ArchiveURIS []string `json:"archiveUris"` } `json:"results"` }
ArchiveEntriesSearchResponse represents a ArchiveEntriesSearch response
type ArtifactLatestVersionBasedOnLayoutSearchResponse ¶
type ArtifactLatestVersionBasedOnLayoutSearchResponse struct{}
ArtifactLatestVersionBasedOnLayoutSearchResponse represents a ArtifactLatestVersionBasedOnLayout response
type ArtifactLatestVersionBasedOnPropertiesSearchResponse ¶
type ArtifactLatestVersionBasedOnPropertiesSearchResponse struct { Version string `json:"version"` Artifacts []struct { URI string `json:"uri"` } `json:"artifacts"` }
ArtifactLatestVersionBasedOnPropertiesSearchResponse represents a ArtifactLatestVersionBasedOnPropertiesSearch response
type ArtifactSearchResponse ¶
type ArtifactSearchResponse struct { Results []struct { URI string `json:"uri"` } `json:"results"` }
ArtifactSearchResponse represents a ArtifactSearch response
type ArtifactVersionSearchResponse ¶
type ArtifactVersionSearchResponse struct { Results []struct { Version string `json:"version"` Integration bool `json:"integration"` } `json:"results"` }
ArtifactVersionSearchResponse represents a ArtifactVersionSearch response
type ArtifactsCreatedInDateRangeSearchResponse ¶
type ArtifactsCreatedInDateRangeSearchResponse struct { Results []struct { URI string `json:"uri"` Created *JSONTime `json:"created"` } `json:"results"` }
ArtifactsCreatedInDateRangeSearchResponse represents a ArtifactsCreatedInDateRangeSearch response
type ArtifactsNotDownloadedSinceSearchResponse ¶
type ArtifactsNotDownloadedSinceSearchResponse struct { Results []struct { URI string `json:"uri"` LastDownload *JSONTime `json:"lastDownloaded"` DownloadCount int `json:"downloadCount"` RemoteLastDownloaded *JSONTime `json:"remoteLastDownloaded"` RemoteDownloadCount int `json:"remoteDownloadCount"` } `json:"results"` }
ArtifactsNotDownloadedSinceSearchResponse represents a ArtifactsNotDownloadedSinceSearch response
type ArtifactsWithDataInRangeSearchResponse ¶
type ArtifactsWithDataInRangeSearchResponse struct { Results []struct { URI string `json:"uri"` Created *JSONTime `json:"created"` LastModified *JSONTime `json:"lastModified"` LastDownloaded *JSONTime `json:"lastDownloaded"` } `json:"results"` }
ArtifactsWithDataInRangeSearchResponse represents a ArtifactsWithDataInRangeSearch response
type BadChecksumSearchResponse ¶
type BadChecksumSearchResponse struct { Results []struct { URI string `json:"uri"` ServerMD5 string `json:"serverMd5"` ClientMD5 string `json:"clientMd5"` } `json:"results"` }
BadChecksumSearchResponse represents a BadChecksumSearch response
type BinariesSummaryEntry ¶
type BinariesSummaryEntry struct { BinariesCount string `json:"binariesCount"` BinariesSize string `json:"binariesSize"` ArtifactsSize string `json:"artifactsSize"` Optimization string `json:"optimization"` ItemsCount string `json:"itemsCount"` ArtifactsCount string `json:"artifactsCount"` }
BinariesSummaryEntry is a
type BuildArtifactsSearchResponse ¶
type BuildArtifactsSearchResponse struct { Results []struct { DownloadURI string `json:"downloadUri"` } `json:"results"` }
BuildArtifactsSearchResponse represents a BuildArtifactsSearch response
type BuildDiffCommon ¶
type BuildDiffCommon struct { Updated []map[string]interface{} `json:"updated"` Unchanged []map[string]interface{} `json:"unchanged"` Removed []map[string]interface{} `json:"removed"` New []map[string]interface{} `json:"new"` }
BuildDiffCommon represents common elements of build diffs
type BuildDiffResponse ¶
type BuildDiffResponse struct { Artifacts BuildDiffCommon `json:"artifacts"` Dependencies BuildDiffCommon `json:"dependencies"` Properties BuildDiffCommon `json:"properties"` }
BuildDiffResponse represents a BuildDiff response
type BuildInfoResponse ¶
type BuildInfoResponse struct { URI string `json:"uri"` BuildInfo map[string]interface{} `json:"buildInfo"` }
BuildInfoResponse represents a BuildInfo response
type BuildRunsResponse ¶
type BuildRunsResponse struct { URI string `json:"uri"` BuildsNumbers []struct { URI string `json:"uri"` Started *ISO8601Time `json:"started"` } `json:"buildsNumbers"` }
BuildRunsResponse represents a Build response
type BuildsForDependencyResponse ¶
type BuildsForDependencyResponse struct { Results []struct { URI string `json:"uri"` } `json:"results"` }
BuildsForDependencyResponse represents a BuildsForDepdency response
type CertificateResponseEntry ¶
type CertificateResponseEntry struct { CertificateAlias string `json:"certificateAlias"` IssuedTo string `json:"issuedTo"` IssuedBy string `json:"issuedBy"` IssuedOn *JSONTime `json:"issuedOn"` ValidUntil *JSONTime `json:"validUntil"` Fingerprint string `json:"fingerPrint"` }
CertificateResponseEntry represents an individual cert entry in a GetCertificatesResponse
type ChecksumSearchResponse ¶
type ChecksumSearchResponse struct { Results []struct { Repo string `json:"repo"` Path string `json:"path"` Created *JSONTime `json:"created"` CreatedBy string `json:"createdBy"` LastModified *JSONTime `json:"lastModified"` LastUpdated *JSONTime `json:"lastUpdated"` ModifiedBy string `json:"modifiedBy"` Properties map[string][]string `json:"properties,omitempty"` DownloadURI string `json:"downloadUri"` RemoteURL string `json:"remoteUrl,omitempty"` MimeType string `json:"mimeType"` Size string `json:"size"` URI string `json:"uri"` Checksums struct { SHA1 string `json:"sha1,omitempty"` MD5 string `json:"md5,omitempty"` SHA256 string `json:"sha256,omitempty"` } `json:"checksums"` OriginalChecksums struct { SHA1 string `json:"sha1,omitempty"` MD5 string `json:"md5,omitempty"` SHA256 string `json:"sha256,omitempty"` } `json:"originalChecksums"` } `json:"results"` }
ChecksumSearchResponse represents a ChecksumSearch response
type CopyItemResponse ¶
type CopyItemResponse struct { Messages []struct { Level string `json:"level"` Message string `json:"message"` } `json:"messages"` }
CopyItemResponse represents a CopyItem response
type CreateAPIKeyResponse ¶
type CreateAPIKeyResponse struct {
APIKey string `json:"apiKey"`
}
CreateAPIKeyResponse represents a CreateAPIKey response
type CreateBundleResponse ¶
type CreateBundleResponse struct {
Bundles []string `json:"bundles"`
}
CreateBundleResponse represents a CreateBundle response
type CreateDirectoryResponse ¶
type CreateDirectoryResponse struct { Repo string `json:"repo"` Path string `json:"path"` Created *JSONTime `json:"created"` URI string `json:"uri"` }
CreateDirectoryResponse represents a CreateDirectory response
type CreateTokenResponse ¶
type CreateTokenResponse struct { Scope string `json:"scope"` ExpiresIn int `json:"expires_in"` AccessToken string `json:"access_token"` TokenType string `json:"token_type"` RefreshToken string `json:"refresh_token,omitempty"` }
CreateTokenResponse represents a CreateToken response
type DeleteRepositoryResponse ¶
type DeleteRepositoryResponse struct{}
DeleteRepositoryResponse represents a DeleteRepository response
type DeployArtifactResponse ¶
type DeployArtifactResponse struct { URI string `json:"uri"` DownloadURI string `json:"downloadUri"` Repo string `json:"repo"` Path string `json:"path"` Created *JSONTime `json:"created"` CreatedBy string `json:"createdBy"` Size string `json:"size"` MimeType string `json:"mimeType"` Checksums struct { SHA1 string `json:"sha1"` MD5 string `json:"md5"` SHA256 string `json:"sha256,omitempty"` } `json:"checksums"` OriginalChecksums struct { SHA1 string `json:"sha1"` MD5 string `json:"md5"` SHA256 string `json:"sha256,omitempty"` } `json:"originalChecksums"` }
DeployArtifactResponse represents a DeployArtifact response
type EffectiveItemPermissionsResponse ¶
type EffectiveItemPermissionsResponse struct { URI string `json:"uri"` Principals map[string]map[string][]string `json:"principals"` }
EffectiveItemPermissionsResponse represents a EffectiveItemPermissions response
type ErrorResponse ¶
type ErrorResponse struct { Errors []struct { Status int `json:"status"` Message string `json:"message"` } `json:"errors"` }
ErrorResponse represents an artifactory api error response
type ExportSystemSettingsResponse ¶
type ExportSystemSettingsResponse struct { ExportPath string `json:"exportPath"` IncludeMetaData bool `json:"includeMetadata"` CreateArchive bool `json:"createArchive"` BypassFiltering bool `json:"bypassFiltering"` Verbose bool `json:"verbose"` FailOnError bool `json:"failOnError"` FailIfEmpty bool `json:"failIfEmpty"` M2 bool `json:"m2"` Incremental bool `json:"incremental"` ExcludeContent bool `json:"excludeContent"` }
ExportSystemSettingsResponse represents a ExportSystemSettings response
type FileComplianceInfoResponse ¶
type FileComplianceInfoResponse struct { Licenses []struct { Name string `json:"name"` URL string `json:"url"` } `json:"licenses"` Vulnerabilities []struct { Name string `json:"name"` URL string `json:"url"` } `json:"vulnerabilities"` }
FileComplianceInfoResponse represents a FileComplianceInfo response
type FileInfoResponse ¶
type FileInfoResponse struct { Repo string `json:"repo"` Path string `json:"path"` Created *JSONTime `json:"created"` LastModified *JSONTime `json:"lastModified"` LastUpdated *JSONTime `json:"lastUpdated"` CreatedBy string `json:"createdBy"` ModifiedBy string `json:"modifiedBy"` DownloadURI string `json:"downloadUri"` MimeType string `json:"mimeType"` Size string `json:"size"` Checksums struct { SHA1 string `json:"sha1"` MD5 string `json:"md5"` SHA256 string `json:"sha256,omitempty"` } `json:"checksums"` OriginalChecksums struct { SHA1 string `json:"sha1"` MD5 string `json:"md5"` SHA256 string `json:"sha256,omitempty"` } `json:"originalChecksums"` URI string `json:"uri"` }
FileInfoResponse represents a FileInfo response
type FileListItemEntry ¶
type FileListItemEntry struct { URI string `json:"uri"` Size int `json:"size"` LastModified *JSONTime `json:"lastModified"` Folder bool `json:"folder"` SHA1 string `json:"sha1,omitempty"` SHA2 string `json:"sha2,omitempty"` MDTimestamps struct { Properties *JSONTime `json:"properties"` } `json:"mdTimestamps,omitempty"` }
FileListItemEntry represents a FileListResponse item
type FileListResponse ¶
type FileListResponse struct { URI string `json:"uri"` Created *JSONTime `json:"created"` Files []FileListItemEntry `json:"files"` }
FileListResponse represents a FileList response
type FileStatisticsResponse ¶
type FileStatisticsResponse struct { URI string `json:"uri"` DownloadCount int `json:"downloadCount"` LastDownloaded int `json:"lastDownloaded"` RemoteDownloadCount int `json:"remoteDownloadCount"` RemoteLastDownloaded int `json:"remoteLastDownloaded"` }
FileStatisticsResponse represents a FileStatistics response
type FileStoreSummaryEntry ¶
type FileStoreSummaryEntry struct { StorageType string `json:"storageType"` StorageDirectory string `json:"storageDirectory"` TotalSpace string `json:"totalSpace"` UsedSpace string `json:"usedSpace"` FreeSpace string `json:"freeSpace"` }
FileStoreSummaryEntry is a
type FolderInfoResponse ¶
type FolderInfoResponse struct { Repo string `json:"repo"` Path string `json:"path"` Created *JSONTime `json:"created"` LastModified *JSONTime `json:"lastModified"` LastUpdated *JSONTime `json:"lastUpdated"` Children []struct { URI string `json:"uri"` Folder bool `json:"folder"` } `json:"children"` URI string `json:"uri"` }
FolderInfoResponse represents a FolderInfo response
type GAVCSearchResponse ¶
type GAVCSearchResponse struct { Results []struct { Repo string `json:"repo"` Path string `json:"path"` Created *JSONTime `json:"created"` CreatedBy string `json:"createdBy"` LastModified *JSONTime `json:"lastModified"` LastUpdated *JSONTime `json:"lastUpdated"` ModifiedBy string `json:"modifiedBy"` Properties map[string][]string `json:"properties,omitempty"` DownloadURI string `json:"downloadUri"` RemoteURL string `json:"remoteUrl,omitempty"` MimeType string `json:"mimeType"` Size string `json:"size"` URI string `json:"uri"` Checksums struct { SHA1 string `json:"sha1,omitempty"` MD5 string `json:"md5,omitempty"` SHA256 string `json:"sha256,omitempty"` } `json:"checksums"` OriginalChecksums struct { SHA1 string `json:"sha1,omitempty"` MD5 string `json:"md5,omitempty"` SHA256 string `json:"sha256,omitempty"` } `json:"originalChecksums"` } `json:"results"` }
GAVCSearchResponse represents a GAVCSearch response
type GenericVersionedResponse ¶
type GenericVersionedResponse struct{}
GenericVersionedResponse is for version checking Some operations don't have a response (think DELETE or PUT) but we still want to do a version check on ALL functions anyway This response simply responds to that
type GetAPIKeyResponse ¶
type GetAPIKeyResponse struct {
APIKey string `json:"apiKey"`
}
GetAPIKeyResponse represents a GetAPIKey response
type GetBackgroundTasksResponse ¶
type GetBackgroundTasksResponse struct { Tasks []struct { ID string `json:"id"` Type string `json:"type"` State string `json:"state"` Description string `json:"description"` NodeID string `json:"nodeId"` } }
GetBackgroundTasksResponse represents a GetBackgroundTasks response
type GetBundleResponse ¶
type GetBundleResponse struct{}
GetBundleResponse represents a GetBundle response
type GetCertificatesResponse ¶
type GetCertificatesResponse []*CertificateResponseEntry
GetCertificatesResponse represents a GetCertificates response
type GetEncryptedPasswordResponse ¶
type GetEncryptedPasswordResponse struct{}
GetEncryptedPasswordResponse is a placeholder type for getting the current user's encrypted password
type GetGPGPublicKeyResponse ¶
type GetGPGPublicKeyResponse struct{}
GetGPGPublicKeyResponse represents a GetGPGPublicKey response
type GetGlobalSystemReplicationConfigurationResponse ¶
type GetGlobalSystemReplicationConfigurationResponse struct { BlockPullReplications bool `json:"blockPullReplications"` BlockPushReplications bool `json:"blockPushReplications"` }
GetGlobalSystemReplicationConfigurationResponse represents a GetGlobalSystemReplicationConfiguration response
type GetGroupDetailsResponse ¶
type GetGroupDetailsResponse struct { Name string `json:"name"` Description string `json:"description"` AutoJoin bool `json:"autojoin"` Realm string `json:"realm"` AdminPrivileges bool `json:"adminPrivileges"` }
GetGroupDetailsResponse represents a GetGroupDetails response
type GetGroupsResponse ¶
type GetGroupsResponse []GroupResponse
GetGroupsResponse represents a GetGroups response
type GetHALicenseResponse ¶
type GetHALicenseResponse []GetHALicenseResponseEntry
GetHALicenseResponse is represents an HA License response
type GetHALicenseResponseEntry ¶
type GetHALicenseResponseEntry struct { Type string `json:"type"` ValidThrough string `json:"validThrough"` LicensedTo string `json:"licensedTo"` LicenseHash string `json:"licenseHash"` NodeID string `json:"nodeId"` NodeURL string `json:"nodeUrl"` Expired bool `json:"expired"` }
GetHALicenseResponseEntry represents an ha license response item https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-LicenseInformation
type GetLicenseResponse ¶
type GetLicenseResponse struct { Type string `json:"type"` ValidThrough string `json:"validThrough"` LicensedTo string `json:"licensedTo"` }
GetLicenseResponse represents a license response https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-LicenseInformation
type GetLockedOutUsersResponse ¶
type GetLockedOutUsersResponse []string
GetLockedOutUsersResponse represents a GetLockedOutUsers response
type GetPasswordExpirationPolicyResponse ¶
type GetPasswordExpirationPolicyResponse struct { Enabled bool `json:"enabled"` PasswordMaxAge int `json:"passwordMaxAge"` NotifyByEmail bool `json:"notifyByEmail"` }
GetPasswordExpirationPolicyResponse represents a GetPasswordExpirationPolicy response
type GetPermissionTargetDetailsResponse ¶
type GetPermissionTargetDetailsResponse struct { Name string `json:"name"` IncludesPattern string `json:"includesPattern"` ExcludesPattern string `json:"excludesPattern"` Repositories []string `json:"repositories"` Principals map[string]map[string][]string `json:"principals"` }
GetPermissionTargetDetailsResponse represents a GetPermissionTarget response
type GetPermissionTargetsResponse ¶
type GetPermissionTargetsResponse []PermissionTargetEntry
GetPermissionTargetsResponse represents a GetPermissionTargets response
type GetRepositoriesResponse ¶
type GetRepositoriesResponse []RepositoryItemEntry
GetRepositoriesResponse represents a GetRepositories response
type GetRepositoryReplicationConfigurationResponse ¶
type GetRepositoryReplicationConfigurationResponse struct { URL string `json:"url"` SocketTimeoutMillis int `json:"socketTimeoutMillis"` Username string `json:"username"` Password string `json:"password"` EnableEventReplication bool `json:"enableEventReplication"` Enabled bool `json:"enabled"` CronExp string `json:"cronExp"` SyncDeletes bool `json:"syncDeletes"` SyncProperties bool `json:"syncProperties"` SyncStatistics bool `json:"syncStatistics"` RepoKey string `json:"repoKey"` PathPrefix string `json:"pathPrefix"` }
GetRepositoryReplicationConfigurationResponse represents a GetRepositoryReplicationConfiguration response
type GetReverseProxyConfigurationResponse ¶
type GetReverseProxyConfigurationResponse struct { Key string `json:"key"` WebServerType string `json:"webServerType"` ArtifactoryAppContext string `json:"artifactoryAppContext"` PublicAppContext string `json:"publicAppContext"` ServerName string `json:"serverName"` ServerNameExpression string `json:"serverNameExpression"` ArtifactoryServerName string `json:"artifactoryServerName"` ArtifactoryPort int `json:"artifactoryPort"` SSLCertificate string `json:"sslCertificate"` SSLKey string `json:"sslKey"` DockerReverseProxyMethod string `json:"dockerReverseProxyMethod"` UseHTTPS bool `json:"useHttps"` UseHTTP bool `json:"useHttp"` SSLPort int `json:"sslPort"` HTTPPort int `json:"httpPort"` }
GetReverseProxyConfigurationResponse represents the web server configuration response https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-GetReverseProxyConfiguration
type GetReverseProxySnippetResponse ¶
type GetReverseProxySnippetResponse struct{}
GetReverseProxySnippetResponse represents a ReverseProxySnippet response
type GetServiceIDResponse ¶
type GetServiceIDResponse struct{}
GetServiceIDResponse represents a GetServiceID response
type GetStorageSummaryInfoResponse ¶
type GetStorageSummaryInfoResponse struct { StorageSummary struct { BinariesSummary BinariesSummaryEntry `json:"binariesSummary"` RepositoriesSummaryList []RepoSummaryListEntry `json:"repositoriesSummaryList"` FileStoreSummary FileStoreSummaryEntry `json:"fileStoreSummary"` } RepositoriesSummaryList []RepoSummaryListEntry `json:"repositoriesSummaryList"` BinariesSummary BinariesSummaryEntry `json:"binariesSummary"` FileStoreSummary FileStoreSummaryEntry `json:"fileStoreSummary"` }
GetStorageSummaryInfoResponse represents a GetStorageSummaryInfo response
type GetUserDetailsResponse ¶
type GetUserDetailsResponse struct { Name string `json:"name"` Email string `json:"email"` Password string `json:"password"` Admin bool `json:"admin"` ProfileUpdatable bool `json:"profileUpdatable"` DisableUIAccess bool `json:"disableUIAccess"` InternalPasswordDisabled bool `json:"internalPasswordDisabled"` LastLoggedIn *JSONTime `json:"lastLoggedIn"` Realm string `json:"realm"` Groups []string `json:"groups"` }
GetUserDetailsResponse represents a user detail response
type GetUserEncryptedPasswordResponse ¶
type GetUserEncryptedPasswordResponse struct{}
GetUserEncryptedPasswordResponse represents a GetUserEncryptedPassword response
type GetUsersResponse ¶
type GetUsersResponse []UserResponse
GetUsersResponse represents a GetUsers response
type GetVersionAndAddOnResponse ¶
type GetVersionAndAddOnResponse struct { Version string `json:"version"` Revision string `json:"revision"` License string `json:"license"` AddOns []string `json:"addons"` }
GetVersionAndAddOnResponse is the response for https://www.jfrog.com/confluence/display/RTF/System+Settings+JSON#SystemSettingsJSON-application/vnd.org.jfrog.artifactory.system.Version+json
type GroupResponse ¶
GroupResponse is an entry in a GetGroupsResponse
type ISO8601Time ¶
ISO8601Time is a custom/marshal/unmarshal of iso8601 time values
func (*ISO8601Time) UnmarshalJSON ¶
func (t *ISO8601Time) UnmarshalJSON(data []byte) error
UnmarshalJSON parses the iso8601 datetime format
type ImportSystemSettingsResponse ¶
type ImportSystemSettingsResponse struct { ImportPath string `json:"importPath"` IncludeMetaData bool `json:"includeMetadata"` Verbose bool `json:"verbose"` FailOnError bool `json:"failOnError"` FailIfEmpty bool `json:"failIfEmpty"` }
ImportSystemSettingsResponse represents the import system settings response https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ImportSystemSettingsExample
type ItemLastModifiedResponse ¶
type ItemLastModifiedResponse struct { URI string `json:"uri"` LastModified *ISO8601Time `json:"lastModified"` }
ItemLastModifiedResponse represents a ItemLastModified response
type ItemPropertiesResponse ¶
type ItemPropertiesResponse struct { URI string `json:"uri"` Properties map[string][]string `json:"properties"` }
ItemPropertiesResponse represents a ItemProperties response
type JSONTime ¶
JSONTime is for custom marshal/unmarshal of artifactory datetime values
func (*JSONTime) UnmarshalJSON ¶
UnmarshalJSON parses the rundeck datetime format
type LicenseSearchResponse ¶
type LicenseSearchResponse struct { Results []struct { URI string `json:"uri"` License string `json:"license"` Found string `json:"found"` Status string `json:"status"` } `json:"results"` }
LicenseSearchResponse represents a LicenseSearch response
type ListBundlesResponse ¶
type ListBundlesResponse struct {
Bundles []string `json:"bundles"`
}
ListBundlesResponse represents a ListBundles response
type ListDockerRepositoriesResponse ¶
type ListDockerRepositoriesResponse struct {
Repositories []string `json:"repositories"`
}
ListDockerRepositoriesResponse represents a ListDockerRepositories response
type ListDockerTagsResponse ¶
ListDockerTagsResponse represents a ListDockerTags response
type LocalRepositoryConfigurationResponse ¶
type LocalRepositoryConfigurationResponse struct { Key string `json:"key"` PackageType string `json:"packageType"` RClass string `json:"rclass"` Description string `json:"description"` Notes string `json:"notes"` IncludesPattern string `json:"includesPattern"` ExcludesPattern string `json:"excludesPattern"` RepoLayoutRef string `json:"repoLayoutRef"` DebianTrivialLayout bool `json:"debianTrivialLayout,omitempty"` EnableComposerSupport bool `json:"enableComposerSupport,omitempty"` EnableNuGetSupport bool `json:"enableNuGetSupport,omitempty"` EnableGemsSupport bool `json:"enableGemsSupport,omitempty"` EnableNPMSupport bool `json:"enableNpmSupport,omitempty"` EnableBowerSupport bool `json:"enableBowerSupport,omitempty"` EnableCocoaPodsSupport bool `json:"enableCocoaPodsSupport,omitempty"` EnableConanSupport bool `json:"enableConanSupport,omitempty"` EnableDebianSupport bool `json:"enableDebianSupport,omitempty"` EnablePyPiSupport bool `json:"enablePypiSupport,omitempty"` EnablePuppetSupport bool `json:"enablePuppetSupport,omitempty"` EnableDockerSupport bool `json:"enableDockerSupport,omitempty"` EnableVagrantSupport bool `json:"enableVagrantSupport,omitempty"` EnableGitLFSSupport bool `json:"enableGitLfsSupport,omitempty"` EnableDistRepoSupport bool `json:"enableDistRepoSupport,omitempty"` EnabledChefSupport bool `json:"enabledChefSupport,omitempty"` DockerAPIVersion string `json:"dockerApiVersion,omitempty"` ForceNuGetAuthentication bool `json:"forceNugetAuthentication,omitempty"` PropertySets []string `json:"propertySets"` HandleReleases bool `json:"handleReleases"` HandleSnapshots bool `json:"handleSnapshots"` ArchiveBrowsingEnabled bool `json:"archiveBrowsingEnabled"` BlackedOut bool `json:"blackedOut"` BlockXRayUnscannedArtifacts bool `json:"blockXrayUnscannedArtifacts"` CalculateYumMetaData bool `json:"calculateYumMetadata"` ChecksumPolicyType string `json:"checksumPolicyType"` MaxUniqueSnapshots int `json:"maxUniqueSnapshots"` MaxUniqueTags int `json:"maxUniqueTags"` SnapshotVersionBehaviour string `json:"snapshotVersionBehavior"` SuppressPomConsistencyChecks bool `json:"suppressPomConsistencyChecks"` XRayIndex bool `json:"xrayIndex"` XrayMinimumBlockedSeverity string `json:"xrayMinimumBlockedSeverity"` YumRootDepth int `json:"yumRootDepth"` EnableFileListsIndexing bool `json:"enableFileListsIndexing"` }
LocalRepositoryConfigurationResponse represents a LocalRepositoryConfiguration response
type MoveItemResponse ¶
type MoveItemResponse struct { Messages []struct { Level string `json:"level"` Message string `json:"message"` } `json:"messages"` }
MoveItemResponse represents a MoveItem response
type PatternSearchResponse ¶
type PatternSearchResponse struct { RepoURI string `json:"repoUri"` SourcePattern string `json:"sourcePattern"` Files []string `json:"files"` }
PatternSearchResponse represents a PatternSearch response
type PermissionTargetEntry ¶
PermissionTargetEntry is an individual entry for GetPermissionTargetsResponse
type PropertySearchResponse ¶
type PropertySearchResponse struct { Results []struct { Repo string `json:"repo"` Path string `json:"path"` Created *JSONTime `json:"created"` CreatedBy string `json:"createdBy"` LastModified *JSONTime `json:"lastModified"` LastUpdated *JSONTime `json:"lastUpdated"` ModifiedBy string `json:"modifiedBy"` Properties map[string][]string `json:"properties,omitempty"` DownloadURI string `json:"downloadUri"` RemoteURL string `json:"remoteUrl,omitempty"` MimeType string `json:"mimeType"` Size string `json:"size"` URI string `json:"uri"` Checksums struct { SHA1 string `json:"sha1,omitempty"` MD5 string `json:"md5,omitempty"` SHA256 string `json:"sha256,omitempty"` } `json:"checksums"` OriginalChecksums struct { SHA1 string `json:"sha1,omitempty"` MD5 string `json:"md5,omitempty"` SHA256 string `json:"sha256,omitempty"` } `json:"originalChecksums"` } `json:"results"` }
PropertySearchResponse represents a PropertySearch response
type PushToBintrayResponse ¶
type PushToBintrayResponse struct {
Message string `json:"Message"`
}
PushToBintrayResponse represents a PushToBintray response
type RefreshTokenResponse ¶
type RefreshTokenResponse struct { Scope string `json:"scope"` ExpiresIn int `json:"expires_in"` AccessToken string `json:"access_token"` TokenType string `json:"token_type"` RefreshToken string `json:"refresh_token,omitempty"` }
RefreshTokenResponse represents a RefreshToken response
type RegenerateAPIKeyResponse ¶
type RegenerateAPIKeyResponse struct {
APIKey string `json:"apiKey"`
}
RegenerateAPIKeyResponse represents a RegenerateAPIKey response
type RemoteRepositoryConfigurationResponse ¶
type RemoteRepositoryConfigurationResponse struct { Key string `json:"key"` PackageType string `json:"packageType"` RClass string `json:"rclass"` Description string `json:"description"` Notes string `json:"notes"` IncludesPattern string `json:"includesPattern"` ExcludesPattern string `json:"excludesPattern"` RepoLayoutRef string `json:"repoLayoutRef"` DebianTrivialLayout bool `json:"debianTrivialLayout,omitempty"` EnableComposerSupport bool `json:"enableComposerSupport,omitempty"` EnableNuGetSupport bool `json:"enableNuGetSupport,omitempty"` EnableGemsSupport bool `json:"enableGemsSupport,omitempty"` EnableNPMSupport bool `json:"enableNpmSupport,omitempty"` EnableBowerSupport bool `json:"enableBowerSupport,omitempty"` EnableCocoaPodsSupport bool `json:"enableCocoaPodsSupport,omitempty"` EnableConanSupport bool `json:"enableConanSupport,omitempty"` EnableDebianSupport bool `json:"enableDebianSupport,omitempty"` EnablePyPiSupport bool `json:"enablePypiSupport,omitempty"` EnablePuppetSupport bool `json:"enablePuppetSupport,omitempty"` EnableDockerSupport bool `json:"enableDockerSupport,omitempty"` EnableVagrantSupport bool `json:"enableVagrantSupport,omitempty"` EnableGitLFSSupport bool `json:"enableGitLfsSupport,omitempty"` EnableDistRepoSupport bool `json:"enableDistRepoSupport,omitempty"` EnabledChefSupport bool `json:"enabledChefSupport,omitempty"` DockerAPIVersion string `json:"dockerApiVersion,omitempty"` ForceNuGetAuthentication bool `json:"forceNugetAuthentication,omitempty"` URL string `json:"url"` ArchiveBrowsingEnabled bool `json:"archiveBrowsingEnabled"` BlackedOut bool `json:"blackedOut"` BlockXRayUnscannedArtifacts bool `json:"blockXrayUnscannedArtifacts"` MaxUniqueSnapshots int `json:"maxUniqueSnapshots"` MaxUniqueTags int `json:"maxUniqueTags"` SuppressPomConsistencyChecks bool `json:"suppressPomConsistencyChecks"` XRayIndex bool `json:"xrayIndex"` XrayMinimumBlockedSeverity string `json:"xrayMinimumBlockedSeverity"` RemoteRepoChecksumPolicyType string `json:"remoteRepoChecksumPolicyType"` AllowAnyHostAuth bool `json:"allowAnyHostAuth"` AssumedOfflinePeriodSecs int `json:"assumedOfflinePeriodSecs"` BlockMismatchingMimeTypes bool `json:"blockMismatchingMimeTypes"` BypassHeadRequests bool `json:"bypassHeadRequests"` ContentSynchronisation map[string]interface{} `json:"contentSynchronisation"` EnableCookieManagement bool `json:"enableCookieManagement"` EnableTokenAuthentication bool `json:"enableTokenAuthentication"` FetchJarsEagerly bool `json:"fetchJarsEagerly"` FetchSourcesEagerly bool `json:"fetchSourcesEagerly"` HandleReleases bool `json:"handleReleases"` HandleSnapshots bool `json:"handleSnapshots"` HardFail bool `json:"hardFail"` ListRemoteFolderItmes bool `json:"listRemoteFolderItems"` LocalAddress string `json:"localAddress"` Username string `json:"username"` Password string `json:"password"` Offline bool `json:"offline"` MismatchingMimeTypesOverrideList string `json:"mismatchingMimeTypesOverrideList"` MissedRetrievalCachePeriodSecs int `json:"missedRetrievalCachePeriodSecs"` PropagateQueryParams bool `json:"propagateQueryParams"` PropertySets []string `json:"propertySets"` RejectInvalidJars bool `json:"rejectInvalidJars"` RetrievalCachePeriodSecs int `json:"retrievalCachePeriodSecs"` SocketTimeoutMillis int `json:"socketTimeoutMillis"` StoreArtifactsLocally bool `json:"storeArtifactsLocally"` SynchronizeProperties bool `json:"synchronizeProperties"` UnusedArtifactsCleanupPeriodHours int `json:"unusedArtifactsCleanupPeriodHours"` }
RemoteRepositoryConfigurationResponse represents a RemoteRepositoryConfiguration response
type RepoSummaryListEntry ¶
type RepoSummaryListEntry struct { RepoKey string `json:"repoKey"` RepoType string `json:"repoType"` FoldersCount int `json:"foldersCount"` FilesCount int `json:"filesCount"` UsedSpace string `json:"usedSpace"` ItemsCount int `json:"itemsCount"` PackageType string `json:"packageType"` Percentage string `json:"percentage"` }
RepoSummaryListEntry is a repo entry for GetStorageSummaryInfoResponse
type RepositoryConfigurationResponse ¶
type RepositoryConfigurationResponse struct{}
RepositoryConfigurationResponse represents a RepositoryConfiguration response
type RepositoryItemEntry ¶
type RepositoryItemEntry struct { Key string `json:"key"` Type string `json:"type"` Description string `json:"description"` URL string `json:"url"` }
RepositoryItemEntry is an entry in a GetRepositoriesResponse
type RetrieveBuildStagingStrategyResponse ¶
type RetrieveBuildStagingStrategyResponse struct { DefaultModuleVersion struct { ModuleID string `json:"moduleId"` NextRelease string `json:"nextRelease"` NextDevelopment string `json:"nextDevelopment"` } `json:"defaultModuleVersion"` VCSConfig struct { UseReleaseBranch bool `json:"useReleaseBranch"` ReleaseBranchName string `json:"releaseBranchName"` CreateTag bool `json:"createTag"` TagOrURLName string `json:"tagUrlOrName"` TagComment string `json:"tagComment"` NextDevelopmentVersionComment string `json:"nextDevelopmentVersionComment"` } `json:"vcsConfig"` PromotionConfig struct { TargetRepository string `json:"targetRepository"` Comment string `json:"comment"` Status string `json:"status"` } `json:"promotionConfig"` }
RetrieveBuildStagingStrategyResponse represents a build staging strategy response https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-RetrieveBuildStagingStrategy
type RetrievePluginInfoResponse ¶
type RetrievePluginInfoResponse struct { Executions []RetrievePluginItemEntry `json:"executions, omitempty"` Staging []RetrievePluginItemEntry `json:"staging, omitempty"` }
RetrievePluginInfoResponse represents a a retrieve plugin info response https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-RetrievePluginInfo
type RetrievePluginItemEntry ¶
type RetrievePluginItemEntry struct { Name string `json:"name"` Version string `json:"version"` Description string `json:"description"` Users []string `json:"users, omitempty"` Groups []string `json:"groups, omitempty"` Params map[string]string `json:"params"` HTTPMethod string `json:"httpMethod, omitempty"` }
RetrievePluginItemEntry represents an entry in RetrievePluginInfoResponse
type RetrieveUserLockPolicyResponse ¶
type RetrieveUserLockPolicyResponse struct { Enabled bool `json:"enabled"` LoginAttempts int `json:"loginAttempts"` }
RetrieveUserLockPolicyResponse represents a RetrieveUserLockPolicy response
type RevokeTokenResponse ¶
type RevokeTokenResponse struct{}
RevokeTokenResponse represents a RevokeToken response
type ScheduledReplicationStatusResponse ¶
type ScheduledReplicationStatusResponse struct { Status string `json:"status"` LastCompleted *ISO8601Time `json:"lastCompleted"` Targets []struct { URL string `json:"url"` RepoKey string `json:"repoKey"` Status string `json:"status"` LastCompleted *ISO8601Time `json:"lastCompleted"` } `json:"targets"` Repositories map[string]struct { Status string `json:"status"` LastCompleted *ISO8601Time `json:"lastCompleted"` } `json:"repositories"` }
ScheduledReplicationStatusResponse represents a ScheduledReplicationStatus response
type SecurityConfigurationResponse ¶
type SecurityConfigurationResponse struct{}
SecurityConfigurationResponse represents a SecurityConfiguration response
type UserResponse ¶
UserResponse represents a user response
type Version ¶
Version is a self-contained go-version Version
func GetMaxVersionFor ¶
func GetMaxVersionFor(a VersionedResponse) Version
GetMaxVersionFor gets the maximum api version required for a response
func GetMinVersionFor ¶
func GetMinVersionFor(a VersionedResponse) Version
GetMinVersionFor gets the minimum api version required for a response
type VersionedResponse ¶
type VersionedResponse interface {
// contains filtered or unexported methods
}
VersionedResponse is an interface for a Rundeck Response that supports versioning information
type VirtualRepositoryConfigurationResponse ¶
type VirtualRepositoryConfigurationResponse struct { Key string `json:"key"` PackageType string `json:"packageType"` RClass string `json:"rclass"` Description string `json:"description"` Notes string `json:"notes"` IncludesPattern string `json:"includesPattern"` ExcludesPattern string `json:"excludesPattern"` RepoLayoutRef string `json:"repoLayoutRef"` DebianTrivialLayout bool `json:"debianTrivialLayout,omitempty"` EnableComposerSupport bool `json:"enableComposerSupport,omitempty"` EnableNuGetSupport bool `json:"enableNuGetSupport,omitempty"` EnableGemsSupport bool `json:"enableGemsSupport,omitempty"` EnableNPMSupport bool `json:"enableNpmSupport,omitempty"` EnableBowerSupport bool `json:"enableBowerSupport,omitempty"` EnableCocoaPodsSupport bool `json:"enableCocoaPodsSupport,omitempty"` EnableConanSupport bool `json:"enableConanSupport,omitempty"` EnableDebianSupport bool `json:"enableDebianSupport,omitempty"` EnablePyPiSupport bool `json:"enablePypiSupport,omitempty"` EnablePuppetSupport bool `json:"enablePuppetSupport,omitempty"` EnableDockerSupport bool `json:"enableDockerSupport,omitempty"` EnableVagrantSupport bool `json:"enableVagrantSupport,omitempty"` EnableGitLFSSupport bool `json:"enableGitLfsSupport,omitempty"` EnableDistRepoSupport bool `json:"enableDistRepoSupport,omitempty"` EnabledChefSupport bool `json:"enabledChefSupport,omitempty"` DockerAPIVersion string `json:"dockerApiVersion,omitempty"` ForceNuGetAuthentication bool `json:"forceNugetAuthentication,omitempty"` Repositories []string `json:"repositories"` KeyPair string `json:"keyPair"` VirtualRetrievalCachePeriodSecs int `json:"virtualRetrievalCachePeriodSecs"` ExternalDependenciesEnabled bool `json:"externalDependenciesEnabled"` ArtifactoryRequestsCanRetrieveRemoteArtifacts bool `json:"artifactoryRequestsCanRetrieveRemoteArtifacts"` PomRepositoryReferencesCleanupPolicy string `json:"pomRepositoryReferencesCleanupPolicy"` DefaultDeploymentRepo string `json:"defaultDeploymentRepo,omitempty"` }
VirtualRepositoryConfigurationResponse represents a VirtualRepositoryConfiguration response