Documentation
¶
Index ¶
- type Client
- func (c *Client) GetCommits(projectID int, referenceBranch string) (*[]models.Commit, error)
- func (c *Client) GetOrganisations() (*[]models.Organisation, error)
- func (c *Client) GetPipelineRuns(projectID int, referenceBranch string) (*[]models.PipelineRun, error)
- func (c *Client) GetPullRequests(projectID int, targetBranch string) (*[]models.PullRequest, error)
- func (c *Client) GetRepositories() (*[]models.Repository, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client represents a Gitlab API client
func (*Client) GetCommits ¶
GetCommits gets all commits of a repository
func (*Client) GetOrganisations ¶
func (c *Client) GetOrganisations() (*[]models.Organisation, error)
GetOrganisations gets all organisations readable with the bearer token provided
func (*Client) GetPipelineRuns ¶
func (c *Client) GetPipelineRuns(projectID int, referenceBranch string) (*[]models.PipelineRun, error)
GetPipelineRuns gets all workflow runs of a project
func (*Client) GetPullRequests ¶
GetPullRequests gets all pull requests of a repository
func (*Client) GetRepositories ¶
func (c *Client) GetRepositories() (*[]models.Repository, error)
GetRepositories gets all repositories readable with the bearer token provided
Click to show internal directories.
Click to hide internal directories.