Documentation ¶
Overview ¶
Package trigger provides a piped component that detects a list of application should be synced (by new commit, sync command or configuration drift) and then sends request to the control-plane to create a new Deployment.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Trigger ¶
type Trigger struct {
// contains filtered or unexported fields
}
func NewTrigger ¶
func NewTrigger( apiClient apiClient, gitClient gitClient, appLister applicationLister, commandLister commandLister, environmentLister environmentLister, notifier notifier, cfg *config.PipedSpec, gracePeriod time.Duration, logger *zap.Logger, ) *Trigger
NewTrigger creates a new instance for Trigger.
Click to show internal directories.
Click to hide internal directories.