// Code generated by MockGen. DO NOT EDIT.
// Source: interface.go
//
// Generated by this command:
//
//	mockgen -destination=mocks/mock_provider.go -package=mocks -source=interface.go Provider
//

// Package mocks is a generated GoMock package.
package mocks

import (
	reflect "reflect"

	config "github.com/stacklok/toolhive/pkg/config"
	templates "github.com/stacklok/toolhive/pkg/container/templates"
	gomock "go.uber.org/mock/gomock"
)

// MockProvider is a mock of Provider interface.
type MockProvider struct {
	ctrl     *gomock.Controller
	recorder *MockProviderMockRecorder
	isgomock struct{}
}

// MockProviderMockRecorder is the mock recorder for MockProvider.
type MockProviderMockRecorder struct {
	mock *MockProvider
}

// NewMockProvider creates a new mock instance.
func NewMockProvider(ctrl *gomock.Controller) *MockProvider {
	mock := &MockProvider{ctrl: ctrl}
	mock.recorder = &MockProviderMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockProvider) EXPECT() *MockProviderMockRecorder {
	return m.recorder
}

// GetAllBuildEnv mocks base method.
func (m *MockProvider) GetAllBuildEnv() map[string]string {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetAllBuildEnv")
	ret0, _ := ret[0].(map[string]string)
	return ret0
}

// GetAllBuildEnv indicates an expected call of GetAllBuildEnv.
func (mr *MockProviderMockRecorder) GetAllBuildEnv() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllBuildEnv", reflect.TypeOf((*MockProvider)(nil).GetAllBuildEnv))
}

// GetAllBuildEnvFromSecrets mocks base method.
func (m *MockProvider) GetAllBuildEnvFromSecrets() map[string]string {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetAllBuildEnvFromSecrets")
	ret0, _ := ret[0].(map[string]string)
	return ret0
}

// GetAllBuildEnvFromSecrets indicates an expected call of GetAllBuildEnvFromSecrets.
func (mr *MockProviderMockRecorder) GetAllBuildEnvFromSecrets() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllBuildEnvFromSecrets", reflect.TypeOf((*MockProvider)(nil).GetAllBuildEnvFromSecrets))
}

// GetAllBuildEnvFromShell mocks base method.
func (m *MockProvider) GetAllBuildEnvFromShell() []string {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetAllBuildEnvFromShell")
	ret0, _ := ret[0].([]string)
	return ret0
}

// GetAllBuildEnvFromShell indicates an expected call of GetAllBuildEnvFromShell.
func (mr *MockProviderMockRecorder) GetAllBuildEnvFromShell() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllBuildEnvFromShell", reflect.TypeOf((*MockProvider)(nil).GetAllBuildEnvFromShell))
}

// GetBuildEnv mocks base method.
func (m *MockProvider) GetBuildEnv(key string) (string, bool) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetBuildEnv", key)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(bool)
	return ret0, ret1
}

// GetBuildEnv indicates an expected call of GetBuildEnv.
func (mr *MockProviderMockRecorder) GetBuildEnv(key any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBuildEnv", reflect.TypeOf((*MockProvider)(nil).GetBuildEnv), key)
}

// GetBuildEnvFromSecret mocks base method.
func (m *MockProvider) GetBuildEnvFromSecret(key string) (string, bool) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetBuildEnvFromSecret", key)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(bool)
	return ret0, ret1
}

// GetBuildEnvFromSecret indicates an expected call of GetBuildEnvFromSecret.
func (mr *MockProviderMockRecorder) GetBuildEnvFromSecret(key any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBuildEnvFromSecret", reflect.TypeOf((*MockProvider)(nil).GetBuildEnvFromSecret), key)
}

// GetBuildEnvFromShell mocks base method.
func (m *MockProvider) GetBuildEnvFromShell(key string) bool {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetBuildEnvFromShell", key)
	ret0, _ := ret[0].(bool)
	return ret0
}

// GetBuildEnvFromShell indicates an expected call of GetBuildEnvFromShell.
func (mr *MockProviderMockRecorder) GetBuildEnvFromShell(key any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBuildEnvFromShell", reflect.TypeOf((*MockProvider)(nil).GetBuildEnvFromShell), key)
}

