foundation

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 34 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) About added in v1.15.0

func (_m *Application) About(section string, items []foundation.AboutItem)

About provides a mock function with given fields: section, items

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) Bindings added in v1.15.12

func (_m *Application) Bindings() []interface{}

Bindings provides a mock function with no fields

func (*Application) Boot

func (_m *Application) Boot()

Boot provides a mock function with no fields

func (*Application) BootstrapPath added in v1.17.0

func (_m *Application) BootstrapPath(path ...string) string

BootstrapPath provides a mock function with given fields: path

func (*Application) Build added in v1.17.0

func (_m *Application) Build() foundation.Application

Build provides a mock function with no 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) Context added in v1.17.0

func (_m *Application) Context() context.Context

Context provides a mock function with no fields

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(path ...string) string

ExecutablePath provides a mock function with given fields: path

func (*Application) FacadesPath added in v1.15.12

func (_m *Application) FacadesPath(path ...string) string

FacadesPath provides a mock function with given fields: path

func (*Application) Fresh added in v1.15.12

func (_m *Application) Fresh(bindings ...interface{})

Fresh provides a mock function with given fields: bindings

func (*Application) GetJson

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

GetJson provides a mock function with no 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) Json added in v1.17.0

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

Json provides a mock function with no fields

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 no 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 no fields

func (*Application) MakeConfig

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

MakeConfig provides a mock function with no fields

func (*Application) MakeCrypt

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

MakeCrypt provides a mock function with no fields

func (*Application) MakeDB added in v1.15.12

func (_m *Application) MakeDB() db.DB

MakeDB provides a mock function with no fields

func (*Application) MakeEvent

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

MakeEvent provides a mock function with no fields

func (*Application) MakeGate

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

MakeGate provides a mock function with no fields

func (*Application) MakeGrpc

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

MakeGrpc provides a mock function with no fields

func (*Application) MakeHash

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

MakeHash provides a mock function with no fields

func (*Application) MakeHttp added in v1.15.12

func (_m *Application) MakeHttp() client.Factory

MakeHttp provides a mock function with no 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 no fields

func (*Application) MakeMail

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

MakeMail provides a mock function with no fields

func (*Application) MakeOrm

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

MakeOrm provides a mock function with no fields

func (*Application) MakeProcess added in v1.17.0

func (_m *Application) MakeProcess() process.Process

MakeProcess provides a mock function with no fields

func (*Application) MakeQueue

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

MakeQueue provides a mock function with no fields

func (*Application) MakeRateLimiter

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

MakeRateLimiter provides a mock function with no fields

func (*Application) MakeRoute

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

MakeRoute provides a mock function with no fields

func (*Application) MakeSchedule

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

MakeSchedule provides a mock function with no fields

func (*Application) MakeSchema added in v1.15.0

func (_m *Application) MakeSchema() schema.Schema

MakeSchema provides a mock function with no fields

func (*Application) MakeSeeder

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

MakeSeeder provides a mock function with no fields

func (*Application) MakeSession

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

MakeSession provides a mock function with no fields

func (*Application) MakeStorage

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

MakeStorage provides a mock function with no fields

func (*Application) MakeTesting

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

MakeTesting provides a mock function with no fields

func (*Application) MakeValidation

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

MakeValidation provides a mock function with no fields

func (*Application) MakeView

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

MakeView provides a mock function with no 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) ModelPath added in v1.17.0

func (_m *Application) ModelPath(path ...string) string

ModelPath provides a mock function with given fields: path

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) Refresh added in v1.15.0

func (_m *Application) Refresh()

Refresh provides a mock function with no fields

func (*Application) ResourcePath added in v1.15.12

func (_m *Application) ResourcePath(path ...string) string

ResourcePath provides a mock function with given fields: path

func (*Application) Restart added in v1.17.0

func (_m *Application) Restart() error

Restart provides a mock function with no fields

func (*Application) SetBuilder added in v1.17.0

SetBuilder provides a mock function with given fields: builder

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) Shutdown added in v1.17.0

func (_m *Application) Shutdown() error

Shutdown provides a mock function with no fields

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) Start added in v1.17.0

func (_m *Application) Start()

Start provides a mock function with no fields

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 no fields

type ApplicationBuilder added in v1.17.0

type ApplicationBuilder struct {
	mock.Mock
}

ApplicationBuilder is an autogenerated mock type for the ApplicationBuilder type

func NewApplicationBuilder added in v1.17.0

func NewApplicationBuilder(t interface {
	mock.TestingT
	Cleanup(func())
}) *ApplicationBuilder

NewApplicationBuilder creates a new instance of ApplicationBuilder. 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 (*ApplicationBuilder) Create added in v1.17.0

Create provides a mock function with no fields

func (*ApplicationBuilder) EXPECT added in v1.17.0

func (*ApplicationBuilder) WithCallback added in v1.17.0

func (_m *ApplicationBuilder) WithCallback(_a0 func()) foundation.ApplicationBuilder

WithCallback provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithCommands added in v1.17.0

func (_m *ApplicationBuilder) WithCommands(_a0 func() []console.Command) foundation.ApplicationBuilder

WithCommands provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithConfig added in v1.17.0

func (_m *ApplicationBuilder) WithConfig(_a0 func()) foundation.ApplicationBuilder

WithConfig provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithEvents added in v1.17.0

func (_m *ApplicationBuilder) WithEvents(_a0 func() map[event.Event][]event.Listener) foundation.ApplicationBuilder

WithEvents provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithFilters added in v1.17.0

func (_m *ApplicationBuilder) WithFilters(_a0 func() []validation.Filter) foundation.ApplicationBuilder

