hooks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const GithubJetstreamTopic = "github"

----------------------------------------------------------------------------

View Source
const IssueCommentEvent = "IssueCommentEvent"

----------------------------------------------------------------------------

View Source
const PullRequestEventType = "PullRequestEvent"

----------------------------------------------------------------------------

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubHooksHandler

type GithubHooksHandler struct {
	// contains filtered or unexported fields
}

func NewGithubHooksHandler

func NewGithubHooksHandler(vcs vcs.GitClient, tfc tfc_api.ApiClient, rs runstream.StreamClient, js nats.JetStreamContext) *GithubHooksHandler

func (*GithubHooksHandler) Handler

func (h *GithubHooksHandler) Handler(c echo.Context) error

type GithubIssueCommentEventMsg

type GithubIssueCommentEventMsg struct {
	// contains filtered or unexported fields
}

func (*GithubIssueCommentEventMsg) DecodeEventData

func (e *GithubIssueCommentEventMsg) DecodeEventData(b []byte) error

func (*GithubIssueCommentEventMsg) EncodeEventData

func (e *GithubIssueCommentEventMsg) EncodeEventData() []byte

func (*GithubIssueCommentEventMsg) GetId

type PullRequestEventMsg

type PullRequestEventMsg struct {
	// contains filtered or unexported fields
}

func (*PullRequestEventMsg) DecodeEventData

func (e *PullRequestEventMsg) DecodeEventData(b []byte) error

func (*PullRequestEventMsg) EncodeEventData

func (e *PullRequestEventMsg) EncodeEventData() []byte

func (*PullRequestEventMsg) GetId

func (e *PullRequestEventMsg) GetId() string

type TriggerCreationFunc

type TriggerCreationFunc func(
	vcs vcs.GitClient,
	tfc tfc_api.ApiClient,
	runstream runstream.StreamClient,
	cfg tfc_trigger.TriggerConfig,
) tfc_trigger.Trigger

Jump to

Keyboard shortcuts

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