Version: v1.49.0 Latest Latest

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

Go to latest
Published: Feb 23, 2021 License: MIT Imports: 1 Imported by: 0



Package mocks contains a mock of the store package interfaces



This section is empty.


This section is empty.


This section is empty.


type Storer

type Storer struct {

Storer holds a mock to implement of mock of StringStorer

func (*Storer) Close

func (ms *Storer) Close() (err error)

Close mocks an implementation of Close

func (*Storer) DeleteSiloString

func (ms *Storer) DeleteSiloString(silo string, key string) (err error)

DeleteSiloString mocks an implementation of DeleteSiloString

func (*Storer) DeleteString

func (ms *Storer) DeleteString(key string) (err error)

DeleteString mocks an implementation of DeleteString

func (*Storer) GetSiloString

func (ms *Storer) GetSiloString(silo string, key string) (value string, err error)

GetSiloString mocks an implementation of GetSiloString

func (*Storer) GetString

func (ms *Storer) GetString(key string) (value string, err error)

GetString mocks an implementation of GetString

func (*Storer) GlobalScan

func (ms *Storer) GlobalScan() (entries map[string]map[string]string, err error)

GlobalScan mocks an implementation of GlobalScan

func (*Storer) PutSiloString

func (ms *Storer) PutSiloString(silo string, key string, value string) (err error)

PutSiloString mocks an implementation of PutSiloString

func (*Storer) PutString

func (ms *Storer) PutString(key string, value string) (err error)

PutString mocks an implementation of PutString

func (*Storer) Scan

func (ms *Storer) Scan() (entries map[string]string, err error)

Scan mocks an implementation of Scan

func (*Storer) ScanSilo

func (ms *Storer) ScanSilo(silo string) (entries map[string]string, err error)

ScanSilo mocks an implementation of ScanSilo

Source Files

Jump to

Keyboard shortcuts

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