WithFilters provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithGrpcClientInterceptors added in v1.17.0

func (_m *ApplicationBuilder) WithGrpcClientInterceptors(_a0 func() map[string][]grpc.UnaryClientInterceptor) foundation.ApplicationBuilder

WithGrpcClientInterceptors provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithGrpcClientStatsHandlers added in v1.17.0

func (_m *ApplicationBuilder) WithGrpcClientStatsHandlers(_a0 func() map[string][]stats.Handler) foundation.ApplicationBuilder

WithGrpcClientStatsHandlers provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithGrpcServerInterceptors added in v1.17.0

func (_m *ApplicationBuilder) WithGrpcServerInterceptors(_a0 func() []grpc.UnaryServerInterceptor) foundation.ApplicationBuilder

WithGrpcServerInterceptors provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithGrpcServerStatsHandlers added in v1.17.0

func (_m *ApplicationBuilder) WithGrpcServerStatsHandlers(_a0 func() []stats.Handler) foundation.ApplicationBuilder

WithGrpcServerStatsHandlers provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithJobs added in v1.17.0

func (_m *ApplicationBuilder) WithJobs(_a0 func() []queue.Job) foundation.ApplicationBuilder

WithJobs provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithMiddleware added in v1.17.0

WithMiddleware provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithMigrations added in v1.17.0

func (_m *ApplicationBuilder) WithMigrations(_a0 func() []schema.Migration) foundation.ApplicationBuilder

WithMigrations provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithPaths added in v1.17.0

WithPaths provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithProviders added in v1.17.0

WithProviders provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithRouting added in v1.17.0

func (_m *ApplicationBuilder) WithRouting(_a0 func()) foundation.ApplicationBuilder

WithRouting provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithRules added in v1.17.0

func (_m *ApplicationBuilder) WithRules(_a0 func() []validation.Rule) foundation.ApplicationBuilder

WithRules provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithRunners added in v1.17.0

func (_m *ApplicationBuilder) WithRunners(_a0 func() []foundation.Runner) foundation.ApplicationBuilder

WithRunners provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithSchedule added in v1.17.0

func (_m *ApplicationBuilder) WithSchedule(_a0 func() []schedule.Event) foundation.ApplicationBuilder

WithSchedule provides a mock function with given fields: _a0

func (*ApplicationBuilder) WithSeeders added in v1.17.0

func (_m *ApplicationBuilder) WithSeeders(_a0 func() []seeder.Seeder) foundation.ApplicationBuilder

WithSeeders provides a mock function with given fields: _a0

type ApplicationBuilder_Create_Call added in v1.17.0

type ApplicationBuilder_Create_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_Create_Call) Return added in v1.17.0

func (*ApplicationBuilder_Create_Call) Run added in v1.17.0

