foundation

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 25 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	mock.Mock
}

Application is an autogenerated mock type for the Application type

func NewApplication

func NewApplication(t interface {
	mock.TestingT
	Cleanup(func())
}) *Application

NewApplication creates a new instance of Application. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Application) BasePath

func (_m *Application) BasePath(path string) string

BasePath provides a mock function with given fields: path

func (*Application) Bind

func (_m *Application) Bind(key interface{}, callback func(foundation.Application) (interface{}, error))

Bind provides a mock function with given fields: key, callback

func (*Application) BindWith

func (_m *Application) BindWith(key interface{}, callback func(foundation.Application, map[string]interface{}) (interface{}, error))

BindWith provides a mock function with given fields: key, callback

func (*Application) Boot

func (_m *Application) Boot()

Boot provides a mock function with given fields:

func (*Application) Commands

func (_m *Application) Commands(_a0 []console.Command)

Commands provides a mock function with given fields: _a0

func (*Application) ConfigPath

func (_m *Application) ConfigPath(path string) string

ConfigPath provides a mock function with given fields: path

func (*Application) CurrentLocale

func (_m *Application) CurrentLocale(ctx context.Context) string

CurrentLocale provides a mock function with given fields: ctx

func (*Application) DatabasePath

func (_m *Application) DatabasePath(path string) string

DatabasePath provides a mock function with given fields: path

func (*Application) EXPECT

func (_m *Application) EXPECT() *Application_Expecter

func (*Application) ExecutablePath

func (_m *Application) ExecutablePath() (string, error)

ExecutablePath provides a mock function with given fields:

func (*Application) GetJson

func (_m *Application) GetJson() foundation.Json

GetJson provides a mock function with given fields:

func (*Application) Instance

func (_m *Application) Instance(key interface{}, instance interface{})

Instance provides a mock function with given fields: key, instance

func (*Application) IsLocale

func (_m *Application) IsLocale(ctx context.Context, locale string) bool

IsLocale provides a mock function with given fields: ctx, locale

func (*Application) LangPath

func (_m *Application) LangPath(path string) string

LangPath provides a mock function with given fields: path

func (*Application) Make

func (_m *Application) Make(key interface{}) (interface{}, error)

Make provides a mock function with given fields: key

func (*Application) MakeArtisan

func (_m *Application) MakeArtisan() console.Artisan

MakeArtisan provides a mock function with given fields:

func (*Application) MakeAuth

func (_m *Application) MakeAuth(ctx http.Context) auth.Auth

MakeAuth provides a mock function with given fields: ctx

func (*Application) MakeCache

func (_m *Application) MakeCache() cache.Cache

MakeCache provides a mock function with given fields:

func (*Application) MakeConfig

func (_m *Application) MakeConfig() config.Config

MakeConfig provides a mock function with given fields:

func (*Application) MakeCrypt

func (_m *Application) MakeCrypt() crypt.Crypt

MakeCrypt provides a mock function with given fields:

func (*Application) MakeEvent

func (_m *Application) MakeEvent() event.Instance

MakeEvent provides a mock function with given fields:

func (*Application) MakeGate

func (_m *Application) MakeGate() access.Gate

MakeGate provides a mock function with given fields:

func (*Application) MakeGrpc

func (_m *Application) MakeGrpc() grpc.Grpc

MakeGrpc provides a mock function with given fields:

func (*Application) MakeHash

func (_m *Application) MakeHash() hash.Hash

MakeHash provides a mock function with given fields:

func (*Application) MakeLang

func (_m *Application) MakeLang(ctx context.Context) translation.Translator

MakeLang provides a mock function with given fields: ctx

func (*Application) MakeLog

func (_m *Application) MakeLog() log.Log

MakeLog provides a mock function with given fields:

func (*Application) MakeMail

func (_m *Application) MakeMail() mail.Mail

MakeMail provides a mock function with given fields:

func (*Application) MakeOrm

func (_m *Application) MakeOrm() orm.Orm

MakeOrm provides a mock function with given fields:

func (*Application) MakeQueue

func (_m *Application) MakeQueue() queue.Queue

MakeQueue provides a mock function with given fields:

func (*Application) MakeRateLimiter

func (_m *Application) MakeRateLimiter() http.RateLimiter

MakeRateLimiter provides a mock function with given fields:

func (*Application) MakeRoute

func (_m *Application) MakeRoute() route.Route

MakeRoute provides a mock function with given fields:

func (*Application) MakeSchedule

func (_m *Application) MakeSchedule() schedule.Schedule

MakeSchedule provides a mock function with given fields:

func (*Application) MakeSeeder

func (_m *Application) MakeSeeder() seeder.Facade

MakeSeeder provides a mock function with given fields:

func (*Application) MakeSession

func (_m *Application) MakeSession() session.Manager

MakeSession provides a mock function with given fields:

func (*Application) MakeStorage

func (_m *Application) MakeStorage() filesystem.Storage

MakeStorage provides a mock function with given fields:

func (*Application) MakeTesting

func (_m *Application) MakeTesting() testing.Testing

MakeTesting provides a mock function with given fields:

func (*Application) MakeValidation

func (_m *Application) MakeValidation() validation.Validation

MakeValidation provides a mock function with given fields:

func (*Application) MakeView

func (_m *Application) MakeView() http.View

MakeView provides a mock function with given fields:

func (*Application) MakeWith

func (_m *Application) MakeWith(key interface{}, parameters map[string]interface{}) (interface{}, error)

MakeWith provides a mock function with given fields: key, parameters

func (*Application) Path

func (_m *Application) Path(path string) string

Path provides a mock function with given fields: path

func (*Application) PublicPath

func (_m *Application) PublicPath(path string) string

PublicPath provides a mock function with given fields: path

func (*Application) Publishes

func (_m *Application) Publishes(packageName string, paths map[string]string, groups ...string)

Publishes provides a mock function with given fields: packageName, paths, groups

func (*Application) SetJson

func (_m *Application) SetJson(json foundation.Json)

SetJson provides a mock function with given fields: json

func (*Application) SetLocale

func (_m *Application) SetLocale(ctx context.Context, locale string) context.Context

SetLocale provides a mock function with given fields: ctx, locale

func (*Application) Singleton

func (_m *Application) Singleton(key interface{}, callback func(foundation.Application) (interface{}, error))

Singleton provides a mock function with given fields: key, callback

func (*Application) StoragePath

func (_m *Application) StoragePath(path string) string

StoragePath provides a mock function with given fields: path

func (*Application) Version

func (_m *Application) Version() string

Version provides a mock function with given fields:

type Application_BasePath_Call

type Application_BasePath_Call struct {
	*mock.Call
}

Application_BasePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BasePath'

func (*Application_BasePath_Call) Return

func (*Application_BasePath_Call) Run

func (*Application_BasePath_Call) RunAndReturn

type Application_BindWith_Call

type Application_BindWith_Call struct {
	*mock.Call
}

Application_BindWith_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BindWith'

