// Code generated by mockery v1.1.0. DO NOT EDIT.

package pull

import (
	mock "github.com/stretchr/testify/mock"
	v1 "k8s.io/api/core/v1"
)

// MockManager is an autogenerated mock type for the Manager type
type MockManager struct {
	mock.Mock
}

// GetPullPolicyFor provides a mock function with given fields: image
func (_m *MockManager) GetPullPolicyFor(image string) (v1.PullPolicy, error) {
	ret := _m.Called(image)

	var r0 v1.PullPolicy
	if rf, ok := ret.Get(0).(func(string) v1.PullPolicy); ok {
		r0 = rf(image)
	} else {
		r0 = ret.Get(0).(v1.PullPolicy)
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(string) error); ok {
		r1 = rf(image)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

// UpdatePolicyForImage provides a mock function with given fields: attempt, imagePullErr
func (_m *MockManager) UpdatePolicyForImage(attempt int, imagePullErr *ImagePullError) bool {
	ret := _m.Called(attempt, imagePullErr)

	var r0 bool
	if rf, ok := ret.Get(0).(func(int, *ImagePullError) bool); ok {
		r0 = rf(attempt, imagePullErr)
	} else {
		r0 = ret.Get(0).(bool)
	}

	return r0
}