func (*ApplicationBuilder_Create_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_Expecter added in v1.17.0

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

func (*ApplicationBuilder_Expecter) Create added in v1.17.0

Create is a helper method to define mock.On call

func (*ApplicationBuilder_Expecter) WithCallback added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithCallback(_a0 interface{}) *ApplicationBuilder_WithCallback_Call

WithCallback is a helper method to define mock.On call

  • _a0 func()

func (*ApplicationBuilder_Expecter) WithCommands added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithCommands(_a0 interface{}) *ApplicationBuilder_WithCommands_Call

WithCommands is a helper method to define mock.On call

  • _a0 func() []console.Command

func (*ApplicationBuilder_Expecter) WithConfig added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithConfig(_a0 interface{}) *ApplicationBuilder_WithConfig_Call

WithConfig is a helper method to define mock.On call

  • _a0 func()

func (*ApplicationBuilder_Expecter) WithEvents added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithEvents(_a0 interface{}) *ApplicationBuilder_WithEvents_Call

WithEvents is a helper method to define mock.On call

  • _a0 func() map[event.Event][]event.Listener

func (*ApplicationBuilder_Expecter) WithFilters added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithFilters(_a0 interface{}) *ApplicationBuilder_WithFilters_Call

WithFilters is a helper method to define mock.On call

  • _a0 func() []validation.Filter

func (*ApplicationBuilder_Expecter) WithGrpcClientInterceptors added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithGrpcClientInterceptors(_a0 interface{}) *ApplicationBuilder_WithGrpcClientInterceptors_Call

WithGrpcClientInterceptors is a helper method to define mock.On call

  • _a0 func() map[string][]grpc.UnaryClientInterceptor

func (*ApplicationBuilder_Expecter) WithGrpcClientStatsHandlers added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithGrpcClientStatsHandlers(_a0 interface{}) *ApplicationBuilder_WithGrpcClientStatsHandlers_Call

WithGrpcClientStatsHandlers is a helper method to define mock.On call

  • _a0 func() map[string][]stats.Handler

func (*ApplicationBuilder_Expecter) WithGrpcServerInterceptors added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithGrpcServerInterceptors(_a0 interface{}) *ApplicationBuilder_WithGrpcServerInterceptors_Call

WithGrpcServerInterceptors is a helper method to define mock.On call

  • _a0 func() []grpc.UnaryServerInterceptor

func (*ApplicationBuilder_Expecter) WithGrpcServerStatsHandlers added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithGrpcServerStatsHandlers(_a0 interface{}) *ApplicationBuilder_WithGrpcServerStatsHandlers_Call

WithGrpcServerStatsHandlers is a helper method to define mock.On call

  • _a0 func() []stats.Handler

func (*ApplicationBuilder_Expecter) WithJobs added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithJobs(_a0 interface{}) *ApplicationBuilder_WithJobs_Call

WithJobs is a helper method to define mock.On call

  • _a0 func() []queue.Job

func (*ApplicationBuilder_Expecter) WithMiddleware added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithMiddleware(_a0 interface{}) *ApplicationBuilder_WithMiddleware_Call

WithMiddleware is a helper method to define mock.On call

  • _a0 func(configuration.Middleware)

func (*ApplicationBuilder_Expecter) WithMigrations added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithMigrations(_a0 interface{}) *ApplicationBuilder_WithMigrations_Call

WithMigrations is a helper method to define mock.On call

  • _a0 func() []schema.Migration

func (*ApplicationBuilder_Expecter) WithPaths added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithPaths(_a0 interface{}) *ApplicationBuilder_WithPaths_Call

WithPaths is a helper method to define mock.On call

  • _a0 func(configuration.Paths)

func (*ApplicationBuilder_Expecter) WithProviders added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithProviders(_a0 interface{}) *ApplicationBuilder_WithProviders_Call

WithProviders is a helper method to define mock.On call

  • _a0 func() []foundation.ServiceProvider

func (*ApplicationBuilder_Expecter) WithRouting added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithRouting(_a0 interface{}) *ApplicationBuilder_WithRouting_Call

WithRouting is a helper method to define mock.On call

  • _a0 func()

func (*ApplicationBuilder_Expecter) WithRules added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithRules(_a0 interface{}) *ApplicationBuilder_WithRules_Call

WithRules is a helper method to define mock.On call

  • _a0 func() []validation.Rule

func (*ApplicationBuilder_Expecter) WithRunners added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithRunners(_a0 interface{}) *ApplicationBuilder_WithRunners_Call

WithRunners is a helper method to define mock.On call

  • _a0 func() []foundation.Runner

func (*ApplicationBuilder_Expecter) WithSchedule added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithSchedule(_a0 interface{}) *ApplicationBuilder_WithSchedule_Call

WithSchedule is a helper method to define mock.On call

  • _a0 func() []schedule.Event

func (*ApplicationBuilder_Expecter) WithSeeders added in v1.17.0

func (_e *ApplicationBuilder_Expecter) WithSeeders(_a0 interface{}) *ApplicationBuilder_WithSeeders_Call

WithSeeders is a helper method to define mock.On call

  • _a0 func() []seeder.Seeder

type ApplicationBuilder_WithCallback_Call added in v1.17.0

type ApplicationBuilder_WithCallback_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithCallback_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithCallback_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithCallback_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithCommands_Call added in v1.17.0

type ApplicationBuilder_WithCommands_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithCommands_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithCommands_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithCommands_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithConfig_Call added in v1.17.0

type ApplicationBuilder_WithConfig_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithConfig_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithConfig_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithConfig_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithEvents_Call added in v1.17.0

type ApplicationBuilder_WithEvents_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithEvents_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithEvents_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithEvents_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithFilters_Call added in v1.17.0

type ApplicationBuilder_WithFilters_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithFilters_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithFilters_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithFilters_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithGrpcClientInterceptors_Call added in v1.17.0

type ApplicationBuilder_WithGrpcClientInterceptors_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithGrpcClientInterceptors_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithGrpcClientInterceptors_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithGrpcClientInterceptors_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithGrpcClientStatsHandlers_Call added in v1.17.0

type ApplicationBuilder_WithGrpcClientStatsHandlers_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithGrpcClientStatsHandlers_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithGrpcClientStatsHandlers_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithGrpcClientStatsHandlers_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithGrpcServerInterceptors_Call added in v1.17.0

type ApplicationBuilder_WithGrpcServerInterceptors_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithGrpcServerInterceptors_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithGrpcServerInterceptors_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithGrpcServerInterceptors_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithGrpcServerStatsHandlers_Call added in v1.17.0

type ApplicationBuilder_WithGrpcServerStatsHandlers_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithGrpcServerStatsHandlers_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithGrpcServerStatsHandlers_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithGrpcServerStatsHandlers_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithJobs_Call added in v1.17.0

type ApplicationBuilder_WithJobs_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithJobs_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithJobs_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithJobs_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithMiddleware_Call added in v1.17.0

type ApplicationBuilder_WithMiddleware_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithMiddleware_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithMiddleware_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithMiddleware_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithMigrations_Call added in v1.17.0

type ApplicationBuilder_WithMigrations_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithMigrations_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithMigrations_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithMigrations_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithPaths_Call added in v1.17.0

type ApplicationBuilder_WithPaths_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithPaths_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithPaths_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithPaths_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithProviders_Call added in v1.17.0

type ApplicationBuilder_WithProviders_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithProviders_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithProviders_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithProviders_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithRouting_Call added in v1.17.0

type ApplicationBuilder_WithRouting_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithRouting_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithRouting_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithRouting_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithRules_Call added in v1.17.0

type ApplicationBuilder_WithRules_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithRules_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithRules_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithRules_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithRunners_Call added in v1.17.0

type ApplicationBuilder_WithRunners_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithRunners_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithRunners_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithRunners_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithSchedule_Call added in v1.17.0

type ApplicationBuilder_WithSchedule_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithSchedule_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithSchedule_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithSchedule_Call) RunAndReturn added in v1.17.0

type ApplicationBuilder_WithSeeders_Call added in v1.17.0

type ApplicationBuilder_WithSeeders_Call struct {
	*mock.Call
}

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

func (*ApplicationBuilder_WithSeeders_Call) Return added in v1.17.0