func (*Application_BindWith_Call) Return

func (*Application_BindWith_Call) Run

func (_c *Application_BindWith_Call) Run(run func(key interface{}, callback func(foundation.Application, map[string]interface{}) (interface{}, error))) *Application_BindWith_Call

func (*Application_BindWith_Call) RunAndReturn

func (_c *Application_BindWith_Call) RunAndReturn(run func(interface{}, func(foundation.Application, map[string]interface{}) (interface{}, error))) *Application_BindWith_Call

type Application_Bind_Call

type Application_Bind_Call struct {
	*mock.Call
}

Application_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'

func (*Application_Bind_Call) Return

func (*Application_Bind_Call) Run

func (_c *Application_Bind_Call) Run(run func(key interface{}, callback func(foundation.Application) (interface{}, error))) *Application_Bind_Call

func (*Application_Bind_Call) RunAndReturn

func (_c *Application_Bind_Call) RunAndReturn(run func(interface{}, func(foundation.Application) (interface{}, error))) *Application_Bind_Call

type Application_Boot_Call

type Application_Boot_Call struct {
	*mock.Call
}

Application_Boot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Boot'

func (*Application_Boot_Call) Return

func (*Application_Boot_Call) Run

func (_c *Application_Boot_Call) Run(run func()) *Application_Boot_Call

func (*Application_Boot_Call) RunAndReturn

func (_c *Application_Boot_Call) RunAndReturn(run func()) *Application_Boot_Call

type Application_Commands_Call

type Application_Commands_Call struct {
	*mock.Call
}

Application_Commands_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commands'

func (*Application_Commands_Call) Return

func (*Application_Commands_Call) Run

func (*Application_Commands_Call) RunAndReturn

func (_c *Application_Commands_Call) RunAndReturn(run func([]console.Command)) *Application_Commands_Call

type Application_ConfigPath_Call

type Application_ConfigPath_Call struct {
	*mock.Call
}

Application_ConfigPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfigPath'

func (*Application_ConfigPath_Call) Return

func (*Application_ConfigPath_Call) Run

func (*Application_ConfigPath_Call) RunAndReturn

type Application_CurrentLocale_Call

type Application_CurrentLocale_Call struct {
	*mock.Call
}

Application_CurrentLocale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentLocale'

func (*Application_CurrentLocale_Call) Return

func (*Application_CurrentLocale_Call) Run

func (*Application_CurrentLocale_Call) RunAndReturn

type Application_DatabasePath_Call

type Application_DatabasePath_Call struct {
	*mock.Call
}

Application_DatabasePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DatabasePath'

func (*Application_DatabasePath_Call) Return

func (*Application_DatabasePath_Call) Run

func (*Application_DatabasePath_Call) RunAndReturn

type Application_ExecutablePath_Call

type Application_ExecutablePath_Call struct {
	*mock.Call
}

Application_ExecutablePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutablePath'

func (*Application_ExecutablePath_Call) Return

func (*Application_ExecutablePath_Call) Run

func (*Application_ExecutablePath_Call) RunAndReturn

type Application_Expecter

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

func (*Application_Expecter) BasePath

func (_e *Application_Expecter) BasePath(path interface{}) *Application_BasePath_Call

BasePath is a helper method to define mock.On call

  • path string

func (*Application_Expecter) Bind

func (_e *Application_Expecter) Bind(key interface{}, callback interface{}) *Application_Bind_Call

Bind is a helper method to define mock.On call

  • key interface{}
  • callback func(foundation.Application)(interface{} , error)

func (*Application_Expecter) BindWith

func (_e *Application_Expecter) BindWith(key interface{}, callback interface{}) *Application_BindWith_Call

BindWith is a helper method to define mock.On call

  • key interface{}
  • callback func(foundation.Application , map[string]interface{})(interface{} , error)

func (*Application_Expecter) Boot

Boot is a helper method to define mock.On call

func (*Application_Expecter) Commands

func (_e *Application_Expecter) Commands(_a0 interface{}) *Application_Commands_Call

Commands is a helper method to define mock.On call

  • _a0 []console.Command

func (*Application_Expecter) ConfigPath

func (_e *Application_Expecter) ConfigPath(path interface{}) *Application_ConfigPath_Call

ConfigPath is a helper method to define mock.On call

  • path string

func (*Application_Expecter) CurrentLocale

func (_e *Application_Expecter) CurrentLocale(ctx interface{}) *Application_CurrentLocale_Call

CurrentLocale is a helper method to define mock.On call

  • ctx context.Context

func (*Application_Expecter) DatabasePath

func (_e *Application_Expecter) DatabasePath(path interface{}) *Application_DatabasePath_Call

DatabasePath is a helper method to define mock.On call

  • path string

func (*Application_Expecter) ExecutablePath

ExecutablePath is a helper method to define mock.On call

func (*Application_Expecter) GetJson

GetJson is a helper method to define mock.On call

func (*Application_Expecter) Instance

func (_e *Application_Expecter) Instance(key interface{}, instance interface{}) *Application_Instance_Call

Instance is a helper method to define mock.On call

  • key interface{}
  • instance interface{}

func (*Application_Expecter) IsLocale

func (_e *Application_Expecter) IsLocale(ctx interface{}, locale interface{}) *Application_IsLocale_Call

IsLocale is a helper method to define mock.On call

  • ctx context.Context
  • locale string

func (*Application_Expecter) LangPath

func (_e *Application_Expecter) LangPath(path interface{}) *Application_LangPath_Call

LangPath is a helper method to define mock.On call

  • path string

func (*Application_Expecter) Make

func (_e *Application_Expecter) Make(key interface{}) *Application_Make_Call

Make is a helper method to define mock.On call

  • key interface{}

func (*Application_Expecter) MakeArtisan

MakeArtisan is a helper method to define mock.On call

func (*Application_Expecter) MakeAuth

func (_e *Application_Expecter) MakeAuth(ctx interface{}) *Application_MakeAuth_Call

MakeAuth is a helper method to define mock.On call

  • ctx http.Context

func (*Application_Expecter) MakeCache

MakeCache is a helper method to define mock.On call

func (*Application_Expecter) MakeConfig

MakeConfig is a helper method to define mock.On call

func (*Application_Expecter) MakeCrypt

MakeCrypt is a helper method to define mock.On call

func (*Application_Expecter) MakeEvent

MakeEvent is a helper method to define mock.On call

func (*Application_Expecter) MakeGate

MakeGate is a helper method to define mock.On call

func (*Application_Expecter) MakeGrpc

MakeGrpc is a helper method to define mock.On call

func (*Application_Expecter) MakeHash

MakeHash is a helper method to define mock.On call

func (*Application_Expecter) MakeLang

func (_e *Application_Expecter) MakeLang(ctx interface{}) *Application_MakeLang_Call

MakeLang is a helper method to define mock.On call

  • ctx context.Context

func (*Application_Expecter) MakeLog

MakeLog is a helper method to define mock.On call

func (*Application_Expecter) MakeMail

