Documentation ¶
Index ¶
- type MockApplicationContext
- func (m *MockApplicationContext) AttachGlobalFolders(dirs util.Dirs) context0.ApplicationContext
- func (m *MockApplicationContext) Config() config.Config
- func (m *MockApplicationContext) EXPECT() *MockApplicationContextMockRecorder
- func (m *MockApplicationContext) GetContext() context.Context
- func (m *MockApplicationContext) GetDate() time.Time
- func (m *MockApplicationContext) GetRunId() string
- func (m *MockApplicationContext) GetRuntime() context0.Runtime
- func (m *MockApplicationContext) GetTemplateFs() embed.FS
- func (m *MockApplicationContext) Logger() log.Logger
- func (m *MockApplicationContext) RootFolder() util.Dirs
- func (m *MockApplicationContext) SetContextWithValue(ctx context.Context, key, value any)
- func (m *MockApplicationContext) Version() string
- func (m *MockApplicationContext) WithConfig(conf config.Config) context0.ApplicationContext
- func (m *MockApplicationContext) WithLogger(logger log.Logger) context0.ApplicationContext
- func (m *MockApplicationContext) WithTemplateFs(fs embed.FS) context0.ApplicationContext
- func (m *MockApplicationContext) WithVersion(version string) context0.ApplicationContext
- type MockApplicationContextMockRecorder
- func (mr *MockApplicationContextMockRecorder) AttachGlobalFolders(dirs interface{}) *gomock.Call
- func (mr *MockApplicationContextMockRecorder) Config() *gomock.Call
- func (mr *MockApplicationContextMockRecorder) GetContext() *gomock.Call
- func (mr *MockApplicationContextMockRecorder) GetDate() *gomock.Call
- func (mr *MockApplicationContextMockRecorder) GetRunId() *gomock.Call
- func (mr *MockApplicationContextMockRecorder) GetRuntime() *gomock.Call
- func (mr *MockApplicationContextMockRecorder) GetTemplateFs() *gomock.Call
- func (mr *MockApplicationContextMockRecorder) Logger() *gomock.Call
- func (mr *MockApplicationContextMockRecorder) RootFolder() *gomock.Call
- func (mr *MockApplicationContextMockRecorder) SetContextWithValue(ctx, key, value interface{}) *gomock.Call
- func (mr *MockApplicationContextMockRecorder) Version() *gomock.Call
- func (mr *MockApplicationContextMockRecorder) WithConfig(conf interface{}) *gomock.Call
- func (mr *MockApplicationContextMockRecorder) WithLogger(logger interface{}) *gomock.Call
- func (mr *MockApplicationContextMockRecorder) WithTemplateFs(fs interface{}) *gomock.Call
- func (mr *MockApplicationContextMockRecorder) WithVersion(version interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplicationContext ¶
type MockApplicationContext struct {
// contains filtered or unexported fields
}
MockApplicationContext is a mock of ApplicationContext interface.
func NewMockApplicationContext ¶
func NewMockApplicationContext(ctrl *gomock.Controller) *MockApplicationContext
NewMockApplicationContext creates a new mock instance.
func (*MockApplicationContext) AttachGlobalFolders ¶
func (m *MockApplicationContext) AttachGlobalFolders(dirs util.Dirs) context0.ApplicationContext
AttachGlobalFolders mocks base method.
func (*MockApplicationContext) Config ¶
func (m *MockApplicationContext) Config() config.Config
Config mocks base method.
func (*MockApplicationContext) EXPECT ¶
func (m *MockApplicationContext) EXPECT() *MockApplicationContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplicationContext) GetContext ¶
func (m *MockApplicationContext) GetContext() context.Context
GetContext mocks base method.
func (*MockApplicationContext) GetDate ¶
func (m *MockApplicationContext) GetDate() time.Time
GetDate mocks base method.
func (*MockApplicationContext) GetRunId ¶
func (m *MockApplicationContext) GetRunId() string
GetRunId mocks base method.
func (*MockApplicationContext) GetRuntime ¶
func (m *MockApplicationContext) GetRuntime() context0.Runtime
GetRuntime mocks base method.
func (*MockApplicationContext) GetTemplateFs ¶
func (m *MockApplicationContext) GetTemplateFs() embed.FS
GetTemplateFs mocks base method.
func (*MockApplicationContext) Logger ¶
func (m *MockApplicationContext) Logger() log.Logger
Logger mocks base method.
func (*MockApplicationContext) RootFolder ¶
func (m *MockApplicationContext) RootFolder() util.Dirs
RootFolder mocks base method.
func (*MockApplicationContext) SetContextWithValue ¶
func (m *MockApplicationContext) SetContextWithValue(ctx context.Context, key, value any)
SetContextWithValue mocks base method.
func (*MockApplicationContext) Version ¶
func (m *MockApplicationContext) Version() string
Version mocks base method.
func (*MockApplicationContext) WithConfig ¶
func (m *MockApplicationContext) WithConfig(conf config.Config) context0.ApplicationContext
WithConfig mocks base method.
func (*MockApplicationContext) WithLogger ¶
func (m *MockApplicationContext) WithLogger(logger log.Logger) context0.ApplicationContext
WithLogger mocks base method.
func (*MockApplicationContext) WithTemplateFs ¶
func (m *MockApplicationContext) WithTemplateFs(fs embed.FS) context0.ApplicationContext
WithTemplateFs mocks base method.
func (*MockApplicationContext) WithVersion ¶
func (m *MockApplicationContext) WithVersion(version string) context0.ApplicationContext
WithVersion mocks base method.
type MockApplicationContextMockRecorder ¶
type MockApplicationContextMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationContextMockRecorder is the mock recorder for MockApplicationContext.
func (*MockApplicationContextMockRecorder) AttachGlobalFolders ¶
func (mr *MockApplicationContextMockRecorder) AttachGlobalFolders(dirs interface{}) *gomock.Call
AttachGlobalFolders indicates an expected call of AttachGlobalFolders.
func (*MockApplicationContextMockRecorder) Config ¶
func (mr *MockApplicationContextMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockApplicationContextMockRecorder) GetContext ¶
func (mr *MockApplicationContextMockRecorder) GetContext() *gomock.Call
GetContext indicates an expected call of GetContext.
func (*MockApplicationContextMockRecorder) GetDate ¶
func (mr *MockApplicationContextMockRecorder) GetDate() *gomock.Call
GetDate indicates an expected call of GetDate.
func (*MockApplicationContextMockRecorder) GetRunId ¶
func (mr *MockApplicationContextMockRecorder) GetRunId() *gomock.Call
GetRunId indicates an expected call of GetRunId.
func (*MockApplicationContextMockRecorder) GetRuntime ¶
func (mr *MockApplicationContextMockRecorder) GetRuntime() *gomock.Call
GetRuntime indicates an expected call of GetRuntime.
func (*MockApplicationContextMockRecorder) GetTemplateFs ¶
func (mr *MockApplicationContextMockRecorder) GetTemplateFs() *gomock.Call
GetTemplateFs indicates an expected call of GetTemplateFs.
func (*MockApplicationContextMockRecorder) Logger ¶
func (mr *MockApplicationContextMockRecorder) Logger() *gomock.Call
Logger indicates an expected call of Logger.
func (*MockApplicationContextMockRecorder) RootFolder ¶
func (mr *MockApplicationContextMockRecorder) RootFolder() *gomock.Call
RootFolder indicates an expected call of RootFolder.
func (*MockApplicationContextMockRecorder) SetContextWithValue ¶
func (mr *MockApplicationContextMockRecorder) SetContextWithValue(ctx, key, value interface{}) *gomock.Call
SetContextWithValue indicates an expected call of SetContextWithValue.
func (*MockApplicationContextMockRecorder) Version ¶
func (mr *MockApplicationContextMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version.
func (*MockApplicationContextMockRecorder) WithConfig ¶
func (mr *MockApplicationContextMockRecorder) WithConfig(conf interface{}) *gomock.Call
WithConfig indicates an expected call of WithConfig.
func (*MockApplicationContextMockRecorder) WithLogger ¶
func (mr *MockApplicationContextMockRecorder) WithLogger(logger interface{}) *gomock.Call
WithLogger indicates an expected call of WithLogger.
func (*MockApplicationContextMockRecorder) WithTemplateFs ¶
func (mr *MockApplicationContextMockRecorder) WithTemplateFs(fs interface{}) *gomock.Call
WithTemplateFs indicates an expected call of WithTemplateFs.
func (*MockApplicationContextMockRecorder) WithVersion ¶
func (mr *MockApplicationContextMockRecorder) WithVersion(version interface{}) *gomock.Call
WithVersion indicates an expected call of WithVersion.