Documentation ¶
Index ¶
- type Seeder
- type Seeder_Expecter
- type Seeder_Seed_Call
- type Seeder_Unseed_Call
- func (_c *Seeder_Unseed_Call) Return(_a0 error) *Seeder_Unseed_Call
- func (_c *Seeder_Unseed_Call) Run(run func(env terra.Environment, unseedOptions seed.UnseedOptions)) *Seeder_Unseed_Call
- func (_c *Seeder_Unseed_Call) RunAndReturn(run func(terra.Environment, seed.UnseedOptions) error) *Seeder_Unseed_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Seeder ¶
Seeder is an autogenerated mock type for the Seeder type
func NewSeeder ¶
NewSeeder creates a new instance of Seeder. 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 (*Seeder) EXPECT ¶
func (_m *Seeder) EXPECT() *Seeder_Expecter
func (*Seeder) Seed ¶
func (_m *Seeder) Seed(env terra.Environment, seedOptions seed.SeedOptions) error
Seed provides a mock function with given fields: env, seedOptions
func (*Seeder) Unseed ¶
func (_m *Seeder) Unseed(env terra.Environment, unseedOptions seed.UnseedOptions) error
Unseed provides a mock function with given fields: env, unseedOptions
type Seeder_Expecter ¶
type Seeder_Expecter struct {
// contains filtered or unexported fields
}
func (*Seeder_Expecter) Seed ¶
func (_e *Seeder_Expecter) Seed(env interface{}, seedOptions interface{}) *Seeder_Seed_Call
Seed is a helper method to define mock.On call
- env terra.Environment
- seedOptions seed.SeedOptions
func (*Seeder_Expecter) Unseed ¶
func (_e *Seeder_Expecter) Unseed(env interface{}, unseedOptions interface{}) *Seeder_Unseed_Call
Unseed is a helper method to define mock.On call
- env terra.Environment
- unseedOptions seed.UnseedOptions
type Seeder_Seed_Call ¶
Seeder_Seed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Seed'
func (*Seeder_Seed_Call) Return ¶
func (_c *Seeder_Seed_Call) Return(_a0 error) *Seeder_Seed_Call
func (*Seeder_Seed_Call) Run ¶
func (_c *Seeder_Seed_Call) Run(run func(env terra.Environment, seedOptions seed.SeedOptions)) *Seeder_Seed_Call
func (*Seeder_Seed_Call) RunAndReturn ¶
func (_c *Seeder_Seed_Call) RunAndReturn(run func(terra.Environment, seed.SeedOptions) error) *Seeder_Seed_Call
type Seeder_Unseed_Call ¶
Seeder_Unseed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unseed'
func (*Seeder_Unseed_Call) Return ¶
func (_c *Seeder_Unseed_Call) Return(_a0 error) *Seeder_Unseed_Call
func (*Seeder_Unseed_Call) Run ¶
func (_c *Seeder_Unseed_Call) Run(run func(env terra.Environment, unseedOptions seed.UnseedOptions)) *Seeder_Unseed_Call
func (*Seeder_Unseed_Call) RunAndReturn ¶
func (_c *Seeder_Unseed_Call) RunAndReturn(run func(terra.Environment, seed.UnseedOptions) error) *Seeder_Unseed_Call