Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigRepository ¶ added in v1.7.1
ConfigRepository is an autogenerated mock type for the ConfigRepository type
func NewConfigRepository ¶ added in v1.7.1
func NewConfigRepository(t interface { mock.TestingT Cleanup(func()) }) *ConfigRepository
NewConfigRepository creates a new instance of ConfigRepository. 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 (*ConfigRepository) ReadConfigFile ¶ added in v1.7.1
func (_m *ConfigRepository) ReadConfigFile() (config.ConfigFileReadResponseEntity, error)
ReadConfigFile provides a mock function with given fields:
type ConfigUsecase ¶
ConfigUsecase is an autogenerated mock type for the ConfigUsecase type
func NewConfigUsecase ¶
func NewConfigUsecase(t interface { mock.TestingT Cleanup(func()) }) *ConfigUsecase
NewConfigUsecase creates a new instance of ConfigUsecase. 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 (*ConfigUsecase) LoadConfig ¶
func (_m *ConfigUsecase) LoadConfig() *config.Cfg
LoadConfig provides a mock function with given fields:
type GeneratorRepository ¶ added in v1.7.1
GeneratorRepository is an autogenerated mock type for the GeneratorRepository type
func NewGeneratorRepository ¶ added in v1.7.1
func NewGeneratorRepository(t interface { mock.TestingT Cleanup(func()) }) *GeneratorRepository
NewGeneratorRepository creates a new instance of GeneratorRepository. 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 (*GeneratorRepository) DownloadLatestAsset ¶ added in v1.7.1
func (_m *GeneratorRepository) DownloadLatestAsset(_a0 generator.LatestAssetDownloadRequestEntity) error
DownloadLatestAsset provides a mock function with given fields: _a0
func (*GeneratorRepository) GetRepoLatestVersion ¶ added in v1.7.1
func (_m *GeneratorRepository) GetRepoLatestVersion() (generator.RepoLatestVersionGetEntity, error)
GetRepoLatestVersion provides a mock function with given fields:
type GeneratorUsecase ¶
GeneratorUsecase is an autogenerated mock type for the GeneratorUsecase type
func NewGeneratorUsecase ¶
func NewGeneratorUsecase(t interface { mock.TestingT Cleanup(func()) }) *GeneratorUsecase
NewGeneratorUsecase creates a new instance of GeneratorUsecase. 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 (*GeneratorUsecase) Generate ¶
func (_m *GeneratorUsecase) Generate(_a0 generator.OnlineGeneratorInputEntity) error
Generate provides a mock function with given fields: _a0
type GreetingRepository ¶ added in v1.7.1
GreetingRepository is an autogenerated mock type for the GreetingRepository type
func NewGreetingRepository ¶ added in v1.7.1
func NewGreetingRepository(t interface { mock.TestingT Cleanup(func()) }) *GreetingRepository
NewGreetingRepository creates a new instance of GreetingRepository. 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 (*GreetingRepository) SayHello ¶ added in v1.7.1
func (_m *GreetingRepository) SayHello() (greeting.GreetingResponseEntity, error)
SayHello provides a mock function with given fields:
type GreetingUsecase ¶ added in v1.7.1
GreetingUsecase is an autogenerated mock type for the GreetingUsecase type
func NewGreetingUsecase ¶ added in v1.7.1
func NewGreetingUsecase(t interface { mock.TestingT Cleanup(func()) }) *GreetingUsecase
NewGreetingUsecase creates a new instance of GreetingUsecase. 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 (*GreetingUsecase) Greeting ¶ added in v1.7.1
func (_m *GreetingUsecase) Greeting() (greeting.GreetingResponseEntity, error)
Greeting provides a mock function with given fields: