Documentation ¶
Index ¶
- func BuildCompleted(scms []*SCM, reportUrl string) error
- func BuildErrored(scms []*SCM, reportUrl string) error
- func BuildStarted(scms []*SCM) error
- func IsCommitNotFound(err error) bool
- func ReportBuild(scms []*SCM, success bool, reportUrl string) error
- type Provider
- type SCM
- func (s SCM) BuildCanceled(reportUrl string) error
- func (s SCM) BuildCompleted(reportUrl string) error
- func (s SCM) BuildErrored(reportUrl string) error
- func (s SCM) BuildFailed(reportUrl string) error
- func (s SCM) BuildStarted() error
- func (s *SCM) GetProvider() Provider
- func (s *SCM) GetRepo() string
- func (s *SCM) GetURL() (string, error)
- func (s *SCM) Init(ctx context.Context) (err error)
- func (s SCM) PostStatus(state State, commit string, message string, reportUrl string) error
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCompleted ¶ added in v0.1.0
func BuildErrored ¶ added in v0.1.0
func BuildStarted ¶ added in v0.1.0
func IsCommitNotFound ¶ added in v0.1.0
Types ¶
type SCM ¶
type SCM struct { Provider *Provider `hcl:"provider"` URL *string `hcl:"url"` Token string `hcl:"token"` Repo *string `hcl:"repo"` Remote *string `hcl:"remote"` Condition *string `hcl:"condition"` Git git.Repository // contains filtered or unexported fields }
func (SCM) BuildCanceled ¶
func (SCM) BuildCompleted ¶
func (SCM) BuildErrored ¶
func (SCM) BuildFailed ¶
func (SCM) BuildStarted ¶
func (*SCM) GetProvider ¶
Click to show internal directories.
Click to hide internal directories.