Documentation ¶
Index ¶
- type ApplicationService
- type ApplicationTemplateService
- type AspectConverter
- type AspectEventResourceService
- type AspectService
- type IntegrationDepConverter
- type IntegrationDependencyConverter
- type IntegrationDependencyRepository
- func (_m *IntegrationDependencyRepository) Create(ctx context.Context, tenant string, item *model.IntegrationDependency) error
- func (_m *IntegrationDependencyRepository) CreateGlobal(ctx context.Context, item *model.IntegrationDependency) error
- func (_m *IntegrationDependencyRepository) Delete(ctx context.Context, tenantID string, id string) error
- func (_m *IntegrationDependencyRepository) DeleteGlobal(ctx context.Context, id string) error
- func (_m *IntegrationDependencyRepository) GetByID(ctx context.Context, tenantID string, id string) (*model.IntegrationDependency, error)
- func (_m *IntegrationDependencyRepository) GetByIDGlobal(ctx context.Context, id string) (*model.IntegrationDependency, error)
- func (_m *IntegrationDependencyRepository) ListByApplicationIDs(ctx context.Context, tenantID string, applicationIDs []string, pageSize int, ...) ([]*model.IntegrationDependencyPage, error)
- func (_m *IntegrationDependencyRepository) ListByResourceID(ctx context.Context, tenantID string, resourceType resource.Type, ...) ([]*model.IntegrationDependency, error)
- func (_m *IntegrationDependencyRepository) Update(ctx context.Context, tenant string, item *model.IntegrationDependency) error
- func (_m *IntegrationDependencyRepository) UpdateGlobal(ctx context.Context, item *model.IntegrationDependency) error
- type IntegrationDependencyService
- func (_m *IntegrationDependencyService) Create(ctx context.Context, resourceType resource.Type, resourceID string, ...) (string, error)
- func (_m *IntegrationDependencyService) Delete(ctx context.Context, resourceType resource.Type, id string) error
- func (_m *IntegrationDependencyService) Get(ctx context.Context, id string) (*model.IntegrationDependency, error)
- func (_m *IntegrationDependencyService) ListByPackageID(ctx context.Context, packageID string) ([]*model.IntegrationDependency, error)
- type PackageService
- func (_m *PackageService) Create(ctx context.Context, resourceType resource.Type, resourceID string, ...) (string, error)
- func (_m *PackageService) Delete(ctx context.Context, resourceType resource.Type, id string) error
- func (_m *PackageService) Get(ctx context.Context, id string) (*model.Package, error)
- func (_m *PackageService) ListByApplicationID(ctx context.Context, appID string) ([]*model.Package, error)
- type UIDService
- type VersionConverter
- func (_m *VersionConverter) FromEntity(_a0 version.Version) *model.Version
- func (_m *VersionConverter) InputFromGraphQL(in *graphql.VersionInput) *model.VersionInput
- func (_m *VersionConverter) ToEntity(_a0 model.Version) version.Version
- func (_m *VersionConverter) ToGraphQL(in *model.Version) *graphql.Version
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) Get ¶
func (_m *ApplicationService) Get(ctx context.Context, id string) (*model.Application, error)
Get provides a mock function with given fields: ctx, id
type ApplicationTemplateService ¶
ApplicationTemplateService is an autogenerated mock type for the ApplicationTemplateService type
func NewApplicationTemplateService ¶
func NewApplicationTemplateService(t interface { mock.TestingT Cleanup(func()) }) *ApplicationTemplateService
NewApplicationTemplateService creates a new instance of ApplicationTemplateService. 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 (*ApplicationTemplateService) Get ¶
func (_m *ApplicationTemplateService) Get(ctx context.Context, id string) (*model.ApplicationTemplate, error)
Get provides a mock function with given fields: ctx, id
type AspectConverter ¶
AspectConverter is an autogenerated mock type for the AspectConverter type
func NewAspectConverter ¶
func NewAspectConverter(t interface { mock.TestingT Cleanup(func()) }) *AspectConverter
NewAspectConverter creates a new instance of AspectConverter. 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 (*AspectConverter) MultipleInputFromGraphQL ¶
func (_m *AspectConverter) MultipleInputFromGraphQL(in []*graphql.AspectInput) ([]*model.AspectInput, error)
MultipleInputFromGraphQL provides a mock function with given fields: in
func (*AspectConverter) MultipleToGraphQL ¶
func (_m *AspectConverter) MultipleToGraphQL(in []*model.Aspect, aspectEventResourcesByAspectID map[string][]*model.AspectEventResource) ([]*graphql.Aspect, error)
MultipleToGraphQL provides a mock function with given fields: in, aspectEventResourcesByAspectID
type AspectEventResourceService ¶
AspectEventResourceService is an autogenerated mock type for the AspectEventResourceService type
func NewAspectEventResourceService ¶
func NewAspectEventResourceService(t interface { mock.TestingT Cleanup(func()) }) *AspectEventResourceService
NewAspectEventResourceService creates a new instance of AspectEventResourceService. 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 (*AspectEventResourceService) Create ¶
func (_m *AspectEventResourceService) Create(ctx context.Context, resourceType resource.Type, resourceID string, aspectID string, in model.AspectEventResourceInput) (string, error)
Create provides a mock function with given fields: ctx, resourceType, resourceID, aspectID, in
func (*AspectEventResourceService) ListByAspectID ¶
func (_m *AspectEventResourceService) ListByAspectID(ctx context.Context, aspectID string) ([]*model.AspectEventResource, error)
ListByAspectID provides a mock function with given fields: ctx, aspectID
type AspectService ¶
AspectService is an autogenerated mock type for the AspectService type
func NewAspectService ¶
func NewAspectService(t interface { mock.TestingT Cleanup(func()) }) *AspectService
NewAspectService creates a new instance of AspectService. 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 (*AspectService) Create ¶
func (_m *AspectService) Create(ctx context.Context, resourceType resource.Type, resourceID string, integrationDependencyID string, in model.AspectInput) (string, error)
Create provides a mock function with given fields: ctx, resourceType, resourceID, integrationDependencyID, in
func (*AspectService) ListByIntegrationDependencyID ¶
func (_m *AspectService) ListByIntegrationDependencyID(ctx context.Context, integrationDependencyID string) ([]*model.Aspect, error)
ListByIntegrationDependencyID provides a mock function with given fields: ctx, integrationDependencyID
type IntegrationDepConverter ¶
IntegrationDepConverter is an autogenerated mock type for the IntegrationDepConverter type
func NewIntegrationDepConverter ¶
func NewIntegrationDepConverter(t interface { mock.TestingT Cleanup(func()) }) *IntegrationDepConverter
NewIntegrationDepConverter creates a new instance of IntegrationDepConverter. 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 (*IntegrationDepConverter) InputFromGraphQL ¶
func (_m *IntegrationDepConverter) InputFromGraphQL(in *graphql.IntegrationDependencyInput) (*model.IntegrationDependencyInput, error)
InputFromGraphQL provides a mock function with given fields: in
func (*IntegrationDepConverter) ToGraphQL ¶
func (_m *IntegrationDepConverter) ToGraphQL(in *model.IntegrationDependency, aspects []*model.Aspect, aspectEventResourcesByAspectID map[string][]*model.AspectEventResource) (*graphql.IntegrationDependency, error)
ToGraphQL provides a mock function with given fields: in, aspects, aspectEventResourcesByAspectID
type IntegrationDependencyConverter ¶
IntegrationDependencyConverter is an autogenerated mock type for the IntegrationDependencyConverter type
func NewIntegrationDependencyConverter ¶
func NewIntegrationDependencyConverter(t interface { mock.TestingT Cleanup(func()) }) *IntegrationDependencyConverter
NewIntegrationDependencyConverter creates a new instance of IntegrationDependencyConverter. 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 (*IntegrationDependencyConverter) FromEntity ¶
func (_m *IntegrationDependencyConverter) FromEntity(entity *integrationdependency.Entity) *model.IntegrationDependency
FromEntity provides a mock function with given fields: entity
func (*IntegrationDependencyConverter) ToEntity ¶
func (_m *IntegrationDependencyConverter) ToEntity(integrationDependencyModel *model.IntegrationDependency) *integrationdependency.Entity
ToEntity provides a mock function with given fields: integrationDependencyModel
type IntegrationDependencyRepository ¶
IntegrationDependencyRepository is an autogenerated mock type for the IntegrationDependencyRepository type
func NewIntegrationDependencyRepository ¶
func NewIntegrationDependencyRepository(t interface { mock.TestingT Cleanup(func()) }) *IntegrationDependencyRepository
NewIntegrationDependencyRepository creates a new instance of IntegrationDependencyRepository. 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 (*IntegrationDependencyRepository) Create ¶
func (_m *IntegrationDependencyRepository) Create(ctx context.Context, tenant string, item *model.IntegrationDependency) error
Create provides a mock function with given fields: ctx, tenant, item
func (*IntegrationDependencyRepository) CreateGlobal ¶
func (_m *IntegrationDependencyRepository) CreateGlobal(ctx context.Context, item *model.IntegrationDependency) error
CreateGlobal provides a mock function with given fields: ctx, item
func (*IntegrationDependencyRepository) Delete ¶
func (_m *IntegrationDependencyRepository) Delete(ctx context.Context, tenantID string, id string) error
Delete provides a mock function with given fields: ctx, tenantID, id
func (*IntegrationDependencyRepository) DeleteGlobal ¶
func (_m *IntegrationDependencyRepository) DeleteGlobal(ctx context.Context, id string) error
DeleteGlobal provides a mock function with given fields: ctx, id
func (*IntegrationDependencyRepository) GetByID ¶
func (_m *IntegrationDependencyRepository) GetByID(ctx context.Context, tenantID string, id string) (*model.IntegrationDependency, error)
GetByID provides a mock function with given fields: ctx, tenantID, id
func (*IntegrationDependencyRepository) GetByIDGlobal ¶
func (_m *IntegrationDependencyRepository) GetByIDGlobal(ctx context.Context, id string) (*model.IntegrationDependency, error)
GetByIDGlobal provides a mock function with given fields: ctx, id
func (*IntegrationDependencyRepository) ListByApplicationIDs ¶
func (_m *IntegrationDependencyRepository) ListByApplicationIDs(ctx context.Context, tenantID string, applicationIDs []string, pageSize int, cursor string) ([]*model.IntegrationDependencyPage, error)
ListByApplicationIDs provides a mock function with given fields: ctx, tenantID, applicationIDs, pageSize, cursor
func (*IntegrationDependencyRepository) ListByResourceID ¶
func (_m *IntegrationDependencyRepository) ListByResourceID(ctx context.Context, tenantID string, resourceType resource.Type, resourceID string) ([]*model.IntegrationDependency, error)
ListByResourceID provides a mock function with given fields: ctx, tenantID, resourceType, resourceID
func (*IntegrationDependencyRepository) Update ¶
func (_m *IntegrationDependencyRepository) Update(ctx context.Context, tenant string, item *model.IntegrationDependency) error
Update provides a mock function with given fields: ctx, tenant, item
func (*IntegrationDependencyRepository) UpdateGlobal ¶
func (_m *IntegrationDependencyRepository) UpdateGlobal(ctx context.Context, item *model.IntegrationDependency) error
UpdateGlobal provides a mock function with given fields: ctx, item
type IntegrationDependencyService ¶
IntegrationDependencyService is an autogenerated mock type for the IntegrationDependencyService type
func NewIntegrationDependencyService ¶
func NewIntegrationDependencyService(t interface { mock.TestingT Cleanup(func()) }) *IntegrationDependencyService
NewIntegrationDependencyService creates a new instance of IntegrationDependencyService. 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 (*IntegrationDependencyService) Create ¶
func (_m *IntegrationDependencyService) Create(ctx context.Context, resourceType resource.Type, resourceID string, packageID *string, in model.IntegrationDependencyInput, integrationDependencyHash uint64) (string, error)
Create provides a mock function with given fields: ctx, resourceType, resourceID, packageID, in, integrationDependencyHash
func (*IntegrationDependencyService) Delete ¶
func (_m *IntegrationDependencyService) Delete(ctx context.Context, resourceType resource.Type, id string) error
Delete provides a mock function with given fields: ctx, resourceType, id
func (*IntegrationDependencyService) Get ¶
func (_m *IntegrationDependencyService) Get(ctx context.Context, id string) (*model.IntegrationDependency, error)
Get provides a mock function with given fields: ctx, id
func (*IntegrationDependencyService) ListByPackageID ¶
func (_m *IntegrationDependencyService) ListByPackageID(ctx context.Context, packageID string) ([]*model.IntegrationDependency, error)
ListByPackageID provides a mock function with given fields: ctx, packageID
type PackageService ¶
PackageService is an autogenerated mock type for the PackageService type
func NewPackageService ¶
func NewPackageService(t interface { mock.TestingT Cleanup(func()) }) *PackageService
NewPackageService creates a new instance of PackageService. 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 (*PackageService) Create ¶
func (_m *PackageService) Create(ctx context.Context, resourceType resource.Type, resourceID string, in model.PackageInput, pkgHash uint64) (string, error)
Create provides a mock function with given fields: ctx, resourceType, resourceID, in, pkgHash
func (*PackageService) Delete ¶
Delete provides a mock function with given fields: ctx, resourceType, id
func (*PackageService) ListByApplicationID ¶
func (_m *PackageService) ListByApplicationID(ctx context.Context, appID string) ([]*model.Package, error)
ListByApplicationID provides a mock function with given fields: ctx, appID
type UIDService ¶
UIDService is an autogenerated mock type for the UIDService type
func NewUIDService ¶
func NewUIDService(t interface { mock.TestingT Cleanup(func()) }) *UIDService
NewUIDService creates a new instance of UIDService. 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 (*UIDService) Generate ¶
func (_m *UIDService) Generate() string
Generate provides a mock function with given fields:
type VersionConverter ¶
VersionConverter is an autogenerated mock type for the VersionConverter type
func NewVersionConverter ¶
func NewVersionConverter(t interface { mock.TestingT Cleanup(func()) }) *VersionConverter
NewVersionConverter creates a new instance of VersionConverter. 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 (*VersionConverter) FromEntity ¶
func (_m *VersionConverter) FromEntity(_a0 version.Version) *model.Version
FromEntity provides a mock function with given fields: _a0
func (*VersionConverter) InputFromGraphQL ¶
func (_m *VersionConverter) InputFromGraphQL(in *graphql.VersionInput) *model.VersionInput
InputFromGraphQL provides a mock function with given fields: in
Source Files ¶
- application_service.go
- application_template_service.go
- aspect_converter.go
- aspect_event_resource_service.go
- aspect_service.go
- integration_dep_converter.go
- integration_dependency_converter.go
- integration_dependency_repository.go
- integration_dependency_service.go
- package_service.go
- uid_service.go
- version_converter.go