fake

package
v1.15.0-rc.6 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fake

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

func New

func New() *Fake

func (*Fake) Create

func (f *Fake) Create(ctx context.Context, req *api.CreateTimerRequest) error

func (*Fake) Delete

func (f *Fake) Delete(ctx context.Context, req *api.DeleteTimerRequest)

func (*Fake) WithCreateFn

func (f *Fake) WithCreateFn(fn func(context.Context, *api.CreateTimerRequest) error) *Fake

func (*Fake) WithDeleteFn

func (f *Fake) WithDeleteFn(fn func(context.Context, *api.DeleteTimerRequest)) *Fake

Jump to

Keyboard shortcuts

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