MakeMail is a helper method to define mock.On call

func (*Application_Expecter) MakeOrm

MakeOrm is a helper method to define mock.On call

func (*Application_Expecter) MakeQueue

MakeQueue is a helper method to define mock.On call

func (*Application_Expecter) MakeRateLimiter

MakeRateLimiter is a helper method to define mock.On call

func (*Application_Expecter) MakeRoute

MakeRoute is a helper method to define mock.On call

func (*Application_Expecter) MakeSchedule

MakeSchedule is a helper method to define mock.On call

func (*Application_Expecter) MakeSeeder

MakeSeeder is a helper method to define mock.On call

func (*Application_Expecter) MakeSession

MakeSession is a helper method to define mock.On call

func (*Application_Expecter) MakeStorage

MakeStorage is a helper method to define mock.On call

func (*Application_Expecter) MakeTesting

MakeTesting is a helper method to define mock.On call

func (*Application_Expecter) MakeValidation

MakeValidation is a helper method to define mock.On call

func (*Application_Expecter) MakeView

MakeView is a helper method to define mock.On call

func (*Application_Expecter) MakeWith

func (_e *Application_Expecter) MakeWith(key interface{}, parameters interface{}) *Application_MakeWith_Call

MakeWith is a helper method to define mock.On call

  • key interface{}
  • parameters map[string]interface{}

func (*Application_Expecter) Path

func (_e *Application_Expecter) Path(path interface{}) *Application_Path_Call

Path is a helper method to define mock.On call

  • path string

func (*Application_Expecter) PublicPath

func (_e *Application_Expecter) PublicPath(path interface{}) *Application_PublicPath_Call

PublicPath is a helper method to define mock.On call

  • path string

func (*Application_Expecter) Publishes

func (_e *Application_Expecter) Publishes(packageName interface{}, paths interface{}, groups ...interface{}) *Application_Publishes_Call

Publishes is a helper method to define mock.On call

  • packageName string
  • paths map[string]string
  • groups ...string

func (*Application_Expecter) SetJson

func (_e *Application_Expecter) SetJson(json interface{}) *Application_SetJson_Call

SetJson is a helper method to define mock.On call

  • json foundation.Json

func (*Application_Expecter) SetLocale

func (_e *Application_Expecter) SetLocale(ctx interface{}, locale interface{}) *Application_SetLocale_Call

SetLocale is a helper method to define mock.On call

  • ctx context.Context
  • locale string

func (*Application_Expecter) Singleton

func (_e *Application_Expecter) Singleton(key interface{}, callback interface{}) *Application_Singleton_Call

Singleton is a helper method to define mock.On call

  • key interface{}
  • callback func(foundation.Application)(interface{} , error)

func (*Application_Expecter) StoragePath

func (_e *Application_Expecter) StoragePath(path interface{}) *Application_StoragePath_Call

StoragePath is a helper method to define mock.On call

  • path string

func (*Application_Expecter) Version

Version is a helper method to define mock.On call

type Application_GetJson_Call

type Application_GetJson_Call struct {
	*mock.Call
}

Application_GetJson_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetJson'

func (*Application_GetJson_Call) Return

func (*Application_GetJson_Call) Run

func (*Application_GetJson_Call) RunAndReturn

func (_c *Application_GetJson_Call) RunAndReturn(run func() foundation.Json) *Application_GetJson_Call

type Application_Instance_Call

type Application_Instance_Call struct {
	*mock.Call
}

Application_Instance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Instance'

func (*Application_Instance_Call) Return

func (*Application_Instance_Call) Run

func (_c *Application_Instance_Call) Run(run func(key interface{}, instance interface{})) *Application_Instance_Call

func (*Application_Instance_Call) RunAndReturn

func (_c *Application_Instance_Call) RunAndReturn(run func(interface{}, interface{})) *Application_Instance_Call

type Application_IsLocale_Call

type Application_IsLocale_Call struct {
	*mock.Call
}

Application_IsLocale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsLocale'

func (*Application_IsLocale_Call) Return

func (*Application_IsLocale_Call) Run

func (*Application_IsLocale_Call) RunAndReturn

type Application_LangPath_Call

type Application_LangPath_Call struct {
	*mock.Call
}

Application_LangPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LangPath'

func (*Application_LangPath_Call) Return

func (*Application_LangPath_Call) Run

func (*Application_LangPath_Call) RunAndReturn

type Application_MakeArtisan_Call

type Application_MakeArtisan_Call struct {
	*mock.Call
}

Application_MakeArtisan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeArtisan'

func (*Application_MakeArtisan_Call) Return

func (*Application_MakeArtisan_Call) Run

func (*Application_MakeArtisan_Call) RunAndReturn

type Application_MakeAuth_Call

type Application_MakeAuth_Call struct {
	*mock.Call
}

Application_MakeAuth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeAuth'

func (*Application_MakeAuth_Call) Return

func (*Application_MakeAuth_Call) Run

func (*Application_MakeAuth_Call) RunAndReturn

type Application_MakeCache_Call

type Application_MakeCache_Call struct {
	*mock.Call
}

Application_MakeCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeCache'

func (*Application_MakeCache_Call) Return

func (*Application_MakeCache_Call) Run

func (*Application_MakeCache_Call) RunAndReturn

func (_c *Application_MakeCache_Call) RunAndReturn(run func() cache.Cache) *Application_MakeCache_Call

type Application_MakeConfig_Call

type Application_MakeConfig_Call struct {
	*mock.Call
}

Application_MakeConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeConfig'

func (*Application_MakeConfig_Call) Return

func (*Application_MakeConfig_Call) Run

func (*Application_MakeConfig_Call) RunAndReturn

type Application_MakeCrypt_Call

type Application_MakeCrypt_Call struct {
	*mock.Call
}

Application_MakeCrypt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeCrypt'

func (*Application_MakeCrypt_Call) Return

func (*Application_MakeCrypt_Call) Run

func (*Application_MakeCrypt_Call) RunAndReturn

func (_c *Application_MakeCrypt_Call) RunAndReturn(run func() crypt.Crypt) *Application_MakeCrypt_Call

type Application_MakeEvent_Call

type Application_MakeEvent_Call struct {
	*mock.Call
}

Application_MakeEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeEvent'

func (*Application_MakeEvent_Call) Return

func (*Application_MakeEvent_Call) Run

func (*Application_MakeEvent_Call) RunAndReturn

type Application_MakeGate_Call

type Application_MakeGate_Call struct {
	*mock.Call
}

Application_MakeGate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeGate'

func (*Application_MakeGate_Call) Return

func (*Application_MakeGate_Call) Run

func (*Application_MakeGate_Call) RunAndReturn

func (_c *Application_MakeGate_Call) RunAndReturn(run func() access.Gate) *Application_MakeGate_Call

type Application_MakeGrpc_Call

type Application_MakeGrpc_Call struct {
	*mock.Call
}

Application_MakeGrpc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeGrpc'

