Documentation ¶
Overview ¶
Package mock_eventgridapi is a generated GoMock package.
Package mock_eventgridapi is a generated GoMock package.
Index ¶
- type MockBaseClientAPI
- func (m *MockBaseClientAPI) EXPECT() *MockBaseClientAPIMockRecorder
- func (m *MockBaseClientAPI) PublishCloudEventEvents(arg0 context.Context, arg1 string, arg2 []eventgrid.CloudEventEvent) (autorest.Response, error)
- func (m *MockBaseClientAPI) PublishCustomEventEvents(arg0 context.Context, arg1 string, arg2 []interface{}) (autorest.Response, error)
- func (m *MockBaseClientAPI) PublishEvents(arg0 context.Context, arg1 string, arg2 []eventgrid.Event) (autorest.Response, error)
- type MockBaseClientAPIMockRecorder
- func (mr *MockBaseClientAPIMockRecorder) PublishCloudEventEvents(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockBaseClientAPIMockRecorder) PublishCustomEventEvents(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockBaseClientAPIMockRecorder) PublishEvents(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockTopicsClientAPI
- func (m *MockTopicsClientAPI) CreateOrUpdate(arg0 context.Context, arg1, arg2 string, arg3 eventgrid.Topic) (eventgrid.TopicsCreateOrUpdateFuture, error)
- func (m *MockTopicsClientAPI) Delete(arg0 context.Context, arg1, arg2 string) (eventgrid.TopicsDeleteFuture, error)
- func (m *MockTopicsClientAPI) EXPECT() *MockTopicsClientAPIMockRecorder
- func (m *MockTopicsClientAPI) Get(arg0 context.Context, arg1, arg2 string) (eventgrid.Topic, error)
- func (m *MockTopicsClientAPI) ListByResourceGroup(arg0 context.Context, arg1, arg2 string, arg3 *int32) (eventgrid.TopicsListResultPage, error)
- func (m *MockTopicsClientAPI) ListByResourceGroupComplete(arg0 context.Context, arg1, arg2 string, arg3 *int32) (eventgrid.TopicsListResultIterator, error)
- func (m *MockTopicsClientAPI) ListBySubscription(arg0 context.Context, arg1 string, arg2 *int32) (eventgrid.TopicsListResultPage, error)
- func (m *MockTopicsClientAPI) ListBySubscriptionComplete(arg0 context.Context, arg1 string, arg2 *int32) (eventgrid.TopicsListResultIterator, error)
- func (m *MockTopicsClientAPI) ListEventTypes(arg0 context.Context, arg1, arg2, arg3, arg4 string) (eventgrid.EventTypesListResult, error)
- func (m *MockTopicsClientAPI) ListSharedAccessKeys(arg0 context.Context, arg1, arg2 string) (eventgrid.TopicSharedAccessKeys, error)
- func (m *MockTopicsClientAPI) RegenerateKey(arg0 context.Context, arg1, arg2 string, ...) (eventgrid.TopicSharedAccessKeys, error)
- func (m *MockTopicsClientAPI) Update(arg0 context.Context, arg1, arg2 string, arg3 eventgrid.TopicUpdateParameters) (eventgrid.TopicsUpdateFuture, error)
- type MockTopicsClientAPIMockRecorder
- func (mr *MockTopicsClientAPIMockRecorder) CreateOrUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTopicsClientAPIMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTopicsClientAPIMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTopicsClientAPIMockRecorder) ListByResourceGroup(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTopicsClientAPIMockRecorder) ListByResourceGroupComplete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTopicsClientAPIMockRecorder) ListBySubscription(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTopicsClientAPIMockRecorder) ListBySubscriptionComplete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTopicsClientAPIMockRecorder) ListEventTypes(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockTopicsClientAPIMockRecorder) ListSharedAccessKeys(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTopicsClientAPIMockRecorder) RegenerateKey(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTopicsClientAPIMockRecorder) Update(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBaseClientAPI ¶
type MockBaseClientAPI struct {
// contains filtered or unexported fields
}
MockBaseClientAPI is a mock of BaseClientAPI interface.
func NewMockBaseClientAPI ¶
func NewMockBaseClientAPI(ctrl *gomock.Controller) *MockBaseClientAPI
NewMockBaseClientAPI creates a new mock instance.
func (*MockBaseClientAPI) EXPECT ¶
func (m *MockBaseClientAPI) EXPECT() *MockBaseClientAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBaseClientAPI) PublishCloudEventEvents ¶
func (m *MockBaseClientAPI) PublishCloudEventEvents(arg0 context.Context, arg1 string, arg2 []eventgrid.CloudEventEvent) (autorest.Response, error)
PublishCloudEventEvents mocks base method.
func (*MockBaseClientAPI) PublishCustomEventEvents ¶
func (m *MockBaseClientAPI) PublishCustomEventEvents(arg0 context.Context, arg1 string, arg2 []interface{}) (autorest.Response, error)
PublishCustomEventEvents mocks base method.
type MockBaseClientAPIMockRecorder ¶
type MockBaseClientAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockBaseClientAPIMockRecorder is the mock recorder for MockBaseClientAPI.
func (*MockBaseClientAPIMockRecorder) PublishCloudEventEvents ¶
func (mr *MockBaseClientAPIMockRecorder) PublishCloudEventEvents(arg0, arg1, arg2 interface{}) *gomock.Call
PublishCloudEventEvents indicates an expected call of PublishCloudEventEvents.
func (*MockBaseClientAPIMockRecorder) PublishCustomEventEvents ¶
func (mr *MockBaseClientAPIMockRecorder) PublishCustomEventEvents(arg0, arg1, arg2 interface{}) *gomock.Call
PublishCustomEventEvents indicates an expected call of PublishCustomEventEvents.
func (*MockBaseClientAPIMockRecorder) PublishEvents ¶
func (mr *MockBaseClientAPIMockRecorder) PublishEvents(arg0, arg1, arg2 interface{}) *gomock.Call
PublishEvents indicates an expected call of PublishEvents.
type MockTopicsClientAPI ¶
type MockTopicsClientAPI struct {
// contains filtered or unexported fields
}
MockTopicsClientAPI is a mock of TopicsClientAPI interface.
func NewMockTopicsClientAPI ¶
func NewMockTopicsClientAPI(ctrl *gomock.Controller) *MockTopicsClientAPI
NewMockTopicsClientAPI creates a new mock instance.
func (*MockTopicsClientAPI) CreateOrUpdate ¶
func (m *MockTopicsClientAPI) CreateOrUpdate(arg0 context.Context, arg1, arg2 string, arg3 eventgrid.Topic) (eventgrid.TopicsCreateOrUpdateFuture, error)
CreateOrUpdate mocks base method.
func (*MockTopicsClientAPI) Delete ¶
func (m *MockTopicsClientAPI) Delete(arg0 context.Context, arg1, arg2 string) (eventgrid.TopicsDeleteFuture, error)
Delete mocks base method.
func (*MockTopicsClientAPI) EXPECT ¶
func (m *MockTopicsClientAPI) EXPECT() *MockTopicsClientAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTopicsClientAPI) ListByResourceGroup ¶
func (m *MockTopicsClientAPI) ListByResourceGroup(arg0 context.Context, arg1, arg2 string, arg3 *int32) (eventgrid.TopicsListResultPage, error)
ListByResourceGroup mocks base method.
func (*MockTopicsClientAPI) ListByResourceGroupComplete ¶
func (m *MockTopicsClientAPI) ListByResourceGroupComplete(arg0 context.Context, arg1, arg2 string, arg3 *int32) (eventgrid.TopicsListResultIterator, error)
ListByResourceGroupComplete mocks base method.
func (*MockTopicsClientAPI) ListBySubscription ¶
func (m *MockTopicsClientAPI) ListBySubscription(arg0 context.Context, arg1 string, arg2 *int32) (eventgrid.TopicsListResultPage, error)
ListBySubscription mocks base method.
func (*MockTopicsClientAPI) ListBySubscriptionComplete ¶
func (m *MockTopicsClientAPI) ListBySubscriptionComplete(arg0 context.Context, arg1 string, arg2 *int32) (eventgrid.TopicsListResultIterator, error)
ListBySubscriptionComplete mocks base method.
func (*MockTopicsClientAPI) ListEventTypes ¶
func (m *MockTopicsClientAPI) ListEventTypes(arg0 context.Context, arg1, arg2, arg3, arg4 string) (eventgrid.EventTypesListResult, error)
ListEventTypes mocks base method.
func (*MockTopicsClientAPI) ListSharedAccessKeys ¶
func (m *MockTopicsClientAPI) ListSharedAccessKeys(arg0 context.Context, arg1, arg2 string) (eventgrid.TopicSharedAccessKeys, error)
ListSharedAccessKeys mocks base method.
func (*MockTopicsClientAPI) RegenerateKey ¶
func (m *MockTopicsClientAPI) RegenerateKey(arg0 context.Context, arg1, arg2 string, arg3 eventgrid.TopicRegenerateKeyRequest) (eventgrid.TopicSharedAccessKeys, error)
RegenerateKey mocks base method.
func (*MockTopicsClientAPI) Update ¶
func (m *MockTopicsClientAPI) Update(arg0 context.Context, arg1, arg2 string, arg3 eventgrid.TopicUpdateParameters) (eventgrid.TopicsUpdateFuture, error)
Update mocks base method.
type MockTopicsClientAPIMockRecorder ¶
type MockTopicsClientAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockTopicsClientAPIMockRecorder is the mock recorder for MockTopicsClientAPI.
func (*MockTopicsClientAPIMockRecorder) CreateOrUpdate ¶
func (mr *MockTopicsClientAPIMockRecorder) CreateOrUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateOrUpdate indicates an expected call of CreateOrUpdate.
func (*MockTopicsClientAPIMockRecorder) Delete ¶
func (mr *MockTopicsClientAPIMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockTopicsClientAPIMockRecorder) Get ¶
func (mr *MockTopicsClientAPIMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockTopicsClientAPIMockRecorder) ListByResourceGroup ¶
func (mr *MockTopicsClientAPIMockRecorder) ListByResourceGroup(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListByResourceGroup indicates an expected call of ListByResourceGroup.
func (*MockTopicsClientAPIMockRecorder) ListByResourceGroupComplete ¶
func (mr *MockTopicsClientAPIMockRecorder) ListByResourceGroupComplete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListByResourceGroupComplete indicates an expected call of ListByResourceGroupComplete.
func (*MockTopicsClientAPIMockRecorder) ListBySubscription ¶
func (mr *MockTopicsClientAPIMockRecorder) ListBySubscription(arg0, arg1, arg2 interface{}) *gomock.Call
ListBySubscription indicates an expected call of ListBySubscription.
func (*MockTopicsClientAPIMockRecorder) ListBySubscriptionComplete ¶
func (mr *MockTopicsClientAPIMockRecorder) ListBySubscriptionComplete(arg0, arg1, arg2 interface{}) *gomock.Call
ListBySubscriptionComplete indicates an expected call of ListBySubscriptionComplete.
func (*MockTopicsClientAPIMockRecorder) ListEventTypes ¶
func (mr *MockTopicsClientAPIMockRecorder) ListEventTypes(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ListEventTypes indicates an expected call of ListEventTypes.
func (*MockTopicsClientAPIMockRecorder) ListSharedAccessKeys ¶
func (mr *MockTopicsClientAPIMockRecorder) ListSharedAccessKeys(arg0, arg1, arg2 interface{}) *gomock.Call
ListSharedAccessKeys indicates an expected call of ListSharedAccessKeys.
func (*MockTopicsClientAPIMockRecorder) RegenerateKey ¶
func (mr *MockTopicsClientAPIMockRecorder) RegenerateKey(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
RegenerateKey indicates an expected call of RegenerateKey.
func (*MockTopicsClientAPIMockRecorder) Update ¶
func (mr *MockTopicsClientAPIMockRecorder) Update(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Update indicates an expected call of Update.