func (*ApplicationBuilder_WithSeeders_Call) Run added in v1.17.0

func (*ApplicationBuilder_WithSeeders_Call) RunAndReturn added in v1.17.0

type Application_About_Call added in v1.15.0

type Application_About_Call struct {
	*mock.Call
}

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

func (*Application_About_Call) Return added in v1.15.0

func (*Application_About_Call) Run added in v1.15.0

func (_c *Application_About_Call) Run(run func(section string, items []foundation.AboutItem)) *Application_About_Call

func (*Application_About_Call) RunAndReturn added in v1.15.0

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 (_c *Application_BasePath_Call) Run(run func(path ...string)) *Application_BasePath_Call

func (*Application_BasePath_Call) RunAndReturn

func (_c *Application_BasePath_Call) RunAndReturn(run func(...string) string) *Application_BasePath_Call

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_Bindings_Call added in v1.15.12

type Application_Bindings_Call struct {
	*mock.Call
}

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

func (*Application_Bindings_Call) Return added in v1.15.12

func (_c *Application_Bindings_Call) Return(_a0 []interface{}) *Application_Bindings_Call

func (*Application_Bindings_Call) Run added in v1.15.12

func (*Application_Bindings_Call) RunAndReturn added in v1.15.12

func (_c *Application_Bindings_Call) RunAndReturn(run func() []interface{}) *Application_Bindings_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_BootstrapPath_Call added in v1.17.0

type Application_BootstrapPath_Call struct {
	*mock.Call
}

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

func (*Application_BootstrapPath_Call) Return added in v1.17.0

func (*Application_BootstrapPath_Call) Run added in v1.17.0

func (*Application_BootstrapPath_Call) RunAndReturn added in v1.17.0

type Application_Build_Call added in v1.17.0

type Application_Build_Call struct {
	*mock.Call
}

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

func (*Application_Build_Call) Return added in v1.17.0

func (*Application_Build_Call) Run added in v1.17.0

func (_c *Application_Build_Call) Run(run func()) *Application_Build_Call

func (*Application_Build_Call) RunAndReturn added in v1.17.0

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

func (_c *Application_ConfigPath_Call) RunAndReturn(run func(...string) string) *Application_ConfigPath_Call

type Application_Context_Call added in v1.17.0

type Application_Context_Call struct {
	*mock.Call
}

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

func (*Application_Context_Call) Return added in v1.17.0

func (*Application_Context_Call) Run added in v1.17.0

func (*Application_Context_Call) RunAndReturn added in v1.17.0

func (_c *Application_Context_Call) RunAndReturn(run func() context.Context) *Application_Context_Call

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) About added in v1.15.0

func (_e *Application_Expecter) About(section interface{}, items interface{}) *Application_About_Call

About is a helper method to define mock.On call

  • section string
  • items []foundation.AboutItem

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) Bindings added in v1.15.12

Bindings is a helper method to define mock.On call

func (*Application_Expecter) Boot

Boot is a helper method to define mock.On call

func (*Application_Expecter) BootstrapPath added in v1.17.0

func (_e *Application_Expecter) BootstrapPath(path ...interface{}) *Application_BootstrapPath_Call

BootstrapPath is a helper method to define mock.On call

  • path ...string

func (*Application_Expecter) Build added in v1.17.0

Build 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) Context added in v1.17.0

Context is a helper method to define mock.On call

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

func (_e *Application_Expecter) ExecutablePath(path ...interface{}) *Application_ExecutablePath_Call

ExecutablePath is a helper method to define mock.On call

  • path ...string

func (*Application_Expecter) FacadesPath added in v1.15.12

func (_e *Application_Expecter) FacadesPath(path ...interface{}) *Application_FacadesPath_Call

FacadesPath is a helper method to define mock.On call

  • path ...string

func (*Application_Expecter) Fresh added in v1.15.12

func (_e *Application_Expecter) Fresh(bindings ...interface{}) *Application_Fresh_Call

Fresh is a helper method to define mock.On call

  • bindings ...interface{}

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) Json added in v1.17.0

Json is a helper method to define mock.On call

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) MakeDB added in v1.15.12

MakeDB 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) MakeHttp added in v1.15.12

MakeHttp 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) MakeProcess added in v1.17.0

MakeProcess 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) MakeSchema added in v1.15.0

MakeSchema 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) ModelPath added in v1.17.0

func (_e *Application_Expecter) ModelPath(path ...interface{}) *Application_ModelPath_Call

ModelPath is a helper method to define mock.On call

  • path ...string

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) Refresh added in v1.15.0

Refresh is a helper method to define mock.On call

func (*Application_Expecter) ResourcePath added in v1.15.12

func (_e *Application_Expecter) ResourcePath(path ...interface{}) *Application_ResourcePath_Call

ResourcePath is a helper method to define mock.On call

  • path ...string

func (*Application_Expecter) Restart added in v1.17.0

Restart is a helper method to define mock.On call

func (*Application_Expecter) SetBuilder added in v1.17.0

func (_e *Application_Expecter) SetBuilder(builder interface{}) *Application_SetBuilder_Call

SetBuilder is a helper method to define mock.On call

  • builder foundation.ApplicationBuilder

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) Shutdown added in v1.17.0

Shutdown is a helper method to define mock.On call

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) Start added in v1.17.0

Start is a helper method to define mock.On call

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_FacadesPath_Call added in v1.15.12

type Application_FacadesPath_Call struct {
	*mock.Call
}

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

func (*Application_FacadesPath_Call) Return added in v1.15.12

func (*Application_FacadesPath_Call) Run added in v1.15.12

func (*Application_FacadesPath_Call) RunAndReturn added in v1.15.12

