Documentation ¶
Index ¶
- type ActionHandler
- func (h *ActionHandler) CommitStatusRedelivery(ctx context.Context, projectID string, commitStatusDeliveryID string) error
- func (h *ActionHandler) GetProjectCommitStatusDeliveries(ctx context.Context, req *GetProjectCommitStatusDeliveriesRequest) (*GetProjectCommitStatusDeliveriesResponse, error)
- func (h *ActionHandler) GetProjectRunWebhookDeliveries(ctx context.Context, req *GetProjectRunWebhookDeliveriesRequest) (*GetProjectRunWebhooksDeliveriesResponse, error)
- func (h *ActionHandler) RunWebhookRedelivery(ctx context.Context, projectID string, runWebhookDeliveryID string) error
- type GetProjectCommitStatusDeliveriesRequest
- type GetProjectCommitStatusDeliveriesResponse
- type GetProjectRunWebhookDeliveriesRequest
- type GetProjectRunWebhooksDeliveriesResponse
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 (*ActionHandler) GetProjectCommitStatusDeliveries ¶
func (h *ActionHandler) GetProjectCommitStatusDeliveries(ctx context.Context, req *GetProjectCommitStatusDeliveriesRequest) (*GetProjectCommitStatusDeliveriesResponse, error)
func (*ActionHandler) GetProjectRunWebhookDeliveries ¶
func (h *ActionHandler) GetProjectRunWebhookDeliveries(ctx context.Context, req *GetProjectRunWebhookDeliveriesRequest) (*GetProjectRunWebhooksDeliveriesResponse, error)
func (*ActionHandler) RunWebhookRedelivery ¶
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 }
Click to show internal directories.
Click to hide internal directories.