Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { Start(runUID types.UID, webhook rolloutv1alpha1.RolloutWebhook, payload rolloutv1alpha1.RolloutWebhookReview) (WebhookWorker, error) Get(key types.UID) (WebhookWorker, bool) Stop(key types.UID) }
func NewManager ¶
func NewManager() Manager
type Result ¶
type Result rolloutv1alpha1.RolloutWebhookStatus
type WebhookWorker ¶
type WebhookWorker interface { // Result returns the last probe result. Result() Result // Retry manually triggers the webhook probe. Retry() // Stop stops the probe worker. and clean up the result in cache. // The worker handles cleanup and removes itself from its manager. // It's safe to call Stop multiple times. Stop() }
WebhookWorker handles the periodic webhook works.
Click to show internal directories.
Click to hide internal directories.