func (*Application_MakeGrpc_Call) Return

func (*Application_MakeGrpc_Call) Run

func (*Application_MakeGrpc_Call) RunAndReturn

func (_c *Application_MakeGrpc_Call) RunAndReturn(run func() grpc.Grpc) *Application_MakeGrpc_Call

type Application_MakeHash_Call

type Application_MakeHash_Call struct {
	*mock.Call
}

Application_MakeHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeHash'

func (*Application_MakeHash_Call) Return

func (*Application_MakeHash_Call) Run

func (*Application_MakeHash_Call) RunAndReturn

func (_c *Application_MakeHash_Call) RunAndReturn(run func() hash.Hash) *Application_MakeHash_Call

type Application_MakeLang_Call

type Application_MakeLang_Call struct {
	*mock.Call
}

Application_MakeLang_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeLang'

func (*Application_MakeLang_Call) Return

func (*Application_MakeLang_Call) Run

func (*Application_MakeLang_Call) RunAndReturn

type Application_MakeLog_Call

type Application_MakeLog_Call struct {
	*mock.Call
}

Application_MakeLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeLog'

func (*Application_MakeLog_Call) Return

func (*Application_MakeLog_Call) Run

func (*Application_MakeLog_Call) RunAndReturn

func (_c *Application_MakeLog_Call) RunAndReturn(run func() log.Log) *Application_MakeLog_Call

type Application_MakeMail_Call

type Application_MakeMail_Call struct {
	*mock.Call
}

Application_MakeMail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeMail'

func (*Application_MakeMail_Call) Return

func (*Application_MakeMail_Call) Run

func (*Application_MakeMail_Call) RunAndReturn

func (_c *Application_MakeMail_Call) RunAndReturn(run func() mail.Mail) *Application_MakeMail_Call

type Application_MakeOrm_Call

type Application_MakeOrm_Call struct {
	*mock.Call
}

Application_MakeOrm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeOrm'

func (*Application_MakeOrm_Call) Return

func (*Application_MakeOrm_Call) Run

func (*Application_MakeOrm_Call) RunAndReturn

func (_c *Application_MakeOrm_Call) RunAndReturn(run func() orm.Orm) *Application_MakeOrm_Call

type Application_MakeQueue_Call

type Application_MakeQueue_Call struct {
	*mock.Call
}

Application_MakeQueue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeQueue'

func (*Application_MakeQueue_Call) Return

func (*Application_MakeQueue_Call) Run

func (*Application_MakeQueue_Call) RunAndReturn

func (_c *Application_MakeQueue_Call) RunAndReturn(run func() queue.Queue) *Application_MakeQueue_Call

type Application_MakeRateLimiter_Call

type Application_MakeRateLimiter_Call struct {
	*mock.Call
}

Application_MakeRateLimiter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeRateLimiter'

func (*Application_MakeRateLimiter_Call) Return

func (*Application_MakeRateLimiter_Call) Run

func (*Application_MakeRateLimiter_Call) RunAndReturn

type Application_MakeRoute_Call

type Application_MakeRoute_Call struct {
	*mock.Call
}

Application_MakeRoute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeRoute'

func (*Application_MakeRoute_Call) Return

func (*Application_MakeRoute_Call) Run

func (*Application_MakeRoute_Call) RunAndReturn

func (_c *Application_MakeRoute_Call) RunAndReturn(run func() route.Route) *Application_MakeRoute_Call

type Application_MakeSchedule_Call

type Application_MakeSchedule_Call struct {
	*mock.Call
}

Application_MakeSchedule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeSchedule'

func (*Application_MakeSchedule_Call) Return

func (*Application_MakeSchedule_Call) Run

func (*Application_MakeSchedule_Call) RunAndReturn

type Application_MakeSeeder_Call

type Application_MakeSeeder_Call struct {
	*mock.Call
}

Application_MakeSeeder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeSeeder'

func (*Application_MakeSeeder_Call) Return

func (*Application_MakeSeeder_Call) Run

func (*Application_MakeSeeder_Call) RunAndReturn

type Application_MakeSession_Call

type Application_MakeSession_Call struct {
	*mock.Call
}

Application_MakeSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeSession'

func (*Application_MakeSession_Call) Return

func (*Application_MakeSession_Call) Run

func (*Application_MakeSession_Call) RunAndReturn

type Application_MakeStorage_Call

type Application_MakeStorage_Call struct {
	*mock.Call
}

Application_MakeStorage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeStorage'

func (*Application_MakeStorage_Call) Return

func (*Application_MakeStorage_Call) Run

func (*Application_MakeStorage_Call) RunAndReturn

type Application_MakeTesting_Call

type Application_MakeTesting_Call struct {
	*mock.Call
}

Application_MakeTesting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeTesting'

func (*Application_MakeTesting_Call) Return

func (*Application_MakeTesting_Call) Run

func (*Application_MakeTesting_Call) RunAndReturn

type Application_MakeValidation_Call

type Application_MakeValidation_Call struct {
	*mock.Call
}

Application_MakeValidation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeValidation'

func (*Application_MakeValidation_Call) Return

func (*Application_MakeValidation_Call) Run

func (*Application_MakeValidation_Call) RunAndReturn

type Application_MakeView_Call

type Application_MakeView_Call struct {
	*mock.Call
}

Application_MakeView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeView'

func (*Application_MakeView_Call) Return

func (*Application_MakeView_Call) Run

func (*Application_MakeView_Call) RunAndReturn

func (_c *Application_MakeView_Call) RunAndReturn(run func() http.View) *Application_MakeView_Call

type Application_MakeWith_Call

type Application_MakeWith_Call struct {
	*mock.Call
}

Application_MakeWith_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeWith'

func (*Application_MakeWith_Call) Return

func (_c *Application_MakeWith_Call) Return(_a0 interface{}, _a1 error) *Application_MakeWith_Call

func (*Application_MakeWith_Call) Run

func (_c *Application_MakeWith_Call) Run(run func(key interface{}, parameters map[string]interface{})) *Application_MakeWith_Call

func (*Application_MakeWith_Call) RunAndReturn

func (_c *Application_MakeWith_Call) RunAndReturn(run func(interface{}, map[string]interface{}) (interface{}, error)) *Application_MakeWith_Call

type Application_Make_Call

type Application_Make_Call struct {
	*mock.Call
}

Application_Make_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Make'

func (*Application_Make_Call) Return

func (_c *Application_Make_Call) Return(_a0 interface{}, _a1 error) *Application_Make_Call

func (*Application_Make_Call) Run

func (_c *Application_Make_Call) Run(run func(key interface{})) *Application_Make_Call

func (*Application_Make_Call) RunAndReturn

func (_c *Application_Make_Call) RunAndReturn(run func(interface{}) (interface{}, error)) *Application_Make_Call

type Application_Path_Call

type Application_Path_Call struct {
	*mock.Call
}

Application_Path_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Path'

func (*Application_Path_Call) Return

func (*Application_Path_Call) Run

