package
0.0.0-20241227120803-7779d3b45fce
Repository: https://github.com/isometry/gh-promotion-app.git
Documentation: pkg.go.dev
# Functions
NewAuthValidatorProcessor initializes and returns a new Processor for validating authentication against GitHub operations.
NewCheckSuiteEventProcessor initializes a Processor for handling check suite events with optional configurations.
NewDeploymentStatusEventProcessor initializes a Processor for handling deployment status events with optional configurations.
NewDynamicPromotionPreProcessor initializes and returns a Processor for handling dynamic promotion, applying the given options.
NewFastForwarderPostProcessor constructs a Processor instance for handling GitHub status events with optional configurations.
NewPullRequestEventProcessor creates and returns a Processor to handle pull request events, initialized with given GitHub controller and options.
NewPullRequestReviewEventProcessor initializes a Processor for handling pull request review events with optional configurations.
NewPushEventProcessor creates a push event processor with an optional configuration and attaches a GitHub controller to it.
NewS3UploaderPostProcessor constructs a Processor instance for handling S3 upload post-processing with optional configurations.
NewStatusEventProcessor constructs a Processor instance for handling GitHub status events with optional configurations.
NewWorkflowRunEventProcessor initializes a Processor for handling workflow run events with optional configurations.
Process is a function that processes a request using a list of processors.
WithLogger is a function that sets a logger on a Processor.
# Structs
AuthRequest is a struct that represents an authentication request.
# Interfaces
Processor is an interface that defines a method to process a request.
# Type aliases
Option is a function that applies an option to a Processor.