Documentation ¶
Overview ¶
Package mock_cosmosdb is a generated GoMock package.
Index ¶
- type MockPermissionClient
- func (m *MockPermissionClient) Create(arg0 context.Context, arg1 *cosmosdb.Permission) (*cosmosdb.Permission, error)
- func (m *MockPermissionClient) Delete(arg0 context.Context, arg1 *cosmosdb.Permission) error
- func (m *MockPermissionClient) EXPECT() *MockPermissionClientMockRecorder
- func (m *MockPermissionClient) Get(arg0 context.Context, arg1 string) (*cosmosdb.Permission, error)
- func (m *MockPermissionClient) List() cosmosdb.PermissionIterator
- func (m *MockPermissionClient) ListAll(arg0 context.Context) (*cosmosdb.Permissions, error)
- func (m *MockPermissionClient) Replace(arg0 context.Context, arg1 *cosmosdb.Permission) (*cosmosdb.Permission, error)
- type MockPermissionClientMockRecorder
- func (mr *MockPermissionClientMockRecorder) Create(arg0, arg1 any) *gomock.Call
- func (mr *MockPermissionClientMockRecorder) Delete(arg0, arg1 any) *gomock.Call
- func (mr *MockPermissionClientMockRecorder) Get(arg0, arg1 any) *gomock.Call
- func (mr *MockPermissionClientMockRecorder) List() *gomock.Call
- func (mr *MockPermissionClientMockRecorder) ListAll(arg0 any) *gomock.Call
- func (mr *MockPermissionClientMockRecorder) Replace(arg0, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPermissionClient ¶
type MockPermissionClient struct {
// contains filtered or unexported fields
}
MockPermissionClient is a mock of PermissionClient interface.
func NewMockPermissionClient ¶
func NewMockPermissionClient(ctrl *gomock.Controller) *MockPermissionClient
NewMockPermissionClient creates a new mock instance.
func (*MockPermissionClient) Create ¶
func (m *MockPermissionClient) Create(arg0 context.Context, arg1 *cosmosdb.Permission) (*cosmosdb.Permission, error)
Create mocks base method.
func (*MockPermissionClient) Delete ¶
func (m *MockPermissionClient) Delete(arg0 context.Context, arg1 *cosmosdb.Permission) error
Delete mocks base method.
func (*MockPermissionClient) EXPECT ¶
func (m *MockPermissionClient) EXPECT() *MockPermissionClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPermissionClient) Get ¶
func (m *MockPermissionClient) Get(arg0 context.Context, arg1 string) (*cosmosdb.Permission, error)
Get mocks base method.
func (*MockPermissionClient) List ¶
func (m *MockPermissionClient) List() cosmosdb.PermissionIterator
List mocks base method.
func (*MockPermissionClient) ListAll ¶
func (m *MockPermissionClient) ListAll(arg0 context.Context) (*cosmosdb.Permissions, error)
ListAll mocks base method.
func (*MockPermissionClient) Replace ¶
func (m *MockPermissionClient) Replace(arg0 context.Context, arg1 *cosmosdb.Permission) (*cosmosdb.Permission, error)
Replace mocks base method.
type MockPermissionClientMockRecorder ¶
type MockPermissionClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPermissionClientMockRecorder is the mock recorder for MockPermissionClient.
func (*MockPermissionClientMockRecorder) Create ¶
func (mr *MockPermissionClientMockRecorder) Create(arg0, arg1 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockPermissionClientMockRecorder) Delete ¶
func (mr *MockPermissionClientMockRecorder) Delete(arg0, arg1 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockPermissionClientMockRecorder) Get ¶
func (mr *MockPermissionClientMockRecorder) Get(arg0, arg1 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockPermissionClientMockRecorder) List ¶
func (mr *MockPermissionClientMockRecorder) List() *gomock.Call
List indicates an expected call of List.