Documentation
¶
Index ¶
- Constants
- func AllOrganizations(w http.ResponseWriter, r *http.Request)
- func GithubManualRegister(w http.ResponseWriter, r *http.Request)
- func LogIncoming(w http.ResponseWriter, r *http.Request)
- func Manifest(w http.ResponseWriter, r *http.Request)
- func NewAppRedirect(w http.ResponseWriter, r *http.Request)
- func OrganizationRepositories(w http.ResponseWriter, r *http.Request)
- func RegisterApp(w http.ResponseWriter, r *http.Request)
- type AllOrganizationsResponse
- type CheckoutHandler
- type CheckoutRequestModel
- type GithubManualRegisterRequest
- type NewAppRedirectModel
- type OrganizationRepositoriesResponse
- type RegisterAppModel
Constants ¶
View Source
const AppTokenValidity = 1 * time.Minute
Variables ¶
This section is empty.
Functions ¶
func AllOrganizations ¶
func AllOrganizations(w http.ResponseWriter, r *http.Request)
func GithubManualRegister ¶
func GithubManualRegister(w http.ResponseWriter, r *http.Request)
GithubManualRegister can be used to manually create or update a github app
func LogIncoming ¶
func LogIncoming(w http.ResponseWriter, r *http.Request)
func NewAppRedirect ¶
func NewAppRedirect(w http.ResponseWriter, r *http.Request)
func OrganizationRepositories ¶
func OrganizationRepositories(w http.ResponseWriter, r *http.Request)
func RegisterApp ¶
func RegisterApp(w http.ResponseWriter, r *http.Request)
Types ¶
type CheckoutHandler ¶
type CheckoutHandler struct {
Github chan worker.GithubCheckoutTask
}
func (CheckoutHandler) Checkout ¶
func (h CheckoutHandler) Checkout(w http.ResponseWriter, r *http.Request)
Checkout clones the specified repository from a connected source control manager
type CheckoutRequestModel ¶
type NewAppRedirectModel ¶
type NewAppRedirectModel struct {
OrganizationUrl string `json:"organization_url"`
}
type RegisterAppModel ¶
type RegisterAppModel struct {
Code string `json:"code"`
}
Click to show internal directories.
Click to hide internal directories.