Documentation ¶
Index ¶
- Variables
- type GitLabClient
- func (n *GitLabClient) DeleteRunner(runner common.RunnerCredentials) bool
- func (n *GitLabClient) DownloadArtifacts(config common.BuildCredentials, artifactsFile string) common.DownloadState
- func (n *GitLabClient) GetBuild(config common.RunnerConfig) (*common.GetBuildResponse, bool)
- func (n *GitLabClient) PatchTrace(config common.RunnerConfig, buildCredentials *common.BuildCredentials, ...) common.UpdateState
- func (n *GitLabClient) ProcessBuild(config common.RunnerConfig, buildCredentials *common.BuildCredentials) common.BuildTrace
- func (n *GitLabClient) RegisterRunner(runner common.RunnerCredentials, description, tags string) *common.RegisterRunnerResponse
- func (n *GitLabClient) UpdateBuild(config common.RunnerConfig, id int, state common.BuildState, trace *string) common.UpdateState
- func (n *GitLabClient) UploadArtifacts(config common.BuildCredentials, artifactsFile string) common.UploadState
- func (n *GitLabClient) UploadRawArtifacts(config common.BuildCredentials, reader io.Reader, baseName string, ...) common.UploadState
- func (n *GitLabClient) VerifyRunner(runner common.RunnerCredentials) bool
- 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 (*GitLabClient) DeleteRunner ¶
func (n *GitLabClient) DeleteRunner(runner common.RunnerCredentials) bool
func (*GitLabClient) DownloadArtifacts ¶
func (n *GitLabClient) DownloadArtifacts(config common.BuildCredentials, artifactsFile string) common.DownloadState
func (*GitLabClient) GetBuild ¶
func (n *GitLabClient) GetBuild(config common.RunnerConfig) (*common.GetBuildResponse, bool)
func (*GitLabClient) PatchTrace ¶
func (n *GitLabClient) PatchTrace(config common.RunnerConfig, buildCredentials *common.BuildCredentials, tracePatch common.BuildTracePatch) common.UpdateState
func (*GitLabClient) ProcessBuild ¶
func (n *GitLabClient) ProcessBuild(config common.RunnerConfig, buildCredentials *common.BuildCredentials) common.BuildTrace
func (*GitLabClient) RegisterRunner ¶
func (n *GitLabClient) RegisterRunner(runner common.RunnerCredentials, description, tags string) *common.RegisterRunnerResponse
func (*GitLabClient) UpdateBuild ¶
func (n *GitLabClient) UpdateBuild(config common.RunnerConfig, id int, state common.BuildState, trace *string) common.UpdateState
func (*GitLabClient) UploadArtifacts ¶
func (n *GitLabClient) UploadArtifacts(config common.BuildCredentials, artifactsFile string) common.UploadState
func (*GitLabClient) UploadRawArtifacts ¶
func (n *GitLabClient) UploadRawArtifacts(config common.BuildCredentials, reader io.Reader, baseName string, expireIn string) common.UploadState
func (*GitLabClient) VerifyRunner ¶
func (n *GitLabClient) VerifyRunner(runner common.RunnerCredentials) bool
type TracePatchResponse ¶ added in v1.8.0
type TracePatchResponse struct { RemoteState string RemoteRange string // contains filtered or unexported fields }
func NewTracePatchResponse ¶ added in v1.8.0
func NewTracePatchResponse(response *http.Response) *TracePatchResponse
func (*TracePatchResponse) IsAborted ¶ added in v1.8.0
func (p *TracePatchResponse) IsAborted() bool
func (*TracePatchResponse) NewOffset ¶ added in v1.8.0
func (p *TracePatchResponse) NewOffset() int
Click to show internal directories.
Click to hide internal directories.