Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddComment ¶
func AddComment(ctx context.Context, gr gerrit.Client, project string, change string, commit string, changeURL string, patchset string, postComment func(ctc context.Context, orgRepo string, issue string, message string) error) error
AddComment handles incoming hook call by gerrit for patchset-created events.
func LoadInstanceTransport ¶
func LoadInstanceTransport(appID, instanceID, privateKeyPEMPath string) (http.RoundTripper, error)
LoadInstanceTransport creates a new instance authentication.
Types ¶
type Authorization ¶
Authorization implements authorization for http.Requests.
Click to show internal directories.
Click to hide internal directories.