Documentation ¶
Index ¶
- func CreatePipeline() *command.Command
- func DeletePipeline() *command.Command
- func Execute() error
- func GetSinglePipeline() *command.Command
- func NewCmdCommits() *command.Command
- func NewCmdConfig() *command.Command
- func NewCmdConfigGetToken() *command.Command
- func NewCmdConfigGetUser() *command.Command
- func NewCmdGetBranches() *command.Command
- func NewCmdGetProject() *command.Command
- func NewCmdPipeline() *command.Command
- func NewCmdPipelines() *command.Command
- func NewCmdProject() *command.Command
- func NewCmdProjects() *command.Command
- func NewCmdVersion() *command.Command
- func NewDockerConfig() *command.Command
- func NewDockerImage() *command.Command
- func NewDockerImages() *command.Command
- type Branch
- type Commit
- type Pipeline
- type PipelineInfo
- type Project
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePipeline ¶
func DeletePipeline ¶
func GetSinglePipeline ¶
func NewCmdCommits ¶
func NewCmdConfig ¶
func NewCmdConfigGetToken ¶
func NewCmdConfigGetUser ¶
func NewCmdGetBranches ¶
func NewCmdGetProject ¶
func NewCmdPipeline ¶
func NewCmdPipelines ¶
func NewCmdProject ¶
func NewCmdProjects ¶
func NewCmdVersion ¶
func NewDockerConfig ¶
func NewDockerImage ¶
func NewDockerImages ¶
Types ¶
type Branch ¶
type Branch struct { Commit gitlab.Commit `json:"commit"` Name string `json:"name"` Protected bool `json:"protected"` Merged bool `json:"merged"` Default bool `json:"default"` CanPush bool `json:"can_push"` DevelopersCanPush bool `json:"developers_can_push"` DevelopersCanMerge bool `json:"developers_can_merge"` WebURL string `json:"web_url"` }
type Commit ¶
type Commit struct { ID string `json:"id"` ShortID string `json:"short_id"` Title string `json:"title"` AuthorName string `json:"author_name"` AuthorEmail string `json:"author_email"` AuthoredDate *time.Time `json:"authored_date"` CommitterName string `json:"committer_name"` CommitterEmail string `json:"committer_email"` CommittedDate *time.Time `json:"committed_date"` CreatedAt *time.Time `json:"created_at"` Message string `json:"message"` ParentIDs []string `json:"parent_ids"` Stats gitlab.CommitStats `json:"stats"` Status gitlab.BuildStateValue `json:"status"` LastPipeline *PipelineInfo `json:"last_pipeline"` ProjectID int `json:"project_id"` Trailers map[string]string `json:"trailers"` WebURL string `json:"web_url"` }
type Pipeline ¶
type Pipeline struct { ID int `json:"id"` ProjectID int `json:"project_id"` Status string `json:"status"` Source string `json:"source"` Ref string `json:"ref"` Tag bool `json:"tag"` YamlErrors string `json:"yaml_errors"` CommittedAt *time.Time `json:"committed_at"` Duration int `json:"duration"` Coverage string `json:"coverage"` WebURL string `json:"web_url"` UpdatedAt *time.Time `json:"updated-at"` StartedAt *time.Time `json:"started-at"` CreatedAt *time.Time `json:"created-at"` FinishedAt *time.Time `json:"finished-at"` }
type PipelineInfo ¶
type Project ¶
type Project struct { ID int `json:"id"` Name string `json:"name"` Description string `json:"description"` AvatarURL string `json:"avatar_url"` SSHURLToRepo string `json:"ssh_url_to_repo"` HTTPURLToRepo string `json:"http_url_to_repo"` WebURL string `json:"web_url"` DefaultBranch string `json:"default_branch"` Owner *gitlab.User `json:"owner"` }
Click to show internal directories.
Click to hide internal directories.