Documentation ¶
Index ¶
- func NewTestDialFactory() grpc_client.DialFactory
- func SetContactCallbacks(callbacks *MockContactServiceCallbacks)
- func SetContractCallbacks(callbacks *MockContractServiceCallbacks)
- func SetEmailCallbacks(callbacks *MockEmailServiceCallbacks)
- func SetInvoiceCallbacks(callbacks *MockInvoiceServiceCallbacks)
- func SetJobRoleCallbacks(callbacks *MockJobRoleServiceCallbacks)
- func SetMasterPlanCallbacks(callbacks *MockMasterPlanServiceCallbacks)
- func SetOfferingCallbacks(callbacks *MockOfferingServiceCallbacks)
- func SetOpportunityCallbacks(callbacks *MockOpportunityServiceCallbacks)
- func SetOrganizationCallbacks(callbacks *MockOrganizationServiceCallbacks)
- func SetPhoneNumberCallbacks(callbacks *MockPhoneNumberServiceCallbacks)
- func SetReminderCallbacks(callbacks *MockReminderServiceCallbacks)
- func SetServiceLineItemCallbacks(callbacks *MockServiceLineItemServiceCallbacks)
- func SetTenantCallbacks(callbacks *MockTenantServiceCallbacks)
- func SetUserCallbacks(callbacks *MockUserServiceCallbacks)
- type MockContactService
- func (MockContactService) LinkEmailToContact(context context.Context, proto *contactproto.LinkEmailToContactGrpcRequest) (*contactproto.ContactIdGrpcResponse, error)
- func (MockContactService) LinkPhoneNumberToContact(context context.Context, ...) (*contactproto.ContactIdGrpcResponse, error)
- func (MockContactService) UpsertContact(context context.Context, proto *contactproto.UpsertContactGrpcRequest) (*contactproto.ContactIdGrpcResponse, error)
- type MockContactServiceCallbacks
- type MockContractService
- func (MockContractService) CreateContract(context context.Context, proto *contractpb.CreateContractGrpcRequest) (*contractpb.ContractIdGrpcResponse, error)
- func (MockContractService) RolloutRenewalOpportunityOnExpiration(context context.Context, ...) (*contractpb.ContractIdGrpcResponse, error)
- func (MockContractService) SoftDeleteContract(context context.Context, proto *contractpb.SoftDeleteContractGrpcRequest) (*emptypb.Empty, error)
- func (MockContractService) UpdateContract(context context.Context, proto *contractpb.UpdateContractGrpcRequest) (*contractpb.ContractIdGrpcResponse, error)
- type MockContractServiceCallbacks
- type MockEmailService
- type MockEmailServiceCallbacks
- type MockInvoiceService
- func (MockInvoiceService) NewInvoiceForContract(context context.Context, proto *invoicepb.NewInvoiceForContractRequest) (*invoicepb.InvoiceIdResponse, error)
- func (MockInvoiceService) NextPreviewInvoiceForContract(context context.Context, proto *invoicepb.NextPreviewInvoiceForContractRequest) (*invoicepb.InvoiceIdResponse, error)
- func (MockInvoiceService) UpdateInvoice(context context.Context, proto *invoicepb.UpdateInvoiceRequest) (*invoicepb.InvoiceIdResponse, error)
- func (MockInvoiceService) VoidInvoice(context context.Context, proto *invoicepb.VoidInvoiceRequest) (*invoicepb.InvoiceIdResponse, error)
- type MockInvoiceServiceCallbacks
- type MockJobRoleService
- type MockJobRoleServiceCallbacks
- type MockMasterPlanService
- func (MockMasterPlanService) CreateMasterPlan(context context.Context, proto *masterplanpb.CreateMasterPlanGrpcRequest) (*masterplanpb.MasterPlanIdGrpcResponse, error)
- func (MockMasterPlanService) CreateMasterPlanMilestone(context context.Context, ...) (*masterplanpb.MasterPlanMilestoneIdGrpcResponse, error)
- func (MockMasterPlanService) ReorderMasterPlanMilestones(context context.Context, ...) (*masterplanpb.MasterPlanIdGrpcResponse, error)
- func (MockMasterPlanService) UpdateMasterPlan(context context.Context, proto *masterplanpb.UpdateMasterPlanGrpcRequest) (*masterplanpb.MasterPlanIdGrpcResponse, error)
- func (MockMasterPlanService) UpdateMasterPlanMilestone(context context.Context, ...) (*masterplanpb.MasterPlanMilestoneIdGrpcResponse, error)
- type MockMasterPlanServiceCallbacks
- type MockOfferingService
- type MockOfferingServiceCallbacks
- type MockOpportunityService
- func (MockOpportunityService) CreateOpportunity(context context.Context, proto *opportunitypb.CreateOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error)
- func (MockOpportunityService) CreateRenewalOpportunity(context context.Context, ...) (*opportunitypb.OpportunityIdGrpcResponse, error)
- func (MockOpportunityService) UpdateOpportunity(context context.Context, proto *opportunitypb.UpdateOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error)
- func (MockOpportunityService) UpdateRenewalOpportunity(context context.Context, ...) (*opportunitypb.OpportunityIdGrpcResponse, error)
- type MockOpportunityServiceCallbacks
- type MockOrganizationService
- func (MockOrganizationService) AddParentOrganization(context context.Context, ...) (*organizationpb.OrganizationIdGrpcResponse, error)
- func (MockOrganizationService) CreateBillingProfile(context context.Context, proto *organizationpb.CreateBillingProfileGrpcRequest) (*organizationpb.BillingProfileIdGrpcResponse, error)
- func (MockOrganizationService) LinkEmailToBillingProfile(context context.Context, ...) (*organizationpb.BillingProfileIdGrpcResponse, error)
- func (MockOrganizationService) LinkEmailToOrganization(context context.Context, ...) (*organizationpb.OrganizationIdGrpcResponse, error)
- func (MockOrganizationService) LinkLocationToBillingProfile(context context.Context, ...) (*organizationpb.BillingProfileIdGrpcResponse, error)
- func (MockOrganizationService) LinkPhoneNumberToOrganization(context context.Context, ...) (*organizationpb.OrganizationIdGrpcResponse, error)
- func (MockOrganizationService) RefreshArr(context context.Context, proto *organizationpb.OrganizationIdGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
- func (MockOrganizationService) RefreshLastTouchpoint(context context.Context, proto *organizationpb.OrganizationIdGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
- func (MockOrganizationService) RefreshRenewalSummary(context context.Context, ...) (*organizationpb.OrganizationIdGrpcResponse, error)
- func (MockOrganizationService) RemoveParentOrganization(context context.Context, ...) (*organizationpb.OrganizationIdGrpcResponse, error)
- func (MockOrganizationService) UnlinkEmailFromBillingProfile(context context.Context, ...) (*organizationpb.BillingProfileIdGrpcResponse, error)
- func (MockOrganizationService) UnlinkLocationFromBillingProfile(context context.Context, ...) (*organizationpb.BillingProfileIdGrpcResponse, error)
- func (MockOrganizationService) UpdateBillingProfile(context context.Context, proto *organizationpb.UpdateBillingProfileGrpcRequest) (*organizationpb.BillingProfileIdGrpcResponse, error)
- func (MockOrganizationService) UpdateOnboardingStatus(context context.Context, ...) (*organizationpb.OrganizationIdGrpcResponse, error)
- func (MockOrganizationService) UpdateOrganizationOwner(context context.Context, ...) (*organizationpb.OrganizationIdGrpcResponse, error)
- func (MockOrganizationService) UpsertOrganization(context context.Context, proto *organizationpb.UpsertOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
- type MockOrganizationServiceCallbacks
- type MockPhoneNumberService
- type MockPhoneNumberServiceCallbacks
- type MockReminderService
- func (MockReminderService) CreateReminder(context context.Context, proto *reminderpb.CreateReminderGrpcRequest) (*reminderpb.ReminderGrpcResponse, error)
- func (MockReminderService) UpdateReminder(context context.Context, proto *reminderpb.UpdateReminderGrpcRequest) (*reminderpb.ReminderGrpcResponse, error)
- type MockReminderServiceCallbacks
- type MockServiceLineItemService
- func (MockServiceLineItemService) CloseServiceLineItem(context context.Context, ...) (*servicelineitempb.ServiceLineItemIdGrpcResponse, error)
- func (MockServiceLineItemService) CreateServiceLineItem(context context.Context, ...) (*servicelineitempb.ServiceLineItemIdGrpcResponse, error)
- func (MockServiceLineItemService) DeleteServiceLineItem(context context.Context, ...) (*servicelineitempb.ServiceLineItemIdGrpcResponse, error)
- func (MockServiceLineItemService) UpdateServiceLineItem(context context.Context, ...) (*servicelineitempb.ServiceLineItemIdGrpcResponse, error)
- type MockServiceLineItemServiceCallbacks
- type MockTenantService
- func (MockTenantService) AddBankAccount(context context.Context, proto *tenantpb.AddBankAccountGrpcRequest) (*commonpb.IdResponse, error)
- func (MockTenantService) AddBillingProfile(context context.Context, proto *tenantpb.AddBillingProfileRequest) (*commonpb.IdResponse, error)
- func (MockTenantService) DeleteBankAccount(context context.Context, proto *tenantpb.DeleteBankAccountGrpcRequest) (*emptypb.Empty, error)
- func (MockTenantService) UpdateBankAccount(context context.Context, proto *tenantpb.UpdateBankAccountGrpcRequest) (*commonpb.IdResponse, error)
- func (MockTenantService) UpdateBillingProfile(context context.Context, proto *tenantpb.UpdateBillingProfileRequest) (*commonpb.IdResponse, error)
- func (MockTenantService) UpdateTenantSettings(context context.Context, proto *tenantpb.UpdateTenantSettingsRequest) (*emptypb.Empty, error)
- type MockTenantServiceCallbacks
- type MockUserService
- type MockUserServiceCallbacks
- type TestDialFactoryImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestDialFactory ¶
func NewTestDialFactory() grpc_client.DialFactory
func SetContactCallbacks ¶
func SetContactCallbacks(callbacks *MockContactServiceCallbacks)
func SetContractCallbacks ¶
func SetContractCallbacks(callbacks *MockContractServiceCallbacks)
func SetEmailCallbacks ¶
func SetEmailCallbacks(callbacks *MockEmailServiceCallbacks)
func SetInvoiceCallbacks ¶
func SetInvoiceCallbacks(callbacks *MockInvoiceServiceCallbacks)
func SetJobRoleCallbacks ¶
func SetJobRoleCallbacks(callbacks *MockJobRoleServiceCallbacks)
func SetMasterPlanCallbacks ¶
func SetMasterPlanCallbacks(callbacks *MockMasterPlanServiceCallbacks)
func SetOfferingCallbacks ¶
func SetOfferingCallbacks(callbacks *MockOfferingServiceCallbacks)
func SetOpportunityCallbacks ¶
func SetOpportunityCallbacks(callbacks *MockOpportunityServiceCallbacks)
func SetOrganizationCallbacks ¶
func SetOrganizationCallbacks(callbacks *MockOrganizationServiceCallbacks)
func SetPhoneNumberCallbacks ¶
func SetPhoneNumberCallbacks(callbacks *MockPhoneNumberServiceCallbacks)
func SetReminderCallbacks ¶
func SetReminderCallbacks(callbacks *MockReminderServiceCallbacks)
func SetServiceLineItemCallbacks ¶
func SetServiceLineItemCallbacks(callbacks *MockServiceLineItemServiceCallbacks)
func SetTenantCallbacks ¶
func SetTenantCallbacks(callbacks *MockTenantServiceCallbacks)
func SetUserCallbacks ¶
func SetUserCallbacks(callbacks *MockUserServiceCallbacks)
Types ¶
type MockContactService ¶
type MockContactService struct {
contactproto.UnimplementedContactGrpcServiceServer
}
func (MockContactService) LinkEmailToContact ¶
func (MockContactService) LinkEmailToContact(context context.Context, proto *contactproto.LinkEmailToContactGrpcRequest) (*contactproto.ContactIdGrpcResponse, error)
func (MockContactService) LinkPhoneNumberToContact ¶
func (MockContactService) LinkPhoneNumberToContact(context context.Context, proto *contactproto.LinkPhoneNumberToContactGrpcRequest) (*contactproto.ContactIdGrpcResponse, error)
func (MockContactService) UpsertContact ¶
func (MockContactService) UpsertContact(context context.Context, proto *contactproto.UpsertContactGrpcRequest) (*contactproto.ContactIdGrpcResponse, error)
type MockContactServiceCallbacks ¶
type MockContactServiceCallbacks struct { CreateContact func(context.Context, *contactproto.UpsertContactGrpcRequest) (*contactproto.ContactIdGrpcResponse, error) LinkEmailToContact func(context context.Context, proto *contactproto.LinkEmailToContactGrpcRequest) (*contactproto.ContactIdGrpcResponse, error) LinkPhoneNumberToContact func(context context.Context, proto *contactproto.LinkPhoneNumberToContactGrpcRequest) (*contactproto.ContactIdGrpcResponse, error) }
type MockContractService ¶
type MockContractService struct {
contractpb.UnimplementedContractGrpcServiceServer
}
func (MockContractService) CreateContract ¶
func (MockContractService) CreateContract(context context.Context, proto *contractpb.CreateContractGrpcRequest) (*contractpb.ContractIdGrpcResponse, error)
func (MockContractService) RolloutRenewalOpportunityOnExpiration ¶
func (MockContractService) RolloutRenewalOpportunityOnExpiration(context context.Context, proto *contractpb.RolloutRenewalOpportunityOnExpirationGrpcRequest) (*contractpb.ContractIdGrpcResponse, error)
func (MockContractService) SoftDeleteContract ¶
func (MockContractService) SoftDeleteContract(context context.Context, proto *contractpb.SoftDeleteContractGrpcRequest) (*emptypb.Empty, error)
func (MockContractService) UpdateContract ¶
func (MockContractService) UpdateContract(context context.Context, proto *contractpb.UpdateContractGrpcRequest) (*contractpb.ContractIdGrpcResponse, error)
type MockContractServiceCallbacks ¶
type MockContractServiceCallbacks struct { CreateContract func(context.Context, *contractpb.CreateContractGrpcRequest) (*contractpb.ContractIdGrpcResponse, error) UpdateContract func(context.Context, *contractpb.UpdateContractGrpcRequest) (*contractpb.ContractIdGrpcResponse, error) SoftDeleteContract func(context.Context, *contractpb.SoftDeleteContractGrpcRequest) (*emptypb.Empty, error) RolloutRenewalOpportunityOnExpiration func(context.Context, *contractpb.RolloutRenewalOpportunityOnExpirationGrpcRequest) (*contractpb.ContractIdGrpcResponse, error) }
type MockEmailService ¶
type MockEmailService struct {
emailproto.UnimplementedEmailGrpcServiceServer
}
func (MockEmailService) UpsertEmail ¶
func (MockEmailService) UpsertEmail(ctx context.Context, data *emailproto.UpsertEmailGrpcRequest) (*emailproto.EmailIdGrpcResponse, error)
type MockEmailServiceCallbacks ¶
type MockEmailServiceCallbacks struct {
UpsertEmail func(ctx context.Context, data *emailproto.UpsertEmailGrpcRequest) (*emailproto.EmailIdGrpcResponse, error)
}
type MockInvoiceService ¶
type MockInvoiceService struct {
invoicepb.UnimplementedInvoiceGrpcServiceServer
}
func (MockInvoiceService) NewInvoiceForContract ¶
func (MockInvoiceService) NewInvoiceForContract(context context.Context, proto *invoicepb.NewInvoiceForContractRequest) (*invoicepb.InvoiceIdResponse, error)
func (MockInvoiceService) NextPreviewInvoiceForContract ¶
func (MockInvoiceService) NextPreviewInvoiceForContract(context context.Context, proto *invoicepb.NextPreviewInvoiceForContractRequest) (*invoicepb.InvoiceIdResponse, error)
func (MockInvoiceService) UpdateInvoice ¶
func (MockInvoiceService) UpdateInvoice(context context.Context, proto *invoicepb.UpdateInvoiceRequest) (*invoicepb.InvoiceIdResponse, error)
func (MockInvoiceService) VoidInvoice ¶
func (MockInvoiceService) VoidInvoice(context context.Context, proto *invoicepb.VoidInvoiceRequest) (*invoicepb.InvoiceIdResponse, error)
type MockInvoiceServiceCallbacks ¶
type MockInvoiceServiceCallbacks struct { NextPreviewInvoiceForContract func(context.Context, *invoicepb.NextPreviewInvoiceForContractRequest) (*invoicepb.InvoiceIdResponse, error) NewInvoiceForContract func(context.Context, *invoicepb.NewInvoiceForContractRequest) (*invoicepb.InvoiceIdResponse, error) UpdateInvoice func(context.Context, *invoicepb.UpdateInvoiceRequest) (*invoicepb.InvoiceIdResponse, error) VoidInvoice func(context.Context, *invoicepb.VoidInvoiceRequest) (*invoicepb.InvoiceIdResponse, error) }
type MockJobRoleService ¶
type MockJobRoleService struct {
jobRoleProto.UnimplementedJobRoleGrpcServiceServer
}
func (MockJobRoleService) CreateJobRole ¶
func (MockJobRoleService) CreateJobRole(context context.Context, proto *jobRoleProto.CreateJobRoleGrpcRequest) (*jobRoleProto.JobRoleIdGrpcResponse, error)
type MockJobRoleServiceCallbacks ¶
type MockJobRoleServiceCallbacks struct {
CreateJobRole func(context.Context, *jobRoleProto.CreateJobRoleGrpcRequest) (*jobRoleProto.JobRoleIdGrpcResponse, error)
}
type MockMasterPlanService ¶
type MockMasterPlanService struct {
masterplanpb.UnimplementedMasterPlanGrpcServiceServer
}
func (MockMasterPlanService) CreateMasterPlan ¶
func (MockMasterPlanService) CreateMasterPlan(context context.Context, proto *masterplanpb.CreateMasterPlanGrpcRequest) (*masterplanpb.MasterPlanIdGrpcResponse, error)
func (MockMasterPlanService) CreateMasterPlanMilestone ¶
func (MockMasterPlanService) CreateMasterPlanMilestone(context context.Context, proto *masterplanpb.CreateMasterPlanMilestoneGrpcRequest) (*masterplanpb.MasterPlanMilestoneIdGrpcResponse, error)
func (MockMasterPlanService) ReorderMasterPlanMilestones ¶
func (MockMasterPlanService) ReorderMasterPlanMilestones(context context.Context, proto *masterplanpb.ReorderMasterPlanMilestonesGrpcRequest) (*masterplanpb.MasterPlanIdGrpcResponse, error)
func (MockMasterPlanService) UpdateMasterPlan ¶
func (MockMasterPlanService) UpdateMasterPlan(context context.Context, proto *masterplanpb.UpdateMasterPlanGrpcRequest) (*masterplanpb.MasterPlanIdGrpcResponse, error)
func (MockMasterPlanService) UpdateMasterPlanMilestone ¶
func (MockMasterPlanService) UpdateMasterPlanMilestone(context context.Context, proto *masterplanpb.UpdateMasterPlanMilestoneGrpcRequest) (*masterplanpb.MasterPlanMilestoneIdGrpcResponse, error)
type MockMasterPlanServiceCallbacks ¶
type MockMasterPlanServiceCallbacks struct { CreateMasterPlan func(context.Context, *masterplanpb.CreateMasterPlanGrpcRequest) (*masterplanpb.MasterPlanIdGrpcResponse, error) UpdateMasterPlan func(context.Context, *masterplanpb.UpdateMasterPlanGrpcRequest) (*masterplanpb.MasterPlanIdGrpcResponse, error) CreateMasterPlanMilestone func(context.Context, *masterplanpb.CreateMasterPlanMilestoneGrpcRequest) (*masterplanpb.MasterPlanMilestoneIdGrpcResponse, error) UpdateMasterPlanMilestone func(context.Context, *masterplanpb.UpdateMasterPlanMilestoneGrpcRequest) (*masterplanpb.MasterPlanMilestoneIdGrpcResponse, error) ReorderMasterPlanMilestones func(context.Context, *masterplanpb.ReorderMasterPlanMilestonesGrpcRequest) (*masterplanpb.MasterPlanIdGrpcResponse, error) }
type MockOfferingService ¶
type MockOfferingService struct {
offeringpb.UnimplementedOfferingGrpcServiceServer
}
func (MockOfferingService) CreateOffering ¶
func (MockOfferingService) CreateOffering(context context.Context, proto *offeringpb.CreateOfferingGrpcRequest) (*commonpb.IdResponse, error)
func (MockOfferingService) UpdateOffering ¶
func (MockOfferingService) UpdateOffering(context context.Context, proto *offeringpb.UpdateOfferingGrpcRequest) (*commonpb.IdResponse, error)
type MockOfferingServiceCallbacks ¶
type MockOfferingServiceCallbacks struct { CreateOffering func(context.Context, *offeringpb.CreateOfferingGrpcRequest) (*commonpb.IdResponse, error) UpdateOffering func(context.Context, *offeringpb.UpdateOfferingGrpcRequest) (*commonpb.IdResponse, error) }
type MockOpportunityService ¶
type MockOpportunityService struct {
opportunitypb.UnimplementedOpportunityGrpcServiceServer
}
func (MockOpportunityService) CreateOpportunity ¶
func (MockOpportunityService) CreateOpportunity(context context.Context, proto *opportunitypb.CreateOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error)
func (MockOpportunityService) CreateRenewalOpportunity ¶
func (MockOpportunityService) CreateRenewalOpportunity(context context.Context, proto *opportunitypb.CreateRenewalOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error)
func (MockOpportunityService) UpdateOpportunity ¶
func (MockOpportunityService) UpdateOpportunity(context context.Context, proto *opportunitypb.UpdateOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error)
func (MockOpportunityService) UpdateRenewalOpportunity ¶
func (MockOpportunityService) UpdateRenewalOpportunity(context context.Context, proto *opportunitypb.UpdateRenewalOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error)
type MockOpportunityServiceCallbacks ¶
type MockOpportunityServiceCallbacks struct { CreateOpportunity func(context.Context, *opportunitypb.CreateOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error) UpdateOpportunity func(context.Context, *opportunitypb.UpdateOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error) UpdateRenewalOpportunity func(context.Context, *opportunitypb.UpdateRenewalOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error) CreateRenewalOpportunity func(context.Context, *opportunitypb.CreateRenewalOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error) }
type MockOrganizationService ¶
type MockOrganizationService struct {
organizationpb.UnimplementedOrganizationGrpcServiceServer
}
func (MockOrganizationService) AddParentOrganization ¶
func (MockOrganizationService) AddParentOrganization(context context.Context, proto *organizationpb.AddParentOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
func (MockOrganizationService) CreateBillingProfile ¶
func (MockOrganizationService) CreateBillingProfile(context context.Context, proto *organizationpb.CreateBillingProfileGrpcRequest) (*organizationpb.BillingProfileIdGrpcResponse, error)
func (MockOrganizationService) LinkEmailToBillingProfile ¶
func (MockOrganizationService) LinkEmailToBillingProfile(context context.Context, proto *organizationpb.LinkEmailToBillingProfileGrpcRequest) (*organizationpb.BillingProfileIdGrpcResponse, error)
func (MockOrganizationService) LinkEmailToOrganization ¶
func (MockOrganizationService) LinkEmailToOrganization(context context.Context, proto *organizationpb.LinkEmailToOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
func (MockOrganizationService) LinkLocationToBillingProfile ¶
func (MockOrganizationService) LinkLocationToBillingProfile(context context.Context, proto *organizationpb.LinkLocationToBillingProfileGrpcRequest) (*organizationpb.BillingProfileIdGrpcResponse, error)
func (MockOrganizationService) LinkPhoneNumberToOrganization ¶
func (MockOrganizationService) LinkPhoneNumberToOrganization(context context.Context, proto *organizationpb.LinkPhoneNumberToOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
func (MockOrganizationService) RefreshArr ¶
func (MockOrganizationService) RefreshArr(context context.Context, proto *organizationpb.OrganizationIdGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
func (MockOrganizationService) RefreshLastTouchpoint ¶
func (MockOrganizationService) RefreshLastTouchpoint(context context.Context, proto *organizationpb.OrganizationIdGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
func (MockOrganizationService) RefreshRenewalSummary ¶
func (MockOrganizationService) RefreshRenewalSummary(context context.Context, proto *organizationpb.RefreshRenewalSummaryGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
func (MockOrganizationService) RemoveParentOrganization ¶
func (MockOrganizationService) RemoveParentOrganization(context context.Context, proto *organizationpb.RemoveParentOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
func (MockOrganizationService) UnlinkEmailFromBillingProfile ¶
func (MockOrganizationService) UnlinkEmailFromBillingProfile(context context.Context, proto *organizationpb.UnlinkEmailFromBillingProfileGrpcRequest) (*organizationpb.BillingProfileIdGrpcResponse, error)
func (MockOrganizationService) UnlinkLocationFromBillingProfile ¶
func (MockOrganizationService) UnlinkLocationFromBillingProfile(context context.Context, proto *organizationpb.UnlinkLocationFromBillingProfileGrpcRequest) (*organizationpb.BillingProfileIdGrpcResponse, error)
func (MockOrganizationService) UpdateBillingProfile ¶
func (MockOrganizationService) UpdateBillingProfile(context context.Context, proto *organizationpb.UpdateBillingProfileGrpcRequest) (*organizationpb.BillingProfileIdGrpcResponse, error)
func (MockOrganizationService) UpdateOnboardingStatus ¶
func (MockOrganizationService) UpdateOnboardingStatus(context context.Context, proto *organizationpb.UpdateOnboardingStatusGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
func (MockOrganizationService) UpdateOrganizationOwner ¶
func (MockOrganizationService) UpdateOrganizationOwner(context context.Context, proto *organizationpb.UpdateOrganizationOwnerGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
func (MockOrganizationService) UpsertOrganization ¶
func (MockOrganizationService) UpsertOrganization(context context.Context, proto *organizationpb.UpsertOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
type MockOrganizationServiceCallbacks ¶
type MockOrganizationServiceCallbacks struct { UpsertOrganization func(context.Context, *organizationpb.UpsertOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) AddParent func(context.Context, *organizationpb.AddParentOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) RemoveParent func(context.Context, *organizationpb.RemoveParentOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) LinkEmailToOrganization func(context context.Context, proto *organizationpb.LinkEmailToOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) LinkPhoneNumberToOrganization func(context context.Context, proto *organizationpb.LinkPhoneNumberToOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) RefreshLastTouchpoint func(ctx context.Context, proto *organizationpb.OrganizationIdGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) RefreshArr func(ctx context.Context, proto *organizationpb.OrganizationIdGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) RefreshRenewalSummary func(ctx context.Context, proto *organizationpb.RefreshRenewalSummaryGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) UpdateOnboardingStatus func(ctx context.Context, proto *organizationpb.UpdateOnboardingStatusGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) UpdateOrganizationOwner func(ctx context.Context, proto *organizationpb.UpdateOrganizationOwnerGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) CreateBillingProfile func(ctx context.Context, proto *organizationpb.CreateBillingProfileGrpcRequest) (*organizationpb.BillingProfileIdGrpcResponse, error) UpdateBillingProfile func(ctx context.Context, proto *organizationpb.UpdateBillingProfileGrpcRequest) (*organizationpb.BillingProfileIdGrpcResponse, error) LinkEmailToBillingProfile func(ctx context.Context, proto *organizationpb.LinkEmailToBillingProfileGrpcRequest) (*organizationpb.BillingProfileIdGrpcResponse, error) UnlinkEmailFromBillingProfile func(ctx context.Context, proto *organizationpb.UnlinkEmailFromBillingProfileGrpcRequest) (*organizationpb.BillingProfileIdGrpcResponse, error) LinkLocationToBillingProfile func(ctx context.Context, proto *organizationpb.LinkLocationToBillingProfileGrpcRequest) (*organizationpb.BillingProfileIdGrpcResponse, error) UnlinkLocationFromBillingProfile func(ctx context.Context, proto *organizationpb.UnlinkLocationFromBillingProfileGrpcRequest) (*organizationpb.BillingProfileIdGrpcResponse, error) }
type MockPhoneNumberService ¶
type MockPhoneNumberService struct {
phonenumberproto.UnimplementedPhoneNumberGrpcServiceServer
}
func (MockPhoneNumberService) UpsertPhoneNumber ¶
func (MockPhoneNumberService) UpsertPhoneNumber(ctx context.Context, data *phonenumberproto.UpsertPhoneNumberGrpcRequest) (*phonenumberproto.PhoneNumberIdGrpcResponse, error)
type MockPhoneNumberServiceCallbacks ¶
type MockPhoneNumberServiceCallbacks struct {
UpsertPhoneNumber func(ctx context.Context, data *phonenumberproto.UpsertPhoneNumberGrpcRequest) (*phonenumberproto.PhoneNumberIdGrpcResponse, error)
}
type MockReminderService ¶
type MockReminderService struct {
reminderpb.UnimplementedReminderGrpcServiceServer
}
func (MockReminderService) CreateReminder ¶
func (MockReminderService) CreateReminder(context context.Context, proto *reminderpb.CreateReminderGrpcRequest) (*reminderpb.ReminderGrpcResponse, error)
func (MockReminderService) UpdateReminder ¶
func (MockReminderService) UpdateReminder(context context.Context, proto *reminderpb.UpdateReminderGrpcRequest) (*reminderpb.ReminderGrpcResponse, error)
type MockReminderServiceCallbacks ¶
type MockReminderServiceCallbacks struct { ReminderCreate func(context.Context, *reminderpb.CreateReminderGrpcRequest) (*reminderpb.ReminderGrpcResponse, error) ReminderUpdate func(context.Context, *reminderpb.UpdateReminderGrpcRequest) (*reminderpb.ReminderGrpcResponse, error) }
type MockServiceLineItemService ¶
type MockServiceLineItemService struct {
servicelineitempb.UnimplementedServiceLineItemGrpcServiceServer
}
func (MockServiceLineItemService) CloseServiceLineItem ¶
func (MockServiceLineItemService) CloseServiceLineItem(context context.Context, proto *servicelineitempb.CloseServiceLineItemGrpcRequest) (*servicelineitempb.ServiceLineItemIdGrpcResponse, error)
func (MockServiceLineItemService) CreateServiceLineItem ¶
func (MockServiceLineItemService) CreateServiceLineItem(context context.Context, proto *servicelineitempb.CreateServiceLineItemGrpcRequest) (*servicelineitempb.ServiceLineItemIdGrpcResponse, error)
func (MockServiceLineItemService) DeleteServiceLineItem ¶
func (MockServiceLineItemService) DeleteServiceLineItem(context context.Context, proto *servicelineitempb.DeleteServiceLineItemGrpcRequest) (*servicelineitempb.ServiceLineItemIdGrpcResponse, error)
func (MockServiceLineItemService) UpdateServiceLineItem ¶
func (MockServiceLineItemService) UpdateServiceLineItem(context context.Context, proto *servicelineitempb.UpdateServiceLineItemGrpcRequest) (*servicelineitempb.ServiceLineItemIdGrpcResponse, error)
type MockServiceLineItemServiceCallbacks ¶
type MockServiceLineItemServiceCallbacks struct { CreateServiceLineItem func(context.Context, *servicelineitempb.CreateServiceLineItemGrpcRequest) (*servicelineitempb.ServiceLineItemIdGrpcResponse, error) UpdateServiceLineItem func(context.Context, *servicelineitempb.UpdateServiceLineItemGrpcRequest) (*servicelineitempb.ServiceLineItemIdGrpcResponse, error) DeleteServiceLineItem func(context.Context, *servicelineitempb.DeleteServiceLineItemGrpcRequest) (*servicelineitempb.ServiceLineItemIdGrpcResponse, error) CloseServiceLineItem func(context.Context, *servicelineitempb.CloseServiceLineItemGrpcRequest) (*servicelineitempb.ServiceLineItemIdGrpcResponse, error) }
type MockTenantService ¶
type MockTenantService struct {
tenantpb.UnimplementedTenantGrpcServiceServer
}
func (MockTenantService) AddBankAccount ¶
func (MockTenantService) AddBankAccount(context context.Context, proto *tenantpb.AddBankAccountGrpcRequest) (*commonpb.IdResponse, error)
func (MockTenantService) AddBillingProfile ¶
func (MockTenantService) AddBillingProfile(context context.Context, proto *tenantpb.AddBillingProfileRequest) (*commonpb.IdResponse, error)
func (MockTenantService) DeleteBankAccount ¶
func (MockTenantService) DeleteBankAccount(context context.Context, proto *tenantpb.DeleteBankAccountGrpcRequest) (*emptypb.Empty, error)
func (MockTenantService) UpdateBankAccount ¶
func (MockTenantService) UpdateBankAccount(context context.Context, proto *tenantpb.UpdateBankAccountGrpcRequest) (*commonpb.IdResponse, error)
func (MockTenantService) UpdateBillingProfile ¶
func (MockTenantService) UpdateBillingProfile(context context.Context, proto *tenantpb.UpdateBillingProfileRequest) (*commonpb.IdResponse, error)
func (MockTenantService) UpdateTenantSettings ¶
func (MockTenantService) UpdateTenantSettings(context context.Context, proto *tenantpb.UpdateTenantSettingsRequest) (*emptypb.Empty, error)
type MockTenantServiceCallbacks ¶
type MockTenantServiceCallbacks struct { AddBillingProfile func(context.Context, *tenantpb.AddBillingProfileRequest) (*commonpb.IdResponse, error) UpdateBillingProfile func(context.Context, *tenantpb.UpdateBillingProfileRequest) (*commonpb.IdResponse, error) UpdateTenantSettings func(context.Context, *tenantpb.UpdateTenantSettingsRequest) (*emptypb.Empty, error) AddBankAccount func(context.Context, *tenantpb.AddBankAccountGrpcRequest) (*commonpb.IdResponse, error) UpdateBankAccount func(context.Context, *tenantpb.UpdateBankAccountGrpcRequest) (*commonpb.IdResponse, error) DeleteBankAccount func(context.Context, *tenantpb.DeleteBankAccountGrpcRequest) (*emptypb.Empty, error) }
type MockUserService ¶
type MockUserService struct {
userProto.UnimplementedUserGrpcServiceServer
}
func (MockUserService) LinkJobRoleToUser ¶
func (MockUserService) LinkJobRoleToUser(context context.Context, proto *userProto.LinkJobRoleToUserGrpcRequest) (*userProto.UserIdGrpcResponse, error)
type MockUserServiceCallbacks ¶
type MockUserServiceCallbacks struct {
LinkJobRoleToUser func(context.Context, *userProto.LinkJobRoleToUserGrpcRequest) (*userProto.UserIdGrpcResponse, error)
}
type TestDialFactoryImpl ¶
type TestDialFactoryImpl struct {
// contains filtered or unexported fields
}
func (TestDialFactoryImpl) Close ¶
func (dfi TestDialFactoryImpl) Close(conn *grpc.ClientConn)
func (TestDialFactoryImpl) GetEventsProcessingPlatformConn ¶
func (dfi TestDialFactoryImpl) GetEventsProcessingPlatformConn() (*grpc.ClientConn, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.