Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logs ¶
Logs is an autogenerated mock type for the Logs type
func NewLogs ¶
NewLogs creates a new instance of Logs. 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 (*Logs) EXPECT ¶
func (_m *Logs) EXPECT() *Logs_Expecter
type Logs_Expecter ¶
type Logs_Expecter struct {
// contains filtered or unexported fields
}
func (*Logs_Expecter) Export ¶
func (_e *Logs_Expecter) Export(releases interface{}, option ...interface{}) *Logs_Export_Call
Export is a helper method to define mock.On call
- releases []terra.Release
- option ...logs.ExportOption
func (*Logs_Expecter) Logs ¶
func (_e *Logs_Expecter) Logs(release interface{}, option ...interface{}) *Logs_Logs_Call
Logs is a helper method to define mock.On call
- release terra.Release
- option ...logs.LogsOption
type Logs_Export_Call ¶
Logs_Export_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Export'
func (*Logs_Export_Call) Return ¶
func (_c *Logs_Export_Call) Return(_a0 map[terra.Release]artifacts.Location, _a1 error) *Logs_Export_Call
func (*Logs_Export_Call) Run ¶
func (_c *Logs_Export_Call) Run(run func(releases []terra.Release, option ...logs.ExportOption)) *Logs_Export_Call
func (*Logs_Export_Call) RunAndReturn ¶
func (_c *Logs_Export_Call) RunAndReturn(run func([]terra.Release, ...logs.ExportOption) (map[terra.Release]artifacts.Location, error)) *Logs_Export_Call
type Logs_Logs_Call ¶
Logs_Logs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Logs'
func (*Logs_Logs_Call) Return ¶
func (_c *Logs_Logs_Call) Return(_a0 error) *Logs_Logs_Call
func (*Logs_Logs_Call) Run ¶
func (_c *Logs_Logs_Call) Run(run func(release terra.Release, option ...logs.LogsOption)) *Logs_Logs_Call
func (*Logs_Logs_Call) RunAndReturn ¶
func (_c *Logs_Logs_Call) RunAndReturn(run func(terra.Release, ...logs.LogsOption) error) *Logs_Logs_Call
Click to show internal directories.
Click to hide internal directories.