Documentation ¶
Index ¶
- Variables
- func AssignMergeRequest(client *api.Client) func(*cli.Context) error
- func CreateMergeRequest(client *api.Client) func(*cli.Context) error
- func IssuesList(client *api.Client) func(*cli.Context) error
- func MergeRequestList(client *api.Client) func(*cli.Context) error
- func ProjectList(client *api.Client) func(*cli.Context) error
- func ProjectMembers(client *api.Client) func(*cli.Context) error
- func ProjectView(client *api.Client) func(*cli.Context) error
- func ShowIssue(client *api.Client) func(*cli.Context) error
- func ShowMergeRequest(client *api.Client) func(*cli.Context) error
- type Issue
- type MergeRequest
- type Project
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Opened store flag --opened value Opened bool // Closed store flag --closed value Closed bool // Merged store flag --merged value Merged bool )
Functions ¶
func AssignMergeRequest ¶
AssignMergeRequest interact with the graphql api to assign user to merge request
func CreateMergeRequest ¶
CreateMergeRequest send a request to create merge request by given project path
func IssuesList ¶ added in v0.2.0
IssuesList display a project's issues list
func MergeRequestList ¶ added in v0.2.0
MergeRequestList display a paginated merge request for a given project by path
func ProjectList ¶
ProjectList send request to get user's project and print a table with projects
func ProjectMembers ¶
ProjectMembers show project members
func ProjectView ¶
ProjectView get and show data from a project by path
Types ¶
type Issue ¶ added in v0.2.0
type Issue struct { Author User // contains filtered or unexported fields }
Issue struct representation
type MergeRequest ¶ added in v0.2.0
type MergeRequest struct { Description string SourceBranch string TargetBranch string Assignees struct { Nodes []User } Author User // contains filtered or unexported fields }
MergeRequest graphql struct
type Project ¶
type Project struct { CreatedAt string OpenIssuesCount int SSHURLToRepo string `graphql-bind:"sshUrlToRepo"` HTTPURLToRepo string `graphql-bind:"httpUrlToRepo"` WebURL string `graphql-bind:"webUrl"` Releases struct { Nodes []struct { Name string } } `graphql:"(first: 1)"` Pipelines struct { Nodes []struct { DetailedStatus struct { Label string } } } `graphql:"(first: 1, ref: \\\"master\\\")"` // contains filtered or unexported fields }
Project struct
Click to show internal directories.
Click to hide internal directories.