Documentation ¶
Overview ¶
Package mock_profilepb is a generated GoMock package.
Index ¶
- type MockOrgServiceClient
- func (m *MockOrgServiceClient) AddOrgIDEConfig(ctx context.Context, in *profilepb.AddOrgIDEConfigRequest, ...) (*profilepb.AddOrgIDEConfigResponse, error)
- func (m *MockOrgServiceClient) CreateInviteToken(ctx context.Context, in *profilepb.CreateInviteTokenRequest, ...) (*profilepb.InviteToken, error)
- func (m *MockOrgServiceClient) CreateOrg(ctx context.Context, in *profilepb.CreateOrgRequest, opts ...grpc.CallOption) (*uuidpb.UUID, error)
- func (m *MockOrgServiceClient) DeleteOrgIDEConfig(ctx context.Context, in *profilepb.DeleteOrgIDEConfigRequest, ...) (*profilepb.DeleteOrgIDEConfigResponse, error)
- func (m *MockOrgServiceClient) EXPECT() *MockOrgServiceClientMockRecorder
- func (m *MockOrgServiceClient) GetOrg(ctx context.Context, in *uuidpb.UUID, opts ...grpc.CallOption) (*profilepb.OrgInfo, error)
- func (m *MockOrgServiceClient) GetOrgByDomain(ctx context.Context, in *profilepb.GetOrgByDomainRequest, ...) (*profilepb.OrgInfo, error)
- func (m *MockOrgServiceClient) GetOrgByName(ctx context.Context, in *profilepb.GetOrgByNameRequest, ...) (*profilepb.OrgInfo, error)
- func (m *MockOrgServiceClient) GetOrgIDEConfigs(ctx context.Context, in *profilepb.GetOrgIDEConfigsRequest, ...) (*profilepb.GetOrgIDEConfigsResponse, error)
- func (m *MockOrgServiceClient) GetOrgs(ctx context.Context, in *profilepb.GetOrgsRequest, opts ...grpc.CallOption) (*profilepb.GetOrgsResponse, error)
- func (m *MockOrgServiceClient) GetUsersInOrg(ctx context.Context, in *profilepb.GetUsersInOrgRequest, ...) (*profilepb.GetUsersInOrgResponse, error)
- func (m *MockOrgServiceClient) RevokeAllInviteTokens(ctx context.Context, in *uuidpb.UUID, opts ...grpc.CallOption) (*types.Empty, error)
- func (m *MockOrgServiceClient) UpdateOrg(ctx context.Context, in *profilepb.UpdateOrgRequest, opts ...grpc.CallOption) (*profilepb.OrgInfo, error)
- func (m *MockOrgServiceClient) VerifyInviteToken(ctx context.Context, in *profilepb.InviteToken, opts ...grpc.CallOption) (*profilepb.VerifyInviteTokenResponse, error)
- type MockOrgServiceClientMockRecorder
- func (mr *MockOrgServiceClientMockRecorder) AddOrgIDEConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockOrgServiceClientMockRecorder) CreateInviteToken(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockOrgServiceClientMockRecorder) CreateOrg(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockOrgServiceClientMockRecorder) DeleteOrgIDEConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockOrgServiceClientMockRecorder) GetOrg(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockOrgServiceClientMockRecorder) GetOrgByDomain(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockOrgServiceClientMockRecorder) GetOrgByName(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockOrgServiceClientMockRecorder) GetOrgIDEConfigs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockOrgServiceClientMockRecorder) GetOrgs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockOrgServiceClientMockRecorder) GetUsersInOrg(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockOrgServiceClientMockRecorder) RevokeAllInviteTokens(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockOrgServiceClientMockRecorder) UpdateOrg(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockOrgServiceClientMockRecorder) VerifyInviteToken(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockOrgServiceServer
- func (m *MockOrgServiceServer) AddOrgIDEConfig(arg0 context.Context, arg1 *profilepb.AddOrgIDEConfigRequest) (*profilepb.AddOrgIDEConfigResponse, error)
- func (m *MockOrgServiceServer) CreateInviteToken(arg0 context.Context, arg1 *profilepb.CreateInviteTokenRequest) (*profilepb.InviteToken, error)
- func (m *MockOrgServiceServer) CreateOrg(arg0 context.Context, arg1 *profilepb.CreateOrgRequest) (*uuidpb.UUID, error)
- func (m *MockOrgServiceServer) DeleteOrgIDEConfig(arg0 context.Context, arg1 *profilepb.DeleteOrgIDEConfigRequest) (*profilepb.DeleteOrgIDEConfigResponse, error)
- func (m *MockOrgServiceServer) EXPECT() *MockOrgServiceServerMockRecorder
- func (m *MockOrgServiceServer) GetOrg(arg0 context.Context, arg1 *uuidpb.UUID) (*profilepb.OrgInfo, error)
- func (m *MockOrgServiceServer) GetOrgByDomain(arg0 context.Context, arg1 *profilepb.GetOrgByDomainRequest) (*profilepb.OrgInfo, error)
- func (m *MockOrgServiceServer) GetOrgByName(arg0 context.Context, arg1 *profilepb.GetOrgByNameRequest) (*profilepb.OrgInfo, error)
- func (m *MockOrgServiceServer) GetOrgIDEConfigs(arg0 context.Context, arg1 *profilepb.GetOrgIDEConfigsRequest) (*profilepb.GetOrgIDEConfigsResponse, error)
- func (m *MockOrgServiceServer) GetOrgs(arg0 context.Context, arg1 *profilepb.GetOrgsRequest) (*profilepb.GetOrgsResponse, error)
- func (m *MockOrgServiceServer) GetUsersInOrg(arg0 context.Context, arg1 *profilepb.GetUsersInOrgRequest) (*profilepb.GetUsersInOrgResponse, error)
- func (m *MockOrgServiceServer) RevokeAllInviteTokens(arg0 context.Context, arg1 *uuidpb.UUID) (*types.Empty, error)
- func (m *MockOrgServiceServer) UpdateOrg(arg0 context.Context, arg1 *profilepb.UpdateOrgRequest) (*profilepb.OrgInfo, error)
- func (m *MockOrgServiceServer) VerifyInviteToken(arg0 context.Context, arg1 *profilepb.InviteToken) (*profilepb.VerifyInviteTokenResponse, error)
- type MockOrgServiceServerMockRecorder
- func (mr *MockOrgServiceServerMockRecorder) AddOrgIDEConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgServiceServerMockRecorder) CreateInviteToken(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgServiceServerMockRecorder) CreateOrg(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgServiceServerMockRecorder) DeleteOrgIDEConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgServiceServerMockRecorder) GetOrg(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgServiceServerMockRecorder) GetOrgByDomain(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgServiceServerMockRecorder) GetOrgByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgServiceServerMockRecorder) GetOrgIDEConfigs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgServiceServerMockRecorder) GetOrgs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgServiceServerMockRecorder) GetUsersInOrg(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgServiceServerMockRecorder) RevokeAllInviteTokens(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgServiceServerMockRecorder) UpdateOrg(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgServiceServerMockRecorder) VerifyInviteToken(arg0, arg1 interface{}) *gomock.Call
- type MockProfileServiceClient
- func (m *MockProfileServiceClient) CreateOrgAndUser(ctx context.Context, in *profilepb.CreateOrgAndUserRequest, ...) (*profilepb.CreateOrgAndUserResponse, error)
- func (m *MockProfileServiceClient) CreateUser(ctx context.Context, in *profilepb.CreateUserRequest, opts ...grpc.CallOption) (*uuidpb.UUID, error)
- func (m *MockProfileServiceClient) DeleteUser(ctx context.Context, in *profilepb.DeleteUserRequest, opts ...grpc.CallOption) (*profilepb.DeleteUserResponse, error)
- func (m *MockProfileServiceClient) EXPECT() *MockProfileServiceClientMockRecorder
- func (m *MockProfileServiceClient) GetUser(ctx context.Context, in *uuidpb.UUID, opts ...grpc.CallOption) (*profilepb.UserInfo, error)
- func (m *MockProfileServiceClient) GetUserAttributes(ctx context.Context, in *profilepb.GetUserAttributesRequest, ...) (*profilepb.GetUserAttributesResponse, error)
- func (m *MockProfileServiceClient) GetUserByAuthProviderID(ctx context.Context, in *profilepb.GetUserByAuthProviderIDRequest, ...) (*profilepb.UserInfo, error)
- func (m *MockProfileServiceClient) GetUserByEmail(ctx context.Context, in *profilepb.GetUserByEmailRequest, ...) (*profilepb.UserInfo, error)
- func (m *MockProfileServiceClient) GetUserSettings(ctx context.Context, in *profilepb.GetUserSettingsRequest, ...) (*profilepb.GetUserSettingsResponse, error)
- func (m *MockProfileServiceClient) SetUserAttributes(ctx context.Context, in *profilepb.SetUserAttributesRequest, ...) (*profilepb.SetUserAttributesResponse, error)
- func (m *MockProfileServiceClient) UpdateUser(ctx context.Context, in *profilepb.UpdateUserRequest, opts ...grpc.CallOption) (*profilepb.UserInfo, error)
- func (m *MockProfileServiceClient) UpdateUserSettings(ctx context.Context, in *profilepb.UpdateUserSettingsRequest, ...) (*profilepb.UpdateUserSettingsResponse, error)
- type MockProfileServiceClientMockRecorder
- func (mr *MockProfileServiceClientMockRecorder) CreateOrgAndUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) CreateUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) DeleteUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) GetUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) GetUserAttributes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) GetUserByAuthProviderID(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) GetUserByEmail(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) GetUserSettings(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) SetUserAttributes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) UpdateUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) UpdateUserSettings(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockProfileServiceServer
- func (m *MockProfileServiceServer) CreateOrgAndUser(arg0 context.Context, arg1 *profilepb.CreateOrgAndUserRequest) (*profilepb.CreateOrgAndUserResponse, error)
- func (m *MockProfileServiceServer) CreateUser(arg0 context.Context, arg1 *profilepb.CreateUserRequest) (*uuidpb.UUID, error)
- func (m *MockProfileServiceServer) DeleteUser(arg0 context.Context, arg1 *profilepb.DeleteUserRequest) (*profilepb.DeleteUserResponse, error)
- func (m *MockProfileServiceServer) EXPECT() *MockProfileServiceServerMockRecorder
- func (m *MockProfileServiceServer) GetUser(arg0 context.Context, arg1 *uuidpb.UUID) (*profilepb.UserInfo, error)
- func (m *MockProfileServiceServer) GetUserAttributes(arg0 context.Context, arg1 *profilepb.GetUserAttributesRequest) (*profilepb.GetUserAttributesResponse, error)
- func (m *MockProfileServiceServer) GetUserByAuthProviderID(arg0 context.Context, arg1 *profilepb.GetUserByAuthProviderIDRequest) (*profilepb.UserInfo, error)
- func (m *MockProfileServiceServer) GetUserByEmail(arg0 context.Context, arg1 *profilepb.GetUserByEmailRequest) (*profilepb.UserInfo, error)
- func (m *MockProfileServiceServer) GetUserSettings(arg0 context.Context, arg1 *profilepb.GetUserSettingsRequest) (*profilepb.GetUserSettingsResponse, error)
- func (m *MockProfileServiceServer) SetUserAttributes(arg0 context.Context, arg1 *profilepb.SetUserAttributesRequest) (*profilepb.SetUserAttributesResponse, error)
- func (m *MockProfileServiceServer) UpdateUser(arg0 context.Context, arg1 *profilepb.UpdateUserRequest) (*profilepb.UserInfo, error)
- func (m *MockProfileServiceServer) UpdateUserSettings(arg0 context.Context, arg1 *profilepb.UpdateUserSettingsRequest) (*profilepb.UpdateUserSettingsResponse, error)
- type MockProfileServiceServerMockRecorder
- func (mr *MockProfileServiceServerMockRecorder) CreateOrgAndUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) GetUserAttributes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) GetUserByAuthProviderID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) GetUserByEmail(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) GetUserSettings(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) SetUserAttributes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) UpdateUserSettings(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOrgServiceClient ¶
type MockOrgServiceClient struct {
// contains filtered or unexported fields
}
MockOrgServiceClient is a mock of OrgServiceClient interface.
func NewMockOrgServiceClient ¶
func NewMockOrgServiceClient(ctrl *gomock.Controller) *MockOrgServiceClient
NewMockOrgServiceClient creates a new mock instance.
func (*MockOrgServiceClient) AddOrgIDEConfig ¶
func (m *MockOrgServiceClient) AddOrgIDEConfig(ctx context.Context, in *profilepb.AddOrgIDEConfigRequest, opts ...grpc.CallOption) (*profilepb.AddOrgIDEConfigResponse, error)
AddOrgIDEConfig mocks base method.
func (*MockOrgServiceClient) CreateInviteToken ¶
func (m *MockOrgServiceClient) CreateInviteToken(ctx context.Context, in *profilepb.CreateInviteTokenRequest, opts ...grpc.CallOption) (*profilepb.InviteToken, error)
CreateInviteToken mocks base method.
func (*MockOrgServiceClient) CreateOrg ¶
func (m *MockOrgServiceClient) CreateOrg(ctx context.Context, in *profilepb.CreateOrgRequest, opts ...grpc.CallOption) (*uuidpb.UUID, error)
CreateOrg mocks base method.
func (*MockOrgServiceClient) DeleteOrgIDEConfig ¶
func (m *MockOrgServiceClient) DeleteOrgIDEConfig(ctx context.Context, in *profilepb.DeleteOrgIDEConfigRequest, opts ...grpc.CallOption) (*profilepb.DeleteOrgIDEConfigResponse, error)
DeleteOrgIDEConfig mocks base method.
func (*MockOrgServiceClient) EXPECT ¶
func (m *MockOrgServiceClient) EXPECT() *MockOrgServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrgServiceClient) GetOrg ¶
func (m *MockOrgServiceClient) GetOrg(ctx context.Context, in *uuidpb.UUID, opts ...grpc.CallOption) (*profilepb.OrgInfo, error)
GetOrg mocks base method.
func (*MockOrgServiceClient) GetOrgByDomain ¶
func (m *MockOrgServiceClient) GetOrgByDomain(ctx context.Context, in *profilepb.GetOrgByDomainRequest, opts ...grpc.CallOption) (*profilepb.OrgInfo, error)
GetOrgByDomain mocks base method.
func (*MockOrgServiceClient) GetOrgByName ¶
func (m *MockOrgServiceClient) GetOrgByName(ctx context.Context, in *profilepb.GetOrgByNameRequest, opts ...grpc.CallOption) (*profilepb.OrgInfo, error)
GetOrgByName mocks base method.
func (*MockOrgServiceClient) GetOrgIDEConfigs ¶
func (m *MockOrgServiceClient) GetOrgIDEConfigs(ctx context.Context, in *profilepb.GetOrgIDEConfigsRequest, opts ...grpc.CallOption) (*profilepb.GetOrgIDEConfigsResponse, error)
GetOrgIDEConfigs mocks base method.
func (*MockOrgServiceClient) GetOrgs ¶
func (m *MockOrgServiceClient) GetOrgs(ctx context.Context, in *profilepb.GetOrgsRequest, opts ...grpc.CallOption) (*profilepb.GetOrgsResponse, error)
GetOrgs mocks base method.
func (*MockOrgServiceClient) GetUsersInOrg ¶
func (m *MockOrgServiceClient) GetUsersInOrg(ctx context.Context, in *profilepb.GetUsersInOrgRequest, opts ...grpc.CallOption) (*profilepb.GetUsersInOrgResponse, error)
GetUsersInOrg mocks base method.
func (*MockOrgServiceClient) RevokeAllInviteTokens ¶
func (m *MockOrgServiceClient) RevokeAllInviteTokens(ctx context.Context, in *uuidpb.UUID, opts ...grpc.CallOption) (*types.Empty, error)
RevokeAllInviteTokens mocks base method.
func (*MockOrgServiceClient) UpdateOrg ¶
func (m *MockOrgServiceClient) UpdateOrg(ctx context.Context, in *profilepb.UpdateOrgRequest, opts ...grpc.CallOption) (*profilepb.OrgInfo, error)
UpdateOrg mocks base method.
func (*MockOrgServiceClient) VerifyInviteToken ¶
func (m *MockOrgServiceClient) VerifyInviteToken(ctx context.Context, in *profilepb.InviteToken, opts ...grpc.CallOption) (*profilepb.VerifyInviteTokenResponse, error)
VerifyInviteToken mocks base method.
type MockOrgServiceClientMockRecorder ¶
type MockOrgServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockOrgServiceClientMockRecorder is the mock recorder for MockOrgServiceClient.
func (*MockOrgServiceClientMockRecorder) AddOrgIDEConfig ¶
func (mr *MockOrgServiceClientMockRecorder) AddOrgIDEConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call
AddOrgIDEConfig indicates an expected call of AddOrgIDEConfig.
func (*MockOrgServiceClientMockRecorder) CreateInviteToken ¶
func (mr *MockOrgServiceClientMockRecorder) CreateInviteToken(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateInviteToken indicates an expected call of CreateInviteToken.
func (*MockOrgServiceClientMockRecorder) CreateOrg ¶
func (mr *MockOrgServiceClientMockRecorder) CreateOrg(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateOrg indicates an expected call of CreateOrg.
func (*MockOrgServiceClientMockRecorder) DeleteOrgIDEConfig ¶
func (mr *MockOrgServiceClientMockRecorder) DeleteOrgIDEConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteOrgIDEConfig indicates an expected call of DeleteOrgIDEConfig.
func (*MockOrgServiceClientMockRecorder) GetOrg ¶
func (mr *MockOrgServiceClientMockRecorder) GetOrg(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetOrg indicates an expected call of GetOrg.
func (*MockOrgServiceClientMockRecorder) GetOrgByDomain ¶
func (mr *MockOrgServiceClientMockRecorder) GetOrgByDomain(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetOrgByDomain indicates an expected call of GetOrgByDomain.
func (*MockOrgServiceClientMockRecorder) GetOrgByName ¶
func (mr *MockOrgServiceClientMockRecorder) GetOrgByName(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetOrgByName indicates an expected call of GetOrgByName.
func (*MockOrgServiceClientMockRecorder) GetOrgIDEConfigs ¶
func (mr *MockOrgServiceClientMockRecorder) GetOrgIDEConfigs(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetOrgIDEConfigs indicates an expected call of GetOrgIDEConfigs.
func (*MockOrgServiceClientMockRecorder) GetOrgs ¶
func (mr *MockOrgServiceClientMockRecorder) GetOrgs(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetOrgs indicates an expected call of GetOrgs.
func (*MockOrgServiceClientMockRecorder) GetUsersInOrg ¶
func (mr *MockOrgServiceClientMockRecorder) GetUsersInOrg(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUsersInOrg indicates an expected call of GetUsersInOrg.
func (*MockOrgServiceClientMockRecorder) RevokeAllInviteTokens ¶
func (mr *MockOrgServiceClientMockRecorder) RevokeAllInviteTokens(ctx, in interface{}, opts ...interface{}) *gomock.Call
RevokeAllInviteTokens indicates an expected call of RevokeAllInviteTokens.
func (*MockOrgServiceClientMockRecorder) UpdateOrg ¶
func (mr *MockOrgServiceClientMockRecorder) UpdateOrg(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateOrg indicates an expected call of UpdateOrg.
func (*MockOrgServiceClientMockRecorder) VerifyInviteToken ¶
func (mr *MockOrgServiceClientMockRecorder) VerifyInviteToken(ctx, in interface{}, opts ...interface{}) *gomock.Call
VerifyInviteToken indicates an expected call of VerifyInviteToken.
type MockOrgServiceServer ¶
type MockOrgServiceServer struct {
// contains filtered or unexported fields
}
MockOrgServiceServer is a mock of OrgServiceServer interface.
func NewMockOrgServiceServer ¶
func NewMockOrgServiceServer(ctrl *gomock.Controller) *MockOrgServiceServer
NewMockOrgServiceServer creates a new mock instance.
func (*MockOrgServiceServer) AddOrgIDEConfig ¶
func (m *MockOrgServiceServer) AddOrgIDEConfig(arg0 context.Context, arg1 *profilepb.AddOrgIDEConfigRequest) (*profilepb.AddOrgIDEConfigResponse, error)
AddOrgIDEConfig mocks base method.
func (*MockOrgServiceServer) CreateInviteToken ¶
func (m *MockOrgServiceServer) CreateInviteToken(arg0 context.Context, arg1 *profilepb.CreateInviteTokenRequest) (*profilepb.InviteToken, error)
CreateInviteToken mocks base method.
func (*MockOrgServiceServer) CreateOrg ¶
func (m *MockOrgServiceServer) CreateOrg(arg0 context.Context, arg1 *profilepb.CreateOrgRequest) (*uuidpb.UUID, error)
CreateOrg mocks base method.
func (*MockOrgServiceServer) DeleteOrgIDEConfig ¶
func (m *MockOrgServiceServer) DeleteOrgIDEConfig(arg0 context.Context, arg1 *profilepb.DeleteOrgIDEConfigRequest) (*profilepb.DeleteOrgIDEConfigResponse, error)
DeleteOrgIDEConfig mocks base method.
func (*MockOrgServiceServer) EXPECT ¶
func (m *MockOrgServiceServer) EXPECT() *MockOrgServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrgServiceServer) GetOrg ¶
func (m *MockOrgServiceServer) GetOrg(arg0 context.Context, arg1 *uuidpb.UUID) (*profilepb.OrgInfo, error)
GetOrg mocks base method.
func (*MockOrgServiceServer) GetOrgByDomain ¶
func (m *MockOrgServiceServer) GetOrgByDomain(arg0 context.Context, arg1 *profilepb.GetOrgByDomainRequest) (*profilepb.OrgInfo, error)
GetOrgByDomain mocks base method.
func (*MockOrgServiceServer) GetOrgByName ¶
func (m *MockOrgServiceServer) GetOrgByName(arg0 context.Context, arg1 *profilepb.GetOrgByNameRequest) (*profilepb.OrgInfo, error)
GetOrgByName mocks base method.
func (*MockOrgServiceServer) GetOrgIDEConfigs ¶
func (m *MockOrgServiceServer) GetOrgIDEConfigs(arg0 context.Context, arg1 *profilepb.GetOrgIDEConfigsRequest) (*profilepb.GetOrgIDEConfigsResponse, error)
GetOrgIDEConfigs mocks base method.
func (*MockOrgServiceServer) GetOrgs ¶
func (m *MockOrgServiceServer) GetOrgs(arg0 context.Context, arg1 *profilepb.GetOrgsRequest) (*profilepb.GetOrgsResponse, error)
GetOrgs mocks base method.
func (*MockOrgServiceServer) GetUsersInOrg ¶
func (m *MockOrgServiceServer) GetUsersInOrg(arg0 context.Context, arg1 *profilepb.GetUsersInOrgRequest) (*profilepb.GetUsersInOrgResponse, error)
GetUsersInOrg mocks base method.
func (*MockOrgServiceServer) RevokeAllInviteTokens ¶
func (m *MockOrgServiceServer) RevokeAllInviteTokens(arg0 context.Context, arg1 *uuidpb.UUID) (*types.Empty, error)
RevokeAllInviteTokens mocks base method.
func (*MockOrgServiceServer) UpdateOrg ¶
func (m *MockOrgServiceServer) UpdateOrg(arg0 context.Context, arg1 *profilepb.UpdateOrgRequest) (*profilepb.OrgInfo, error)
UpdateOrg mocks base method.
func (*MockOrgServiceServer) VerifyInviteToken ¶
func (m *MockOrgServiceServer) VerifyInviteToken(arg0 context.Context, arg1 *profilepb.InviteToken) (*profilepb.VerifyInviteTokenResponse, error)
VerifyInviteToken mocks base method.
type MockOrgServiceServerMockRecorder ¶
type MockOrgServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockOrgServiceServerMockRecorder is the mock recorder for MockOrgServiceServer.
func (*MockOrgServiceServerMockRecorder) AddOrgIDEConfig ¶
func (mr *MockOrgServiceServerMockRecorder) AddOrgIDEConfig(arg0, arg1 interface{}) *gomock.Call
AddOrgIDEConfig indicates an expected call of AddOrgIDEConfig.
func (*MockOrgServiceServerMockRecorder) CreateInviteToken ¶
func (mr *MockOrgServiceServerMockRecorder) CreateInviteToken(arg0, arg1 interface{}) *gomock.Call
CreateInviteToken indicates an expected call of CreateInviteToken.
func (*MockOrgServiceServerMockRecorder) CreateOrg ¶
func (mr *MockOrgServiceServerMockRecorder) CreateOrg(arg0, arg1 interface{}) *gomock.Call
CreateOrg indicates an expected call of CreateOrg.
func (*MockOrgServiceServerMockRecorder) DeleteOrgIDEConfig ¶
func (mr *MockOrgServiceServerMockRecorder) DeleteOrgIDEConfig(arg0, arg1 interface{}) *gomock.Call
DeleteOrgIDEConfig indicates an expected call of DeleteOrgIDEConfig.
func (*MockOrgServiceServerMockRecorder) GetOrg ¶
func (mr *MockOrgServiceServerMockRecorder) GetOrg(arg0, arg1 interface{}) *gomock.Call
GetOrg indicates an expected call of GetOrg.
func (*MockOrgServiceServerMockRecorder) GetOrgByDomain ¶
func (mr *MockOrgServiceServerMockRecorder) GetOrgByDomain(arg0, arg1 interface{}) *gomock.Call
GetOrgByDomain indicates an expected call of GetOrgByDomain.
func (*MockOrgServiceServerMockRecorder) GetOrgByName ¶
func (mr *MockOrgServiceServerMockRecorder) GetOrgByName(arg0, arg1 interface{}) *gomock.Call
GetOrgByName indicates an expected call of GetOrgByName.
func (*MockOrgServiceServerMockRecorder) GetOrgIDEConfigs ¶
func (mr *MockOrgServiceServerMockRecorder) GetOrgIDEConfigs(arg0, arg1 interface{}) *gomock.Call
GetOrgIDEConfigs indicates an expected call of GetOrgIDEConfigs.
func (*MockOrgServiceServerMockRecorder) GetOrgs ¶
func (mr *MockOrgServiceServerMockRecorder) GetOrgs(arg0, arg1 interface{}) *gomock.Call
GetOrgs indicates an expected call of GetOrgs.
func (*MockOrgServiceServerMockRecorder) GetUsersInOrg ¶
func (mr *MockOrgServiceServerMockRecorder) GetUsersInOrg(arg0, arg1 interface{}) *gomock.Call
GetUsersInOrg indicates an expected call of GetUsersInOrg.
func (*MockOrgServiceServerMockRecorder) RevokeAllInviteTokens ¶
func (mr *MockOrgServiceServerMockRecorder) RevokeAllInviteTokens(arg0, arg1 interface{}) *gomock.Call
RevokeAllInviteTokens indicates an expected call of RevokeAllInviteTokens.
func (*MockOrgServiceServerMockRecorder) UpdateOrg ¶
func (mr *MockOrgServiceServerMockRecorder) UpdateOrg(arg0, arg1 interface{}) *gomock.Call
UpdateOrg indicates an expected call of UpdateOrg.
func (*MockOrgServiceServerMockRecorder) VerifyInviteToken ¶
func (mr *MockOrgServiceServerMockRecorder) VerifyInviteToken(arg0, arg1 interface{}) *gomock.Call
VerifyInviteToken indicates an expected call of VerifyInviteToken.
type MockProfileServiceClient ¶
type MockProfileServiceClient struct {
// contains filtered or unexported fields
}
MockProfileServiceClient is a mock of ProfileServiceClient interface.
func NewMockProfileServiceClient ¶
func NewMockProfileServiceClient(ctrl *gomock.Controller) *MockProfileServiceClient
NewMockProfileServiceClient creates a new mock instance.
func (*MockProfileServiceClient) CreateOrgAndUser ¶
func (m *MockProfileServiceClient) CreateOrgAndUser(ctx context.Context, in *profilepb.CreateOrgAndUserRequest, opts ...grpc.CallOption) (*profilepb.CreateOrgAndUserResponse, error)
CreateOrgAndUser mocks base method.
func (*MockProfileServiceClient) CreateUser ¶
func (m *MockProfileServiceClient) CreateUser(ctx context.Context, in *profilepb.CreateUserRequest, opts ...grpc.CallOption) (*uuidpb.UUID, error)
CreateUser mocks base method.
func (*MockProfileServiceClient) DeleteUser ¶
func (m *MockProfileServiceClient) DeleteUser(ctx context.Context, in *profilepb.DeleteUserRequest, opts ...grpc.CallOption) (*profilepb.DeleteUserResponse, error)
DeleteUser mocks base method.
func (*MockProfileServiceClient) EXPECT ¶
func (m *MockProfileServiceClient) EXPECT() *MockProfileServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProfileServiceClient) GetUser ¶
func (m *MockProfileServiceClient) GetUser(ctx context.Context, in *uuidpb.UUID, opts ...grpc.CallOption) (*profilepb.UserInfo, error)
GetUser mocks base method.
func (*MockProfileServiceClient) GetUserAttributes ¶
func (m *MockProfileServiceClient) GetUserAttributes(ctx context.Context, in *profilepb.GetUserAttributesRequest, opts ...grpc.CallOption) (*profilepb.GetUserAttributesResponse, error)
GetUserAttributes mocks base method.
func (*MockProfileServiceClient) GetUserByAuthProviderID ¶
func (m *MockProfileServiceClient) GetUserByAuthProviderID(ctx context.Context, in *profilepb.GetUserByAuthProviderIDRequest, opts ...grpc.CallOption) (*profilepb.UserInfo, error)
GetUserByAuthProviderID mocks base method.
func (*MockProfileServiceClient) GetUserByEmail ¶
func (m *MockProfileServiceClient) GetUserByEmail(ctx context.Context, in *profilepb.GetUserByEmailRequest, opts ...grpc.CallOption) (*profilepb.UserInfo, error)
GetUserByEmail mocks base method.
func (*MockProfileServiceClient) GetUserSettings ¶
func (m *MockProfileServiceClient) GetUserSettings(ctx context.Context, in *profilepb.GetUserSettingsRequest, opts ...grpc.CallOption) (*profilepb.GetUserSettingsResponse, error)
GetUserSettings mocks base method.
func (*MockProfileServiceClient) SetUserAttributes ¶
func (m *MockProfileServiceClient) SetUserAttributes(ctx context.Context, in *profilepb.SetUserAttributesRequest, opts ...grpc.CallOption) (*profilepb.SetUserAttributesResponse, error)
SetUserAttributes mocks base method.
func (*MockProfileServiceClient) UpdateUser ¶
func (m *MockProfileServiceClient) UpdateUser(ctx context.Context, in *profilepb.UpdateUserRequest, opts ...grpc.CallOption) (*profilepb.UserInfo, error)
UpdateUser mocks base method.
func (*MockProfileServiceClient) UpdateUserSettings ¶
func (m *MockProfileServiceClient) UpdateUserSettings(ctx context.Context, in *profilepb.UpdateUserSettingsRequest, opts ...grpc.CallOption) (*profilepb.UpdateUserSettingsResponse, error)
UpdateUserSettings mocks base method.
type MockProfileServiceClientMockRecorder ¶
type MockProfileServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProfileServiceClientMockRecorder is the mock recorder for MockProfileServiceClient.
func (*MockProfileServiceClientMockRecorder) CreateOrgAndUser ¶
func (mr *MockProfileServiceClientMockRecorder) CreateOrgAndUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateOrgAndUser indicates an expected call of CreateOrgAndUser.
func (*MockProfileServiceClientMockRecorder) CreateUser ¶
func (mr *MockProfileServiceClientMockRecorder) CreateUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockProfileServiceClientMockRecorder) DeleteUser ¶
func (mr *MockProfileServiceClientMockRecorder) DeleteUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockProfileServiceClientMockRecorder) GetUser ¶
func (mr *MockProfileServiceClientMockRecorder) GetUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockProfileServiceClientMockRecorder) GetUserAttributes ¶
func (mr *MockProfileServiceClientMockRecorder) GetUserAttributes(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUserAttributes indicates an expected call of GetUserAttributes.
func (*MockProfileServiceClientMockRecorder) GetUserByAuthProviderID ¶
func (mr *MockProfileServiceClientMockRecorder) GetUserByAuthProviderID(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUserByAuthProviderID indicates an expected call of GetUserByAuthProviderID.
func (*MockProfileServiceClientMockRecorder) GetUserByEmail ¶
func (mr *MockProfileServiceClientMockRecorder) GetUserByEmail(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUserByEmail indicates an expected call of GetUserByEmail.
func (*MockProfileServiceClientMockRecorder) GetUserSettings ¶
func (mr *MockProfileServiceClientMockRecorder) GetUserSettings(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUserSettings indicates an expected call of GetUserSettings.
func (*MockProfileServiceClientMockRecorder) SetUserAttributes ¶
func (mr *MockProfileServiceClientMockRecorder) SetUserAttributes(ctx, in interface{}, opts ...interface{}) *gomock.Call
SetUserAttributes indicates an expected call of SetUserAttributes.
func (*MockProfileServiceClientMockRecorder) UpdateUser ¶
func (mr *MockProfileServiceClientMockRecorder) UpdateUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
func (*MockProfileServiceClientMockRecorder) UpdateUserSettings ¶
func (mr *MockProfileServiceClientMockRecorder) UpdateUserSettings(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateUserSettings indicates an expected call of UpdateUserSettings.
type MockProfileServiceServer ¶
type MockProfileServiceServer struct {
// contains filtered or unexported fields
}
MockProfileServiceServer is a mock of ProfileServiceServer interface.
func NewMockProfileServiceServer ¶
func NewMockProfileServiceServer(ctrl *gomock.Controller) *MockProfileServiceServer
NewMockProfileServiceServer creates a new mock instance.
func (*MockProfileServiceServer) CreateOrgAndUser ¶
func (m *MockProfileServiceServer) CreateOrgAndUser(arg0 context.Context, arg1 *profilepb.CreateOrgAndUserRequest) (*profilepb.CreateOrgAndUserResponse, error)
CreateOrgAndUser mocks base method.
func (*MockProfileServiceServer) CreateUser ¶
func (m *MockProfileServiceServer) CreateUser(arg0 context.Context, arg1 *profilepb.CreateUserRequest) (*uuidpb.UUID, error)
CreateUser mocks base method.
func (*MockProfileServiceServer) DeleteUser ¶
func (m *MockProfileServiceServer) DeleteUser(arg0 context.Context, arg1 *profilepb.DeleteUserRequest) (*profilepb.DeleteUserResponse, error)
DeleteUser mocks base method.
func (*MockProfileServiceServer) EXPECT ¶
func (m *MockProfileServiceServer) EXPECT() *MockProfileServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProfileServiceServer) GetUser ¶
func (m *MockProfileServiceServer) GetUser(arg0 context.Context, arg1 *uuidpb.UUID) (*profilepb.UserInfo, error)
GetUser mocks base method.
func (*MockProfileServiceServer) GetUserAttributes ¶
func (m *MockProfileServiceServer) GetUserAttributes(arg0 context.Context, arg1 *profilepb.GetUserAttributesRequest) (*profilepb.GetUserAttributesResponse, error)
GetUserAttributes mocks base method.
func (*MockProfileServiceServer) GetUserByAuthProviderID ¶
func (m *MockProfileServiceServer) GetUserByAuthProviderID(arg0 context.Context, arg1 *profilepb.GetUserByAuthProviderIDRequest) (*profilepb.UserInfo, error)
GetUserByAuthProviderID mocks base method.
func (*MockProfileServiceServer) GetUserByEmail ¶
func (m *MockProfileServiceServer) GetUserByEmail(arg0 context.Context, arg1 *profilepb.GetUserByEmailRequest) (*profilepb.UserInfo, error)
GetUserByEmail mocks base method.
func (*MockProfileServiceServer) GetUserSettings ¶
func (m *MockProfileServiceServer) GetUserSettings(arg0 context.Context, arg1 *profilepb.GetUserSettingsRequest) (*profilepb.GetUserSettingsResponse, error)
GetUserSettings mocks base method.
func (*MockProfileServiceServer) SetUserAttributes ¶
func (m *MockProfileServiceServer) SetUserAttributes(arg0 context.Context, arg1 *profilepb.SetUserAttributesRequest) (*profilepb.SetUserAttributesResponse, error)
SetUserAttributes mocks base method.
func (*MockProfileServiceServer) UpdateUser ¶
func (m *MockProfileServiceServer) UpdateUser(arg0 context.Context, arg1 *profilepb.UpdateUserRequest) (*profilepb.UserInfo, error)
UpdateUser mocks base method.
func (*MockProfileServiceServer) UpdateUserSettings ¶
func (m *MockProfileServiceServer) UpdateUserSettings(arg0 context.Context, arg1 *profilepb.UpdateUserSettingsRequest) (*profilepb.UpdateUserSettingsResponse, error)
UpdateUserSettings mocks base method.
type MockProfileServiceServerMockRecorder ¶
type MockProfileServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockProfileServiceServerMockRecorder is the mock recorder for MockProfileServiceServer.
func (*MockProfileServiceServerMockRecorder) CreateOrgAndUser ¶
func (mr *MockProfileServiceServerMockRecorder) CreateOrgAndUser(arg0, arg1 interface{}) *gomock.Call
CreateOrgAndUser indicates an expected call of CreateOrgAndUser.
func (*MockProfileServiceServerMockRecorder) CreateUser ¶
func (mr *MockProfileServiceServerMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockProfileServiceServerMockRecorder) DeleteUser ¶
func (mr *MockProfileServiceServerMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockProfileServiceServerMockRecorder) GetUser ¶
func (mr *MockProfileServiceServerMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockProfileServiceServerMockRecorder) GetUserAttributes ¶
func (mr *MockProfileServiceServerMockRecorder) GetUserAttributes(arg0, arg1 interface{}) *gomock.Call
GetUserAttributes indicates an expected call of GetUserAttributes.
func (*MockProfileServiceServerMockRecorder) GetUserByAuthProviderID ¶
func (mr *MockProfileServiceServerMockRecorder) GetUserByAuthProviderID(arg0, arg1 interface{}) *gomock.Call
GetUserByAuthProviderID indicates an expected call of GetUserByAuthProviderID.
func (*MockProfileServiceServerMockRecorder) GetUserByEmail ¶
func (mr *MockProfileServiceServerMockRecorder) GetUserByEmail(arg0, arg1 interface{}) *gomock.Call
GetUserByEmail indicates an expected call of GetUserByEmail.
func (*MockProfileServiceServerMockRecorder) GetUserSettings ¶
func (mr *MockProfileServiceServerMockRecorder) GetUserSettings(arg0, arg1 interface{}) *gomock.Call
GetUserSettings indicates an expected call of GetUserSettings.
func (*MockProfileServiceServerMockRecorder) SetUserAttributes ¶
func (mr *MockProfileServiceServerMockRecorder) SetUserAttributes(arg0, arg1 interface{}) *gomock.Call
SetUserAttributes indicates an expected call of SetUserAttributes.
func (*MockProfileServiceServerMockRecorder) UpdateUser ¶
func (mr *MockProfileServiceServerMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
func (*MockProfileServiceServerMockRecorder) UpdateUserSettings ¶
func (mr *MockProfileServiceServerMockRecorder) UpdateUserSettings(arg0, arg1 interface{}) *gomock.Call
UpdateUserSettings indicates an expected call of UpdateUserSettings.