// Code generated by mockery v2.14.0. DO NOT EDIT.

package kubernetes

import (
	io "io"

	mock "github.com/stretchr/testify/mock"
	rest "k8s.io/client-go/rest"

	url "net/url"
)

// MockRemoteExecutor is an autogenerated mock type for the RemoteExecutor type
type MockRemoteExecutor struct {
	mock.Mock
}

// Execute provides a mock function with given fields: method, _a1, config, stdin, stdout, stderr, tty
func (_m *MockRemoteExecutor) Execute(method string, _a1 *url.URL, config *rest.Config, stdin io.Reader, stdout io.Writer, stderr io.Writer, tty bool) error {
	ret := _m.Called(method, _a1, config, stdin, stdout, stderr, tty)

	var r0 error
	if rf, ok := ret.Get(0).(func(string, *url.URL, *rest.Config, io.Reader, io.Writer, io.Writer, bool) error); ok {
		r0 = rf(method, _a1, config, stdin, stdout, stderr, tty)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

type mockConstructorTestingTNewMockRemoteExecutor interface {
	mock.TestingT
	Cleanup(func())
}

// NewMockRemoteExecutor creates a new instance of MockRemoteExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewMockRemoteExecutor(t mockConstructorTestingTNewMockRemoteExecutor) *MockRemoteExecutor {
	mock := &MockRemoteExecutor{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}
