pipelinewebhooks

package
v0.2.0-rc.13 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDeliveryNotFound = xerror.NotFound(xerror.PipelineRun)
View Source
var ErrReceiverNotFound = xerror.NotFound(xerror.PipelineTrigger)

Functions

This section is empty.

Types

type AcceptParams

type AcceptParams struct {
	ReceiverID, DeliveryID, PayloadDigest string
	PayloadSizeBytes                      int64
	KeyVersion                            int
	Receiver                              Receiver
	RunSlug                               slug.Slug
	EncryptedEnvelope                     []byte
	EnvelopeExpiresAt, ReceivedAt         time.Time
}

type AcceptResult

type AcceptResult struct {
	Inserted      bool
	PayloadDigest string
	RunSlug       slug.Slug
	Status        string
}

type CompleteParams

type CompleteParams struct {
	ReceiverID, DeliveryID              string
	AttemptNumber                       int
	Status, FailureKind, DecisionReason string
	CompletedAt                         time.Time
}

type Delivery

type Delivery struct {
	Resuming                              bool
	DatabaseID                            int64
	ReceiverID, DeliveryID, PayloadDigest string
	PayloadSizeBytes                      int64
	KeyVersion                            int
	Receiver                              Receiver
	RunSlug                               slug.Slug
	PipelineVersionSpecHash               string
	AttemptNumber                         int
	EncryptedEnvelope                     []byte
	EnvelopeExpiresAt, ReceivedAt         time.Time
}

type Diagnostic

type Diagnostic struct {
	ReceiverID, DeliveryID, PayloadDigest, Status string
	TriggerSlug, PipelineSlug                     slug.Slug
	TriggerRevision                               int64
	PayloadSizeBytes                              int64
	MappedInputNames                              []string
	LinkedRunSlug                                 *slug.Slug
	AttemptNumber, DuplicateCount                 int
	FailureKind, DecisionReason                   *string
	NextRetryAt, StartedAt, CompletedAt           *time.Time
	ReceivedAt, UpdatedAt                         time.Time
	LastDuplicateAt                               *time.Time
	EnvelopeRetained                              bool
	EnvelopeExpiresAt                             *time.Time
}

Diagnostic is the safe persistence projection used by operator read surfaces.

type DuplicateResult

type DuplicateResult struct {
	Found, Duplicate bool
	PayloadDigest    string
	RunSlug          slug.Slug
	Status           string
}

type Receiver

type Receiver struct {
	OrgSlug, ProjectSlug, EnvironmentSlug, TriggerSlug, PipelineSlug slug.Slug
	TriggerRevision                                                  int64
	VersionPolicy                                                    model.PipelineTriggerVersionPolicy
	RetryPolicy                                                      model.PipelineTriggerRetryPolicy
	RuntimeInputKeys                                                 []string
	InputMappings                                                    []model.PipelineWebhookInputMapping
}

type RecordRetryParams

type RecordRetryParams struct {
	ReceiverID, DeliveryID   string
	AttemptNumber            int
	NextAttemptNumber        int
	VersionHash, FailureKind string
	NextRetryAt, UpdatedAt   time.Time
}

type RejectParams

type RejectParams struct {
	ReceiverID, DeliveryID, PayloadDigest, DecisionReason string
	PayloadSizeBytes                                      int64
	KeyVersion                                            int
	Receiver                                              Receiver
	RunSlug                                               slug.Slug
	ReceivedAt                                            time.Time
}

type ReplayRef

type ReplayRef struct {
	ReceiverID, DeliveryID string
	AttemptNumber          int
}

Jump to

Keyboard shortcuts

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