type Application_Fresh_Call added in v1.15.12

type Application_Fresh_Call struct {
	*mock.Call
}

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

func (*Application_Fresh_Call) Return added in v1.15.12

func (*Application_Fresh_Call) Run added in v1.15.12

func (_c *Application_Fresh_Call) Run(run func(bindings ...interface{})) *Application_Fresh_Call

func (*Application_Fresh_Call) RunAndReturn added in v1.15.12

func (_c *Application_Fresh_Call) RunAndReturn(run func(...interface{})) *Application_Fresh_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_Json_Call added in v1.17.0

type Application_Json_Call struct {
	*mock.Call
}

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

func (*Application_Json_Call) Return added in v1.17.0

func (*Application_Json_Call) Run added in v1.17.0

func (_c *Application_Json_Call) Run(run func()) *Application_Json_Call

func (*Application_Json_Call) RunAndReturn added in v1.17.0

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

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 (_c *Application_LangPath_Call) Run(run func(path ...string)) *Application_LangPath_Call

func (*Application_LangPath_Call) RunAndReturn

func (_c *Application_LangPath_Call) RunAndReturn(run func(...string) string) *Application_LangPath_Call

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

func (_c *Application_MakeAuth_Call) RunAndReturn(run func(...http.Context) auth.Auth) *Application_MakeAuth_Call

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_MakeDB_Call added in v1.15.12

type Application_MakeDB_Call struct {
	*mock.Call
}

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

func (*Application_MakeDB_Call) Return added in v1.15.12

func (*Application_MakeDB_Call) Run added in v1.15.12

func (_c *Application_MakeDB_Call) Run(run func()) *Application_MakeDB_Call

func (*Application_MakeDB_Call) RunAndReturn added in v1.15.12

func (_c *Application_MakeDB_Call) RunAndReturn(run func() db.DB) *Application_MakeDB_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_MakeHttp_Call added in v1.15.12

type Application_MakeHttp_Call struct {
	*mock.Call
}

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

func (*Application_MakeHttp_Call) Return added in v1.15.12

func (*Application_MakeHttp_Call) Run added in v1.15.12

func (*Application_MakeHttp_Call) RunAndReturn added in v1.15.12

func (_c *Application_MakeHttp_Call) RunAndReturn(run func() client.Factory) *Application_MakeHttp_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_MakeProcess_Call added in v1.17.0

type Application_MakeProcess_Call struct {
	*mock.Call
}

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

func (*Application_MakeProcess_Call) Return added in v1.17.0

func (*Application_MakeProcess_Call) Run added in v1.17.0

func (*Application_MakeProcess_Call) RunAndReturn added in v1.17.0

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_MakeSchema_Call added in v1.15.0

type Application_MakeSchema_Call struct {
	*mock.Call
}

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

func (*Application_MakeSchema_Call) Return added in v1.15.0

func (*Application_MakeSchema_Call) Run added in v1.15.0

func (*Application_MakeSchema_Call) RunAndReturn added in v1.15.0

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() view.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_ModelPath_Call added in v1.17.0

type Application_ModelPath_Call struct {
	*mock.Call
}

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

func (*Application_ModelPath_Call) Return added in v1.17.0

func (*Application_ModelPath_Call) Run added in v1.17.0

func (_c *Application_ModelPath_Call) Run(run func(path ...string)) *Application_ModelPath_Call

func (*Application_ModelPath_Call) RunAndReturn added in v1.17.0

func (_c *Application_ModelPath_Call) RunAndReturn(run func(...string) string) *Application_ModelPath_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

func (_c *Application_PublicPath_Call) RunAndReturn(run func(...string) string) *Application_PublicPath_Call

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_Refresh_Call added in v1.15.0

type Application_Refresh_Call struct {
	*mock.Call
}

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

func (*Application_Refresh_Call) Return added in v1.15.0

func (*Application_Refresh_Call) Run added in v1.15.0

func (*Application_Refresh_Call) RunAndReturn added in v1.15.0

func (_c *Application_Refresh_Call) RunAndReturn(run func()) *Application_Refresh_Call

type Application_ResourcePath_Call added in v1.15.12

type Application_ResourcePath_Call struct {
	*mock.Call
}

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

func (*Application_ResourcePath_Call) Return added in v1.15.12

func (*Application_ResourcePath_Call) Run added in v1.15.12

func (*Application_ResourcePath_Call) RunAndReturn added in v1.15.12

type Application_Restart_Call added in v1.17.0

type Application_Restart_Call struct {
	*mock.Call
}

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

func (*Application_Restart_Call) Return added in v1.17.0

func (*Application_Restart_Call) Run added in v1.17.0

func (*Application_Restart_Call) RunAndReturn added in v1.17.0

func (_c *Application_Restart_Call) RunAndReturn(run func() error) *Application_Restart_Call

type Application_SetBuilder_Call added in v1.17.0

type Application_SetBuilder_Call struct {
	*mock.Call
}

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

func (*Application_SetBuilder_Call) Return added in v1.17.0

func (*Application_SetBuilder_Call) Run added in v1.17.0

func (*Application_SetBuilder_Call) RunAndReturn added in v1.17.0

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_Shutdown_Call added in v1.17.0

type Application_Shutdown_Call struct {
	*mock.Call
}

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

func (*Application_Shutdown_Call) Return added in v1.17.0

func (*Application_Shutdown_Call) Run added in v1.17.0

func (*Application_Shutdown_Call) RunAndReturn added in v1.17.0

func (_c *Application_Shutdown_Call) RunAndReturn(run func() error) *Application_Shutdown_Call

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_Start_Call added in v1.17.0

type Application_Start_Call struct {
	*mock.Call
}

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

