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