func (_m *Resource) GetLabels() map[string]string {
	ret := _m.Called()
	var r0 map[string]string
	if rf, ok := ret.Get(0).(func() map[string]string); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(map[string]string)
		}
	}
	return r0
}
GetLabels provides a mock function with given fields:
package mocks
import (
	mock "github.com/stretchr/testify/mock"
	runtime "k8s.io/apimachinery/pkg/runtime"
	schema "k8s.io/apimachinery/pkg/runtime/schema"
	types "k8s.io/apimachinery/pkg/types"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
type Resource struct {
	mock.Mock
}
type Resource_DeepCopyObject struct {
	*mock.Call
}
func (_m Resource_DeepCopyObject) Return(_a0 runtime.Object) *Resource_DeepCopyObject {
	return &Resource_DeepCopyObject{Call: _m.Call.Return(_a0)}
}
func (_m *Resource) OnDeepCopyObject() *Resource_DeepCopyObject {
	c := _m.On("DeepCopyObject")
	return &Resource_DeepCopyObject{Call: c}
}
func (_m *Resource) OnDeepCopyObjectMatch(matchers ...interface{}) *Resource_DeepCopyObject {
	c := _m.On("DeepCopyObject", matchers...)
	return &Resource_DeepCopyObject{Call: c}
}
func (_m *Resource) DeepCopyObject() runtime.Object {
	ret := _m.Called()
	var r0 runtime.Object
	if rf, ok := ret.Get(0).(func() runtime.Object); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(runtime.Object)
		}
	}
	return r0
}
type Resource_GetAnnotations struct {
	*mock.Call
}
func (_m Resource_GetAnnotations) Return(_a0 map[string]string) *Resource_GetAnnotations {
	return &Resource_GetAnnotations{Call: _m.Call.Return(_a0)}
}
func (_m *Resource) OnGetAnnotations() *Resource_GetAnnotations {
	c := _m.On("GetAnnotations")
	return &Resource_GetAnnotations{Call: c}
}
func (_m *Resource) OnGetAnnotationsMatch(matchers ...interface{}) *Resource_GetAnnotations {
	c := _m.On("GetAnnotations", matchers...)
	return &Resource_GetAnnotations{Call: c}
}
func (_m *Resource) GetAnnotations() map[string]string {
	ret := _m.Called()
	var r0 map[string]string
	if rf, ok := ret.Get(0).(func() map[string]string); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(map[string]string)
		}
	}
	return r0
}
type Resource_GetClusterName struct {
	*mock.Call
}
func (_m Resource_GetClusterName) Return(_a0 string) *Resource_GetClusterName {
	return &Resource_GetClusterName{Call: _m.Call.Return(_a0)}
}
func (_m *Resource) OnGetClusterName() *Resource_GetClusterName {
	c := _m.On("GetClusterName")
	return &Resource_GetClusterName{Call: c}
}
func (_m *Resource) OnGetClusterNameMatch(matchers ...interface{}) *Resource_GetClusterName {
	c := _m.On("GetClusterName", matchers...)
	return &Resource_GetClusterName{Call: c}
}
func (_m *Resource) GetClusterName() string {
	ret := _m.Called()
	var r0 string
	if rf, ok := ret.Get(0).(func() string); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(string)
	}
	return r0
}
type Resource_GetCreationTimestamp struct {
	*mock.Call
}
func (_m Resource_GetCreationTimestamp) Return(_a0 v1.Time) *Resource_GetCreationTimestamp {
	return &Resource_GetCreationTimestamp{Call: _m.Call.Return(_a0)}
}
func (_m *Resource) OnGetCreationTimestamp() *Resource_GetCreationTimestamp {
	c := _m.On("GetCreationTimestamp")
	return &Resource_GetCreationTimestamp{Call: c}
}
func (_m *Resource) OnGetCreationTimestampMatch(matchers ...interface{}) *Resource_GetCreationTimestamp {
	c := _m.On("GetCreationTimestamp", matchers...)
	return &Resource_GetCreationTimestamp{Call: c}
}
func (_m *Resource) GetCreationTimestamp() v1.Time {
	ret := _m.Called()
	var r0 v1.Time
	if rf, ok := ret.Get(0).(func() v1.Time); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(v1.Time)
	}
	return r0
}
type Resource_GetDeletionGracePeriodSeconds struct {
	*mock.Call
}
func (_m Resource_GetDeletionGracePeriodSeconds) Return(_a0 *int64) *Resource_GetDeletionGracePeriodSeconds {
	return &Resource_GetDeletionGracePeriodSeconds{Call: _m.Call.Return(_a0)}
}
func (_m *Resource) OnGetDeletionGracePeriodSeconds() *Resource_GetDeletionGracePeriodSeconds {
	c := _m.On("GetDeletionGracePeriodSeconds")
	return &Resource_GetDeletionGracePeriodSeconds{Call: c}
}
func (_m *Resource) OnGetDeletionGracePeriodSecondsMatch(matchers ...interface{}) *Resource_GetDeletionGracePeriodSeconds {
	c := _m.On("GetDeletionGracePeriodSeconds", matchers...)
	return &Resource_GetDeletionGracePeriodSeconds{Call: c}
}
func (_m *Resource) GetDeletionGracePeriodSeconds() *int64 {
	ret := _m.Called()
	var r0 *int64
	if rf, ok := ret.Get(0).(func() *int64); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*int64)
		}
	}
	return r0
}
type Resource_GetDeletionTimestamp struct {
	*mock.Call
}
func (_m Resource_GetDeletionTimestamp) Return(_a0 *v1.Time) *Resource_GetDeletionTimestamp {
	return &Resource_GetDeletionTimestamp{Call: _m.Call.Return(_a0)}
}
func (_m *Resource) OnGetDeletionTimestamp() *Resource_GetDeletionTimestamp {
	c := _m.On("GetDeletionTimestamp")
	return &Resource_GetDeletionTimestamp{Call: c}
}
func (_m *Resource) OnGetDeletionTimestampMatch(matchers ...interface{}) *Resource_GetDeletionTimestamp {
	c := _m.On("GetDeletionTimestamp", matchers...)
	return &Resource_GetDeletionTimestamp{Call: c}
}
func (_m *Resource) GetDeletionTimestamp() *v1.Time {
	ret := _m.Called()
	var r0 *v1.Time
	if rf, ok := ret.Get(0).(func() *v1.Time); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*v1.Time)
		}
	}
	return r0
}
type Resource_GetFinalizers struct {
	*mock.Call
}
func (_m Resource_GetFinalizers) Return(_a0 []string) *Resource_GetFinalizers {
	return &Resource_GetFinalizers{Call: _m.Call.Return(_a0)}
}
func (_m *Resource) OnGetFinalizers() *Resource_GetFinalizers {
	c := _m.On("GetFinalizers")
	return &Resource_GetFinalizers{Call: c}
}
func (_m *Resource) OnGetFinalizersMatch(matchers ...interface{}) *Resource_GetFinalizers {
	c := _m.On("GetFinalizers", matchers...)
	return &Resource_GetFinalizers{Call: c}
}
func (_m *Resource) GetFinalizers() []string {
	ret := _m.Called()
	var r0 []string
	if rf, ok := ret.Get(0).(func() []string); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]string)
		}
	}
	return r0
}
type Resource_GetGenerateName struct {
	*mock.Call
}
func (_m Resource_GetGenerateName) Return(_a0 string) *Resource_GetGenerateName {
	return &Resource_GetGenerateName{Call: _m.Call.Return(_a0)}
}
func (_m *Resource) OnGetGenerateName() *Resource_GetGenerateName {
	c := _m.On("GetGenerateName")
	return &Resource_GetGenerateName{Call: c}
}
func (_m *Resource) OnGetGenerateNameMatch(matchers ...interface{}) *Resource_GetGenerateName {
	c := _m.On("GetGenerateName", matchers...)
	return &Resource_GetGenerateName{Call: c}
}
func (_m *Resource) GetGenerateName() string {
	ret := _m.Called()
	var r0 string
	if rf, ok := ret.Get(0).(func() string); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(string)
	}
	return r0
}
type Resource_GetGeneration struct {
	*mock.Call
}
func (_m Resource_GetGeneration) Return(_a0 int64) *Resource_GetGeneration {
	return &Resource_GetGeneration{Call: _m.Call.Return(_a0)}
}
func (_m *Resource) OnGetGeneration() *Resource_GetGeneration {
	c := _m.On("GetGeneration")
	return &Resource_GetGeneration{Call: c}
}
func (_m *Resource) OnGetGenerationMatch(matchers ...interface{}) *Resource_GetGeneration {
	c := _m.On("GetGeneration", matchers...)
	return &Resource_GetGeneration{Call: c}
}
func (_m *Resource) GetGeneration() int64 {
	ret := _m.Called()
	var r0 int64
	if rf, ok := ret.Get(0).(func() int64); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(int64)
	}
	return r0
}
type Resource_GetLabels struct {
	*mock.Call
}
func (_m Resource_GetLabels) Return(_a0 map[string]string) *Resource_GetLabels {
	return &Resource_GetLabels{Call: _m.Call.Return(_a0)}
}
func (_m *Resource) OnGetLabels() *Resource_GetLabels {
	c := _m.On("GetLabels")
	return &Resource_GetLabels{Call: c}
}
func (_m *Resource) OnGetLabelsMatch(matchers ...interface{}) *Resource_GetLabels {
	c := _m.On("GetLabels", matchers...)
	return &Resource_GetLabels{Call: c}
}