Skip to content
Snippets Groups Projects
Plugin.go 1.59 KiB
Newer Older
  • Learn to ignore specific revisions
  • // Code generated by mockery v2.10.0. DO NOT EDIT.
    
    	plugin "code.fbi.h-da.de/danet/gosdn/controller/interfaces/plugin"
    
    	uuid "github.com/google/uuid"
    	mock "github.com/stretchr/testify/mock"
    )
    
    // Plugin is an autogenerated mock type for the Plugin type
    type Plugin struct {
    	mock.Mock
    }
    
    // ID provides a mock function with given fields:
    func (_m *Plugin) ID() uuid.UUID {
    	ret := _m.Called()
    
    	var r0 uuid.UUID
    	if rf, ok := ret.Get(0).(func() uuid.UUID); ok {
    		r0 = rf()
    	} else {
    		if ret.Get(0) != nil {
    			r0 = ret.Get(0).(uuid.UUID)
    		}
    	}
    
    	return r0
    }
    
    // Manifest provides a mock function with given fields:
    func (_m *Plugin) Manifest() *plugin.Manifest {
    	ret := _m.Called()
    
    	var r0 *plugin.Manifest
    	if rf, ok := ret.Get(0).(func() *plugin.Manifest); ok {
    		r0 = rf()
    	} else {
    		if ret.Get(0) != nil {
    			r0 = ret.Get(0).(*plugin.Manifest)
    		}
    	}
    
    	return r0
    }
    
    // Path provides a mock function with given fields:
    func (_m *Plugin) Path() 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
    }
    
    // State provides a mock function with given fields:
    func (_m *Plugin) State() plugin.State {
    	ret := _m.Called()
    
    	var r0 plugin.State
    	if rf, ok := ret.Get(0).(func() plugin.State); ok {
    		r0 = rf()
    	} else {
    		r0 = ret.Get(0).(plugin.State)
    	}
    
    	return r0
    }
    
    // Update provides a mock function with given fields:
    func (_m *Plugin) Update() error {
    	ret := _m.Called()
    
    	var r0 error
    	if rf, ok := ret.Get(0).(func() error); ok {
    		r0 = rf()
    	} else {
    		r0 = ret.Error(0)
    	}
    
    	return r0
    }