sinks

package
v0.0.0-...-f987c7b Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorSink

type ErrorSink struct {
	// contains filtered or unexported fields
}

func NewErrorSink

func NewErrorSink(ctx context.Context, inChan chan error) *ErrorSink

func (ErrorSink) In

func (es ErrorSink) In() chan<- error

func (ErrorSink) Log

func (es ErrorSink) Log()

type WebhookSink

type WebhookSink struct {
	// contains filtered or unexported fields
}

func NewWebhookSink

func NewWebhookSink(ctx context.Context, client *resty.Client, operatorWebhook string, inChan chan StreamMessage[*common.RunCompletionEventData]) *WebhookSink

func (WebhookSink) In

func (hws WebhookSink) In() chan<- StreamMessage[*common.RunCompletionEventData]

func (WebhookSink) SendEvents

func (hws WebhookSink) SendEvents()

Jump to

Keyboard shortcuts

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