backend

package
v4.0.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: BSD-2-Clause Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotSupported     = errors.New("not supported")
	ErrTaskNameRequired = errors.New("taskq: Job.TaskName is required")
)

Functions

func DecodeString

func DecodeString(src string) ([]byte, error)

func EncodeToString

func EncodeToString(src []byte) string

func Error

func Error(err error, msg string, keysAndValues ...interface{})

func Info

func Info(msg string, keysAndValues ...interface{})

func MaxEncodedLen

func MaxEncodedLen(n int) int

func SetLogger

func SetLogger(l logr.Logger)

func Warn

func Warn(msg string, keysAndValues ...interface{})

Types

type UndoneContext

type UndoneContext struct {
	context.Context
}

func UndoContext

func UndoContext(ctx context.Context) UndoneContext

func (UndoneContext) Deadline

func (UndoneContext) Deadline() (deadline time.Time, ok bool)

func (UndoneContext) Done

func (UndoneContext) Done() <-chan struct{}

func (UndoneContext) Err

func (UndoneContext) Err() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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