// GetCACert mocks base method.
func (m *MockProvider) GetCACert() (string, bool, bool) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetCACert")
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(bool)
	ret2, _ := ret[2].(bool)
	return ret0, ret1, ret2
}

// GetCACert indicates an expected call of GetCACert.
func (mr *MockProviderMockRecorder) GetCACert() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCACert", reflect.TypeOf((*MockProvider)(nil).GetCACert))
}

// GetConfig mocks base method.
func (m *MockProvider) GetConfig() *config.Config {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetConfig")
	ret0, _ := ret[0].(*config.Config)
	return ret0
}

// GetConfig indicates an expected call of GetConfig.
func (mr *MockProviderMockRecorder) GetConfig() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConfig", reflect.TypeOf((*MockProvider)(nil).GetConfig))
}

// GetConfiguredBuildAuthFiles mocks base method.
func (m *MockProvider) GetConfiguredBuildAuthFiles() []string {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetConfiguredBuildAuthFiles")
	ret0, _ := ret[0].([]string)
	return ret0
}

// GetConfiguredBuildAuthFiles indicates an expected call of GetConfiguredBuildAuthFiles.
func (mr *MockProviderMockRecorder) GetConfiguredBuildAuthFiles() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConfiguredBuildAuthFiles", reflect.TypeOf((*MockProvider)(nil).GetConfiguredBuildAuthFiles))
}

// GetRegistryConfig mocks base method.
func (m *MockProvider) GetRegistryConfig() (string, string, bool, string) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetRegistryConfig")
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(string)
	ret2, _ := ret[2].(bool)
	ret3, _ := ret[3].(string)
	return ret0, ret1, ret2, ret3
}

// GetRegistryConfig indicates an expected call of GetRegistryConfig.
func (mr *MockProviderMockRecorder) GetRegistryConfig() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRegistryConfig", reflect.TypeOf((*MockProvider)(nil).GetRegistryConfig))
}

// GetRuntimeConfig mocks base method.
func (m *MockProvider) GetRuntimeConfig(transportType string) (*templates.RuntimeConfig, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetRuntimeConfig", transportType)
	ret0, _ := ret[0].(*templates.RuntimeConfig)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetRuntimeConfig indicates an expected call of GetRuntimeConfig.
func (mr *MockProviderMockRecorder) GetRuntimeConfig(transportType any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRuntimeConfig", reflect.TypeOf((*MockProvider)(nil).GetRuntimeConfig), transportType)
}

// IsBuildAuthFileConfigured mocks base method.
func (m *MockProvider) IsBuildAuthFileConfigured(name string) bool {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "IsBuildAuthFileConfigured", name)
	ret0, _ := ret[0].(bool)
	return ret0
}

// IsBuildAuthFileConfigured indicates an expected call of IsBuildAuthFileConfigured.
func (mr *MockProviderMockRecorder) IsBuildAuthFileConfigured(name any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsBuildAuthFileConfigured", reflect.TypeOf((*MockProvider)(nil).IsBuildAuthFileConfigured), name)
}

// LoadOrCreateConfig mocks base method.
func (m *MockProvider) LoadOrCreateConfig() (*config.Config, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "LoadOrCreateConfig")
	ret0, _ := ret[0].(*config.Config)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// LoadOrCreateConfig indicates an expected call of LoadOrCreateConfig.
func (mr *MockProviderMockRecorder) LoadOrCreateConfig() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadOrCreateConfig", reflect.TypeOf((*MockProvider)(nil).LoadOrCreateConfig))
}

// MarkBuildAuthFileConfigured mocks base method.
func (m *MockProvider) MarkBuildAuthFileConfigured(name string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "MarkBuildAuthFileConfigured", name)
	ret0, _ := ret[0].(error)
	return ret0
}

// MarkBuildAuthFileConfigured indicates an expected call of MarkBuildAuthFileConfigured.
func (mr *MockProviderMockRecorder) MarkBuildAuthFileConfigured(name any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MarkBuildAuthFileConfigured", reflect.TypeOf((*MockProvider)(nil).MarkBuildAuthFileConfigured), name)
}

