responses

package
v0.0.0-...-f80b0e9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const AQLSearchResponseTestData = "aql_search.json"

AQLSearchResponseTestData is test data for AQLResponse

View Source
const AQLSearchResponseWithArchiveTestData = "aql_search_with_archive.json"

AQLSearchResponseWithArchiveTestData is test data for AQLResponse

View Source
const AbsoluteMinimumVersion = "5.1"

AbsoluteMinimumVersion is the absolute minimum version this library will support

View Source
const AllBuildsResponseTestData = "builds.json"

AllBuildsResponseTestData is test data for AllBuildsResponse

View Source
const ArchiveEntriesSearchResponseTestData = "archive_entries_search.json"

ArchiveEntriesSearchResponseTestData is test data for ArchiveEntriesSearchResponse

View Source
const ArtifactLatestVersionBasedOnPropertiesSearchResponseTestData = "artifact_latest_version_by_props_search.json"

ArtifactLatestVersionBasedOnPropertiesSearchResponseTestData is test data for ArtifactLatestVersionBasedOnPropertiesSearchResponse

View Source
const ArtifactSearchResponseTestData = "artifact_search.json"

ArtifactSearchResponseTestData is test data for ArtifactSearchResponse

View Source
const ArtifactVersionSearchResponseTestData = "artifact_version_search.json"

ArtifactVersionSearchResponseTestData is test data for ArtifactVersionSearchResponse

View Source
const ArtifactsCreatedInDateRangeSearchResponseTestData = "artifacts_created_in_date_range_search.json"

ArtifactsCreatedInDateRangeSearchResponseTestData is test data for ArtifactsCreatedInDateRangeSearchResponse

View Source
const ArtifactsNotDownloadedSinceSearchResponseTestData = "artifacts_not_downloaded_since_search.json"

ArtifactsNotDownloadedSinceSearchResponseTestData is test data for ArtifactsNotDownloadedSinceSearchResponse

View Source
const ArtifactsWithDataInRangeSearchResponseTestData = "artifacts_with_date_in_range_search.json"

ArtifactsWithDataInRangeSearchResponseTestData is test data for ArtifactsWithDataInRangeSearchResponse

View Source
const BadChecksumSearchResponseTestData = "bad_checksum_search.json"

BadChecksumSearchResponseTestData is test data for BadChecksumSearchResponse

View Source
const BuildArtifactsSearchResponseTestData = "build_artifacts_search.json"

BuildArtifactsSearchResponseTestData is test data for BuildArtifactsSearchResponse

View Source
const BuildDiffResponseTestData = "build_diff.json"

BuildDiffResponseTestData is test data for BuildDiffResponse

View Source
const BuildInfoResponseTestData = "build_info.json"

BuildInfoResponseTestData is test data for BuildInfoResponse

View Source
const BuildRunsResponseTestData = "build.json"

BuildRunsResponseTestData is test data for BuildResponse

View Source
const BuildsForDependencyResponseTestData = "build_for_dependency.json"

BuildsForDependencyResponseTestData is test data for BuildsForDepdencyResponse

View Source
const ChecksumSearchResponseTestData = "checksum_search.json"

ChecksumSearchResponseTestData is test data for ChecksumSearchResponse

View Source
const CopyItemResponseTestData = "copy_item.json"

CopyItemResponseTestData is test data for CopyItemResponse

View Source
const CreateAPIKeyResponseTestData = "api_key.json"

CreateAPIKeyResponseTestData is test data for CreateAPIKeyResponse

View Source
const CreateBundleResponseTestData = "create_bundle.json"

CreateBundleResponseTestData is test data for CreateBundleResponse

View Source
const CreateDirectoryResponseTestData = "create_directory.json"

CreateDirectoryResponseTestData is test data for CreateDirectoryResponse

View Source
const CreateTokenResponseTestData = "create_token.json"

CreateTokenResponseTestData is test data for CreateTokenResponse

View Source
const CurrentVersion = "5.5"

CurrentVersion is the current version of the API that this library is tested against

View Source
const DeployArtifactResponseTestData = "deploy_artifact.json"

DeployArtifactResponseTestData is test data for DeployArtifactResponse

View Source
const EffectiveItemPermissionsResponseTestData = "effective_item_permissions.json"

EffectiveItemPermissionsResponseTestData is test data for EffectiveItemPermissionsResponse

View Source
const ErrorResponseTestData = "error.json"

ErrorResponseTestData is test data for a user response

View Source
const ExportSystemSettingsResponseTestData = "export_system_settings.json"

