Documentation ¶
Index ¶
- Variables
- type GitLabClient
- func (n *GitLabClient) DownloadArtifacts(config common.JobCredentials, artifactsFile string) common.DownloadState
- func (n *GitLabClient) PatchTrace(config common.RunnerConfig, jobCredentials *common.JobCredentials, ...) common.UpdateState
- func (n *GitLabClient) ProcessJob(config common.RunnerConfig, jobCredentials *common.JobCredentials) common.JobTrace
- func (n *GitLabClient) RegisterRunner(runner common.RunnerCredentials, description, tags string, ...) *common.RegisterRunnerResponse
- func (n *GitLabClient) RequestJob(config common.RunnerConfig) (*common.JobResponse, bool)
- func (n *GitLabClient) UnregisterRunner(runner common.RunnerCredentials) bool
- func (n *GitLabClient) UpdateJob(config common.RunnerConfig, jobCredentials *common.JobCredentials, ...) common.UpdateState
- func (n *GitLabClient) UploadArtifacts(config common.JobCredentials, artifactsFile string) common.UploadState
- func (n *GitLabClient) UploadRawArtifacts(config common.JobCredentials, reader io.Reader, baseName string, ...) common.UploadState
- func (n *GitLabClient) VerifyRunner(runner common.RunnerCredentials) bool
- type ResponseTLSData
- type TracePatchResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var CertificateDirectory string
Functions ¶
This section is empty.
Types ¶
type GitLabClient ¶
type GitLabClient struct {
// contains filtered or unexported fields
}
func NewGitLabClient ¶
func NewGitLabClient() *GitLabClient
func (*GitLabClient) DownloadArtifacts ¶
func (n *GitLabClient) DownloadArtifacts(config common.JobCredentials, artifactsFile string) common.DownloadState
func (*GitLabClient) PatchTrace ¶
func (n *GitLabClient) PatchTrace(config common.RunnerConfig, jobCredentials *common.JobCredentials, tracePatch common.JobTracePatch) common.UpdateState
func (*GitLabClient) ProcessJob ¶
func (n *GitLabClient) ProcessJob(config common.RunnerConfig, jobCredentials *common.JobCredentials) common.JobTrace
func (*GitLabClient) RegisterRunner ¶
func (n *GitLabClient) RegisterRunner(runner common.RunnerCredentials, description, tags string, runUntagged, locked bool) *common.RegisterRunnerResponse
func (*GitLabClient) RequestJob ¶
func (n *GitLabClient) RequestJob(config common.RunnerConfig) (*common.JobResponse, bool)
func (*GitLabClient) UnregisterRunner ¶
func (n *GitLabClient) UnregisterRunner(runner common.RunnerCredentials) bool
func (*GitLabClient) UpdateJob ¶
func (n *GitLabClient) UpdateJob(config common.RunnerConfig, jobCredentials *common.JobCredentials, jobInfo common.UpdateJobInfo) common.UpdateState
func (*GitLabClient) UploadArtifacts ¶
func (n *GitLabClient) UploadArtifacts(config common.JobCredentials, artifactsFile string) common.UploadState
func (*GitLabClient) UploadRawArtifacts ¶
func (n *GitLabClient) UploadRawArtifacts(config common.JobCredentials, reader io.Reader, baseName string, expireIn string) common.UploadState
func (*GitLabClient) VerifyRunner ¶
func (n *GitLabClient) VerifyRunner(runner common.RunnerCredentials) bool
type ResponseTLSData ¶
type TracePatchResponse ¶
type TracePatchResponse struct { RemoteState string RemoteRange string // contains filtered or unexported fields }
func NewTracePatchResponse ¶
func NewTracePatchResponse(response *http.Response) *TracePatchResponse
func (*TracePatchResponse) IsAborted ¶
func (p *TracePatchResponse) IsAborted() bool
func (*TracePatchResponse) NewOffset ¶
func (p *TracePatchResponse) NewOffset() int
Click to show internal directories.
Click to hide internal directories.