Documentation ¶
Index ¶
- type BundleRepo
- type DestinationManager
- func (_m *DestinationManager) FetchDestinationsSensitiveData(ctx context.Context, tenantID string, destinationNames []string) ([]byte, error)
- func (_m *DestinationManager) GetSubscribedTenantIDs(ctx context.Context) ([]string, error)
- func (_m *DestinationManager) IsTenantSubscribed(ctx context.Context, tenantID string) (bool, error)
- func (_m *DestinationManager) SyncTenantDestinations(ctx context.Context, tenantID string) error
- type DestinationRepo
- func (_m *DestinationRepo) DeleteOld(ctx context.Context, latestRevision string, tenantID string) error
- func (_m *DestinationRepo) GetDestinationByNameAndTenant(ctx context.Context, destinationName string, tenantID string) (*model.Destination, error)
- func (_m *DestinationRepo) Upsert(ctx context.Context, in model.DestinationInput, id string, tenantID string, ...) error
- type DestinationSyncer
- type FormationAssignmentRepository
- type LabelRepo
- type TenantRepo
- type UUIDService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleRepo ¶
BundleRepo is an autogenerated mock type for the BundleRepo type
func NewBundleRepo ¶
func NewBundleRepo(t interface { mock.TestingT Cleanup(func()) }) *BundleRepo
NewBundleRepo creates a new instance of BundleRepo. 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 (*BundleRepo) ListByApplicationAndCorrelationIDs ¶
func (_m *BundleRepo) ListByApplicationAndCorrelationIDs(ctx context.Context, tenantID string, appID string, correlationIDs string) ([]*model.Bundle, error)
ListByApplicationAndCorrelationIDs provides a mock function with given fields: ctx, tenantID, appID, correlationIDs
func (*BundleRepo) ListByDestination ¶
func (_m *BundleRepo) ListByDestination(ctx context.Context, tenantID string, destination model.DestinationInput) ([]*model.Bundle, error)
ListByDestination provides a mock function with given fields: ctx, tenantID, destination
type DestinationManager ¶
DestinationManager is an autogenerated mock type for the DestinationManager type
func NewDestinationManager ¶
func NewDestinationManager(t interface { mock.TestingT Cleanup(func()) }) *DestinationManager
NewDestinationManager creates a new instance of DestinationManager. 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 (*DestinationManager) FetchDestinationsSensitiveData ¶
func (_m *DestinationManager) FetchDestinationsSensitiveData(ctx context.Context, tenantID string, destinationNames []string) ([]byte, error)
FetchDestinationsSensitiveData provides a mock function with given fields: ctx, tenantID, destinationNames
func (*DestinationManager) GetSubscribedTenantIDs ¶
func (_m *DestinationManager) GetSubscribedTenantIDs(ctx context.Context) ([]string, error)
GetSubscribedTenantIDs provides a mock function with given fields: ctx
func (*DestinationManager) IsTenantSubscribed ¶
func (_m *DestinationManager) IsTenantSubscribed(ctx context.Context, tenantID string) (bool, error)
IsTenantSubscribed provides a mock function with given fields: ctx, tenantID
func (*DestinationManager) SyncTenantDestinations ¶
func (_m *DestinationManager) SyncTenantDestinations(ctx context.Context, tenantID string) error
SyncTenantDestinations provides a mock function with given fields: ctx, tenantID
type DestinationRepo ¶
DestinationRepo is an autogenerated mock type for the DestinationRepo type
func NewDestinationRepo ¶
func NewDestinationRepo(t interface { mock.TestingT Cleanup(func()) }) *DestinationRepo
NewDestinationRepo creates a new instance of DestinationRepo. 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 (*DestinationRepo) DeleteOld ¶
func (_m *DestinationRepo) DeleteOld(ctx context.Context, latestRevision string, tenantID string) error
DeleteOld provides a mock function with given fields: ctx, latestRevision, tenantID
func (*DestinationRepo) GetDestinationByNameAndTenant ¶
func (_m *DestinationRepo) GetDestinationByNameAndTenant(ctx context.Context, destinationName string, tenantID string) (*model.Destination, error)
GetDestinationByNameAndTenant provides a mock function with given fields: ctx, destinationName, tenantID
type DestinationSyncer ¶
DestinationSyncer is an autogenerated mock type for the DestinationSyncer type
func NewDestinationSyncer ¶
func NewDestinationSyncer(t interface { mock.TestingT Cleanup(func()) }) *DestinationSyncer
NewDestinationSyncer creates a new instance of DestinationSyncer. 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 (*DestinationSyncer) GetSubscribedTenantIDs ¶
func (_m *DestinationSyncer) GetSubscribedTenantIDs(ctx context.Context) ([]string, error)
GetSubscribedTenantIDs provides a mock function with given fields: ctx
func (*DestinationSyncer) SyncTenantDestinations ¶
func (_m *DestinationSyncer) SyncTenantDestinations(ctx context.Context, tenantID string) error
SyncTenantDestinations provides a mock function with given fields: ctx, tenantID
type FormationAssignmentRepository ¶
FormationAssignmentRepository is an autogenerated mock type for the FormationAssignmentRepository type
func NewFormationAssignmentRepository ¶
func NewFormationAssignmentRepository(t interface { mock.TestingT Cleanup(func()) }) *FormationAssignmentRepository
NewFormationAssignmentRepository creates a new instance of FormationAssignmentRepository. 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 (*FormationAssignmentRepository) GetGlobalByID ¶
func (_m *FormationAssignmentRepository) GetGlobalByID(ctx context.Context, id string) (*model.FormationAssignment, error)
GetGlobalByID provides a mock function with given fields: ctx, id
type LabelRepo ¶
LabelRepo is an autogenerated mock type for the LabelRepo type
func NewLabelRepo ¶
NewLabelRepo creates a new instance of LabelRepo. 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.
type TenantRepo ¶
TenantRepo is an autogenerated mock type for the TenantRepo type
func NewTenantRepo ¶
func NewTenantRepo(t interface { mock.TestingT Cleanup(func()) }) *TenantRepo
NewTenantRepo creates a new instance of TenantRepo. 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 (*TenantRepo) ExistsSubscribed ¶
func (_m *TenantRepo) ExistsSubscribed(ctx context.Context, id string, selfDistinguishLabel string) (bool, error)
ExistsSubscribed provides a mock function with given fields: ctx, id, selfDistinguishLabel
func (*TenantRepo) ListBySubscribedRuntimesAndApplicationTemplates ¶
func (_m *TenantRepo) ListBySubscribedRuntimesAndApplicationTemplates(ctx context.Context, selfRegDistinguishLabel string) ([]*model.BusinessTenantMapping, error)
ListBySubscribedRuntimesAndApplicationTemplates provides a mock function with given fields: ctx, selfRegDistinguishLabel
type UUIDService ¶
UUIDService is an autogenerated mock type for the UUIDService type
func NewUUIDService ¶
func NewUUIDService(t interface { mock.TestingT Cleanup(func()) }) *UUIDService
NewUUIDService creates a new instance of UUIDService. 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 (*UUIDService) Generate ¶
func (_m *UUIDService) Generate() string
Generate provides a mock function with given fields: