Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIProvider ¶
type APIProvider struct {
// contains filtered or unexported fields
}
func (*APIProvider) Comment ¶
func (api *APIProvider) Comment(repository *configv1alpha1.TerraformRepository, pr *configv1alpha1.TerraformPullRequest, comment comment.Comment) error
func (*APIProvider) GetChanges ¶
func (api *APIProvider) GetChanges(repository *configv1alpha1.TerraformRepository, pr *configv1alpha1.TerraformPullRequest) ([]string, error)
type GitHubSubscription ¶
type GitHubSubscription string
const ( GitHubEnterprise GitHubSubscription = "enterprise" GitHubClassic GitHubSubscription = "classic" )
type Github ¶
type Github struct {
Config credentials.Credential
}
func (*Github) GetAPIProvider ¶
func (g *Github) GetAPIProvider() (types.APIProvider, error)
func (*Github) GetGitProvider ¶
func (g *Github) GetGitProvider(repository *configv1alpha1.TerraformRepository) (types.GitProvider, error)
func (*Github) GetWebhookProvider ¶
func (g *Github) GetWebhookProvider() (types.WebhookProvider, error)
type WebhookProvider ¶
func (*WebhookProvider) GetEventFromWebhookPayload ¶
func (wp *WebhookProvider) GetEventFromWebhookPayload(p interface{}) (event.Event, error)
func (*WebhookProvider) ParseWebhookPayload ¶
func (wp *WebhookProvider) ParseWebhookPayload(r *nethttp.Request) (interface{}, bool)
Click to show internal directories.
Click to hide internal directories.