Documentation ¶
Index ¶
- type ApplicationService
- type DirectorGraphQLClient
- func (_m *DirectorGraphQLClient) DeleteTenants(ctx context.Context, tenants []graphql.BusinessTenantMappingInput) error
- func (_m *DirectorGraphQLClient) ExistsTenantByExternalID(ctx context.Context, tenantID string) (bool, error)
- func (_m *DirectorGraphQLClient) SubscribeTenant(ctx context.Context, providerID string, subaccountID string, ...) error
- func (_m *DirectorGraphQLClient) UnsubscribeTenant(ctx context.Context, providerID string, subaccountID string, ...) error
- func (_m *DirectorGraphQLClient) UpdateTenant(ctx context.Context, id string, tenant graphql.BusinessTenantMappingInput) error
- func (_m *DirectorGraphQLClient) WriteTenants(_a0 context.Context, _a1 []graphql.BusinessTenantMappingInput) error
- type TenantConverter
- type TenantFetcher
- type TenantProvisioner
- type TenantService
- type TenantSubscriber
- type WebhookService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationService ¶
ApplicationService is an autogenerated mock type for the ApplicationService type
func NewApplicationService ¶
func NewApplicationService(t interface { mock.TestingT Cleanup(func()) }) *ApplicationService
NewApplicationService creates a new instance of ApplicationService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ApplicationService) UpdateBaseURLAndReadyState ¶
func (_m *ApplicationService) UpdateBaseURLAndReadyState(ctx context.Context, appID string, baseURL string, ready bool) error
UpdateBaseURLAndReadyState provides a mock function with given fields: ctx, appID, baseURL, ready
type DirectorGraphQLClient ¶
DirectorGraphQLClient is an autogenerated mock type for the DirectorGraphQLClient type
func NewDirectorGraphQLClient ¶
func NewDirectorGraphQLClient(t interface { mock.TestingT Cleanup(func()) }) *DirectorGraphQLClient
NewDirectorGraphQLClient creates a new instance of DirectorGraphQLClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DirectorGraphQLClient) DeleteTenants ¶
func (_m *DirectorGraphQLClient) DeleteTenants(ctx context.Context, tenants []graphql.BusinessTenantMappingInput) error
DeleteTenants provides a mock function with given fields: ctx, tenants
func (*DirectorGraphQLClient) ExistsTenantByExternalID ¶
func (_m *DirectorGraphQLClient) ExistsTenantByExternalID(ctx context.Context, tenantID string) (bool, error)
ExistsTenantByExternalID provides a mock function with given fields: ctx, tenantID
func (*DirectorGraphQLClient) SubscribeTenant ¶
func (_m *DirectorGraphQLClient) SubscribeTenant(ctx context.Context, providerID string, subaccountID string, providerSubaccountID string, consumerTenantID string, region string, subscriptionProviderAppName string, subscriptionPayload string) error
SubscribeTenant provides a mock function with given fields: ctx, providerID, subaccountID, providerSubaccountID, consumerTenantID, region, subscriptionProviderAppName, subscriptionPayload
func (*DirectorGraphQLClient) UnsubscribeTenant ¶
func (_m *DirectorGraphQLClient) UnsubscribeTenant(ctx context.Context, providerID string, subaccountID string, providerSubaccountID string, consumerTenantID string, region string, subscriptionPayload string) error
UnsubscribeTenant provides a mock function with given fields: ctx, providerID, subaccountID, providerSubaccountID, consumerTenantID, region, subscriptionPayload
func (*DirectorGraphQLClient) UpdateTenant ¶
func (_m *DirectorGraphQLClient) UpdateTenant(ctx context.Context, id string, tenant graphql.BusinessTenantMappingInput) error
UpdateTenant provides a mock function with given fields: ctx, id, tenant
func (*DirectorGraphQLClient) WriteTenants ¶
func (_m *DirectorGraphQLClient) WriteTenants(_a0 context.Context, _a1 []graphql.BusinessTenantMappingInput) error
WriteTenants provides a mock function with given fields: _a0, _a1
type TenantConverter ¶
TenantConverter is an autogenerated mock type for the TenantConverter type
func NewTenantConverter ¶
func NewTenantConverter(t interface { mock.TestingT Cleanup(func()) }) *TenantConverter
NewTenantConverter creates a new instance of TenantConverter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TenantConverter) MultipleInputToGraphQLInput ¶
func (_m *TenantConverter) MultipleInputToGraphQLInput(_a0 []model.BusinessTenantMappingInput) []graphql.BusinessTenantMappingInput
MultipleInputToGraphQLInput provides a mock function with given fields: _a0
func (*TenantConverter) ToGraphQLInput ¶
func (_m *TenantConverter) ToGraphQLInput(_a0 model.BusinessTenantMappingInput) graphql.BusinessTenantMappingInput
ToGraphQLInput provides a mock function with given fields: _a0
type TenantFetcher ¶
TenantFetcher is an autogenerated mock type for the TenantFetcher type
func NewTenantFetcher ¶
func NewTenantFetcher(t interface { mock.TestingT Cleanup(func()) }) *TenantFetcher
NewTenantFetcher creates a new instance of TenantFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TenantFetcher) SynchronizeTenant ¶
func (_m *TenantFetcher) SynchronizeTenant(ctx context.Context, parentTenantID string, tenantID string) error
SynchronizeTenant provides a mock function with given fields: ctx, parentTenantID, tenantID
type TenantProvisioner ¶
TenantProvisioner is an autogenerated mock type for the TenantProvisioner type
func NewTenantProvisioner ¶
func NewTenantProvisioner(t interface { mock.TestingT Cleanup(func()) }) *TenantProvisioner
NewTenantProvisioner creates a new instance of TenantProvisioner. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TenantProvisioner) ProvisionMissingTenants ¶
func (_m *TenantProvisioner) ProvisionMissingTenants(ctx context.Context, request *tenantfetchersvc.TenantSubscriptionRequest) error
ProvisionMissingTenants provides a mock function with given fields: ctx, request
type TenantService ¶
TenantService is an autogenerated mock type for the TenantService type
func NewTenantService ¶
func NewTenantService(t interface { mock.TestingT Cleanup(func()) }) *TenantService
NewTenantService creates a new instance of TenantService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TenantService) GetLowestOwnerForResource ¶
func (_m *TenantService) GetLowestOwnerForResource(ctx context.Context, resourceType resource.Type, objectID string) (string, error)
GetLowestOwnerForResource provides a mock function with given fields: ctx, resourceType, objectID
func (*TenantService) GetTenantByID ¶
func (_m *TenantService) GetTenantByID(ctx context.Context, id string) (*model.BusinessTenantMapping, error)
GetTenantByID provides a mock function with given fields: ctx, id
type TenantSubscriber ¶
TenantSubscriber is an autogenerated mock type for the TenantSubscriber type
func NewTenantSubscriber ¶
func NewTenantSubscriber(t interface { mock.TestingT Cleanup(func()) }) *TenantSubscriber
NewTenantSubscriber creates a new instance of TenantSubscriber. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TenantSubscriber) Subscribe ¶
func (_m *TenantSubscriber) Subscribe(ctx context.Context, tenantSubscriptionRequest *tenantfetchersvc.TenantSubscriptionRequest) error
Subscribe provides a mock function with given fields: ctx, tenantSubscriptionRequest
func (*TenantSubscriber) Unsubscribe ¶
func (_m *TenantSubscriber) Unsubscribe(ctx context.Context, tenantSubscriptionRequest *tenantfetchersvc.TenantSubscriptionRequest) error
Unsubscribe provides a mock function with given fields: ctx, tenantSubscriptionRequest
type WebhookService ¶
WebhookService is an autogenerated mock type for the WebhookService type
func NewWebhookService ¶
func NewWebhookService(t interface { mock.TestingT Cleanup(func()) }) *WebhookService
NewWebhookService creates a new instance of WebhookService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*WebhookService) Delete ¶
func (_m *WebhookService) Delete(ctx context.Context, id string, objectType model.WebhookReferenceObjectType) error
Delete provides a mock function with given fields: ctx, id, objectType
func (*WebhookService) ListByTypeAndLabelFilter ¶
func (_m *WebhookService) ListByTypeAndLabelFilter(ctx context.Context, webhookType model.WebhookType, filter *labelfilter.LabelFilter) ([]*model.Webhook, error)
ListByTypeAndLabelFilter provides a mock function with given fields: ctx, webhookType, filter