func (_c *Application_Path_Call) Run(run func(path string)) *Application_Path_Call

func (*Application_Path_Call) RunAndReturn

func (_c *Application_Path_Call) RunAndReturn(run func(string) string) *Application_Path_Call

type Application_PublicPath_Call

type Application_PublicPath_Call struct {
	*mock.Call
}

Application_PublicPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PublicPath'

func (*Application_PublicPath_Call) Return

func (*Application_PublicPath_Call) Run

func (*Application_PublicPath_Call) RunAndReturn

type Application_Publishes_Call

type Application_Publishes_Call struct {
	*mock.Call
}

Application_Publishes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Publishes'

func (*Application_Publishes_Call) Return

func (*Application_Publishes_Call) Run

func (_c *Application_Publishes_Call) Run(run func(packageName string, paths map[string]string, groups ...string)) *Application_Publishes_Call

func (*Application_Publishes_Call) RunAndReturn

func (_c *Application_Publishes_Call) RunAndReturn(run func(string, map[string]string, ...string)) *Application_Publishes_Call

type Application_SetJson_Call

type Application_SetJson_Call struct {
	*mock.Call
}

Application_SetJson_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetJson'

func (*Application_SetJson_Call) Return

func (*Application_SetJson_Call) Run

func (*Application_SetJson_Call) RunAndReturn

type Application_SetLocale_Call

type Application_SetLocale_Call struct {
	*mock.Call
}

Application_SetLocale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLocale'

func (*Application_SetLocale_Call) Return

func (*Application_SetLocale_Call) Run

func (*Application_SetLocale_Call) RunAndReturn

type Application_Singleton_Call

type Application_Singleton_Call struct {
	*mock.Call
}

Application_Singleton_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Singleton'

func (*Application_Singleton_Call) Return

func (*Application_Singleton_Call) Run

func (_c *Application_Singleton_Call) Run(run func(key interface{}, callback func(foundation.Application) (interface{}, error))) *Application_Singleton_Call

func (*Application_Singleton_Call) RunAndReturn

func (_c *Application_Singleton_Call) RunAndReturn(run func(interface{}, func(foundation.Application) (interface{}, error))) *Application_Singleton_Call

type Application_StoragePath_Call

type Application_StoragePath_Call struct {
	*mock.Call
}

Application_StoragePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoragePath'

func (*Application_StoragePath_Call) Return

func (*Application_StoragePath_Call) Run

func (*Application_StoragePath_Call) RunAndReturn

type Application_Version_Call

type Application_Version_Call struct {
	*mock.Call
}

Application_Version_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Version'

func (*Application_Version_Call) Return

func (*Application_Version_Call) Run

func (*Application_Version_Call) RunAndReturn

func (_c *Application_Version_Call) RunAndReturn(run func() string) *Application_Version_Call

type Container

type Container struct {
	mock.Mock
}

Container is an autogenerated mock type for the Container type

func NewContainer

func NewContainer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Container

NewContainer creates a new instance of Container. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Container) Bind

func (_m *Container) Bind(key interface{}, callback func(foundation.Application) (interface{}, error))

Bind provides a mock function with given fields: key, callback

func (*Container) BindWith

func (_m *Container) BindWith(key interface{}, callback func(foundation.Application, map[string]interface{}) (interface{}, error))

BindWith provides a mock function with given fields: key, callback

func (*Container) EXPECT

func (_m *Container) EXPECT() *Container_Expecter

func (*Container) Instance

func (_m *Container) Instance(key interface{}, instance interface{})

Instance provides a mock function with given fields: key, instance

func (*Container) Make

func (_m *Container) Make(key interface{}) (interface{}, error)

Make provides a mock function with given fields: key

func (*Container) MakeArtisan

func (_m *Container) MakeArtisan() console.Artisan

MakeArtisan provides a mock function with given fields:

func (*Container) MakeAuth

func (_m *Container) MakeAuth(ctx http.Context) auth.Auth

MakeAuth provides a mock function with given fields: ctx

func (*Container) MakeCache

func (_m *Container) MakeCache() cache.Cache

MakeCache provides a mock function with given fields:

func (*Container) MakeConfig

func (_m *Container) MakeConfig() config.Config

MakeConfig provides a mock function with given fields:

func (*Container) MakeCrypt

func (_m *Container) MakeCrypt() crypt.Crypt

MakeCrypt provides a mock function with given fields:

func (*Container) MakeEvent

func (_m *Container) MakeEvent() event.Instance

MakeEvent provides a mock function with given fields:

func (*Container) MakeGate

func (_m *Container) MakeGate() access.Gate

MakeGate provides a mock function with given fields:

func (*Container) MakeGrpc

func (_m *Container) MakeGrpc() grpc.Grpc

MakeGrpc provides a mock function with given fields:

func (*Container) MakeHash

func (_m *Container) MakeHash() hash.Hash

MakeHash provides a mock function with given fields:

func (*Container) MakeLang

func (_m *Container) MakeLang(ctx context.Context) translation.Translator

MakeLang provides a mock function with given fields: ctx

func (*Container) MakeLog

func (_m *Container) MakeLog() log.Log

MakeLog provides a mock function with given fields:

func (*Container) MakeMail

func (_m *Container) MakeMail() mail.Mail

MakeMail provides a mock function with given fields:

func (*Container) MakeOrm

func (_m *Container) MakeOrm() orm.Orm

MakeOrm provides a mock function with given fields:

func (*Container) MakeQueue

func (_m *Container) MakeQueue() queue.Queue

MakeQueue provides a mock function with given fields:

func (*Container) MakeRateLimiter

func (_m *Container) MakeRateLimiter() http.RateLimiter

MakeRateLimiter provides a mock function with given fields:

func (*Container) MakeRoute

func (_m *Container) MakeRoute() route.Route

MakeRoute provides a mock function with given fields:

func (*Container) MakeSchedule

func (_m *Container) MakeSchedule() schedule.Schedule

MakeSchedule provides a mock function with given fields:

func (*Container) MakeSeeder

func (_m *Container) MakeSeeder() seeder.Facade

MakeSeeder provides a mock function with given fields:

func (*Container) MakeSession

func (_m *Container) MakeSession() session.Manager

MakeSession provides a mock function with given fields:

func (*Container) MakeStorage

func (_m *Container) MakeStorage() filesystem.Storage

MakeStorage provides a mock function with given fields:

func (*Container) MakeTesting

func (_m *Container) MakeTesting() testing.Testing

MakeTesting provides a mock function with given fields:

func (*Container) MakeValidation

func (_m *Container) MakeValidation() validation.Validation

MakeValidation provides a mock function with given fields:

func (*Container) MakeView

func (_m *Container) MakeView() http.View

MakeView provides a mock function with given fields:

func (*Container) MakeWith

func (_m *Container) MakeWith(key interface{}, parameters map[string]interface{}) (interface{}, error)

MakeWith provides a mock function with given fields: key, parameters

func (*Container) Singleton

