func (_m *DockerClient) ConfigList(ctx context.Context, options types.ConfigListOptions) ([]swarm.Config, error) {
	ret := _m.Called(ctx, options)

	var r0 []swarm.Config
	if rf, ok := ret.Get(0).(func(context.Context, types.ConfigListOptions) []swarm.Config); ok {
		r0 = rf(ctx, options)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]swarm.Config)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, types.ConfigListOptions) error); ok {
		r1 = rf(ctx, options)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
// ConfigList provides a mock function with given fields: ctx, options
ConfigList provides a mock function with given fields: ctx, options
// ConfigList provides a mock function with given fields : ctx options
func (_m *DockerClient) ConfigList(ctx context.Context, options types.ConfigListOptions) ([]swarm.Config, error) {
	ret := _m.Called(ctx, options)
	var r0 []swarm.Config
	if rf, ok := ret.Get(0).(func(context.Context, types.ConfigListOptions) []swarm.Config); ok {
		r0 = rf(ctx, options)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]swarm.Config)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, types.ConfigListOptions) error); ok {
		r1 = rf(ctx, options)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * DockerClient ) ConfigList ( ctx context . Context , options types . ConfigListOptions ) ( [ ] swarm . Config , error ) { ret := _m . Called ( ctx , options ) var r0 [ ] swarm . Config if rf , ok := ret . Get ( 0 ) . ( func ( context . Context , types . ConfigListOptions ) [ ] swarm . Config ) ; ok { r0 = rf ( ctx , options ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( [ ] swarm . Config ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( context . Context , types . ConfigListOptions ) error ) ; ok { r1 = rf ( ctx , options ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
ConfigList provides a mock function with given fields: ctx, options
ConfigList provides a mock function with given fields : ctx options