ExportSystemSettingsResponseTestData is test data for ExportSystemSettingsResponse

View Source
const FileComplianceInfoResponseTestData = "file_compliance.json"

FileComplianceInfoResponseTestData is test data for FileComplianceInfoResponse

View Source
const FileInfoResponseTestData = "file_info.json"

FileInfoResponseTestData is test data for FileInfoResponse

View Source
const FileListAllOptsResponseTestData = "file_list_all_opts.json"

FileListAllOptsResponseTestData is test data for FileListResponse with all options provided

View Source
const FileListDeepResponseTestData = "file_list_deep.json"

FileListDeepResponseTestData is test data for FileListResponse with deep option

View Source
const FileListMdTimestampsResponseTestData = "file_list_md_timestamps.json"

FileListMdTimestampsResponseTestData is test data for FileListResponse with mdTimestamps option

View Source
const FileListResponseTestData = "file_list.json"

FileListResponseTestData is test data for FileListResponse

View Source
const FileListWithFoldersResponseTestData = "file_list_with_folders.json"

FileListWithFoldersResponseTestData is test data for FileListResponse with listFolders option

View Source
const FileStatisticsResponseTestData = "file_stats.json"

FileStatisticsResponseTestData is test data for FileStatisticsResponse

View Source
const FolderInfoResponseTestData = "folder_info.json"

FolderInfoResponseTestData is test data for FolderInfoResponse

View Source
const GAVCSearchResponseTestData = "gavc_search.json"

GAVCSearchResponseTestData is test data for GAVCSearchResponse

View Source
const GetAPIKeyResponseTestData = "api_key.json"

GetAPIKeyResponseTestData is test data for GetAPIKeyResponse

View Source
const GetBackgroundTasksResponseTestData = "get_background_tasks.json"

GetBackgroundTasksResponseTestData is test data for GetBackgroundTasksResponse

View Source
const GetCertificatesResponseTestData = "get_certificates.json"

GetCertificatesResponseTestData is test data for GetCertificatesResponse

View Source
const GetGlobalSystemReplicationConfigurationResponseTestData = "global_system_replication_configuration.json"

GetGlobalSystemReplicationConfigurationResponseTestData is test data for GetGlobalSystemReplicationConfigurationResponse

View Source
const GetGroupDetailsResponseTestData = "group.json"

GetGroupDetailsResponseTestData is test data for GetGroupDetailsResponse

View Source
const GetGroupsResponseTestData = "groups.json"

GetGroupsResponseTestData is test data for GetGroupsResponse

View Source
const GetHALicenseResponseTestData = "ha_license.json"

GetHALicenseResponseTestData is test data for VersionAndAddOnResponse

View Source
const GetLicenseResponseTestData = "license.json"

GetLicenseResponseTestData is test data for VersionAndAddOnResponse

View Source
const GetLockedOutUsersResponseTestData = "get_locked_out_users.json"

GetLockedOutUsersResponseTestData is test data for GetLockedOutUsersResponse

View Source
const GetPasswordExpirationPolicyResponseTestData = "password_expiration_policy.json"

GetPasswordExpirationPolicyResponseTestData is test data for GetPasswordExpirationPolicyResponse

View Source
const GetPermissionTargetDetailsResponseTestData = "permission_target.json"

GetPermissionTargetDetailsResponseTestData is test data for GetPermissionTargetResponse

View Source
const GetPermissionTargetsResponseTestData = "permission_targets.json"

GetPermissionTargetsResponseTestData is test data for GetPermissionTargetsResponse

View Source
const GetRepositoriesResponseTestData = "get_repositories.json"

GetRepositoriesResponseTestData is test data for GetRepositoriesResponse

View Source
const GetRepositoryReplicationConfigurationResponseTestData = "get_repository_replication_configuration.json"

GetRepositoryReplicationConfigurationResponseTestData is test data for GetRepositoryReplicationConfigurationResponse

View Source
const GetReverseProxyConfigurationResponseTestData = "webserver.json"

GetReverseProxyConfigurationResponseTestData is test data for ReverseProxyConfigurationResponse

View Source
const GetStorageSummaryInfoResponseTestData = "storageinfo.json"

GetStorageSummaryInfoResponseTestData is test data for GetStorageSummaryInfoResponse

View Source
const GetUserDetailsResponseTestData = "user_detail.json"

GetUserDetailsResponseTestData is test data for a user detail response

View Source
const GetUsersResponseTestData = "users.json"

GetUsersResponseTestData is test data for a get users response