func (_m *Container) Singleton(key interface{}, callback func(foundation.Application) (interface{}, error))

Singleton provides a mock function with given fields: key, callback

type Container_BindWith_Call

type Container_BindWith_Call struct {
	*mock.Call
}

Container_BindWith_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BindWith'

func (*Container_BindWith_Call) Return

func (*Container_BindWith_Call) Run

func (_c *Container_BindWith_Call) Run(run func(key interface{}, callback func(foundation.Application, map[string]interface{}) (interface{}, error))) *Container_BindWith_Call

func (*Container_BindWith_Call) RunAndReturn

func (_c *Container_BindWith_Call) RunAndReturn(run func(interface{}, func(foundation.Application, map[string]interface{}) (interface{}, error))) *Container_BindWith_Call

type Container_Bind_Call

type Container_Bind_Call struct {
	*mock.Call
}

Container_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'

func (*Container_Bind_Call) Return

func (*Container_Bind_Call) Run

func (_c *Container_Bind_Call) Run(run func(key interface{}, callback func(foundation.Application) (interface{}, error))) *Container_Bind_Call

func (*Container_Bind_Call) RunAndReturn

func (_c *Container_Bind_Call) RunAndReturn(run func(interface{}, func(foundation.Application) (interface{}, error))) *Container_Bind_Call

type Container_Expecter

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

func (*Container_Expecter) Bind

func (_e *Container_Expecter) Bind(key interface{}, callback interface{}) *Container_Bind_Call

Bind is a helper method to define mock.On call

  • key interface{}
  • callback func(foundation.Application)(interface{} , error)

func (*Container_Expecter) BindWith

func (_e *Container_Expecter) BindWith(key interface{}, callback interface{}) *Container_BindWith_Call

BindWith is a helper method to define mock.On call

  • key interface{}
  • callback func(foundation.Application , map[string]interface{})(interface{} , error)

func (*Container_Expecter) Instance

func (_e *Container_Expecter) Instance(key interface{}, instance interface{}) *Container_Instance_Call

Instance is a helper method to define mock.On call

  • key interface{}
  • instance interface{}

func (*Container_Expecter) Make

func (_e *Container_Expecter) Make(key interface{}) *Container_Make_Call

Make is a helper method to define mock.On call

  • key interface{}

func (*Container_Expecter) MakeArtisan

MakeArtisan is a helper method to define mock.On call

func (*Container_Expecter) MakeAuth

func (_e *Container_Expecter) MakeAuth(ctx interface{}) *Container_MakeAuth_Call

MakeAuth is a helper method to define mock.On call

  • ctx http.Context

func (*Container_Expecter) MakeCache

MakeCache is a helper method to define mock.On call

func (*Container_Expecter) MakeConfig

MakeConfig is a helper method to define mock.On call

func (*Container_Expecter) MakeCrypt

MakeCrypt is a helper method to define mock.On call

func (*Container_Expecter) MakeEvent

MakeEvent is a helper method to define mock.On call

func (*Container_Expecter) MakeGate

MakeGate is a helper method to define mock.On call

func (*Container_Expecter) MakeGrpc

MakeGrpc is a helper method to define mock.On call

func (*Container_Expecter) MakeHash

MakeHash is a helper method to define mock.On call

func (*Container_Expecter) MakeLang

func (_e *Container_Expecter) MakeLang(ctx interface{}) *Container_MakeLang_Call

MakeLang is a helper method to define mock.On call

  • ctx context.Context

func (*Container_Expecter) MakeLog

MakeLog is a helper method to define mock.On call

func (*Container_Expecter) MakeMail

MakeMail is a helper method to define mock.On call

func (*Container_Expecter) MakeOrm

MakeOrm is a helper method to define mock.On call

func (*Container_Expecter) MakeQueue

MakeQueue is a helper method to define mock.On call

func (*Container_Expecter) MakeRateLimiter

func (_e *Container_Expecter) MakeRateLimiter() *Container_MakeRateLimiter_Call

MakeRateLimiter is a helper method to define mock.On call

func (*Container_Expecter) MakeRoute

MakeRoute is a helper method to define mock.On call

func (*Container_Expecter) MakeSchedule

func (_e *Container_Expecter) MakeSchedule() *Container_MakeSchedule_Call

MakeSchedule is a helper method to define mock.On call

func (*Container_Expecter) MakeSeeder

MakeSeeder is a helper method to define mock.On call

func (*Container_Expecter) MakeSession

MakeSession is a helper method to define mock.On call

func (*Container_Expecter) MakeStorage

MakeStorage is a helper method to define mock.On call

func (*Container_Expecter) MakeTesting

MakeTesting is a helper method to define mock.On call

func (*Container_Expecter) MakeValidation

func (_e *Container_Expecter) MakeValidation() *Container_MakeValidation_Call

MakeValidation is a helper method to define mock.On call

func (*Container_Expecter) MakeView

MakeView is a helper method to define mock.On call

func (*Container_Expecter) MakeWith

func (_e *Container_Expecter) MakeWith(key interface{}, parameters interface{}) *Container_MakeWith_Call

MakeWith is a helper method to define mock.On call

  • key interface{}
  • parameters map[string]interface{}

func (*Container_Expecter) Singleton

func (_e *Container_Expecter) Singleton(key interface{}, callback interface{}) *Container_Singleton_Call

Singleton is a helper method to define mock.On call

  • key interface{}
  • callback func(foundation.Application)(interface{} , error)

type Container_Instance_Call

type Container_Instance_Call struct {
	*mock.Call
}

Container_Instance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Instance'

func (*Container_Instance_Call) Return

func (*Container_Instance_Call) Run

func (_c *Container_Instance_Call) Run(run func(key interface{}, instance interface{})) *Container_Instance_Call

func (*Container_Instance_Call) RunAndReturn

func (_c *Container_Instance_Call) RunAndReturn(run func(interface{}, interface{})) *Container_Instance_Call

type Container_MakeArtisan_Call

type Container_MakeArtisan_Call struct {
	*mock.Call
}

Container_MakeArtisan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeArtisan'

func (*Container_MakeArtisan_Call) Return

func (*Container_MakeArtisan_Call) Run

func (*Container_MakeArtisan_Call) RunAndReturn

type Container_MakeAuth_Call

type Container_MakeAuth_Call struct {
	*mock.Call
}

Container_MakeAuth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeAuth'

func (*Container_MakeAuth_Call) Return

func (*Container_MakeAuth_Call) Run

func (*Container_MakeAuth_Call) RunAndReturn

type Container_MakeCache_Call

type Container_MakeCache_Call struct {
	*mock.Call
}

Container_MakeCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeCache'

func (*Container_MakeCache_Call) Return

func (*Container_MakeCache_Call) Run

func (*Container_MakeCache_Call) RunAndReturn

func (_c *Container_MakeCache_Call) RunAndReturn(run func() cache.Cache) *Container_MakeCache_Call

type Container_MakeConfig_Call

type Container_MakeConfig_Call struct {
	*mock.Call
}

