Documentation ¶
Overview ¶
Package apimock is a generated GoMock package.
Index ¶
- type MockAuthServiceClient
- func (m *MockAuthServiceClient) DeleteUser(ctx context.Context, in *authservice.DeleteUserRequest, ...) (*authservice.DeleteUserResponse, error)
- func (m *MockAuthServiceClient) EXPECT() *MockAuthServiceClientMockRecorder
- func (m *MockAuthServiceClient) GetRoles(ctx context.Context, in *authservice.GetRolesRequest, opts ...grpc.CallOption) (*authservice.GetRolesResponse, error)
- func (m *MockAuthServiceClient) GetRolesByPermissions(ctx context.Context, in *authservice.GetRolesByPermissionsRequest, ...) (*authservice.GetRolesByPermissionsResponse, error)
- func (m *MockAuthServiceClient) GetUser(ctx context.Context, in *authservice.GetUserRequest, opts ...grpc.CallOption) (*authservice.GetUserResponse, error)
- func (m *MockAuthServiceClient) GetUsers(ctx context.Context, in *authservice.GetUsersRequest, opts ...grpc.CallOption) (*authservice.GetUsersResponse, error)
- func (m *MockAuthServiceClient) InviteUsers(ctx context.Context, in *authservice.InviteUsersRequest, ...) (*authservice.InviteUsersResponse, error)
- func (m *MockAuthServiceClient) ResendUserInvite(ctx context.Context, in *authservice.ResendUserInviteRequest, ...) (*authservice.ResendUserInviteResponse, error)
- func (m *MockAuthServiceClient) UpdateUser(ctx context.Context, in *authservice.UpdateUserRequest, ...) (*authservice.UpdateUserResponse, error)
- func (m *MockAuthServiceClient) UpdateUserNamespacePermissions(ctx context.Context, in *authservice.UpdateUserNamespacePermissionsRequest, ...) (*authservice.UpdateUserNamespacePermissionsResponse, error)
- type MockAuthServiceClientMockRecorder
- func (mr *MockAuthServiceClientMockRecorder) DeleteUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) GetRoles(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) GetRolesByPermissions(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) GetUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) GetUsers(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) InviteUsers(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) ResendUserInvite(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) UpdateUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) UpdateUserNamespacePermissions(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockAuthServiceServer
- func (m *MockAuthServiceServer) DeleteUser(arg0 context.Context, arg1 *authservice.DeleteUserRequest) (*authservice.DeleteUserResponse, error)
- func (m *MockAuthServiceServer) EXPECT() *MockAuthServiceServerMockRecorder
- func (m *MockAuthServiceServer) GetRoles(arg0 context.Context, arg1 *authservice.GetRolesRequest) (*authservice.GetRolesResponse, error)
- func (m *MockAuthServiceServer) GetRolesByPermissions(arg0 context.Context, arg1 *authservice.GetRolesByPermissionsRequest) (*authservice.GetRolesByPermissionsResponse, error)
- func (m *MockAuthServiceServer) GetUser(arg0 context.Context, arg1 *authservice.GetUserRequest) (*authservice.GetUserResponse, error)
- func (m *MockAuthServiceServer) GetUsers(arg0 context.Context, arg1 *authservice.GetUsersRequest) (*authservice.GetUsersResponse, error)
- func (m *MockAuthServiceServer) InviteUsers(arg0 context.Context, arg1 *authservice.InviteUsersRequest) (*authservice.InviteUsersResponse, error)
- func (m *MockAuthServiceServer) ResendUserInvite(arg0 context.Context, arg1 *authservice.ResendUserInviteRequest) (*authservice.ResendUserInviteResponse, error)
- func (m *MockAuthServiceServer) UpdateUser(arg0 context.Context, arg1 *authservice.UpdateUserRequest) (*authservice.UpdateUserResponse, error)
- func (m *MockAuthServiceServer) UpdateUserNamespacePermissions(arg0 context.Context, arg1 *authservice.UpdateUserNamespacePermissionsRequest) (*authservice.UpdateUserNamespacePermissionsResponse, error)
- type MockAuthServiceServerMockRecorder
- func (mr *MockAuthServiceServerMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) GetRoles(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) GetRolesByPermissions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) GetUsers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) InviteUsers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) ResendUserInvite(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) UpdateUserNamespacePermissions(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthServiceClient ¶
type MockAuthServiceClient struct {
// contains filtered or unexported fields
}
MockAuthServiceClient is a mock of AuthServiceClient interface.
func NewMockAuthServiceClient ¶
func NewMockAuthServiceClient(ctrl *gomock.Controller) *MockAuthServiceClient
NewMockAuthServiceClient creates a new mock instance.
func (*MockAuthServiceClient) DeleteUser ¶
func (m *MockAuthServiceClient) DeleteUser(ctx context.Context, in *authservice.DeleteUserRequest, opts ...grpc.CallOption) (*authservice.DeleteUserResponse, error)
DeleteUser mocks base method.
func (*MockAuthServiceClient) EXPECT ¶
func (m *MockAuthServiceClient) EXPECT() *MockAuthServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthServiceClient) GetRoles ¶
func (m *MockAuthServiceClient) GetRoles(ctx context.Context, in *authservice.GetRolesRequest, opts ...grpc.CallOption) (*authservice.GetRolesResponse, error)
GetRoles mocks base method.
func (*MockAuthServiceClient) GetRolesByPermissions ¶
func (m *MockAuthServiceClient) GetRolesByPermissions(ctx context.Context, in *authservice.GetRolesByPermissionsRequest, opts ...grpc.CallOption) (*authservice.GetRolesByPermissionsResponse, error)
GetRolesByPermissions mocks base method.
func (*MockAuthServiceClient) GetUser ¶
func (m *MockAuthServiceClient) GetUser(ctx context.Context, in *authservice.GetUserRequest, opts ...grpc.CallOption) (*authservice.GetUserResponse, error)
GetUser mocks base method.
func (*MockAuthServiceClient) GetUsers ¶
func (m *MockAuthServiceClient) GetUsers(ctx context.Context, in *authservice.GetUsersRequest, opts ...grpc.CallOption) (*authservice.GetUsersResponse, error)
GetUsers mocks base method.
func (*MockAuthServiceClient) InviteUsers ¶
func (m *MockAuthServiceClient) InviteUsers(ctx context.Context, in *authservice.InviteUsersRequest, opts ...grpc.CallOption) (*authservice.InviteUsersResponse, error)
InviteUsers mocks base method.
func (*MockAuthServiceClient) ResendUserInvite ¶
func (m *MockAuthServiceClient) ResendUserInvite(ctx context.Context, in *authservice.ResendUserInviteRequest, opts ...grpc.CallOption) (*authservice.ResendUserInviteResponse, error)
ResendUserInvite mocks base method.
func (*MockAuthServiceClient) UpdateUser ¶
func (m *MockAuthServiceClient) UpdateUser(ctx context.Context, in *authservice.UpdateUserRequest, opts ...grpc.CallOption) (*authservice.UpdateUserResponse, error)
UpdateUser mocks base method.
func (*MockAuthServiceClient) UpdateUserNamespacePermissions ¶
func (m *MockAuthServiceClient) UpdateUserNamespacePermissions(ctx context.Context, in *authservice.UpdateUserNamespacePermissionsRequest, opts ...grpc.CallOption) (*authservice.UpdateUserNamespacePermissionsResponse, error)
UpdateUserNamespacePermissions mocks base method.
type MockAuthServiceClientMockRecorder ¶
type MockAuthServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthServiceClientMockRecorder is the mock recorder for MockAuthServiceClient.
func (*MockAuthServiceClientMockRecorder) DeleteUser ¶
func (mr *MockAuthServiceClientMockRecorder) DeleteUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockAuthServiceClientMockRecorder) GetRoles ¶
func (mr *MockAuthServiceClientMockRecorder) GetRoles(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRoles indicates an expected call of GetRoles.
func (*MockAuthServiceClientMockRecorder) GetRolesByPermissions ¶
func (mr *MockAuthServiceClientMockRecorder) GetRolesByPermissions(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRolesByPermissions indicates an expected call of GetRolesByPermissions.
func (*MockAuthServiceClientMockRecorder) GetUser ¶
func (mr *MockAuthServiceClientMockRecorder) GetUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockAuthServiceClientMockRecorder) GetUsers ¶
func (mr *MockAuthServiceClientMockRecorder) GetUsers(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUsers indicates an expected call of GetUsers.
func (*MockAuthServiceClientMockRecorder) InviteUsers ¶
func (mr *MockAuthServiceClientMockRecorder) InviteUsers(ctx, in interface{}, opts ...interface{}) *gomock.Call
InviteUsers indicates an expected call of InviteUsers.
func (*MockAuthServiceClientMockRecorder) ResendUserInvite ¶
func (mr *MockAuthServiceClientMockRecorder) ResendUserInvite(ctx, in interface{}, opts ...interface{}) *gomock.Call
ResendUserInvite indicates an expected call of ResendUserInvite.
func (*MockAuthServiceClientMockRecorder) UpdateUser ¶
func (mr *MockAuthServiceClientMockRecorder) UpdateUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
func (*MockAuthServiceClientMockRecorder) UpdateUserNamespacePermissions ¶
func (mr *MockAuthServiceClientMockRecorder) UpdateUserNamespacePermissions(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateUserNamespacePermissions indicates an expected call of UpdateUserNamespacePermissions.
type MockAuthServiceServer ¶
type MockAuthServiceServer struct {
// contains filtered or unexported fields
}
MockAuthServiceServer is a mock of AuthServiceServer interface.
func NewMockAuthServiceServer ¶
func NewMockAuthServiceServer(ctrl *gomock.Controller) *MockAuthServiceServer
NewMockAuthServiceServer creates a new mock instance.
func (*MockAuthServiceServer) DeleteUser ¶
func (m *MockAuthServiceServer) DeleteUser(arg0 context.Context, arg1 *authservice.DeleteUserRequest) (*authservice.DeleteUserResponse, error)
DeleteUser mocks base method.
func (*MockAuthServiceServer) EXPECT ¶
func (m *MockAuthServiceServer) EXPECT() *MockAuthServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthServiceServer) GetRoles ¶
func (m *MockAuthServiceServer) GetRoles(arg0 context.Context, arg1 *authservice.GetRolesRequest) (*authservice.GetRolesResponse, error)
GetRoles mocks base method.
func (*MockAuthServiceServer) GetRolesByPermissions ¶
func (m *MockAuthServiceServer) GetRolesByPermissions(arg0 context.Context, arg1 *authservice.GetRolesByPermissionsRequest) (*authservice.GetRolesByPermissionsResponse, error)
GetRolesByPermissions mocks base method.
func (*MockAuthServiceServer) GetUser ¶
func (m *MockAuthServiceServer) GetUser(arg0 context.Context, arg1 *authservice.GetUserRequest) (*authservice.GetUserResponse, error)
GetUser mocks base method.
func (*MockAuthServiceServer) GetUsers ¶
func (m *MockAuthServiceServer) GetUsers(arg0 context.Context, arg1 *authservice.GetUsersRequest) (*authservice.GetUsersResponse, error)
GetUsers mocks base method.
func (*MockAuthServiceServer) InviteUsers ¶
func (m *MockAuthServiceServer) InviteUsers(arg0 context.Context, arg1 *authservice.InviteUsersRequest) (*authservice.InviteUsersResponse, error)
InviteUsers mocks base method.
func (*MockAuthServiceServer) ResendUserInvite ¶
func (m *MockAuthServiceServer) ResendUserInvite(arg0 context.Context, arg1 *authservice.ResendUserInviteRequest) (*authservice.ResendUserInviteResponse, error)
ResendUserInvite mocks base method.
func (*MockAuthServiceServer) UpdateUser ¶
func (m *MockAuthServiceServer) UpdateUser(arg0 context.Context, arg1 *authservice.UpdateUserRequest) (*authservice.UpdateUserResponse, error)
UpdateUser mocks base method.
func (*MockAuthServiceServer) UpdateUserNamespacePermissions ¶
func (m *MockAuthServiceServer) UpdateUserNamespacePermissions(arg0 context.Context, arg1 *authservice.UpdateUserNamespacePermissionsRequest) (*authservice.UpdateUserNamespacePermissionsResponse, error)
UpdateUserNamespacePermissions mocks base method.
type MockAuthServiceServerMockRecorder ¶
type MockAuthServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthServiceServerMockRecorder is the mock recorder for MockAuthServiceServer.
func (*MockAuthServiceServerMockRecorder) DeleteUser ¶
func (mr *MockAuthServiceServerMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockAuthServiceServerMockRecorder) GetRoles ¶
func (mr *MockAuthServiceServerMockRecorder) GetRoles(arg0, arg1 interface{}) *gomock.Call
GetRoles indicates an expected call of GetRoles.
func (*MockAuthServiceServerMockRecorder) GetRolesByPermissions ¶
func (mr *MockAuthServiceServerMockRecorder) GetRolesByPermissions(arg0, arg1 interface{}) *gomock.Call
GetRolesByPermissions indicates an expected call of GetRolesByPermissions.
func (*MockAuthServiceServerMockRecorder) GetUser ¶
func (mr *MockAuthServiceServerMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockAuthServiceServerMockRecorder) GetUsers ¶
func (mr *MockAuthServiceServerMockRecorder) GetUsers(arg0, arg1 interface{}) *gomock.Call
GetUsers indicates an expected call of GetUsers.
func (*MockAuthServiceServerMockRecorder) InviteUsers ¶
func (mr *MockAuthServiceServerMockRecorder) InviteUsers(arg0, arg1 interface{}) *gomock.Call
InviteUsers indicates an expected call of InviteUsers.
func (*MockAuthServiceServerMockRecorder) ResendUserInvite ¶
func (mr *MockAuthServiceServerMockRecorder) ResendUserInvite(arg0, arg1 interface{}) *gomock.Call
ResendUserInvite indicates an expected call of ResendUserInvite.
func (*MockAuthServiceServerMockRecorder) UpdateUser ¶
func (mr *MockAuthServiceServerMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
func (*MockAuthServiceServerMockRecorder) UpdateUserNamespacePermissions ¶
func (mr *MockAuthServiceServerMockRecorder) UpdateUserNamespacePermissions(arg0, arg1 interface{}) *gomock.Call
UpdateUserNamespacePermissions indicates an expected call of UpdateUserNamespacePermissions.