standard

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAvailable

func IsAvailable(config types.Config, capabilities []string) bool

Types

type Standard

type Standard struct {
	Config types.Config
}

func (*Standard) Clone

func (g *Standard) Clone(repository *configv1alpha1.TerraformRepository, branch string, repositoryPath string) (*git.Repository, error)

func (*Standard) Comment

func (*Standard) CreatePullRequest

func (*Standard) GetChanges

func (*Standard) GetEventFromWebhookPayload

func (m *Standard) GetEventFromWebhookPayload(payload interface{}) (event.Event, error)

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) Init

func (s *Standard) Init() error

func (*Standard) InitWebhookHandler

func (s *Standard) InitWebhookHandler() error

func (*Standard) ParseWebhookPayload

func (m *Standard) ParseWebhookPayload(payload *nethttp.Request) (interface{}, bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL