Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sync ¶
Sync is an autogenerated mock type for the Sync type
func NewSync ¶
NewSync creates a new instance of Sync. 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 (*Sync) EXPECT ¶
func (_m *Sync) EXPECT() *Sync_Expecter
type Sync_Expecter ¶
type Sync_Expecter struct {
// contains filtered or unexported fields
}
func (*Sync_Expecter) Sync ¶
func (_e *Sync_Expecter) Sync(releases interface{}, maxParallel interface{}, options ...interface{}) *Sync_Sync_Call
Sync is a helper method to define mock.On call
- releases []terra.Release
- maxParallel int
- options ...argocd.SyncOption
type Sync_Sync_Call ¶
Sync_Sync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sync'
func (*Sync_Sync_Call) Return ¶
func (_c *Sync_Sync_Call) Return(_a0 map[terra.Release]*status.Status, _a1 error) *Sync_Sync_Call
func (*Sync_Sync_Call) Run ¶
func (_c *Sync_Sync_Call) Run(run func(releases []terra.Release, maxParallel int, options ...argocd.SyncOption)) *Sync_Sync_Call
func (*Sync_Sync_Call) RunAndReturn ¶
func (_c *Sync_Sync_Call) RunAndReturn(run func([]terra.Release, int, ...argocd.SyncOption) (map[terra.Release]*status.Status, error)) *Sync_Sync_Call
Click to show internal directories.
Click to hide internal directories.