Documentation ¶
Index ¶
- type AsaService
- func (_m *AsaService) GetForScenarioName(ctx context.Context, scenarioName string) (model.AutomaticScenarioAssignment, error)
- func (_m *AsaService) List(ctx context.Context, pageSize int, cursor string) (*model.AutomaticScenarioAssignmentPage, error)
- func (_m *AsaService) ListForTargetTenant(ctx context.Context, targetTenantInternalID string) ([]*model.AutomaticScenarioAssignment, error)
- type EntityConverter
- type GqlConverter
- type Repository
- func (_m *Repository) GetForScenarioName(ctx context.Context, tenantID string, scenarioName string) (model.AutomaticScenarioAssignment, error)
- func (_m *Repository) List(ctx context.Context, tenant string, pageSize int, cursor string) (*model.AutomaticScenarioAssignmentPage, error)
- func (_m *Repository) ListForTargetTenant(ctx context.Context, tenantID string, targetTenantID string) ([]*model.AutomaticScenarioAssignment, error)
- type ScenariosDefService
- type TenantService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsaService ¶
AsaService is an autogenerated mock type for the asaService type
func NewAsaService ¶
func NewAsaService(t interface { mock.TestingT Cleanup(func()) }) *AsaService
NewAsaService creates a new instance of AsaService. 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 (*AsaService) GetForScenarioName ¶
func (_m *AsaService) GetForScenarioName(ctx context.Context, scenarioName string) (model.AutomaticScenarioAssignment, error)
GetForScenarioName provides a mock function with given fields: ctx, scenarioName
func (*AsaService) List ¶
func (_m *AsaService) List(ctx context.Context, pageSize int, cursor string) (*model.AutomaticScenarioAssignmentPage, error)
List provides a mock function with given fields: ctx, pageSize, cursor
func (*AsaService) ListForTargetTenant ¶
func (_m *AsaService) ListForTargetTenant(ctx context.Context, targetTenantInternalID string) ([]*model.AutomaticScenarioAssignment, error)
ListForTargetTenant provides a mock function with given fields: ctx, targetTenantInternalID
type EntityConverter ¶
EntityConverter is an autogenerated mock type for the EntityConverter type
func NewEntityConverter ¶
func NewEntityConverter(t interface { mock.TestingT Cleanup(func()) }) *EntityConverter
NewEntityConverter creates a new instance of EntityConverter. 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 (*EntityConverter) FromEntity ¶
func (_m *EntityConverter) FromEntity(assignment scenarioassignment.Entity) model.AutomaticScenarioAssignment
FromEntity provides a mock function with given fields: assignment
func (*EntityConverter) ToEntity ¶
func (_m *EntityConverter) ToEntity(assignment model.AutomaticScenarioAssignment) scenarioassignment.Entity
ToEntity provides a mock function with given fields: assignment
type GqlConverter ¶
GqlConverter is an autogenerated mock type for the gqlConverter type
func NewGqlConverter ¶
func NewGqlConverter(t interface { mock.TestingT Cleanup(func()) }) *GqlConverter
NewGqlConverter creates a new instance of GqlConverter. 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 (*GqlConverter) ToGraphQL ¶
func (_m *GqlConverter) ToGraphQL(in model.AutomaticScenarioAssignment, targetTenantExternalID string) graphql.AutomaticScenarioAssignment
ToGraphQL provides a mock function with given fields: in, targetTenantExternalID
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func NewRepository ¶
func NewRepository(t interface { mock.TestingT Cleanup(func()) }) *Repository
NewRepository creates a new instance of Repository. 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 (*Repository) GetForScenarioName ¶
func (_m *Repository) GetForScenarioName(ctx context.Context, tenantID string, scenarioName string) (model.AutomaticScenarioAssignment, error)
GetForScenarioName provides a mock function with given fields: ctx, tenantID, scenarioName
func (*Repository) List ¶
func (_m *Repository) List(ctx context.Context, tenant string, pageSize int, cursor string) (*model.AutomaticScenarioAssignmentPage, error)
List provides a mock function with given fields: ctx, tenant, pageSize, cursor
func (*Repository) ListForTargetTenant ¶
func (_m *Repository) ListForTargetTenant(ctx context.Context, tenantID string, targetTenantID string) ([]*model.AutomaticScenarioAssignment, error)
ListForTargetTenant provides a mock function with given fields: ctx, tenantID, targetTenantID
type ScenariosDefService ¶
ScenariosDefService is an autogenerated mock type for the ScenariosDefService type
func NewScenariosDefService ¶
func NewScenariosDefService(t interface { mock.TestingT Cleanup(func()) }) *ScenariosDefService
NewScenariosDefService creates a new instance of ScenariosDefService. 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 (*ScenariosDefService) GetAvailableScenarios ¶
func (_m *ScenariosDefService) GetAvailableScenarios(ctx context.Context, tenantID string) ([]string, error)
GetAvailableScenarios provides a mock function with given fields: ctx, tenantID
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) GetExternalTenant ¶
GetExternalTenant provides a mock function with given fields: ctx, id
func (*TenantService) GetInternalTenant ¶
func (_m *TenantService) GetInternalTenant(ctx context.Context, externalTenant string) (string, error)
GetInternalTenant provides a mock function with given fields: ctx, externalTenant