Container_MakeConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeConfig'

func (*Container_MakeConfig_Call) Return

func (*Container_MakeConfig_Call) Run

func (*Container_MakeConfig_Call) RunAndReturn

func (_c *Container_MakeConfig_Call) RunAndReturn(run func() config.Config) *Container_MakeConfig_Call

type Container_MakeCrypt_Call

type Container_MakeCrypt_Call struct {
	*mock.Call
}

Container_MakeCrypt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeCrypt'

func (*Container_MakeCrypt_Call) Return

func (*Container_MakeCrypt_Call) Run

func (*Container_MakeCrypt_Call) RunAndReturn

func (_c *Container_MakeCrypt_Call) RunAndReturn(run func() crypt.Crypt) *Container_MakeCrypt_Call

type Container_MakeEvent_Call

type Container_MakeEvent_Call struct {
	*mock.Call
}

Container_MakeEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeEvent'

func (*Container_MakeEvent_Call) Return

func (*Container_MakeEvent_Call) Run

func (*Container_MakeEvent_Call) RunAndReturn

func (_c *Container_MakeEvent_Call) RunAndReturn(run func() event.Instance) *Container_MakeEvent_Call

type Container_MakeGate_Call

type Container_MakeGate_Call struct {
	*mock.Call
}

Container_MakeGate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeGate'

func (*Container_MakeGate_Call) Return

func (*Container_MakeGate_Call) Run

func (_c *Container_MakeGate_Call) Run(run func()) *Container_MakeGate_Call

func (*Container_MakeGate_Call) RunAndReturn

func (_c *Container_MakeGate_Call) RunAndReturn(run func() access.Gate) *Container_MakeGate_Call

type Container_MakeGrpc_Call

type Container_MakeGrpc_Call struct {
	*mock.Call
}

Container_MakeGrpc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeGrpc'

func (*Container_MakeGrpc_Call) Return

func (*Container_MakeGrpc_Call) Run

func (_c *Container_MakeGrpc_Call) Run(run func()) *Container_MakeGrpc_Call

func (*Container_MakeGrpc_Call) RunAndReturn

func (_c *Container_MakeGrpc_Call) RunAndReturn(run func() grpc.Grpc) *Container_MakeGrpc_Call

type Container_MakeHash_Call

type Container_MakeHash_Call struct {
	*mock.Call
}

Container_MakeHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeHash'

func (*Container_MakeHash_Call) Return

func (*Container_MakeHash_Call) Run

func (_c *Container_MakeHash_Call) Run(run func()) *Container_MakeHash_Call

func (*Container_MakeHash_Call) RunAndReturn

func (_c *Container_MakeHash_Call) RunAndReturn(run func() hash.Hash) *Container_MakeHash_Call

type Container_MakeLang_Call

type Container_MakeLang_Call struct {
	*mock.Call
}

Container_MakeLang_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeLang'

func (*Container_MakeLang_Call) Return

func (*Container_MakeLang_Call) Run

func (*Container_MakeLang_Call) RunAndReturn

type Container_MakeLog_Call

type Container_MakeLog_Call struct {
	*mock.Call
}

Container_MakeLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeLog'

func (*Container_MakeLog_Call) Return

func (*Container_MakeLog_Call) Run

func (_c *Container_MakeLog_Call) Run(run func()) *Container_MakeLog_Call

func (*Container_MakeLog_Call) RunAndReturn

func (_c *Container_MakeLog_Call) RunAndReturn(run func() log.Log) *Container_MakeLog_Call

type Container_MakeMail_Call

type Container_MakeMail_Call struct {
	*mock.Call
}

Container_MakeMail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeMail'

func (*Container_MakeMail_Call) Return

func (*Container_MakeMail_Call) Run

func (_c *Container_MakeMail_Call) Run(run func()) *Container_MakeMail_Call

func (*Container_MakeMail_Call) RunAndReturn

func (_c *Container_MakeMail_Call) RunAndReturn(run func() mail.Mail) *Container_MakeMail_Call

type Container_MakeOrm_Call

type Container_MakeOrm_Call struct {
	*mock.Call
}

Container_MakeOrm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeOrm'

func (*Container_MakeOrm_Call) Return

func (*Container_MakeOrm_Call) Run

func (_c *Container_MakeOrm_Call) Run(run func()) *Container_MakeOrm_Call

func (*Container_MakeOrm_Call) RunAndReturn

func (_c *Container_MakeOrm_Call) RunAndReturn(run func() orm.Orm) *Container_MakeOrm_Call

type Container_MakeQueue_Call

type Container_MakeQueue_Call struct {
	*mock.Call
}

Container_MakeQueue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeQueue'

func (*Container_MakeQueue_Call) Return

func (*Container_MakeQueue_Call) Run

func (*Container_MakeQueue_Call) RunAndReturn

func (_c *Container_MakeQueue_Call) RunAndReturn(run func() queue.Queue) *Container_MakeQueue_Call

type Container_MakeRateLimiter_Call

type Container_MakeRateLimiter_Call struct {
	*mock.Call
}

Container_MakeRateLimiter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeRateLimiter'

func (*Container_MakeRateLimiter_Call) Return

func (*Container_MakeRateLimiter_Call) Run

func (*Container_MakeRateLimiter_Call) RunAndReturn

type Container_MakeRoute_Call

type Container_MakeRoute_Call struct {
	*mock.Call
}

Container_MakeRoute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeRoute'

func (*Container_MakeRoute_Call) Return

func (*Container_MakeRoute_Call) Run

func (*Container_MakeRoute_Call) RunAndReturn

func (_c *Container_MakeRoute_Call) RunAndReturn(run func() route.Route) *Container_MakeRoute_Call

type Container_MakeSchedule_Call

type Container_MakeSchedule_Call struct {
	*mock.Call
}

Container_MakeSchedule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeSchedule'

func (*Container_MakeSchedule_Call) Return

func (*Container_MakeSchedule_Call) Run

func (*Container_MakeSchedule_Call) RunAndReturn

type Container_MakeSeeder_Call

type Container_MakeSeeder_Call struct {
	*mock.Call
}

Container_MakeSeeder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeSeeder'

func (*Container_MakeSeeder_Call) Return

func (*Container_MakeSeeder_Call) Run

func (*Container_MakeSeeder_Call) RunAndReturn

func (_c *Container_MakeSeeder_Call) RunAndReturn(run func() seeder.Facade) *Container_MakeSeeder_Call

type Container_MakeSession_Call

type Container_MakeSession_Call struct {
	*mock.Call
}

Container_MakeSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeSession'

func (*Container_MakeSession_Call) Return

func (*Container_MakeSession_Call) Run

func (*Container_MakeSession_Call) RunAndReturn

type Container_MakeStorage_Call

type Container_MakeStorage_Call struct {
	*mock.Call
}

Container_MakeStorage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeStorage'

func (*Container_MakeStorage_Call) Return

func (*Container_MakeStorage_Call) Run

