callback

package
v0.0.0-...-54d0854 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	Callback(msg *reconciler.CallbackMessage) error
}

func NewLocalCallbackHandler

func NewLocalCallbackHandler(callbackFunc func(msg *reconciler.CallbackMessage) error, logger *zap.SugaredLogger) (Handler, error)

func NewRemoteCallbackHandler

func NewRemoteCallbackHandler(callbackURL string, logger *zap.SugaredLogger) (Handler, error)

type LocalCallbackHandler

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

func (*LocalCallbackHandler) Callback

type RemoteCallbackHandler

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

func (*RemoteCallbackHandler) Callback

Jump to

Keyboard shortcuts

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