// SetBuildEnv mocks base method.
func (m *MockProvider) SetBuildEnv(key, value string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SetBuildEnv", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// SetBuildEnv indicates an expected call of SetBuildEnv.
func (mr *MockProviderMockRecorder) SetBuildEnv(key, value any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBuildEnv", reflect.TypeOf((*MockProvider)(nil).SetBuildEnv), key, value)
}

// SetBuildEnvFromSecret mocks base method.
func (m *MockProvider) SetBuildEnvFromSecret(key, secretName string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SetBuildEnvFromSecret", key, secretName)
	ret0, _ := ret[0].(error)
	return ret0
}

// SetBuildEnvFromSecret indicates an expected call of SetBuildEnvFromSecret.
func (mr *MockProviderMockRecorder) SetBuildEnvFromSecret(key, secretName any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBuildEnvFromSecret", reflect.TypeOf((*MockProvider)(nil).SetBuildEnvFromSecret), key, secretName)
}

// SetBuildEnvFromShell mocks base method.
func (m *MockProvider) SetBuildEnvFromShell(key string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SetBuildEnvFromShell", key)
	ret0, _ := ret[0].(error)
	return ret0
}

// SetBuildEnvFromShell indicates an expected call of SetBuildEnvFromShell.
func (mr *MockProviderMockRecorder) SetBuildEnvFromShell(key any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBuildEnvFromShell", reflect.TypeOf((*MockProvider)(nil).SetBuildEnvFromShell), key)
}

// SetCACert mocks base method.
func (m *MockProvider) SetCACert(certPath string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SetCACert", certPath)
	ret0, _ := ret[0].(error)
	return ret0
}

// SetCACert indicates an expected call of SetCACert.
func (mr *MockProviderMockRecorder) SetCACert(certPath any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCACert", reflect.TypeOf((*MockProvider)(nil).SetCACert), certPath)
}

// SetRegistryAPI mocks base method.
func (m *MockProvider) SetRegistryAPI(apiURL string, allowPrivateRegistryIp bool) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SetRegistryAPI", apiURL, allowPrivateRegistryIp)
	ret0, _ := ret[0].(error)
	return ret0
}

// SetRegistryAPI indicates an expected call of SetRegistryAPI.
func (mr *MockProviderMockRecorder) SetRegistryAPI(apiURL, allowPrivateRegistryIp any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetRegistryAPI", reflect.TypeOf((*MockProvider)(nil).SetRegistryAPI), apiURL, allowPrivateRegistryIp)
}

// SetRegistryFile mocks base method.
func (m *MockProvider) SetRegistryFile(registryPath string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SetRegistryFile", registryPath)
	ret0, _ := ret[0].(error)
	return ret0
}

// SetRegistryFile indicates an expected call of SetRegistryFile.
func (mr *MockProviderMockRecorder) SetRegistryFile(registryPath any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetRegistryFile", reflect.TypeOf((*MockProvider)(nil).SetRegistryFile), registryPath)
}

// SetRegistryURL mocks base method.
func (m *MockProvider) SetRegistryURL(registryURL string, allowPrivateRegistryIp bool) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SetRegistryURL", registryURL, allowPrivateRegistryIp)
	ret0, _ := ret[0].(error)
	return ret0
}

// SetRegistryURL indicates an expected call of SetRegistryURL.
func (mr *MockProviderMockRecorder) SetRegistryURL(registryURL, allowPrivateRegistryIp any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetRegistryURL", reflect.TypeOf((*MockProvider)(nil).SetRegistryURL), registryURL, allowPrivateRegistryIp)
}

// SetRuntimeConfig mocks base method.
func (m *MockProvider) SetRuntimeConfig(transportType string, arg1 *templates.RuntimeConfig) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SetRuntimeConfig", transportType, arg1)
	ret0, _ := ret[0].(error)
	return ret0
}

// SetRuntimeConfig indicates an expected call of SetRuntimeConfig.
func (mr *MockProviderMockRecorder) SetRuntimeConfig(transportType, arg1 any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetRuntimeConfig", reflect.TypeOf((*MockProvider)(nil).SetRuntimeConfig), transportType, arg1)
}

// UnsetAllBuildAuthFiles mocks base method.
func (m *MockProvider) UnsetAllBuildAuthFiles() error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UnsetAllBuildAuthFiles")
	ret0, _ := ret[0].(error)
	return ret0
}

