Documentation ¶
Index ¶
- func NewHTTPClient(disableTLSVerify bool) *http.Client
- type Client
- func (c *Client) GetBranchLatestCommit(project, branch string) (string, float64, error)
- func (c *Client) GetCommitCountBetweenRefs(project, from, to string) (int, error)
- func (c *Client) GetEnvironment(project string, environmentID int) (schemas.Environment, error)
- func (c *Client) GetProject(name string) (*goGitlab.Project, error)
- func (c *Client) GetProjectBranches(p schemas.Project) (refs schemas.Refs, err error)
- func (c *Client) GetProjectEnvironments(p schemas.Project) (envs schemas.Environments, err error)
- func (c *Client) GetProjectMostRecentTagCommit(projectName, filterRegexp string) (string, float64, error)
- func (c *Client) GetProjectPipelines(projectName string, options *goGitlab.ListProjectPipelinesOptions) ([]*goGitlab.PipelineInfo, *goGitlab.Response, error)
- func (c *Client) GetProjectTags(p schemas.Project) (refs schemas.Refs, err error)
- func (c *Client) GetRefPipeline(ref schemas.Ref, pipelineID int) (p schemas.Pipeline, err error)
- func (c *Client) GetRefPipelineVariablesAsConcatenatedString(ref schemas.Ref) (string, error)
- func (c *Client) GetRefsFromPipelines(p schemas.Project, refKind schemas.RefKind) (refs schemas.Refs, err error)
- func (c *Client) ListPipelineBridges(projectName string, pipelineID int) (bridges []*goGitlab.Bridge, err error)
- func (c *Client) ListPipelineChildJobs(projectName string, parentPipelineID int) (jobs []schemas.Job, err error)
- func (c *Client) ListPipelineJobs(projectName string, pipelineID int) (jobs []schemas.Job, err error)
- func (c *Client) ListProjects(w config.Wildcard) ([]schemas.Project, error)
- func (c *Client) ListRefMostRecentJobs(ref schemas.Ref) (jobs []schemas.Job, err error)
- func (c *Client) ListRefPipelineJobs(ref schemas.Ref) (jobs []schemas.Job, err error)
- func (c *Client) ReadinessCheck() healthcheck.Check
- type ClientConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { *goGitlab.Client Readiness struct { URL string HTTPClient *http.Client } RateLimiter ratelimit.Limiter }
Client ..
func (*Client) GetBranchLatestCommit ¶
GetBranchLatestCommit ..
func (*Client) GetCommitCountBetweenRefs ¶
GetCommitCountBetweenRefs ..
func (*Client) GetEnvironment ¶
GetEnvironment ..
func (*Client) GetProject ¶
GetProject ..
func (*Client) GetProjectBranches ¶
GetProjectBranches ..
func (*Client) GetProjectEnvironments ¶
func (c *Client) GetProjectEnvironments(p schemas.Project) ( envs schemas.Environments, err error, )
GetProjectEnvironments ..
func (*Client) GetProjectMostRecentTagCommit ¶
func (c *Client) GetProjectMostRecentTagCommit(projectName, filterRegexp string) (string, float64, error)
GetProjectMostRecentTagCommit ..
func (*Client) GetProjectPipelines ¶
func (c *Client) GetProjectPipelines(projectName string, options *goGitlab.ListProjectPipelinesOptions) ([]*goGitlab.PipelineInfo, *goGitlab.Response, error)
GetProjectPipelines ..
func (*Client) GetProjectTags ¶
GetProjectTags ..
func (*Client) GetRefPipeline ¶
GetRefPipeline ..
func (*Client) GetRefPipelineVariablesAsConcatenatedString ¶
GetRefPipelineVariablesAsConcatenatedString ..
func (*Client) GetRefsFromPipelines ¶
func (c *Client) GetRefsFromPipelines(p schemas.Project, refKind schemas.RefKind) (refs schemas.Refs, err error)
GetRefsFromPipelines ..
func (*Client) ListPipelineBridges ¶ added in v0.4.6
func (c *Client) ListPipelineBridges(projectName string, pipelineID int) (bridges []*goGitlab.Bridge, err error)
ListPipelineBridges ..
func (*Client) ListPipelineChildJobs ¶ added in v0.4.6
func (c *Client) ListPipelineChildJobs(projectName string, parentPipelineID int) (jobs []schemas.Job, err error)
ListPipelineChildJobs ..
func (*Client) ListPipelineJobs ¶ added in v0.4.6
func (c *Client) ListPipelineJobs(projectName string, pipelineID int) (jobs []schemas.Job, err error)
ListPipelineJobs ..
func (*Client) ListProjects ¶
ListProjects ..
func (*Client) ListRefMostRecentJobs ¶
ListRefMostRecentJobs ..
func (*Client) ListRefPipelineJobs ¶
ListRefPipelineJobs ..
func (*Client) ReadinessCheck ¶
func (c *Client) ReadinessCheck() healthcheck.Check
ReadinessCheck ..
Click to show internal directories.
Click to hide internal directories.