func (_m *SetupContext) KubeClient() core.KubeClient {
	ret := _m.Called()
	var r0 core.KubeClient
	if rf, ok := ret.Get(0).(func() core.KubeClient); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(core.KubeClient)
		}
	}
	return r0
}
KubeClient provides a mock function with given fields:
package mocks
import (
	core "github.com/flyteorg/flyteplugins/go/tasks/pluginmachinery/core"
	mock "github.com/stretchr/testify/mock"
	promutils "github.com/flyteorg/flytestdlib/promutils"
)
type SetupContext struct {
	mock.Mock
}
type SetupContext_EnqueueOwner struct {
	*mock.Call
}
func (_m SetupContext_EnqueueOwner) Return(_a0 core.EnqueueOwner) *SetupContext_EnqueueOwner {
	return &SetupContext_EnqueueOwner{Call: _m.Call.Return(_a0)}
}
func (_m *SetupContext) OnEnqueueOwner() *SetupContext_EnqueueOwner {
	c := _m.On("EnqueueOwner")
	return &SetupContext_EnqueueOwner{Call: c}
}
func (_m *SetupContext) OnEnqueueOwnerMatch(matchers ...interface{}) *SetupContext_EnqueueOwner {
	c := _m.On("EnqueueOwner", matchers...)
	return &SetupContext_EnqueueOwner{Call: c}
}
func (_m *SetupContext) EnqueueOwner() core.EnqueueOwner {
	ret := _m.Called()
	var r0 core.EnqueueOwner
	if rf, ok := ret.Get(0).(func() core.EnqueueOwner); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(core.EnqueueOwner)
		}
	}
	return r0
}
type SetupContext_KubeClient struct {
	*mock.Call
}
func (_m SetupContext_KubeClient) Return(_a0 core.KubeClient) *SetupContext_KubeClient {
	return &SetupContext_KubeClient{Call: _m.Call.Return(_a0)}
}
func (_m *SetupContext) OnKubeClient() *SetupContext_KubeClient {
	c := _m.On("KubeClient")
	return &SetupContext_KubeClient{Call: c}
}
func (_m *SetupContext) OnKubeClientMatch(matchers ...interface{}) *SetupContext_KubeClient {
	c := _m.On("KubeClient", matchers...)
	return &SetupContext_KubeClient{Call: c}
}