// UnsetAllBuildAuthFiles indicates an expected call of UnsetAllBuildAuthFiles.
func (mr *MockProviderMockRecorder) UnsetAllBuildAuthFiles() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnsetAllBuildAuthFiles", reflect.TypeOf((*MockProvider)(nil).UnsetAllBuildAuthFiles))
}

// UnsetAllBuildEnv mocks base method.
func (m *MockProvider) UnsetAllBuildEnv() error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UnsetAllBuildEnv")
	ret0, _ := ret[0].(error)
	return ret0
}

// UnsetAllBuildEnv indicates an expected call of UnsetAllBuildEnv.
func (mr *MockProviderMockRecorder) UnsetAllBuildEnv() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnsetAllBuildEnv", reflect.TypeOf((*MockProvider)(nil).UnsetAllBuildEnv))
}

// UnsetBuildAuthFile mocks base method.
func (m *MockProvider) UnsetBuildAuthFile(name string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UnsetBuildAuthFile", name)
	ret0, _ := ret[0].(error)
	return ret0
}

// UnsetBuildAuthFile indicates an expected call of UnsetBuildAuthFile.
func (mr *MockProviderMockRecorder) UnsetBuildAuthFile(name any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnsetBuildAuthFile", reflect.TypeOf((*MockProvider)(nil).UnsetBuildAuthFile), name)
}

// UnsetBuildEnv mocks base method.
func (m *MockProvider) UnsetBuildEnv(key string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UnsetBuildEnv", key)
	ret0, _ := ret[0].(error)
	return ret0
}

// UnsetBuildEnv indicates an expected call of UnsetBuildEnv.
func (mr *MockProviderMockRecorder) UnsetBuildEnv(key any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnsetBuildEnv", reflect.TypeOf((*MockProvider)(nil).UnsetBuildEnv), key)
}

// UnsetBuildEnvFromSecret mocks base method.
func (m *MockProvider) UnsetBuildEnvFromSecret(key string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UnsetBuildEnvFromSecret", key)
	ret0, _ := ret[0].(error)
	return ret0
}

// UnsetBuildEnvFromSecret indicates an expected call of UnsetBuildEnvFromSecret.
func (mr *MockProviderMockRecorder) UnsetBuildEnvFromSecret(key any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnsetBuildEnvFromSecret", reflect.TypeOf((*MockProvider)(nil).UnsetBuildEnvFromSecret), key)
}

// UnsetBuildEnvFromShell mocks base method.
func (m *MockProvider) UnsetBuildEnvFromShell(key string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UnsetBuildEnvFromShell", key)
	ret0, _ := ret[0].(error)
	return ret0
}

// UnsetBuildEnvFromShell indicates an expected call of UnsetBuildEnvFromShell.
func (mr *MockProviderMockRecorder) UnsetBuildEnvFromShell(key any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnsetBuildEnvFromShell", reflect.TypeOf((*MockProvider)(nil).UnsetBuildEnvFromShell), key)
}

// UnsetCACert mocks base method.
func (m *MockProvider) UnsetCACert() error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UnsetCACert")
	ret0, _ := ret[0].(error)
	return ret0
}

// UnsetCACert indicates an expected call of UnsetCACert.
func (mr *MockProviderMockRecorder) UnsetCACert() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnsetCACert", reflect.TypeOf((*MockProvider)(nil).UnsetCACert))
}

// UnsetRegistry mocks base method.
func (m *MockProvider) UnsetRegistry() error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UnsetRegistry")
	ret0, _ := ret[0].(error)
	return ret0
}

// UnsetRegistry indicates an expected call of UnsetRegistry.
func (mr *MockProviderMockRecorder) UnsetRegistry() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnsetRegistry", reflect.TypeOf((*MockProvider)(nil).UnsetRegistry))
}

// UpdateConfig mocks base method.
func (m *MockProvider) UpdateConfig(updateFn func(*config.Config) error) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpdateConfig", updateFn)
	ret0, _ := ret[0].(error)
	return ret0
}

// UpdateConfig indicates an expected call of UpdateConfig.
func (mr *MockProviderMockRecorder) UpdateConfig(updateFn any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateConfig", reflect.TypeOf((*MockProvider)(nil).UpdateConfig), updateFn)
}
