Documentation
¶
Index ¶
- Constants
- type ReleaseVector
- type ReleaseVectorParams
- type WebhookActions
- func (w *WebhookActions) ProcessPullRequestEvent(payload *ghwebhooks.PullRequestPayload)
- func (w *WebhookActions) ProcessPushEvent(payload *ghwebhooks.PushPayload)
- func (w *WebhookActions) ProcessReleaseEvent(payload *ghwebhooks.ReleasePayload)
- func (w *WebhookActions) ProcessRepositoryEvent(payload *ghwebhooks.RepositoryPayload)
Constants ¶
View Source
const ( ActionAddToReleaseVector string = "release-vector" ActionDocsPreviewComment string = "docs-preview-comment" ActionCreateRepositoryMaintainers string = "create-repository-maintainers" ActionUpdateSwaggerClients string = "swagger-clients" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReleaseVector ¶
type ReleaseVector struct {
// contains filtered or unexported fields
}
func NewReleaseVector ¶
func NewReleaseVector(logger *zap.SugaredLogger, client *clients.Github, rawConfig map[string]interface{}) (*ReleaseVector, error)
func (*ReleaseVector) AddToRelaseVector ¶
func (r *ReleaseVector) AddToRelaseVector(ctx context.Context, p *ReleaseVectorParams) error
AddToRelaseVector adds a release to the release vector in a release repository
type ReleaseVectorParams ¶
type WebhookActions ¶
type WebhookActions struct {
// contains filtered or unexported fields
}
func InitActions ¶
func InitActions(logger *zap.SugaredLogger, cs clients.ClientMap, config config.WebhookActions) (*WebhookActions, error)
func (*WebhookActions) ProcessPullRequestEvent ¶
func (w *WebhookActions) ProcessPullRequestEvent(payload *ghwebhooks.PullRequestPayload)
func (*WebhookActions) ProcessPushEvent ¶
func (w *WebhookActions) ProcessPushEvent(payload *ghwebhooks.PushPayload)
func (*WebhookActions) ProcessReleaseEvent ¶
func (w *WebhookActions) ProcessReleaseEvent(payload *ghwebhooks.ReleasePayload)
func (*WebhookActions) ProcessRepositoryEvent ¶
func (w *WebhookActions) ProcessRepositoryEvent(payload *ghwebhooks.RepositoryPayload)
Click to show internal directories.
Click to hide internal directories.