mock

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommLayer

type CommLayer struct {
	NewSessionWithIDStub func(sessionID, contextID, endpoint string, pkid []byte, caller view.Identity, msg *view.Message) (view.Session, error)

	NewSessionStub func(caller string, contextID string, endpoint string, pkid []byte) (view.Session, error)

	MasterSessionStub func() (view.Session, error)

	DeleteSessionsStub func(sessionID string)
	// contains filtered or unexported fields
}

func (*CommLayer) DeleteSessions

func (fake *CommLayer) DeleteSessions(sessionID string)

func (*CommLayer) DeleteSessionsArgsForCall

func (fake *CommLayer) DeleteSessionsArgsForCall(i int) string

func (*CommLayer) DeleteSessionsCallCount

func (fake *CommLayer) DeleteSessionsCallCount() int

func (*CommLayer) Invocations

func (fake *CommLayer) Invocations() map[string][][]interface{}

func (*CommLayer) MasterSession

func (fake *CommLayer) MasterSession() (view.Session, error)

func (*CommLayer) MasterSessionCallCount

func (fake *CommLayer) MasterSessionCallCount() int

func (*CommLayer) MasterSessionReturns

func (fake *CommLayer) MasterSessionReturns(result1 view.Session, result2 error)

func (*CommLayer) MasterSessionReturnsOnCall

func (fake *CommLayer) MasterSessionReturnsOnCall(i int, result1 view.Session, result2 error)

func (*CommLayer) NewSession

func (fake *CommLayer) NewSession(caller string, contextID string, endpoint string, pkid []byte) (view.Session, error)

func (*CommLayer) NewSessionArgsForCall

func (fake *CommLayer) NewSessionArgsForCall(i int) (string, string, string, []byte)

func (*CommLayer) NewSessionCallCount

func (fake *CommLayer) NewSessionCallCount() int

func (*CommLayer) NewSessionReturns

func (fake *CommLayer) NewSessionReturns(result1 view.Session, result2 error)

func (*CommLayer) NewSessionReturnsOnCall

func (fake *CommLayer) NewSessionReturnsOnCall(i int, result1 view.Session, result2 error)

func (*CommLayer) NewSessionWithID

func (fake *CommLayer) NewSessionWithID(sessionID string, contextID string, endpoint string, pkid []byte, caller view.Identity, msg *view.Message) (view.Session, error)

func (*CommLayer) NewSessionWithIDArgsForCall

func (fake *CommLayer) NewSessionWithIDArgsForCall(i int) (string, string, string, []byte, view.Identity, *view.Message)

func (*CommLayer) NewSessionWithIDCallCount

func (fake *CommLayer) NewSessionWithIDCallCount() int

func (*CommLayer) NewSessionWithIDReturns

func (fake *CommLayer) NewSessionWithIDReturns(result1 view.Session, result2 error)

func (*CommLayer) NewSessionWithIDReturnsOnCall

func (fake *CommLayer) NewSessionWithIDReturnsOnCall(i int, result1 view.Session, result2 error)

type SessionFactory

type SessionFactory struct {
	NewSessionWithIDStub func(sessionID, contextID, endpoint string, pkid []byte, caller view.Identity, msg *view.Message) (view.Session, error)

	NewSessionStub func(caller string, contextID string, endpoint string, pkid []byte) (view.Session, error)

	DeleteSessionsStub func(sessionID string)
	// contains filtered or unexported fields
}

func (*SessionFactory) DeleteSessions

func (fake *SessionFactory) DeleteSessions(sessionID string)

func (*SessionFactory) DeleteSessionsArgsForCall

func (fake *SessionFactory) DeleteSessionsArgsForCall(i int) string

func (*SessionFactory) DeleteSessionsCallCount

func (fake *SessionFactory) DeleteSessionsCallCount() int

func (*SessionFactory) Invocations

func (fake *SessionFactory) Invocations() map[string][][]interface{}

func (*SessionFactory) NewSession

func (fake *SessionFactory) NewSession(caller string, contextID string, endpoint string, pkid []byte) (view.Session, error)

func (*SessionFactory) NewSessionArgsForCall

func (fake *SessionFactory) NewSessionArgsForCall(i int) (string, string, string, []byte)

func (*SessionFactory) NewSessionCallCount

func (fake *SessionFactory) NewSessionCallCount() int

func (*SessionFactory) NewSessionReturns

func (fake *SessionFactory) NewSessionReturns(result1 view.Session, result2 error)

func (*SessionFactory) NewSessionReturnsOnCall

func (fake *SessionFactory) NewSessionReturnsOnCall(i int, result1 view.Session, result2 error)

func (*SessionFactory) NewSessionWithID

func (fake *SessionFactory) NewSessionWithID(sessionID string, contextID string, endpoint string, pkid []byte, caller view.Identity, msg *view.Message) (view.Session, error)

func (*SessionFactory) NewSessionWithIDArgsForCall

func (fake *SessionFactory) NewSessionWithIDArgsForCall(i int) (string, string, string, []byte, view.Identity, *view.Message)

func (*SessionFactory) NewSessionWithIDCallCount

func (fake *SessionFactory) NewSessionWithIDCallCount() int

func (*SessionFactory) NewSessionWithIDReturns

func (fake *SessionFactory) NewSessionWithIDReturns(result1 view.Session, result2 error)

func (*SessionFactory) NewSessionWithIDReturnsOnCall

func (fake *SessionFactory) NewSessionWithIDReturnsOnCall(i int, result1 view.Session, result2 error)

Jump to

Keyboard shortcuts

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