mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBuildInfo

type MockBuildInfo struct {
	mock.Mock
}

MockBuildInfo is an autogenerated mock type for the BuildInfo type

func NewMockBuildInfo

func NewMockBuildInfo(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockBuildInfo

NewMockBuildInfo creates a new instance of MockBuildInfo. 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 (*MockBuildInfo) EXPECT

func (_m *MockBuildInfo) EXPECT() *MockBuildInfo_Expecter

func (*MockBuildInfo) GetCommit

func (_mock *MockBuildInfo) GetCommit() string

GetCommit provides a mock function for the type MockBuildInfo

func (*MockBuildInfo) GetDate

func (_mock *MockBuildInfo) GetDate() string

GetDate provides a mock function for the type MockBuildInfo

func (*MockBuildInfo) GetVersion

func (_mock *MockBuildInfo) GetVersion() string

GetVersion provides a mock function for the type MockBuildInfo

type MockBuildInfo_Expecter

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

func (*MockBuildInfo_Expecter) GetCommit

GetCommit is a helper method to define mock.On call

func (*MockBuildInfo_Expecter) GetDate

GetDate is a helper method to define mock.On call

func (*MockBuildInfo_Expecter) GetVersion

GetVersion is a helper method to define mock.On call

type MockBuildInfo_GetCommit_Call

type MockBuildInfo_GetCommit_Call struct {
	*mock.Call
}

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

func (*MockBuildInfo_GetCommit_Call) Return

func (*MockBuildInfo_GetCommit_Call) Run

func (*MockBuildInfo_GetCommit_Call) RunAndReturn

type MockBuildInfo_GetDate_Call

type MockBuildInfo_GetDate_Call struct {
	*mock.Call
}

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

func (*MockBuildInfo_GetDate_Call) Return

func (*MockBuildInfo_GetDate_Call) Run

func (*MockBuildInfo_GetDate_Call) RunAndReturn

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

type MockBuildInfo_GetVersion_Call

type MockBuildInfo_GetVersion_Call struct {
	*mock.Call
}

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

func (*MockBuildInfo_GetVersion_Call) Return

func (*MockBuildInfo_GetVersion_Call) Run

func (*MockBuildInfo_GetVersion_Call) RunAndReturn

type MockProgress

type MockProgress struct {
	mock.Mock
}

MockProgress is an autogenerated mock type for the Progress type

func NewMockProgress

func NewMockProgress(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockProgress

NewMockProgress creates a new instance of MockProgress. 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 (*MockProgress) Done

func (_mock *MockProgress) Done()

Done provides a mock function for the type MockProgress

func (*MockProgress) EXPECT

func (_m *MockProgress) EXPECT() *MockProgress_Expecter

func (*MockProgress) Increment

func (_mock *MockProgress) Increment(n int64)

Increment provides a mock function for the type MockProgress

type MockProgress_Done_Call

type MockProgress_Done_Call struct {
	*mock.Call
}

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

func (*MockProgress_Done_Call) Return

func (*MockProgress_Done_Call) Run

func (_c *MockProgress_Done_Call) Run(run func()) *MockProgress_Done_Call

func (*MockProgress_Done_Call) RunAndReturn

func (_c *MockProgress_Done_Call) RunAndReturn(run func()) *MockProgress_Done_Call

type MockProgress_Expecter

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

func (*MockProgress_Expecter) Done

Done is a helper method to define mock.On call

func (*MockProgress_Expecter) Increment

func (_e *MockProgress_Expecter) Increment(n interface{}) *MockProgress_Increment_Call

Increment is a helper method to define mock.On call

  • n int64

type MockProgress_Increment_Call

type MockProgress_Increment_Call struct {
	*mock.Call
}

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

func (*MockProgress_Increment_Call) Return

func (*MockProgress_Increment_Call) Run

func (*MockProgress_Increment_Call) RunAndReturn

func (_c *MockProgress_Increment_Call) RunAndReturn(run func(n int64)) *MockProgress_Increment_Call

type MockProjectDetector added in v0.3.0

type MockProjectDetector struct {
	mock.Mock
}

MockProjectDetector is an autogenerated mock type for the ProjectDetector type

func NewMockProjectDetector added in v0.3.0

func NewMockProjectDetector(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockProjectDetector

NewMockProjectDetector creates a new instance of MockProjectDetector. 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 (*MockProjectDetector) Detect added in v0.3.0

func (_mock *MockProjectDetector) Detect(ctx context.Context, startDir string) (*interfaces.TracksProject, string, error)

Detect provides a mock function for the type MockProjectDetector

func (*MockProjectDetector) EXPECT added in v0.3.0

func (*MockProjectDetector) HasTemplUIConfig added in v0.3.0

func (_mock *MockProjectDetector) HasTemplUIConfig(ctx context.Context, projectDir string) bool

HasTemplUIConfig provides a mock function for the type MockProjectDetector

type MockProjectDetector_Detect_Call added in v0.3.0

type MockProjectDetector_Detect_Call struct {
	*mock.Call
}

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

func (*MockProjectDetector_Detect_Call) Return added in v0.3.0

func (*MockProjectDetector_Detect_Call) Run added in v0.3.0

func (*MockProjectDetector_Detect_Call) RunAndReturn added in v0.3.0

type MockProjectDetector_Expecter added in v0.3.0

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

func (*MockProjectDetector_Expecter) Detect added in v0.3.0

func (_e *MockProjectDetector_Expecter) Detect(ctx interface{}, startDir interface{}) *MockProjectDetector_Detect_Call

Detect is a helper method to define mock.On call

  • ctx context.Context
  • startDir string

func (*MockProjectDetector_Expecter) HasTemplUIConfig added in v0.3.0

func (_e *MockProjectDetector_Expecter) HasTemplUIConfig(ctx interface{}, projectDir interface{}) *MockProjectDetector_HasTemplUIConfig_Call

HasTemplUIConfig is a helper method to define mock.On call

  • ctx context.Context
  • projectDir string

type MockProjectDetector_HasTemplUIConfig_Call added in v0.3.0

type MockProjectDetector_HasTemplUIConfig_Call struct {
	*mock.Call
}

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

func (*MockProjectDetector_HasTemplUIConfig_Call) Return added in v0.3.0

func (*MockProjectDetector_HasTemplUIConfig_Call) Run added in v0.3.0

func (*MockProjectDetector_HasTemplUIConfig_Call) RunAndReturn added in v0.3.0

type MockProjectGenerator

type MockProjectGenerator struct {
	mock.Mock
}

MockProjectGenerator is an autogenerated mock type for the ProjectGenerator type

func NewMockProjectGenerator

func NewMockProjectGenerator(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockProjectGenerator

NewMockProjectGenerator creates a new instance of MockProjectGenerator. 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 (*MockProjectGenerator) EXPECT

func (*MockProjectGenerator) Generate

func (_mock *MockProjectGenerator) Generate(ctx context.Context, cfg any) error

Generate provides a mock function for the type MockProjectGenerator

func (*MockProjectGenerator) Validate

func (_mock *MockProjectGenerator) Validate(cfg any) error

Validate provides a mock function for the type MockProjectGenerator

type MockProjectGenerator_Expecter

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

func (*MockProjectGenerator_Expecter) Generate

func (_e *MockProjectGenerator_Expecter) Generate(ctx interface{}, cfg interface{}) *MockProjectGenerator_Generate_Call

Generate is a helper method to define mock.On call

  • ctx context.Context
  • cfg any

func (*MockProjectGenerator_Expecter) Validate

Validate is a helper method to define mock.On call

  • cfg any

type MockProjectGenerator_Generate_Call

type MockProjectGenerator_Generate_Call struct {
	*mock.Call
}

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

func (*MockProjectGenerator_Generate_Call) Return

func (*MockProjectGenerator_Generate_Call) Run

func (*MockProjectGenerator_Generate_Call) RunAndReturn

type MockProjectGenerator_Validate_Call

type MockProjectGenerator_Validate_Call struct {
	*mock.Call
}

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

func (*MockProjectGenerator_Validate_Call) Return

func (*MockProjectGenerator_Validate_Call) Run

func (*MockProjectGenerator_Validate_Call) RunAndReturn

type MockRenderer

type MockRenderer struct {
	mock.Mock
}

MockRenderer is an autogenerated mock type for the Renderer type

func NewMockRenderer

func NewMockRenderer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRenderer

NewMockRenderer creates a new instance of MockRenderer. 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 (*MockRenderer) EXPECT

func (_m *MockRenderer) EXPECT() *MockRenderer_Expecter

func (*MockRenderer) Flush

func (_mock *MockRenderer) Flush() error

Flush provides a mock function for the type MockRenderer

func (*MockRenderer) Progress

func (_mock *MockRenderer) Progress(spec interfaces.ProgressSpec) interfaces.Progress

Progress provides a mock function for the type MockRenderer

func (*MockRenderer) Section

func (_mock *MockRenderer) Section(sec interfaces.Section)

Section provides a mock function for the type MockRenderer

func (*MockRenderer) Table

func (_mock *MockRenderer) Table(t interfaces.Table)

Table provides a mock function for the type MockRenderer

func (*MockRenderer) Title

func (_mock *MockRenderer) Title(s string)

Title provides a mock function for the type MockRenderer

type MockRenderer_Expecter

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

func (*MockRenderer_Expecter) Flush

Flush is a helper method to define mock.On call

func (*MockRenderer_Expecter) Progress

func (_e *MockRenderer_Expecter) Progress(spec interface{}) *MockRenderer_Progress_Call

Progress is a helper method to define mock.On call

  • spec interfaces.ProgressSpec

func (*MockRenderer_Expecter) Section

func (_e *MockRenderer_Expecter) Section(sec interface{}) *MockRenderer_Section_Call

Section is a helper method to define mock.On call

  • sec interfaces.Section

func (*MockRenderer_Expecter) Table

func (_e *MockRenderer_Expecter) Table(t interface{}) *MockRenderer_Table_Call

Table is a helper method to define mock.On call

  • t interfaces.Table

func (*MockRenderer_Expecter) Title

func (_e *MockRenderer_Expecter) Title(s interface{}) *MockRenderer_Title_Call

Title is a helper method to define mock.On call

  • s string

type MockRenderer_Flush_Call

type MockRenderer_Flush_Call struct {
	*mock.Call
}

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

func (*MockRenderer_Flush_Call) Return

func (*MockRenderer_Flush_Call) Run

func (_c *MockRenderer_Flush_Call) Run(run func()) *MockRenderer_Flush_Call

func (*MockRenderer_Flush_Call) RunAndReturn

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

type MockRenderer_Progress_Call

type MockRenderer_Progress_Call struct {
	*mock.Call
}

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

func (*MockRenderer_Progress_Call) Return

func (*MockRenderer_Progress_Call) Run

func (*MockRenderer_Progress_Call) RunAndReturn

type MockRenderer_Section_Call

type MockRenderer_Section_Call struct {
	*mock.Call
}

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

func (*MockRenderer_Section_Call) Return

func (*MockRenderer_Section_Call) Run

func (*MockRenderer_Section_Call) RunAndReturn

func (_c *MockRenderer_Section_Call) RunAndReturn(run func(sec interfaces.Section)) *MockRenderer_Section_Call

type MockRenderer_Table_Call

type MockRenderer_Table_Call struct {
	*mock.Call
}

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

func (*MockRenderer_Table_Call) Return

func (*MockRenderer_Table_Call) Run

func (*MockRenderer_Table_Call) RunAndReturn

func (_c *MockRenderer_Table_Call) RunAndReturn(run func(t interfaces.Table)) *MockRenderer_Table_Call

type MockRenderer_Title_Call

type MockRenderer_Title_Call struct {
	*mock.Call
}

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

func (*MockRenderer_Title_Call) Return

func (*MockRenderer_Title_Call) Run

func (*MockRenderer_Title_Call) RunAndReturn

func (_c *MockRenderer_Title_Call) RunAndReturn(run func(s string)) *MockRenderer_Title_Call

type MockUIExecutor added in v0.3.0

type MockUIExecutor struct {
	mock.Mock
}

MockUIExecutor is an autogenerated mock type for the UIExecutor type

func NewMockUIExecutor added in v0.3.0

func NewMockUIExecutor(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockUIExecutor

NewMockUIExecutor creates a new instance of MockUIExecutor. 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 (*MockUIExecutor) Add added in v0.3.0

func (_mock *MockUIExecutor) Add(ctx context.Context, projectDir string, ref string, components []string, force bool) error

Add provides a mock function for the type MockUIExecutor

func (*MockUIExecutor) EXPECT added in v0.3.0

func (*MockUIExecutor) IsAvailable added in v0.3.0

func (_mock *MockUIExecutor) IsAvailable(ctx context.Context, projectDir string) bool

IsAvailable provides a mock function for the type MockUIExecutor

func (*MockUIExecutor) List added in v0.3.0

func (_mock *MockUIExecutor) List(ctx context.Context, projectDir string, ref string) ([]interfaces.UIComponent, error)

List provides a mock function for the type MockUIExecutor

func (*MockUIExecutor) Upgrade added in v0.3.0

func (_mock *MockUIExecutor) Upgrade(ctx context.Context, projectDir string, ref string) error

Upgrade provides a mock function for the type MockUIExecutor

func (*MockUIExecutor) Version added in v0.3.0

func (_mock *MockUIExecutor) Version(ctx context.Context, projectDir string) (string, error)

Version provides a mock function for the type MockUIExecutor

type MockUIExecutor_Add_Call added in v0.3.0

type MockUIExecutor_Add_Call struct {
	*mock.Call
}

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

func (*MockUIExecutor_Add_Call) Return added in v0.3.0

func (*MockUIExecutor_Add_Call) Run added in v0.3.0

func (_c *MockUIExecutor_Add_Call) Run(run func(ctx context.Context, projectDir string, ref string, components []string, force bool)) *MockUIExecutor_Add_Call

func (*MockUIExecutor_Add_Call) RunAndReturn added in v0.3.0

func (_c *MockUIExecutor_Add_Call) RunAndReturn(run func(ctx context.Context, projectDir string, ref string, components []string, force bool) error) *MockUIExecutor_Add_Call

type MockUIExecutor_Expecter added in v0.3.0

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

func (*MockUIExecutor_Expecter) Add added in v0.3.0

func (_e *MockUIExecutor_Expecter) Add(ctx interface{}, projectDir interface{}, ref interface{}, components interface{}, force interface{}) *MockUIExecutor_Add_Call

Add is a helper method to define mock.On call

  • ctx context.Context
  • projectDir string
  • ref string
  • components []string
  • force bool

func (*MockUIExecutor_Expecter) IsAvailable added in v0.3.0

func (_e *MockUIExecutor_Expecter) IsAvailable(ctx interface{}, projectDir interface{}) *MockUIExecutor_IsAvailable_Call

IsAvailable is a helper method to define mock.On call

  • ctx context.Context
  • projectDir string

func (*MockUIExecutor_Expecter) List added in v0.3.0

func (_e *MockUIExecutor_Expecter) List(ctx interface{}, projectDir interface{}, ref interface{}) *MockUIExecutor_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • projectDir string
  • ref string

func (*MockUIExecutor_Expecter) Upgrade added in v0.3.0

func (_e *MockUIExecutor_Expecter) Upgrade(ctx interface{}, projectDir interface{}, ref interface{}) *MockUIExecutor_Upgrade_Call

Upgrade is a helper method to define mock.On call

  • ctx context.Context
  • projectDir string
  • ref string

func (*MockUIExecutor_Expecter) Version added in v0.3.0

func (_e *MockUIExecutor_Expecter) Version(ctx interface{}, projectDir interface{}) *MockUIExecutor_Version_Call

Version is a helper method to define mock.On call

  • ctx context.Context
  • projectDir string

type MockUIExecutor_IsAvailable_Call added in v0.3.0

type MockUIExecutor_IsAvailable_Call struct {
	*mock.Call
}

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

func (*MockUIExecutor_IsAvailable_Call) Return added in v0.3.0

func (*MockUIExecutor_IsAvailable_Call) Run added in v0.3.0

func (*MockUIExecutor_IsAvailable_Call) RunAndReturn added in v0.3.0

func (_c *MockUIExecutor_IsAvailable_Call) RunAndReturn(run func(ctx context.Context, projectDir string) bool) *MockUIExecutor_IsAvailable_Call

type MockUIExecutor_List_Call added in v0.3.0

type MockUIExecutor_List_Call struct {
	*mock.Call
}

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

func (*MockUIExecutor_List_Call) Return added in v0.3.0

func (*MockUIExecutor_List_Call) Run added in v0.3.0

func (_c *MockUIExecutor_List_Call) Run(run func(ctx context.Context, projectDir string, ref string)) *MockUIExecutor_List_Call

func (*MockUIExecutor_List_Call) RunAndReturn added in v0.3.0

func (_c *MockUIExecutor_List_Call) RunAndReturn(run func(ctx context.Context, projectDir string, ref string) ([]interfaces.UIComponent, error)) *MockUIExecutor_List_Call

type MockUIExecutor_Upgrade_Call added in v0.3.0

type MockUIExecutor_Upgrade_Call struct {
	*mock.Call
}

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

func (*MockUIExecutor_Upgrade_Call) Return added in v0.3.0

func (*MockUIExecutor_Upgrade_Call) Run added in v0.3.0

func (_c *MockUIExecutor_Upgrade_Call) Run(run func(ctx context.Context, projectDir string, ref string)) *MockUIExecutor_Upgrade_Call

func (*MockUIExecutor_Upgrade_Call) RunAndReturn added in v0.3.0

func (_c *MockUIExecutor_Upgrade_Call) RunAndReturn(run func(ctx context.Context, projectDir string, ref string) error) *MockUIExecutor_Upgrade_Call

type MockUIExecutor_Version_Call added in v0.3.0

type MockUIExecutor_Version_Call struct {
	*mock.Call
}

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

func (*MockUIExecutor_Version_Call) Return added in v0.3.0

func (*MockUIExecutor_Version_Call) Run added in v0.3.0

func (*MockUIExecutor_Version_Call) RunAndReturn added in v0.3.0

func (_c *MockUIExecutor_Version_Call) RunAndReturn(run func(ctx context.Context, projectDir string) (string, error)) *MockUIExecutor_Version_Call

type MockValidator

type MockValidator struct {
	mock.Mock
}

MockValidator is an autogenerated mock type for the Validator type

func NewMockValidator

func NewMockValidator(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockValidator

NewMockValidator creates a new instance of MockValidator. 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 (*MockValidator) EXPECT

func (_m *MockValidator) EXPECT() *MockValidator_Expecter

func (*MockValidator) ValidateDatabaseDriver

func (_mock *MockValidator) ValidateDatabaseDriver(ctx context.Context, driver string) error

ValidateDatabaseDriver provides a mock function for the type MockValidator

func (*MockValidator) ValidateDirectory

func (_mock *MockValidator) ValidateDirectory(ctx context.Context, path string) error

ValidateDirectory provides a mock function for the type MockValidator

func (*MockValidator) ValidateEnvPrefix

func (_mock *MockValidator) ValidateEnvPrefix(ctx context.Context, prefix string) error

ValidateEnvPrefix provides a mock function for the type MockValidator

func (*MockValidator) ValidateModulePath

func (_mock *MockValidator) ValidateModulePath(ctx context.Context, path string) error

ValidateModulePath provides a mock function for the type MockValidator

func (*MockValidator) ValidateProjectName

func (_mock *MockValidator) ValidateProjectName(ctx context.Context, name string) error

ValidateProjectName provides a mock function for the type MockValidator

type MockValidator_Expecter

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

func (*MockValidator_Expecter) ValidateDatabaseDriver

func (_e *MockValidator_Expecter) ValidateDatabaseDriver(ctx interface{}, driver interface{}) *MockValidator_ValidateDatabaseDriver_Call

ValidateDatabaseDriver is a helper method to define mock.On call

  • ctx context.Context
  • driver string

func (*MockValidator_Expecter) ValidateDirectory

func (_e *MockValidator_Expecter) ValidateDirectory(ctx interface{}, path interface{}) *MockValidator_ValidateDirectory_Call

ValidateDirectory is a helper method to define mock.On call

  • ctx context.Context
  • path string

func (*MockValidator_Expecter) ValidateEnvPrefix

func (_e *MockValidator_Expecter) ValidateEnvPrefix(ctx interface{}, prefix interface{}) *MockValidator_ValidateEnvPrefix_Call

ValidateEnvPrefix is a helper method to define mock.On call

  • ctx context.Context
  • prefix string

func (*MockValidator_Expecter) ValidateModulePath

func (_e *MockValidator_Expecter) ValidateModulePath(ctx interface{}, path interface{}) *MockValidator_ValidateModulePath_Call

ValidateModulePath is a helper method to define mock.On call

  • ctx context.Context
  • path string

func (*MockValidator_Expecter) ValidateProjectName

func (_e *MockValidator_Expecter) ValidateProjectName(ctx interface{}, name interface{}) *MockValidator_ValidateProjectName_Call

ValidateProjectName is a helper method to define mock.On call

  • ctx context.Context
  • name string

type MockValidator_ValidateDatabaseDriver_Call

type MockValidator_ValidateDatabaseDriver_Call struct {
	*mock.Call
}

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

func (*MockValidator_ValidateDatabaseDriver_Call) Return

func (*MockValidator_ValidateDatabaseDriver_Call) Run

func (*MockValidator_ValidateDatabaseDriver_Call) RunAndReturn

type MockValidator_ValidateDirectory_Call

type MockValidator_ValidateDirectory_Call struct {
	*mock.Call
}

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

func (*MockValidator_ValidateDirectory_Call) Return

func (*MockValidator_ValidateDirectory_Call) Run

func (*MockValidator_ValidateDirectory_Call) RunAndReturn

type MockValidator_ValidateEnvPrefix_Call

type MockValidator_ValidateEnvPrefix_Call struct {
	*mock.Call
}

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

func (*MockValidator_ValidateEnvPrefix_Call) Return

func (*MockValidator_ValidateEnvPrefix_Call) Run

func (*MockValidator_ValidateEnvPrefix_Call) RunAndReturn

type MockValidator_ValidateModulePath_Call

type MockValidator_ValidateModulePath_Call struct {
	*mock.Call
}

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

func (*MockValidator_ValidateModulePath_Call) Return

func (*MockValidator_ValidateModulePath_Call) Run

func (*MockValidator_ValidateModulePath_Call) RunAndReturn

type MockValidator_ValidateProjectName_Call

type MockValidator_ValidateProjectName_Call struct {
	*mock.Call
}

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

func (*MockValidator_ValidateProjectName_Call) Return

func (*MockValidator_ValidateProjectName_Call) Run

func (*MockValidator_ValidateProjectName_Call) RunAndReturn

Jump to

Keyboard shortcuts

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