Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockManagerServer
- func (m *MockManagerServer) EXPECT() *MockManagerServerMockRecorder
- func (m *MockManagerServer) GetCDN(arg0 context.Context, arg1 *manager.GetCDNRequest) (*manager.CDN, error)
- func (m *MockManagerServer) GetScheduler(arg0 context.Context, arg1 *manager.GetSchedulerRequest) (*manager.Scheduler, error)
- func (m *MockManagerServer) KeepAlive(arg0 manager.Manager_KeepAliveServer) error
- func (m *MockManagerServer) ListSchedulers(arg0 context.Context, arg1 *manager.ListSchedulersRequest) (*manager.ListSchedulersResponse, error)
- func (m *MockManagerServer) UpdateCDN(arg0 context.Context, arg1 *manager.UpdateCDNRequest) (*manager.CDN, error)
- func (m *MockManagerServer) UpdateScheduler(arg0 context.Context, arg1 *manager.UpdateSchedulerRequest) (*manager.Scheduler, error)
- type MockManagerServerMockRecorder
- func (mr *MockManagerServerMockRecorder) GetCDN(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerServerMockRecorder) GetScheduler(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerServerMockRecorder) KeepAlive(arg0 interface{}) *gomock.Call
- func (mr *MockManagerServerMockRecorder) ListSchedulers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerServerMockRecorder) UpdateCDN(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerServerMockRecorder) UpdateScheduler(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockManagerServer ¶
type MockManagerServer struct {
// contains filtered or unexported fields
}
MockManagerServer is a mock of ManagerServer interface.
func NewMockManagerServer ¶
func NewMockManagerServer(ctrl *gomock.Controller) *MockManagerServer
NewMockManagerServer creates a new mock instance.
func (*MockManagerServer) EXPECT ¶
func (m *MockManagerServer) EXPECT() *MockManagerServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManagerServer) GetCDN ¶
func (m *MockManagerServer) GetCDN(arg0 context.Context, arg1 *manager.GetCDNRequest) (*manager.CDN, error)
GetCDN mocks base method.
func (*MockManagerServer) GetScheduler ¶
func (m *MockManagerServer) GetScheduler(arg0 context.Context, arg1 *manager.GetSchedulerRequest) (*manager.Scheduler, error)
GetScheduler mocks base method.
func (*MockManagerServer) KeepAlive ¶
func (m *MockManagerServer) KeepAlive(arg0 manager.Manager_KeepAliveServer) error
KeepAlive mocks base method.
func (*MockManagerServer) ListSchedulers ¶
func (m *MockManagerServer) ListSchedulers(arg0 context.Context, arg1 *manager.ListSchedulersRequest) (*manager.ListSchedulersResponse, error)
ListSchedulers mocks base method.
func (*MockManagerServer) UpdateCDN ¶
func (m *MockManagerServer) UpdateCDN(arg0 context.Context, arg1 *manager.UpdateCDNRequest) (*manager.CDN, error)
UpdateCDN mocks base method.
func (*MockManagerServer) UpdateScheduler ¶
func (m *MockManagerServer) UpdateScheduler(arg0 context.Context, arg1 *manager.UpdateSchedulerRequest) (*manager.Scheduler, error)
UpdateScheduler mocks base method.
type MockManagerServerMockRecorder ¶
type MockManagerServerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerServerMockRecorder is the mock recorder for MockManagerServer.
func (*MockManagerServerMockRecorder) GetCDN ¶
func (mr *MockManagerServerMockRecorder) GetCDN(arg0, arg1 interface{}) *gomock.Call
GetCDN indicates an expected call of GetCDN.
func (*MockManagerServerMockRecorder) GetScheduler ¶
func (mr *MockManagerServerMockRecorder) GetScheduler(arg0, arg1 interface{}) *gomock.Call
GetScheduler indicates an expected call of GetScheduler.
func (*MockManagerServerMockRecorder) KeepAlive ¶
func (mr *MockManagerServerMockRecorder) KeepAlive(arg0 interface{}) *gomock.Call
KeepAlive indicates an expected call of KeepAlive.
func (*MockManagerServerMockRecorder) ListSchedulers ¶
func (mr *MockManagerServerMockRecorder) ListSchedulers(arg0, arg1 interface{}) *gomock.Call
ListSchedulers indicates an expected call of ListSchedulers.
func (*MockManagerServerMockRecorder) UpdateCDN ¶
func (mr *MockManagerServerMockRecorder) UpdateCDN(arg0, arg1 interface{}) *gomock.Call
UpdateCDN indicates an expected call of UpdateCDN.
func (*MockManagerServerMockRecorder) UpdateScheduler ¶
func (mr *MockManagerServerMockRecorder) UpdateScheduler(arg0, arg1 interface{}) *gomock.Call
UpdateScheduler indicates an expected call of UpdateScheduler.