func (*Application_Start_Call) Return added in v1.17.0

func (*Application_Start_Call) Run added in v1.17.0

func (_c *Application_Start_Call) Run(run func()) *Application_Start_Call

func (*Application_Start_Call) RunAndReturn added in v1.17.0

func (_c *Application_Start_Call) RunAndReturn(run func()) *Application_Start_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) MakeSchema added in v1.15.0

func (_m *Container) MakeSchema() migration.Schema

MakeSchema 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() view.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) MakeSchema added in v1.15.0

MakeSchema 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_MakeSchema_Call added in v1.15.0

type Container_MakeSchema_Call struct {
	*mock.Call
}

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

func (*Container_MakeSchema_Call) Return added in v1.15.0

func (*Container_MakeSchema_Call) Run added in v1.15.0

func (*Container_MakeSchema_Call) RunAndReturn added in v1.15.0

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() view.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) MarshalString added in v1.15.12

func (_m *Json) MarshalString(_a0 interface{}) (string, error)

MarshalString 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

func (*Json) UnmarshalString added in v1.15.12

func (_m *Json) UnmarshalString(_a0 string, _a1 interface{}) error

UnmarshalString 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) MarshalString added in v1.15.12

func (_e *Json_Expecter) MarshalString(_a0 interface{}) *Json_MarshalString_Call

MarshalString 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{}

func (*Json_Expecter) UnmarshalString added in v1.15.12

func (_e *Json_Expecter) UnmarshalString(_a0 interface{}, _a1 interface{}) *Json_UnmarshalString_Call

UnmarshalString is a helper method to define mock.On call

  • _a0 string
  • _a1 interface{}

type Json_MarshalString_Call added in v1.15.12

type Json_MarshalString_Call struct {
	*mock.Call
}

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

func (*Json_MarshalString_Call) Return added in v1.15.12

func (*Json_MarshalString_Call) Run added in v1.15.12

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

func (*Json_MarshalString_Call) RunAndReturn added in v1.15.12

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

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_UnmarshalString_Call added in v1.15.12

type Json_UnmarshalString_Call struct {
	*mock.Call
}

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

func (*Json_UnmarshalString_Call) Return added in v1.15.12

func (*Json_UnmarshalString_Call) Run added in v1.15.12

func (_c *Json_UnmarshalString_Call) Run(run func(_a0 string, _a1 interface{})) *Json_UnmarshalString_Call

func (*Json_UnmarshalString_Call) RunAndReturn added in v1.15.12

func (_c *Json_UnmarshalString_Call) RunAndReturn(run func(string, interface{}) error) *Json_UnmarshalString_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 ProviderRepository added in v1.17.0

type ProviderRepository struct {
	mock.Mock
}

ProviderRepository is an autogenerated mock type for the ProviderRepository type

func NewProviderRepository added in v1.17.0

