Documentation ¶
Index ¶
- func ArtifactoryClientBuilder() *artifactoryHttpClientBuilder
- type ArtifactoryHttpClient
- func (rtc *ArtifactoryHttpClient) DownloadFile(downloadFileDetails *httpclient.DownloadFileDetails, logMsgPrefix string, ...) (resp *http.Response, err error)
- func (rtc *ArtifactoryHttpClient) DownloadFileConcurrently(flags httpclient.ConcurrentDownloadFlags, logMsgPrefix string, ...) (resp *http.Response, err error)
- func (rtc *ArtifactoryHttpClient) IsAcceptRanges(downloadUrl string, httpClientsDetails *httputils.HttpClientDetails) (isAcceptRanges bool, resp *http.Response, err error)
- func (rtc *ArtifactoryHttpClient) ReadRemoteFile(downloadPath string, httpClientsDetails *httputils.HttpClientDetails) (ioReaderCloser io.ReadCloser, resp *http.Response, err error)
- func (rtc *ArtifactoryHttpClient) Send(method string, url string, content []byte, followRedirect bool, closeBody bool, ...) (resp *http.Response, respBody []byte, redirectUrl string, err error)
- func (rtc *ArtifactoryHttpClient) SendDelete(url string, content []byte, httpClientsDetails *httputils.HttpClientDetails) (resp *http.Response, body []byte, err error)
- func (rtc *ArtifactoryHttpClient) SendGet(url string, followRedirect bool, ...) (resp *http.Response, respBody []byte, redirectUrl string, err error)
- func (rtc *ArtifactoryHttpClient) SendHead(url string, httpClientsDetails *httputils.HttpClientDetails) (resp *http.Response, body []byte, err error)
- func (rtc *ArtifactoryHttpClient) SendPatch(url string, content []byte, httpClientsDetails *httputils.HttpClientDetails) (resp *http.Response, body []byte, err error)
- func (rtc *ArtifactoryHttpClient) SendPost(url string, content []byte, httpClientsDetails *httputils.HttpClientDetails) (resp *http.Response, body []byte, err error)
- func (rtc *ArtifactoryHttpClient) SendPut(url string, content []byte, httpClientsDetails *httputils.HttpClientDetails) (resp *http.Response, body []byte, err error)
- func (rtc *ArtifactoryHttpClient) UploadFile(localPath, url, logMsgPrefix string, ...) (resp *http.Response, body []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArtifactoryClientBuilder ¶
func ArtifactoryClientBuilder() *artifactoryHttpClientBuilder
Types ¶
type ArtifactoryHttpClient ¶
type ArtifactoryHttpClient struct { ArtDetails *auth.ArtifactoryDetails // contains filtered or unexported fields }
func (*ArtifactoryHttpClient) DownloadFile ¶
func (rtc *ArtifactoryHttpClient) DownloadFile(downloadFileDetails *httpclient.DownloadFileDetails, logMsgPrefix string, httpClientsDetails *httputils.HttpClientDetails, retries int, isExplode bool) (resp *http.Response, err error)
func (*ArtifactoryHttpClient) DownloadFileConcurrently ¶
func (rtc *ArtifactoryHttpClient) DownloadFileConcurrently(flags httpclient.ConcurrentDownloadFlags, logMsgPrefix string, httpClientsDetails *httputils.HttpClientDetails) (resp *http.Response, err error)
func (*ArtifactoryHttpClient) IsAcceptRanges ¶
func (rtc *ArtifactoryHttpClient) IsAcceptRanges(downloadUrl string, httpClientsDetails *httputils.HttpClientDetails) (isAcceptRanges bool, resp *http.Response, err error)
func (*ArtifactoryHttpClient) ReadRemoteFile ¶
func (rtc *ArtifactoryHttpClient) ReadRemoteFile(downloadPath string, httpClientsDetails *httputils.HttpClientDetails) (ioReaderCloser io.ReadCloser, resp *http.Response, err error)
func (*ArtifactoryHttpClient) SendDelete ¶
func (rtc *ArtifactoryHttpClient) SendDelete(url string, content []byte, httpClientsDetails *httputils.HttpClientDetails) (resp *http.Response, body []byte, err error)
func (*ArtifactoryHttpClient) SendGet ¶
func (rtc *ArtifactoryHttpClient) SendGet(url string, followRedirect bool, httpClientsDetails *httputils.HttpClientDetails) (resp *http.Response, respBody []byte, redirectUrl string, err error)
func (*ArtifactoryHttpClient) SendHead ¶
func (rtc *ArtifactoryHttpClient) SendHead(url string, httpClientsDetails *httputils.HttpClientDetails) (resp *http.Response, body []byte, err error)
func (*ArtifactoryHttpClient) SendPatch ¶
func (rtc *ArtifactoryHttpClient) SendPatch(url string, content []byte, httpClientsDetails *httputils.HttpClientDetails) (resp *http.Response, body []byte, err error)
func (*ArtifactoryHttpClient) SendPost ¶
func (rtc *ArtifactoryHttpClient) SendPost(url string, content []byte, httpClientsDetails *httputils.HttpClientDetails) (resp *http.Response, body []byte, err error)
func (*ArtifactoryHttpClient) SendPut ¶
func (rtc *ArtifactoryHttpClient) SendPut(url string, content []byte, httpClientsDetails *httputils.HttpClientDetails) (resp *http.Response, body []byte, err error)
func (*ArtifactoryHttpClient) UploadFile ¶
func (rtc *ArtifactoryHttpClient) UploadFile(localPath, url, logMsgPrefix string, httpClientsDetails *httputils.HttpClientDetails, retries int) (resp *http.Response, body []byte, err error)
Click to show internal directories.
Click to hide internal directories.