action

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionHandler

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

func NewActionHandler

func NewActionHandler(log zerolog.Logger, d *db.DB, lf lock.LockFactory) *ActionHandler

func (*ActionHandler) CommitStatusRedelivery

func (h *ActionHandler) CommitStatusRedelivery(ctx context.Context, projectID string, commitStatusDeliveryID string) error

func (*ActionHandler) RunWebhookRedelivery

func (h *ActionHandler) RunWebhookRedelivery(ctx context.Context, projectID string, runWebhookDeliveryID string) error

type GetProjectCommitStatusDeliveriesRequest

type GetProjectCommitStatusDeliveriesRequest struct {
	ProjectID            string
	DeliveryStatusFilter []types.DeliveryStatus

	StartSequence uint64

	Limit         int
	SortDirection types.SortDirection
}

type GetProjectCommitStatusDeliveriesResponse

type GetProjectCommitStatusDeliveriesResponse struct {
	CommitStatusDeliveries []*types.CommitStatusDelivery

	HasMore bool
}

type GetProjectRunWebhookDeliveriesRequest

type GetProjectRunWebhookDeliveriesRequest struct {
	ProjectID            string
	DeliveryStatusFilter []types.DeliveryStatus

	StartSequence uint64

	Limit         int
	SortDirection types.SortDirection
}

type GetProjectRunWebhooksDeliveriesResponse

type GetProjectRunWebhooksDeliveriesResponse struct {
	RunWebhookDeliveries []*types.RunWebhookDelivery

	HasMore bool
}

Jump to

Keyboard shortcuts

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