func NewProviderRepository(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProviderRepository

NewProviderRepository creates a new instance of ProviderRepository. 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 (*ProviderRepository) Add added in v1.17.0

func (_m *ProviderRepository) Add(providers []foundation.ServiceProvider)

Add provides a mock function with given fields: providers

func (*ProviderRepository) Boot added in v1.17.0

Boot provides a mock function with given fields: app

func (*ProviderRepository) EXPECT added in v1.17.0

func (*ProviderRepository) GetBooted added in v1.17.0

func (_m *ProviderRepository) GetBooted() []foundation.ServiceProvider

GetBooted provides a mock function with no fields

func (*ProviderRepository) LoadFromConfig added in v1.17.0

func (_m *ProviderRepository) LoadFromConfig(_a0 config.Config) []foundation.ServiceProvider

LoadFromConfig provides a mock function with given fields: _a0

func (*ProviderRepository) Register added in v1.17.0

Register provides a mock function with given fields: app

func (*ProviderRepository) Reset added in v1.17.0

func (_m *ProviderRepository) Reset()

Reset provides a mock function with no fields

type ProviderRepository_Add_Call added in v1.17.0

type ProviderRepository_Add_Call struct {
	*mock.Call
}

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

func (*ProviderRepository_Add_Call) Return added in v1.17.0

func (*ProviderRepository_Add_Call) Run added in v1.17.0

func (*ProviderRepository_Add_Call) RunAndReturn added in v1.17.0

type ProviderRepository_Boot_Call added in v1.17.0

type ProviderRepository_Boot_Call struct {
	*mock.Call
}

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

func (*ProviderRepository_Boot_Call) Return added in v1.17.0

func (*ProviderRepository_Boot_Call) Run added in v1.17.0

func (*ProviderRepository_Boot_Call) RunAndReturn added in v1.17.0

type ProviderRepository_Expecter added in v1.17.0

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

func (*ProviderRepository_Expecter) Add added in v1.17.0

func (_e *ProviderRepository_Expecter) Add(providers interface{}) *ProviderRepository_Add_Call

Add is a helper method to define mock.On call

  • providers []foundation.ServiceProvider

func (*ProviderRepository_Expecter) Boot added in v1.17.0

func (_e *ProviderRepository_Expecter) Boot(app interface{}) *ProviderRepository_Boot_Call

Boot is a helper method to define mock.On call

  • app foundation.Application

func (*ProviderRepository_Expecter) GetBooted added in v1.17.0

GetBooted is a helper method to define mock.On call

func (*ProviderRepository_Expecter) LoadFromConfig added in v1.17.0

func (_e *ProviderRepository_Expecter) LoadFromConfig(_a0 interface{}) *ProviderRepository_LoadFromConfig_Call

LoadFromConfig is a helper method to define mock.On call

  • _a0 config.Config

func (*ProviderRepository_Expecter) Register added in v1.17.0

func (_e *ProviderRepository_Expecter) Register(app interface{}) *ProviderRepository_Register_Call

Register is a helper method to define mock.On call

  • app foundation.Application

func (*ProviderRepository_Expecter) Reset added in v1.17.0

Reset is a helper method to define mock.On call

type ProviderRepository_GetBooted_Call added in v1.17.0

type ProviderRepository_GetBooted_Call struct {
	*mock.Call
}

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

func (*ProviderRepository_GetBooted_Call) Return added in v1.17.0

func (*ProviderRepository_GetBooted_Call) Run added in v1.17.0

func (*ProviderRepository_GetBooted_Call) RunAndReturn added in v1.17.0

type ProviderRepository_LoadFromConfig_Call added in v1.17.0

type ProviderRepository_LoadFromConfig_Call struct {
	*mock.Call
}

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

func (*ProviderRepository_LoadFromConfig_Call) Return added in v1.17.0

func (*ProviderRepository_LoadFromConfig_Call) Run added in v1.17.0

func (*ProviderRepository_LoadFromConfig_Call) RunAndReturn added in v1.17.0

type ProviderRepository_Register_Call added in v1.17.0

type ProviderRepository_Register_Call struct {
	*mock.Call
}

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

func (*ProviderRepository_Register_Call) Return added in v1.17.0

func (*ProviderRepository_Register_Call) Run added in v1.17.0

func (*ProviderRepository_Register_Call) RunAndReturn added in v1.17.0

type ProviderRepository_Reset_Call added in v1.17.0

type ProviderRepository_Reset_Call struct {
	*mock.Call
}

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

func (*ProviderRepository_Reset_Call) Return added in v1.17.0

func (*ProviderRepository_Reset_Call) Run added in v1.17.0

func (*ProviderRepository_Reset_Call) RunAndReturn added in v1.17.0

func (_c *ProviderRepository_Reset_Call) RunAndReturn(run func()) *ProviderRepository_Reset_Call

type Runner added in v1.17.0

type Runner struct {
	mock.Mock
}

Runner is an autogenerated mock type for the Runner type

func NewRunner added in v1.17.0

func NewRunner(t interface {
	mock.TestingT
	Cleanup(func())
}) *Runner

NewRunner creates a new instance of Runner. 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 (*Runner) EXPECT added in v1.17.0

func (_m *Runner) EXPECT() *Runner_Expecter

func (*Runner) Run added in v1.17.0

func (_m *Runner) Run() error

Run provides a mock function with no fields

func (*Runner) ShouldRun added in v1.17.0

func (_m *Runner) ShouldRun() bool

ShouldRun provides a mock function with no fields

func (*Runner) Shutdown added in v1.17.0

func (_m *Runner) Shutdown() error

Shutdown provides a mock function with no fields

func (*Runner) Signature added in v1.17.0

func (_m *Runner) Signature() string

Signature provides a mock function with no fields

type Runner_Expecter added in v1.17.0

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

func (*Runner_Expecter) Run added in v1.17.0

func (_e *Runner_Expecter) Run() *Runner_Run_Call

Run is a helper method to define mock.On call

func (*Runner_Expecter) ShouldRun added in v1.17.0

func (_e *Runner_Expecter) ShouldRun() *Runner_ShouldRun_Call

ShouldRun is a helper method to define mock.On call

func (*Runner_Expecter) Shutdown added in v1.17.0

func (_e *Runner_Expecter) Shutdown() *Runner_Shutdown_Call

Shutdown is a helper method to define mock.On call

func (*Runner_Expecter) Signature added in v1.17.0

func (_e *Runner_Expecter) Signature() *Runner_Signature_Call

Signature is a helper method to define mock.On call

type Runner_Run_Call added in v1.17.0

type Runner_Run_Call struct {
	*mock.Call
}

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

func (*Runner_Run_Call) Return added in v1.17.0

func (_c *Runner_Run_Call) Return(_a0 error) *Runner_Run_Call

func (*Runner_Run_Call) Run added in v1.17.0

func (_c *Runner_Run_Call) Run(run func()) *Runner_Run_Call

func (*Runner_Run_Call) RunAndReturn added in v1.17.0

func (_c *Runner_Run_Call) RunAndReturn(run func() error) *Runner_Run_Call

type Runner_ShouldRun_Call added in v1.17.0

type Runner_ShouldRun_Call struct {
	*mock.Call
}

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

func (*Runner_ShouldRun_Call) Return added in v1.17.0

func (*Runner_ShouldRun_Call) Run added in v1.17.0

func (_c *Runner_ShouldRun_Call) Run(run func()) *Runner_ShouldRun_Call

func (*Runner_ShouldRun_Call) RunAndReturn added in v1.17.0

func (_c *Runner_ShouldRun_Call) RunAndReturn(run func() bool) *Runner_ShouldRun_Call

type Runner_Shutdown_Call added in v1.17.0

type Runner_Shutdown_Call struct {
	*mock.Call
}

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

func (*Runner_Shutdown_Call) Return added in v1.17.0

func (*Runner_Shutdown_Call) Run added in v1.17.0

func (_c *Runner_Shutdown_Call) Run(run func()) *Runner_Shutdown_Call

func (*Runner_Shutdown_Call) RunAndReturn added in v1.17.0

func (_c *Runner_Shutdown_Call) RunAndReturn(run func() error) *Runner_Shutdown_Call

type Runner_Signature_Call added in v1.17.0

type Runner_Signature_Call struct {
	*mock.Call
}

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

func (*Runner_Signature_Call) Return added in v1.17.0

func (*Runner_Signature_Call) Run added in v1.17.0

func (_c *Runner_Signature_Call) Run(run func()) *Runner_Signature_Call

func (*Runner_Signature_Call) RunAndReturn added in v1.17.0

func (_c *Runner_Signature_Call) RunAndReturn(run func() string) *Runner_Signature_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 ServiceProviderWithRelations added in v1.15.12

type ServiceProviderWithRelations struct {
	mock.Mock
}

ServiceProviderWithRelations is an autogenerated mock type for the ServiceProviderWithRelations type

func NewServiceProviderWithRelations added in v1.15.12

func NewServiceProviderWithRelations(t interface {
	mock.TestingT
	Cleanup(func())
}) *ServiceProviderWithRelations

NewServiceProviderWithRelations creates a new instance of ServiceProviderWithRelations. 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 (*ServiceProviderWithRelations) Boot added in v1.15.12

Boot provides a mock function with given fields: app

func (*ServiceProviderWithRelations) EXPECT added in v1.15.12

func (*ServiceProviderWithRelations) Register added in v1.15.12

Register provides a mock function with given fields: app

func (*ServiceProviderWithRelations) Relationship added in v1.15.12

Relationship provides a mock function with no fields

type ServiceProviderWithRelations_Boot_Call added in v1.15.12

type ServiceProviderWithRelations_Boot_Call struct {
	*mock.Call
}

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

func (*ServiceProviderWithRelations_Boot_Call) Return added in v1.15.12

func (*ServiceProviderWithRelations_Boot_Call) Run added in v1.15.12

func (*ServiceProviderWithRelations_Boot_Call) RunAndReturn added in v1.15.12

type ServiceProviderWithRelations_Expecter added in v1.15.12

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

func (*ServiceProviderWithRelations_Expecter) Boot added in v1.15.12

Boot is a helper method to define mock.On call

  • app foundation.Application

func (*ServiceProviderWithRelations_Expecter) Register added in v1.15.12

Register is a helper method to define mock.On call

  • app foundation.Application

func (*ServiceProviderWithRelations_Expecter) Relationship added in v1.15.12

Relationship is a helper method to define mock.On call

type ServiceProviderWithRelations_Register_Call added in v1.15.12

type ServiceProviderWithRelations_Register_Call struct {
	*mock.Call
}

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

func (*ServiceProviderWithRelations_Register_Call) Return added in v1.15.12

func (*ServiceProviderWithRelations_Register_Call) Run added in v1.15.12

func (*ServiceProviderWithRelations_Register_Call) RunAndReturn added in v1.15.12

type ServiceProviderWithRelations_Relationship_Call added in v1.15.12

type ServiceProviderWithRelations_Relationship_Call struct {
	*mock.Call
}

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

func (*ServiceProviderWithRelations_Relationship_Call) Return added in v1.15.12

func (*ServiceProviderWithRelations_Relationship_Call) Run added in v1.15.12

func (*ServiceProviderWithRelations_Relationship_Call) RunAndReturn added in v1.15.12

type ServiceProviderWithRunners added in v1.17.0

type ServiceProviderWithRunners struct {
	mock.Mock
}

ServiceProviderWithRunners is an autogenerated mock type for the ServiceProviderWithRunners type

func NewServiceProviderWithRunners added in v1.17.0

func NewServiceProviderWithRunners(t interface {
	mock.TestingT
	Cleanup(func())
}) *ServiceProviderWithRunners

NewServiceProviderWithRunners creates a new instance of ServiceProviderWithRunners. 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 (*ServiceProviderWithRunners) Boot added in v1.17.0

Boot provides a mock function with given fields: app

func (*ServiceProviderWithRunners) EXPECT added in v1.17.0

func (*ServiceProviderWithRunners) Register added in v1.17.0

Register provides a mock function with given fields: app

func (*ServiceProviderWithRunners) Runners added in v1.17.0

Runners provides a mock function with given fields: app

type ServiceProviderWithRunners_Boot_Call added in v1.17.0

type ServiceProviderWithRunners_Boot_Call struct {
	*mock.Call
}

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

func (*ServiceProviderWithRunners_Boot_Call) Return added in v1.17.0

func (*ServiceProviderWithRunners_Boot_Call) Run added in v1.17.0

func (*ServiceProviderWithRunners_Boot_Call) RunAndReturn added in v1.17.0

type ServiceProviderWithRunners_Expecter added in v1.17.0

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

func (*ServiceProviderWithRunners_Expecter) Boot added in v1.17.0

Boot is a helper method to define mock.On call

  • app foundation.Application

func (*ServiceProviderWithRunners_Expecter) Register added in v1.17.0

Register is a helper method to define mock.On call

  • app foundation.Application

func (*ServiceProviderWithRunners_Expecter) Runners added in v1.17.0

Runners is a helper method to define mock.On call

  • app foundation.Application

type ServiceProviderWithRunners_Register_Call added in v1.17.0

type ServiceProviderWithRunners_Register_Call struct {
	*mock.Call
}

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

func (*ServiceProviderWithRunners_Register_Call) Return added in v1.17.0

func (*ServiceProviderWithRunners_Register_Call) Run added in v1.17.0

func (*ServiceProviderWithRunners_Register_Call) RunAndReturn added in v1.17.0

type ServiceProviderWithRunners_Runners_Call added in v1.17.0

type ServiceProviderWithRunners_Runners_Call struct {
	*mock.Call
}

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

func (*ServiceProviderWithRunners_Runners_Call) Return added in v1.17.0

func (*ServiceProviderWithRunners_Runners_Call) Run added in v1.17.0

func (*ServiceProviderWithRunners_Runners_Call) RunAndReturn added in v1.17.0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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