func (*Container_MakeStorage_Call) RunAndReturn

type Container_MakeTesting_Call

type Container_MakeTesting_Call struct {
	*mock.Call
}

Container_MakeTesting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeTesting'

func (*Container_MakeTesting_Call) Return

func (*Container_MakeTesting_Call) Run

func (*Container_MakeTesting_Call) RunAndReturn

type Container_MakeValidation_Call

type Container_MakeValidation_Call struct {
	*mock.Call
}

Container_MakeValidation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeValidation'

func (*Container_MakeValidation_Call) Return

func (*Container_MakeValidation_Call) Run

func (*Container_MakeValidation_Call) RunAndReturn

type Container_MakeView_Call

type Container_MakeView_Call struct {
	*mock.Call
}

Container_MakeView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeView'

func (*Container_MakeView_Call) Return

func (*Container_MakeView_Call) Run

func (_c *Container_MakeView_Call) Run(run func()) *Container_MakeView_Call

func (*Container_MakeView_Call) RunAndReturn

func (_c *Container_MakeView_Call) RunAndReturn(run func() http.View) *Container_MakeView_Call

type Container_MakeWith_Call

type Container_MakeWith_Call struct {
	*mock.Call
}

Container_MakeWith_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeWith'

func (*Container_MakeWith_Call) Return

func (_c *Container_MakeWith_Call) Return(_a0 interface{}, _a1 error) *Container_MakeWith_Call

func (*Container_MakeWith_Call) Run

func (_c *Container_MakeWith_Call) Run(run func(key interface{}, parameters map[string]interface{})) *Container_MakeWith_Call

func (*Container_MakeWith_Call) RunAndReturn

func (_c *Container_MakeWith_Call) RunAndReturn(run func(interface{}, map[string]interface{}) (interface{}, error)) *Container_MakeWith_Call

type Container_Make_Call

type Container_Make_Call struct {
	*mock.Call
}

Container_Make_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Make'

func (*Container_Make_Call) Return

func (_c *Container_Make_Call) Return(_a0 interface{}, _a1 error) *Container_Make_Call

func (*Container_Make_Call) Run

func (_c *Container_Make_Call) Run(run func(key interface{})) *Container_Make_Call

func (*Container_Make_Call) RunAndReturn

func (_c *Container_Make_Call) RunAndReturn(run func(interface{}) (interface{}, error)) *Container_Make_Call

type Container_Singleton_Call

type Container_Singleton_Call struct {
	*mock.Call
}

Container_Singleton_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Singleton'

func (*Container_Singleton_Call) Return

func (*Container_Singleton_Call) Run

func (_c *Container_Singleton_Call) Run(run func(key interface{}, callback func(foundation.Application) (interface{}, error))) *Container_Singleton_Call

func (*Container_Singleton_Call) RunAndReturn

func (_c *Container_Singleton_Call) RunAndReturn(run func(interface{}, func(foundation.Application) (interface{}, error))) *Container_Singleton_Call

type Json

type Json struct {
	mock.Mock
}

Json is an autogenerated mock type for the Json type

func NewJson

func NewJson(t interface {
	mock.TestingT
	Cleanup(func())
}) *Json

NewJson creates a new instance of Json. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Json) EXPECT

func (_m *Json) EXPECT() *Json_Expecter

func (*Json) Marshal

func (_m *Json) Marshal(_a0 interface{}) ([]byte, error)

Marshal provides a mock function with given fields: _a0

func (*Json) Unmarshal

func (_m *Json) Unmarshal(_a0 []byte, _a1 interface{}) error

Unmarshal provides a mock function with given fields: _a0, _a1

type Json_Expecter

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

func (*Json_Expecter) Marshal

func (_e *Json_Expecter) Marshal(_a0 interface{}) *Json_Marshal_Call

Marshal is a helper method to define mock.On call

  • _a0 interface{}

func (*Json_Expecter) Unmarshal

func (_e *Json_Expecter) Unmarshal(_a0 interface{}, _a1 interface{}) *Json_Unmarshal_Call

Unmarshal is a helper method to define mock.On call

  • _a0 []byte
  • _a1 interface{}

type Json_Marshal_Call

type Json_Marshal_Call struct {
	*mock.Call
}

Json_Marshal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Marshal'

func (*Json_Marshal_Call) Return

func (_c *Json_Marshal_Call) Return(_a0 []byte, _a1 error) *Json_Marshal_Call

func (*Json_Marshal_Call) Run

func (_c *Json_Marshal_Call) Run(run func(_a0 interface{})) *Json_Marshal_Call

func (*Json_Marshal_Call) RunAndReturn

func (_c *Json_Marshal_Call) RunAndReturn(run func(interface{}) ([]byte, error)) *Json_Marshal_Call

type Json_Unmarshal_Call

type Json_Unmarshal_Call struct {
	*mock.Call
}

Json_Unmarshal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unmarshal'

func (*Json_Unmarshal_Call) Return

func (*Json_Unmarshal_Call) Run

func (_c *Json_Unmarshal_Call) Run(run func(_a0 []byte, _a1 interface{})) *Json_Unmarshal_Call

func (*Json_Unmarshal_Call) RunAndReturn

func (_c *Json_Unmarshal_Call) RunAndReturn(run func([]byte, interface{}) error) *Json_Unmarshal_Call

type ServiceProvider

type ServiceProvider struct {
	mock.Mock
}

ServiceProvider is an autogenerated mock type for the ServiceProvider type

func NewServiceProvider

func NewServiceProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *ServiceProvider

NewServiceProvider creates a new instance of ServiceProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ServiceProvider) Boot

func (_m *ServiceProvider) Boot(app foundation.Application)

Boot provides a mock function with given fields: app

func (*ServiceProvider) EXPECT

func (*ServiceProvider) Register

func (_m *ServiceProvider) Register(app foundation.Application)

Register provides a mock function with given fields: app

type ServiceProvider_Boot_Call

type ServiceProvider_Boot_Call struct {
	*mock.Call
}

ServiceProvider_Boot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Boot'

func (*ServiceProvider_Boot_Call) Return

func (*ServiceProvider_Boot_Call) Run

func (*ServiceProvider_Boot_Call) RunAndReturn

type ServiceProvider_Expecter

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

func (*ServiceProvider_Expecter) Boot

func (_e *ServiceProvider_Expecter) Boot(app interface{}) *ServiceProvider_Boot_Call

Boot is a helper method to define mock.On call

  • app foundation.Application

func (*ServiceProvider_Expecter) Register

func (_e *ServiceProvider_Expecter) Register(app interface{}) *ServiceProvider_Register_Call

Register is a helper method to define mock.On call

  • app foundation.Application

type ServiceProvider_Register_Call

type ServiceProvider_Register_Call struct {
	*mock.Call
}

ServiceProvider_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'

func (*ServiceProvider_Register_Call) Return

func (*ServiceProvider_Register_Call) Run

func (*ServiceProvider_Register_Call) RunAndReturn

Jump to

Keyboard shortcuts

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