Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Verify ¶
func (c *Client) Verify(args *commandargs.CommandArgs, action commandargs.CommandType, repo string) (*Response, error)
type CustomPayload ¶
type CustomPayload struct { Action string `json:"action"` Data CustomPayloadData `json:"data"` }
type CustomPayloadData ¶
type Gitaly ¶
type Gitaly struct { Repo pb.Repository `json:"repository"` Address string `json:"address"` Token string `json:"token"` }
type Request ¶
type Request struct { Action commandargs.CommandType `json:"action"` Repo string `json:"project"` Changes string `json:"changes"` Protocol string `json:"protocol"` KeyId string `json:"key_id,omitempty"` Username string `json:"username,omitempty"` }
type Response ¶
type Response struct { Success bool `json:"status"` Message string `json:"message"` Repo string `json:"gl_repository"` UserId string `json:"gl_id"` Username string `json:"gl_username"` GitConfigOptions []string `json:"git_config_options"` Gitaly Gitaly `json:"gitaly"` GitProtocol string `json:"git_protocol"` Payload CustomPayload `json:"payload"` ConsoleMessages []string `json:"gl_console_messages"` Who string StatusCode int }
func (*Response) IsCustomAction ¶
Click to show internal directories.
Click to hide internal directories.