events_platform

package
v0.0.0-...-946920c Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestDialFactory

func NewTestDialFactory() grpc_client.DialFactory

func SetContractCallbacks

func SetContractCallbacks(callbacks *MockContractServiceCallbacks)

func SetEventStoreServiceCallbacks

func SetEventStoreServiceCallbacks(callbacks *MockEventStoreServiceCallbacks)

func SetInvoiceCallbacks

func SetInvoiceCallbacks(callbacks *MockInvoiceServiceCallbacks)

func SetOpportunityCallbacks

func SetOpportunityCallbacks(callbacks *MockOpportunityServiceCallbacks)

func SetOrganizationCallbacks

func SetOrganizationCallbacks(callbacks *MockOrganizationServiceCallbacks)

func SetServiceLineItemCallbacks

func SetServiceLineItemCallbacks(callbacks *MockServiceLineItemServiceCallbacks)

Types

type MockContractService

type MockContractService struct {
	contractpb.UnimplementedContractGrpcServiceServer
}

func (MockContractService) SoftDeleteContract

type MockContractServiceCallbacks

type MockContractServiceCallbacks struct {
	SoftDeleteContract                    func(context.Context, *contractpb.SoftDeleteContractGrpcRequest) (*emptypb.Empty, error)
	RolloutRenewalOpportunityOnExpiration func(context.Context, *contractpb.RolloutRenewalOpportunityOnExpirationGrpcRequest) (*contractpb.ContractIdGrpcResponse, error)
}

type MockEventStoreServiceCallbacks

type MockEventStoreServiceCallbacks struct {
	StoreEvent func(context.Context, *eventstorepb.StoreEventGrpcRequest) (*eventstorepb.StoreEventGrpcResponse, error)
}

type MockInvoiceService

type MockInvoiceService struct {
	invoicepb.UnimplementedInvoiceGrpcServiceServer
}

func (MockInvoiceService) NewInvoiceForContract

func (MockInvoiceService) NextPreviewInvoiceForContract

func (MockInvoiceService) VoidInvoice

type MockOrganizationService

type MockOrganizationService struct {
	organizationpb.UnimplementedOrganizationGrpcServiceServer
}

type MockOrganizationServiceCallbacks

type MockOrganizationServiceCallbacks struct {
	AddParent                        func(context.Context, *organizationpb.AddParentOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
	RemoveParent                     func(context.Context, *organizationpb.RemoveParentOrganizationGrpcRequest) (*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 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