Documentation
¶
Index ¶
- func IsAvailable(config types.Config, capabilities []string) bool
- type Standard
- func (g *Standard) Clone(repository *configv1alpha1.TerraformRepository, branch string, ...) (*git.Repository, error)
- func (s *Standard) Comment(repository *configv1alpha1.TerraformRepository, ...) error
- func (s *Standard) CreatePullRequest(repository *configv1alpha1.TerraformRepository, ...) error
- func (s *Standard) GetChanges(repository *configv1alpha1.TerraformRepository, ...) ([]string, error)
- func (m *Standard) GetEventFromWebhookPayload(payload interface{}) (event.Event, error)
- func (s *Standard) GetGitAuth() (transport.AuthMethod, error)
- func (s *Standard) GetLatestRevisionForRef(repository *configv1alpha1.TerraformRepository, ref string) (string, error)
- func (s *Standard) Init() error
- func (s *Standard) InitWebhookHandler() error
- func (m *Standard) ParseWebhookPayload(payload *nethttp.Request) (interface{}, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Standard ¶
func (*Standard) Clone ¶
func (g *Standard) Clone(repository *configv1alpha1.TerraformRepository, branch string, repositoryPath string) (*git.Repository, error)
func (*Standard) Comment ¶
func (s *Standard) Comment(repository *configv1alpha1.TerraformRepository, pr *configv1alpha1.TerraformPullRequest, comment comment.Comment) error
func (*Standard) CreatePullRequest ¶
func (s *Standard) CreatePullRequest(repository *configv1alpha1.TerraformRepository, pr *configv1alpha1.TerraformPullRequest) error
func (*Standard) GetChanges ¶
func (s *Standard) GetChanges(repository *configv1alpha1.TerraformRepository, pr *configv1alpha1.TerraformPullRequest) ([]string, error)
func (*Standard) GetEventFromWebhookPayload ¶
func (*Standard) GetGitAuth ¶
func (s *Standard) GetGitAuth() (transport.AuthMethod, error)
func (*Standard) GetLatestRevisionForRef ¶
func (s *Standard) GetLatestRevisionForRef(repository *configv1alpha1.TerraformRepository, ref string) (string, error)
func (*Standard) InitWebhookHandler ¶
Click to show internal directories.
Click to hide internal directories.