Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) GetArchive(project *Project, ref string) ([]byte, error)
- func (c *Client) GetFile(project *Project, path, ref string) ([]byte, error)
- func (c *Client) GetProjectById(projectId int) (*Project, error)
- func (c *Client) GetProjectList() ([]*Project, error)
- func (c *Client) GetTagList(project *Project) ([]*Tag, error)
- type File
- type Project
- type Tag
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrGitLabInvalidToken = errors.New("Invalid Token") // ErrGitLabInvalidEndpoint = errors.New("Invalid GitLab endpoint") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { HasV4Support bool HasV3Support bool Endpoint string Token string APIPrefix string }
func (*Client) GetArchive ¶
func (*Client) GetProjectList ¶
Click to show internal directories.
Click to hide internal directories.