View Source
const GetVersionAndAddOnResponseTestData = "version.json"

GetVersionAndAddOnResponseTestData is test data for VersionAndAddOnResponse

View Source
const ImportSystemSettingsResponseTestData = "import_system.json"

ImportSystemSettingsResponseTestData is test data for ImportSystemSettingsResponse

View Source
const ItemLastModifiedResponseTestData = "last_modified.json"

ItemLastModifiedResponseTestData is test data for ItemLastModifiedResponse

View Source
const ItemPropertiesResponseTestData = "item_properties.json"

ItemPropertiesResponseTestData is test data for ItemPropertiesResponse

View Source
const LicenseSearchResponseTestData = "license_search.json"

LicenseSearchResponseTestData is test data for LicenseSearchResponse

View Source
const ListBundlesResponseTestData = "list_bundles.json"

ListBundlesResponseTestData is test data for ListBundlesResponse

View Source
const ListDockerRepositoriesResponseTestData = "list_docker_repos.json"

ListDockerRepositoriesResponseTestData is test data for ListDockerRepositoriesResponse

View Source
const ListDockerTagsResponseTestData = "list_docker_tags.json"

ListDockerTagsResponseTestData is test data for ListDockerTagsResponse

View Source
const LocalRepositoryConfigurationResponseTestData = "local_repo.json"

LocalRepositoryConfigurationResponseTestData is test data for LocalRepositoryConfigurationResponse

View Source
const MoveItemResponseTestData = "move_item.json"

MoveItemResponseTestData is test data for MoveItemResponse

View Source
const PatternSearchResponseTestData = "pattern_search.json"

PatternSearchResponseTestData is test data for PatternSearchResponse

View Source
const PropertySearchResponseTestData = "property_search.json"

PropertySearchResponseTestData is test data for PropertySearchResponse

View Source
const PushToBintrayResponseTestData = "bintray_push.json"

PushToBintrayResponseTestData is test data for PushToBintrayResponse

View Source
const RefreshTokenResponseTestData = "create_token.json"

RefreshTokenResponseTestData is test data for RefreshTokenResponse

View Source
const RegenerateAPIKeyResponseTestData = "api_key.json"

RegenerateAPIKeyResponseTestData is test data for RegenerateAPIKeyResponse

View Source
const RemoteRepositoryConfigurationResponseTestData = "remote_repo.json"

RemoteRepositoryConfigurationResponseTestData is test data for RemoteRepositoryConfigurationResponse

View Source
const RetrieveBuildStagingStrategyResponseTestData = "build_staging_strategy.json"

RetrieveBuildStagingStrategyResponseTestData is test data for RetrieveBuildStagingStrategyResponse

View Source
const RetrieveNamedPluginInfoResponseTestData = "executions_plugins.json"

RetrieveNamedPluginInfoResponseTestData is test data for RetrievePluginInfoResponse for a specific plugin type

View Source
const RetrievePluginInfoResponseTestData = "plugins.json"

RetrievePluginInfoResponseTestData is test data for RetrievePluginInfoResponse

View Source
const RetrieveUserLockPolicyResponseTestData = "user_lock_policy.json"

RetrieveUserLockPolicyResponseTestData is test data for RetrieveUserLockPolicyResponse

View Source
const ScheduledReplicationStatusResponseTestData = "scheduled_replication_status.json"

ScheduledReplicationStatusResponseTestData is test data for ScheduledReplicationStatusResponse

View Source
const UserResponseTestData = "user.json"

UserResponseTestData is test data for a user response

View Source
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

type GroupResponse struct {
	Name string `json:"name"`
	URI  string `json:"uri"`
}

GroupResponse is an entry in a GetGroupsResponse

type ISO8601Time

type ISO8601Time struct {
	time.Time
}

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

type JSONTime struct {
	time.Time
}

JSONTime is for custom marshal/unmarshal of artifactory datetime values

func (*JSONTime) UnmarshalJSON

func (t *JSONTime) UnmarshalJSON(data []byte) error

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

type ListDockerTagsResponse struct {
	Name string   `json:"name"`
	Tags []string `json:"tags"`
}

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

type PermissionTargetEntry struct {
	Name string `json:"name"`
	URI  string `json:"uri"`
}

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"`
	ShareConfiguration                bool                   `json:"shareConfiguration"`
	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

type UserResponse struct {
	Name string `json:"name"`
	URI  string `json:"uri"`
}

UserResponse represents a user response

type Version

type Version struct {
	*gover.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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL