Documentation ¶
Index ¶
- func PrepareGetArtifact(roundTripper *mhttp.MockRoundTripper, ...) (response *http.Response)
- func PrepareGetArtifacts(roundTripper *mhttp.MockRoundTripper, rootURL, user, passwd, jobName string, ...) (response *http.Response)
- func PrepareGetEmptyArtifacts(roundTripper *mhttp.MockRoundTripper, rootURL, user, passwd, jobName string, ...) (response *http.Response)
- func PrepareGetNoExistsArtifact(roundTripper *mhttp.MockRoundTripper, ...) (response *http.Response)
- type Artifact
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareGetArtifact ¶ added in v0.0.9
func PrepareGetArtifact(roundTripper *mhttp.MockRoundTripper, rootURL, user, passwd, projectName, pipelineName string, buildID int, filename string) (response *http.Response)
PrepareGetArtifact only for test
func PrepareGetArtifacts ¶
func PrepareGetArtifacts(roundTripper *mhttp.MockRoundTripper, rootURL, user, passwd, jobName string, buildID int) (response *http.Response)
PrepareGetArtifacts only for test
func PrepareGetEmptyArtifacts ¶
func PrepareGetEmptyArtifacts(roundTripper *mhttp.MockRoundTripper, rootURL, user, passwd, jobName string, buildID int) (response *http.Response)
PrepareGetEmptyArtifacts only for test
func PrepareGetNoExistsArtifact ¶ added in v0.0.9
func PrepareGetNoExistsArtifact(roundTripper *mhttp.MockRoundTripper, rootURL, user, passwd, projectName, pipelineName string, buildID int, filename string) (response *http.Response)
PrepareGetNoExistsArtifact only for test
Types ¶
type Client ¶
type Client struct {
core.JenkinsCore
}
Client is client for getting the artifacts
func (*Client) GetArtifact ¶ added in v0.0.9
func (q *Client) GetArtifact(projectName, pipelineName string, buildID int, filename string) (io.ReadCloser, error)
GetArtifact download artifact using stream
Click to show internal directories.
Click to hide internal directories.