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 NewClient ¶
func NewClient(config *config.Config, args *commandargs.CommandArgs) (*Client, error)
func (*Client) Authenticate ¶
func (c *Client) Authenticate(action commandargs.CommandType, repo, userId string) (*Response, error)
type Request ¶
type Request struct { Action commandargs.CommandType `json:"operation"` Repo string `json:"project"` KeyId string `json:"key_id,omitempty"` UserId string `json:"user_id,omitempty"` }
Click to show internal directories.
Click to hide internal directories.