Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubClient ¶
type GithubClient struct {
// contains filtered or unexported fields
}
func NewGithubClient ¶
func NewGithubClient(env environment.Env) *GithubClient
func (*GithubClient) CreateStatus ¶
func (c *GithubClient) CreateStatus(ctx context.Context, ownerRepo string, commitSHA string, payload *GithubStatusPayload) error
func (*GithubClient) Link ¶
func (c *GithubClient) Link(w http.ResponseWriter, r *http.Request)
type GithubStatusPayload ¶
type GithubStatusPayload struct { State string `json:"state"` TargetURL string `json:"target_url"` Description string `json:"description"` Context string `json:"context"` }
func NewGithubStatusPayload ¶
func NewGithubStatusPayload(context, URL, description, state string) *GithubStatusPayload
Click to show internal directories.
Click to hide internal directories.