mnemosynetest

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mnemosyne

type Mnemosyne struct {
	mock.Mock
}

func (*Mnemosyne) Abandon

func (_m *Mnemosyne) Abandon(ctx context.Context, token string) error

Abandon provides a mock function with given fields: ctx, token

func (*Mnemosyne) Close

func (_m *Mnemosyne) Close() error

Close provides a mock function with given fields:

func (*Mnemosyne) Exists

func (_m *Mnemosyne) Exists(ctx context.Context, token string) (bool, error)

Exists provides a mock function with given fields: ctx, token

func (*Mnemosyne) FromContext

func (_m *Mnemosyne) FromContext(ctx context.Context) (*mnemosynerpc.Session, error)

FromContext provides a mock function with given fields: ctx

func (*Mnemosyne) Get

func (_m *Mnemosyne) Get(ctx context.Context, token string) (*mnemosynerpc.Session, error)

Get provides a mock function with given fields: ctx, token

func (*Mnemosyne) SetValue

func (_m *Mnemosyne) SetValue(ctx context.Context, token string, key string, value string) (map[string]string, error)

SetValue provides a mock function with given fields: ctx, token, key, value

func (*Mnemosyne) Start

func (_m *Mnemosyne) Start(ctx context.Context, subjectID string, subjectClient string, bag map[string]string) (*mnemosynerpc.Session, error)

Start provides a mock function with given fields: ctx, subjectID, subjectClient, bag

type SessionManagerClient added in v0.2.0

type SessionManagerClient struct {
	mock.Mock
}

func (*SessionManagerClient) Abandon added in v0.2.0

Abandon provides a mock function with given fields: ctx, in, opts

func (*SessionManagerClient) Context added in v0.2.0

Context provides a mock function with given fields: ctx, in, opts

func (*SessionManagerClient) Delete added in v0.2.0

Delete provides a mock function with given fields: ctx, in, opts

func (*SessionManagerClient) Exists added in v0.2.0

Exists provides a mock function with given fields: ctx, in, opts

func (*SessionManagerClient) Get added in v0.2.0

Get provides a mock function with given fields: ctx, in, opts

func (*SessionManagerClient) List added in v0.2.0

List provides a mock function with given fields: ctx, in, opts

func (*SessionManagerClient) SetValue added in v0.2.0

SetValue provides a mock function with given fields: ctx, in, opts

func (*SessionManagerClient) Start added in v0.2.0

Start provides a mock function with given fields: ctx, in, opts

type Storage

type Storage struct {
	mock.Mock
}

func (*Storage) Abandon

func (_m *Storage) Abandon(_a0 string) (bool, error)

Abandon provides a mock function with given fields: _a0

func (*Storage) Delete

func (_m *Storage) Delete(_a0 string, _a1 *time.Time, _a2 *time.Time) (int64, error)

Delete provides a mock function with given fields: _a0, _a1, _a2

func (*Storage) Exists

func (_m *Storage) Exists(_a0 string) (bool, error)

Exists provides a mock function with given fields: _a0

func (*Storage) Get

func (_m *Storage) Get(_a0 string) (*mnemosynerpc.Session, error)

Get provides a mock function with given fields: _a0

func (*Storage) List

func (_m *Storage) List(_a0 int64, _a1 int64, _a2 *time.Time, _a3 *time.Time) ([]*mnemosynerpc.Session, error)

List provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Storage) SetValue

func (_m *Storage) SetValue(_a0 string, _a1 string, _a2 string) (map[string]string, error)

SetValue provides a mock function with given fields: _a0, _a1, _a2

func (*Storage) Setup

func (_m *Storage) Setup() error

Setup provides a mock function with given fields:

func (*Storage) Start

func (_m *Storage) Start(_a0 string, _a1 string, _a2 map[string]string) (*mnemosynerpc.Session, error)

Start provides a mock function with given fields: _a0, _a1, _a2

func (*Storage) TearDown

func (_m *Storage) TearDown() error

TearDown provides a mock function with given fields:

Jump to

Keyboard shortcuts

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