Documentation ¶
Index ¶
- type ApplicationRepository
- type ApplicationTemplateRepository
- type AssignmentOperationService
- func (_m *AssignmentOperationService) Create(ctx context.Context, in *model.AssignmentOperationInput) (string, error)
- func (_m *AssignmentOperationService) Finish(ctx context.Context, assignmentID string, formationID string) error
- func (_m *AssignmentOperationService) GetLatestOperation(ctx context.Context, assignmentID string, formationID string) (*model.AssignmentOperation, error)
- type FormationAssignmentNotificationService
- type FormationAssignmentService
- func (_m *FormationAssignmentService) Delete(ctx context.Context, id string) error
- func (_m *FormationAssignmentService) GetGlobalByIDAndFormationID(ctx context.Context, formationAssignmentID string, formationID string) (*model.FormationAssignment, error)
- func (_m *FormationAssignmentService) GetReverseBySourceAndTarget(ctx context.Context, formationID string, sourceID string, targetID string) (*model.FormationAssignment, error)
- func (_m *FormationAssignmentService) ListFormationAssignmentsForObjectID(ctx context.Context, formationID string, objectID string) ([]*model.FormationAssignment, error)
- func (_m *FormationAssignmentService) ProcessFormationAssignmentPair(ctx context.Context, ...) (bool, error)
- func (_m *FormationAssignmentService) SetAssignmentToErrorState(ctx context.Context, assignment *model.FormationAssignment, ...) error
- func (_m *FormationAssignmentService) Update(ctx context.Context, id string, fa *model.FormationAssignment) error
- type FormationAssignmentStatusService
- type FormationRepository
- type FormationService
- func (_m *FormationService) Get(ctx context.Context, id string) (*model.Formation, error)
- func (_m *FormationService) GetGlobalByID(ctx context.Context, id string) (*model.Formation, error)
- func (_m *FormationService) ResynchronizeFormationNotifications(ctx context.Context, formationID string, reset bool) (*model.Formation, error)
- func (_m *FormationService) UnassignFromScenarioLabel(ctx context.Context, tnt string, objectID string, ...) error
- type FormationStatusService
- func (_m *FormationStatusService) DeleteFormationEntityAndScenariosWithConstraints(ctx context.Context, tnt string, formation *model.Formation) error
- func (_m *FormationStatusService) SetFormationToErrorStateWithConstraints(ctx context.Context, formation *model.Formation, errorMessage string, ...) error
- func (_m *FormationStatusService) UpdateWithConstraints(ctx context.Context, formation *model.Formation, ...) error
- type FormationTemplateRepository
- type LabelRepository
- type RuntimeContextRepository
- type RuntimeRepository
- type TenantRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationRepository ¶
ApplicationRepository is an autogenerated mock type for the ApplicationRepository type
func NewApplicationRepository ¶
func NewApplicationRepository(t interface { mock.TestingT Cleanup(func()) }) *ApplicationRepository
NewApplicationRepository creates a new instance of ApplicationRepository. 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 (*ApplicationRepository) GetByID ¶
func (_m *ApplicationRepository) GetByID(ctx context.Context, tenant string, id string) (*model.Application, error)
GetByID provides a mock function with given fields: ctx, tenant, id
func (*ApplicationRepository) OwnerExists ¶
func (_m *ApplicationRepository) OwnerExists(ctx context.Context, tenant string, id string) (bool, error)
OwnerExists provides a mock function with given fields: ctx, tenant, id
type ApplicationTemplateRepository ¶
ApplicationTemplateRepository is an autogenerated mock type for the ApplicationTemplateRepository type
func NewApplicationTemplateRepository ¶
func NewApplicationTemplateRepository(t interface { mock.TestingT Cleanup(func()) }) *ApplicationTemplateRepository
NewApplicationTemplateRepository creates a new instance of ApplicationTemplateRepository. 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 AssignmentOperationService ¶
AssignmentOperationService is an autogenerated mock type for the assignmentOperationService type
func NewAssignmentOperationService ¶
func NewAssignmentOperationService(t interface { mock.TestingT Cleanup(func()) }) *AssignmentOperationService
NewAssignmentOperationService creates a new instance of AssignmentOperationService. 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 (*AssignmentOperationService) Create ¶
func (_m *AssignmentOperationService) Create(ctx context.Context, in *model.AssignmentOperationInput) (string, error)
Create provides a mock function with given fields: ctx, in
func (*AssignmentOperationService) Finish ¶
func (_m *AssignmentOperationService) Finish(ctx context.Context, assignmentID string, formationID string) error
Finish provides a mock function with given fields: ctx, assignmentID, formationID
func (*AssignmentOperationService) GetLatestOperation ¶
func (_m *AssignmentOperationService) GetLatestOperation(ctx context.Context, assignmentID string, formationID string) (*model.AssignmentOperation, error)
GetLatestOperation provides a mock function with given fields: ctx, assignmentID, formationID
type FormationAssignmentNotificationService ¶
FormationAssignmentNotificationService is an autogenerated mock type for the FormationAssignmentNotificationService type
func NewFormationAssignmentNotificationService ¶
func NewFormationAssignmentNotificationService(t interface { mock.TestingT Cleanup(func()) }) *FormationAssignmentNotificationService
NewFormationAssignmentNotificationService creates a new instance of FormationAssignmentNotificationService. 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 (*FormationAssignmentNotificationService) GenerateFormationAssignmentPair ¶
func (_m *FormationAssignmentNotificationService) GenerateFormationAssignmentPair(ctx context.Context, fa *model.FormationAssignment, reverseFA *model.FormationAssignment, operation model.FormationOperation) (*formationassignment.AssignmentMappingPairWithOperation, error)
GenerateFormationAssignmentPair provides a mock function with given fields: ctx, fa, reverseFA, operation
type FormationAssignmentService ¶
FormationAssignmentService is an autogenerated mock type for the FormationAssignmentService type
func NewFormationAssignmentService ¶
func NewFormationAssignmentService(t interface { mock.TestingT Cleanup(func()) }) *FormationAssignmentService
NewFormationAssignmentService creates a new instance of FormationAssignmentService. 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 (*FormationAssignmentService) Delete ¶
func (_m *FormationAssignmentService) Delete(ctx context.Context, id string) error
Delete provides a mock function with given fields: ctx, id
func (*FormationAssignmentService) GetGlobalByIDAndFormationID ¶
func (_m *FormationAssignmentService) GetGlobalByIDAndFormationID(ctx context.Context, formationAssignmentID string, formationID string) (*model.FormationAssignment, error)
GetGlobalByIDAndFormationID provides a mock function with given fields: ctx, formationAssignmentID, formationID
func (*FormationAssignmentService) GetReverseBySourceAndTarget ¶
func (_m *FormationAssignmentService) GetReverseBySourceAndTarget(ctx context.Context, formationID string, sourceID string, targetID string) (*model.FormationAssignment, error)
GetReverseBySourceAndTarget provides a mock function with given fields: ctx, formationID, sourceID, targetID
func (*FormationAssignmentService) ListFormationAssignmentsForObjectID ¶
func (_m *FormationAssignmentService) ListFormationAssignmentsForObjectID(ctx context.Context, formationID string, objectID string) ([]*model.FormationAssignment, error)
ListFormationAssignmentsForObjectID provides a mock function with given fields: ctx, formationID, objectID
func (*FormationAssignmentService) ProcessFormationAssignmentPair ¶
func (_m *FormationAssignmentService) ProcessFormationAssignmentPair(ctx context.Context, mappingPair *formationassignment.AssignmentMappingPairWithOperation) (bool, error)
ProcessFormationAssignmentPair provides a mock function with given fields: ctx, mappingPair
func (*FormationAssignmentService) SetAssignmentToErrorState ¶
func (_m *FormationAssignmentService) SetAssignmentToErrorState(ctx context.Context, assignment *model.FormationAssignment, errorMessage string, errorCode formationassignment.AssignmentErrorCode, state model.FormationAssignmentState) error
SetAssignmentToErrorState provides a mock function with given fields: ctx, assignment, errorMessage, errorCode, state
func (*FormationAssignmentService) Update ¶
func (_m *FormationAssignmentService) Update(ctx context.Context, id string, fa *model.FormationAssignment) error
Update provides a mock function with given fields: ctx, id, fa
type FormationAssignmentStatusService ¶
FormationAssignmentStatusService is an autogenerated mock type for the formationAssignmentStatusService type
func NewFormationAssignmentStatusService ¶
func NewFormationAssignmentStatusService(t interface { mock.TestingT Cleanup(func()) }) *FormationAssignmentStatusService
NewFormationAssignmentStatusService creates a new instance of FormationAssignmentStatusService. 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 (*FormationAssignmentStatusService) DeleteWithConstraints ¶
func (_m *FormationAssignmentStatusService) DeleteWithConstraints(ctx context.Context, id string, notificationStatusReport *statusreport.NotificationStatusReport) error
DeleteWithConstraints provides a mock function with given fields: ctx, id, notificationStatusReport
func (*FormationAssignmentStatusService) UpdateWithConstraints ¶
func (_m *FormationAssignmentStatusService) UpdateWithConstraints(ctx context.Context, notificationStatusReport *statusreport.NotificationStatusReport, fa *model.FormationAssignment, operation model.FormationOperation) error
UpdateWithConstraints provides a mock function with given fields: ctx, notificationStatusReport, fa, operation
type FormationRepository ¶
FormationRepository is an autogenerated mock type for the FormationRepository type
func NewFormationRepository ¶
func NewFormationRepository(t interface { mock.TestingT Cleanup(func()) }) *FormationRepository
NewFormationRepository creates a new instance of FormationRepository. 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 (*FormationRepository) GetGlobalByID ¶
func (_m *FormationRepository) GetGlobalByID(ctx context.Context, id string) (*model.Formation, error)
GetGlobalByID provides a mock function with given fields: ctx, id
type FormationService ¶
FormationService is an autogenerated mock type for the formationService type
func NewFormationService ¶
func NewFormationService(t interface { mock.TestingT Cleanup(func()) }) *FormationService
NewFormationService creates a new instance of FormationService. 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 (*FormationService) GetGlobalByID ¶
GetGlobalByID provides a mock function with given fields: ctx, id
func (*FormationService) ResynchronizeFormationNotifications ¶
func (_m *FormationService) ResynchronizeFormationNotifications(ctx context.Context, formationID string, reset bool) (*model.Formation, error)
ResynchronizeFormationNotifications provides a mock function with given fields: ctx, formationID, reset
func (*FormationService) UnassignFromScenarioLabel ¶
func (_m *FormationService) UnassignFromScenarioLabel(ctx context.Context, tnt string, objectID string, objectType graphql.FormationObjectType, formation *model.Formation) error
UnassignFromScenarioLabel provides a mock function with given fields: ctx, tnt, objectID, objectType, formation
type FormationStatusService ¶
FormationStatusService is an autogenerated mock type for the formationStatusService type
func NewFormationStatusService ¶
func NewFormationStatusService(t interface { mock.TestingT Cleanup(func()) }) *FormationStatusService
NewFormationStatusService creates a new instance of FormationStatusService. 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 (*FormationStatusService) DeleteFormationEntityAndScenariosWithConstraints ¶
func (_m *FormationStatusService) DeleteFormationEntityAndScenariosWithConstraints(ctx context.Context, tnt string, formation *model.Formation) error
DeleteFormationEntityAndScenariosWithConstraints provides a mock function with given fields: ctx, tnt, formation
func (*FormationStatusService) SetFormationToErrorStateWithConstraints ¶
func (_m *FormationStatusService) SetFormationToErrorStateWithConstraints(ctx context.Context, formation *model.Formation, errorMessage string, errorCode formationassignment.AssignmentErrorCode, state model.FormationState, operation model.FormationOperation) error
SetFormationToErrorStateWithConstraints provides a mock function with given fields: ctx, formation, errorMessage, errorCode, state, operation
func (*FormationStatusService) UpdateWithConstraints ¶
func (_m *FormationStatusService) UpdateWithConstraints(ctx context.Context, formation *model.Formation, operation model.FormationOperation) error
UpdateWithConstraints provides a mock function with given fields: ctx, formation, operation
type FormationTemplateRepository ¶
FormationTemplateRepository is an autogenerated mock type for the FormationTemplateRepository type
func NewFormationTemplateRepository ¶
func NewFormationTemplateRepository(t interface { mock.TestingT Cleanup(func()) }) *FormationTemplateRepository
NewFormationTemplateRepository creates a new instance of FormationTemplateRepository. 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 (*FormationTemplateRepository) Get ¶
func (_m *FormationTemplateRepository) Get(ctx context.Context, id string) (*model.FormationTemplate, error)
Get provides a mock function with given fields: ctx, id
type LabelRepository ¶
LabelRepository is an autogenerated mock type for the LabelRepository type
func NewLabelRepository ¶
func NewLabelRepository(t interface { mock.TestingT Cleanup(func()) }) *LabelRepository
NewLabelRepository creates a new instance of LabelRepository. 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 (*LabelRepository) ListForGlobalObject ¶
func (_m *LabelRepository) ListForGlobalObject(ctx context.Context, objectType model.LabelableObject, objectID string) (map[string]*model.Label, error)
ListForGlobalObject provides a mock function with given fields: ctx, objectType, objectID
type RuntimeContextRepository ¶
RuntimeContextRepository is an autogenerated mock type for the RuntimeContextRepository type
func NewRuntimeContextRepository ¶
func NewRuntimeContextRepository(t interface { mock.TestingT Cleanup(func()) }) *RuntimeContextRepository
NewRuntimeContextRepository creates a new instance of RuntimeContextRepository. 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 (*RuntimeContextRepository) GetByID ¶
func (_m *RuntimeContextRepository) GetByID(ctx context.Context, tenant string, id string) (*model.RuntimeContext, error)
GetByID provides a mock function with given fields: ctx, tenant, id
type RuntimeRepository ¶
RuntimeRepository is an autogenerated mock type for the RuntimeRepository type
func NewRuntimeRepository ¶
func NewRuntimeRepository(t interface { mock.TestingT Cleanup(func()) }) *RuntimeRepository
NewRuntimeRepository creates a new instance of RuntimeRepository. 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 (*RuntimeRepository) OwnerExists ¶
func (_m *RuntimeRepository) OwnerExists(ctx context.Context, tenant string, id string) (bool, error)
OwnerExists provides a mock function with given fields: ctx, tenant, id
type TenantRepository ¶
TenantRepository is an autogenerated mock type for the TenantRepository type
func NewTenantRepository ¶
func NewTenantRepository(t interface { mock.TestingT Cleanup(func()) }) *TenantRepository
NewTenantRepository creates a new instance of TenantRepository. 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 (*TenantRepository) Get ¶
func (_m *TenantRepository) Get(ctx context.Context, id string) (*model.BusinessTenantMapping, error)
Get provides a mock function with given fields: ctx, id
Source Files ¶
- application_repository.go
- application_template_repository.go
- assignment_operation_service.go
- formation_assignment_notification_service.go
- formation_assignment_service.go
- formation_assignment_status_service.go
- formation_repository.go
- formation_service.go
- formation_status_service.go
- formation_template_repository.go
- label_repository.go
- runtime_context_repository.go
- runtime_repository.go
- tenant_repository.go