Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) AddRepoSecret(secretKey, secretValue string) error
- func (c *Client) AddWebhook(webhookConfig *git.WebhookConfig) error
- func (c *Client) DeleteFiles(commitInfo *git.CommitInfo) error
- func (c *Client) DeleteRepo() error
- func (c *Client) DeleteWebhook(webhookConfig *git.WebhookConfig) error
- func (c *Client) DescribeRepo() (*git.RepoInfo, error)
- func (c *Client) DisableRepoSharedRunner() error
- func (c *Client) DownloadRepo() (string, error)
- func (c *Client) GetPathInfo(path string) ([]*git.RepoFileStatus, error)
- func (c *Client) InitRepo() error
- func (c *Client) ListRepoRunner() ([]*gitlab.Runner, error)
- func (c *Client) PushFiles(commitInfo *git.CommitInfo, checkUpdate bool) (bool, error)
- func (c *Client) ResetRepoRunnerToken() (string, error)
Constants ¶
View Source
const (
DefaultGitlabHost = "https://gitlab.com"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) AddRepoSecret ¶ added in v0.10.0
func (*Client) AddWebhook ¶
func (c *Client) AddWebhook(webhookConfig *git.WebhookConfig) error
AddWebhook will update webhook when it exists else create a webbhook
func (*Client) DeleteFiles ¶
func (c *Client) DeleteFiles(commitInfo *git.CommitInfo) error
func (*Client) DeleteRepo ¶
func (*Client) DeleteWebhook ¶
func (c *Client) DeleteWebhook(webhookConfig *git.WebhookConfig) error
func (*Client) DisableRepoSharedRunner ¶ added in v0.11.0
func (*Client) DownloadRepo ¶ added in v0.10.0
TODO(steinliber): support gtlab later
func (*Client) GetPathInfo ¶ added in v0.10.0
func (c *Client) GetPathInfo(path string) ([]*git.RepoFileStatus, error)
func (*Client) ListRepoRunner ¶ added in v0.10.0
func (*Client) ResetRepoRunnerToken ¶ added in v0.10.0
Click to show internal directories.
Click to hide internal directories.