events_platform

package
v0.0.0-...-21f8c24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

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 MockContractService

type MockContractService struct {
	contractpb.UnimplementedContractGrpcServiceServer
}

func (MockContractService) CreateContract

func (MockContractService) SoftDeleteContract

func (MockContractService) UpdateContract

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) NextPreviewInvoiceForContract

func (MockInvoiceService) UpdateInvoice

func (MockInvoiceService) VoidInvoice

type MockJobRoleServiceCallbacks

type MockJobRoleServiceCallbacks struct {
	CreateJobRole func(context.Context, *jobRoleProto.CreateJobRoleGrpcRequest) (*jobRoleProto.JobRoleIdGrpcResponse, error)
}

type MockOfferingService

type MockOfferingService struct {
	offeringpb.UnimplementedOfferingGrpcServiceServer
}

func (MockOfferingService) CreateOffering

func (MockOfferingService) UpdateOffering

type MockOfferingServiceCallbacks

type MockOfferingServiceCallbacks struct {
	CreateOffering func(context.Context, *offeringpb.CreateOfferingGrpcRequest) (*commonpb.IdResponse, error)
	UpdateOffering func(context.Context, *offeringpb.UpdateOfferingGrpcRequest) (*commonpb.IdResponse, error)
}

type MockOrganizationService

type MockOrganizationService struct {
	organizationpb.UnimplementedOrganizationGrpcServiceServer
}

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 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) UpdateReminder

type MockTenantService

type MockTenantService struct {
	tenantpb.UnimplementedTenantGrpcServiceServer
}

func (MockTenantService) AddBankAccount

func (MockTenantService) AddBillingProfile

func (MockTenantService) DeleteBankAccount

func (MockTenantService) UpdateBankAccount

func (MockTenantService) UpdateBillingProfile

func (MockTenantService) UpdateTenantSettings

func (MockTenantService) UpdateTenantSettings(context context.Context, proto *tenantpb.UpdateTenantSettingsRequest) (*emptypb.Empty, error)

type MockUserService

type MockUserService struct {
	userProto.UnimplementedUserGrpcServiceServer
}

func (MockUserService) LinkJobRoleToUser

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL