Documentation ¶
Index ¶
- type APIService
- func (_m *APIService) Create(ctx context.Context, resourceType resource.Type, resourceID string, ...) (string, error)
- func (_m *APIService) Delete(ctx context.Context, resourceType resource.Type, id string) error
- func (_m *APIService) ListByApplicationID(ctx context.Context, appID string) ([]*model.APIDefinition, error)
- func (_m *APIService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.APIDefinition, error)
- func (_m *APIService) UpdateInManyBundles(ctx context.Context, resourceType resource.Type, id string, packageID *string, ...) error
- type AspectEventResourceService
- type AspectService
- type BundleReferenceService
- type BundleService
- func (_m *BundleService) CreateBundle(ctx context.Context, resourceType resource.Type, resourceID string, ...) (string, error)
- func (_m *BundleService) Delete(ctx context.Context, resourceType resource.Type, id string) error
- func (_m *BundleService) ListByApplicationIDNoPaging(ctx context.Context, appID string) ([]*model.Bundle, error)
- func (_m *BundleService) ListByApplicationTemplateVersionIDNoPaging(ctx context.Context, appTemplateVersionID string) ([]*model.Bundle, error)
- func (_m *BundleService) UpdateBundle(ctx context.Context, resourceType resource.Type, id string, ...) error
- type CapabilityService
- func (_m *CapabilityService) Create(ctx context.Context, resourceType resource.Type, resourceID string, ...) (string, error)
- func (_m *CapabilityService) Delete(ctx context.Context, resourceType resource.Type, id string) error
- func (_m *CapabilityService) ListByApplicationID(ctx context.Context, appID string) ([]*model.Capability, error)
- func (_m *CapabilityService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.Capability, error)
- func (_m *CapabilityService) Update(ctx context.Context, resourceType resource.Type, id string, packageID *string, ...) error
- type DataProductService
- func (_m *DataProductService) Create(ctx context.Context, resourceType resource.Type, resourceID string, ...) (string, error)
- func (_m *DataProductService) Delete(ctx context.Context, resourceType resource.Type, id string) error
- func (_m *DataProductService) ListByApplicationID(ctx context.Context, appID string) ([]*model.DataProduct, error)
- func (_m *DataProductService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.DataProduct, error)
- func (_m *DataProductService) Update(ctx context.Context, resourceType resource.Type, resourceID string, id string, ...) error
- type EntityTypeMappingService
- func (_m *EntityTypeMappingService) Create(ctx context.Context, resourceType resource.Type, resourceID string, ...) (string, error)
- func (_m *EntityTypeMappingService) Delete(ctx context.Context, resourceType resource.Type, id string) error
- func (_m *EntityTypeMappingService) ListByOwnerResourceID(ctx context.Context, resourceID string, resourceType resource.Type) ([]*model.EntityTypeMapping, error)
- type EntityTypeService
- func (_m *EntityTypeService) Create(ctx context.Context, resourceType resource.Type, resourceID string, ...) (string, error)
- func (_m *EntityTypeService) Delete(ctx context.Context, resourceType resource.Type, id string) error
- func (_m *EntityTypeService) ListByApplicationID(ctx context.Context, appID string) ([]*model.EntityType, error)
- func (_m *EntityTypeService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.EntityType, error)
- func (_m *EntityTypeService) Update(ctx context.Context, resourceType resource.Type, id string, packageID string, ...) error
- type EventService
- func (_m *EventService) Create(ctx context.Context, resourceType resource.Type, resourceID string, ...) (string, error)
- func (_m *EventService) Delete(ctx context.Context, resourceType resource.Type, id string) error
- func (_m *EventService) ListByApplicationID(ctx context.Context, appID string) ([]*model.EventDefinition, error)
- func (_m *EventService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.EventDefinition, error)
- func (_m *EventService) UpdateInManyBundles(ctx context.Context, resourceType resource.Type, id string, packageID *string, ...) 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) ListByApplicationID(ctx context.Context, appID string) ([]*model.IntegrationDependency, error)
- func (_m *IntegrationDependencyService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.IntegrationDependency, error)
- func (_m *IntegrationDependencyService) Update(ctx context.Context, resourceType resource.Type, resourceID string, id string, ...) 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) ListByApplicationID(ctx context.Context, appID string) ([]*model.Package, error)
- func (_m *PackageService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.Package, error)
- func (_m *PackageService) Update(ctx context.Context, resourceType resource.Type, id string, ...) error
- type ProductService
- func (_m *ProductService) Create(ctx context.Context, resourceType resource.Type, resourceID string, ...) (string, error)
- func (_m *ProductService) Delete(ctx context.Context, resourceType resource.Type, id string) error
- func (_m *ProductService) ListByApplicationID(ctx context.Context, appID string) ([]*model.Product, error)
- func (_m *ProductService) ListByApplicationTemplateVersionID(ctx context.Context, appID string) ([]*model.Product, error)
- func (_m *ProductService) Update(ctx context.Context, resourceType resource.Type, id string, ...) error
- type SpecService
- func (_m *SpecService) CreateByReferenceObjectID(ctx context.Context, in model.SpecInput, resourceType resource.Type, ...) (string, error)
- func (_m *SpecService) CreateByReferenceObjectIDWithDelayedFetchRequest(ctx context.Context, in model.SpecInput, resourceType resource.Type, ...) (string, *model.FetchRequest, error)
- func (_m *SpecService) DeleteByReferenceObjectID(ctx context.Context, resourceType resource.Type, ...) error
- func (_m *SpecService) GetByID(ctx context.Context, id string, objectType model.SpecReferenceObjectType) (*model.Spec, error)
- func (_m *SpecService) GetByIDGlobal(ctx context.Context, id string) (*model.Spec, error)
- func (_m *SpecService) ListFetchRequestsByReferenceObjectIDs(ctx context.Context, tenant string, objectIDs []string, ...) ([]*model.FetchRequest, error)
- func (_m *SpecService) ListFetchRequestsByReferenceObjectIDsGlobal(ctx context.Context, objectIDs []string, ...) ([]*model.FetchRequest, error)
- func (_m *SpecService) ListIDByReferenceObjectID(ctx context.Context, resourceType resource.Type, ...) ([]string, error)
- func (_m *SpecService) UpdateSpecOnly(ctx context.Context, spec model.Spec) error
- func (_m *SpecService) UpdateSpecOnlyGlobal(ctx context.Context, spec model.Spec) error
- type TombstoneService
- func (_m *TombstoneService) Create(ctx context.Context, resourceType resource.Type, resourceID string, ...) (string, error)
- func (_m *TombstoneService) ListByApplicationID(ctx context.Context, appID string) ([]*model.Tombstone, error)
- func (_m *TombstoneService) ListByApplicationTemplateVersionID(ctx context.Context, appID string) ([]*model.Tombstone, error)
- func (_m *TombstoneService) Update(ctx context.Context, resourceType resource.Type, id string, ...) error
- type VendorService
- func (_m *VendorService) Create(ctx context.Context, resourceType resource.Type, resourceID string, ...) (string, error)
- func (_m *VendorService) Delete(ctx context.Context, resourceType resource.Type, id string) error
- func (_m *VendorService) ListByApplicationID(ctx context.Context, appID string) ([]*model.Vendor, error)
- func (_m *VendorService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.Vendor, error)
- func (_m *VendorService) Update(ctx context.Context, resourceType resource.Type, id string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIService ¶
APIService is an autogenerated mock type for the APIService type
func NewAPIService ¶
func NewAPIService(t interface { mock.TestingT Cleanup(func()) }) *APIService
NewAPIService creates a new instance of APIService. 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 (*APIService) Create ¶
func (_m *APIService) Create(ctx context.Context, resourceType resource.Type, resourceID string, bundleID *string, packageID *string, in model.APIDefinitionInput, spec []*model.SpecInput, targetURLsPerBundle map[string]string, apiHash uint64, defaultBundleID string) (string, error)
Create provides a mock function with given fields: ctx, resourceType, resourceID, bundleID, packageID, in, spec, targetURLsPerBundle, apiHash, defaultBundleID
func (*APIService) Delete ¶
Delete provides a mock function with given fields: ctx, resourceType, id
func (*APIService) ListByApplicationID ¶
func (_m *APIService) ListByApplicationID(ctx context.Context, appID string) ([]*model.APIDefinition, error)
ListByApplicationID provides a mock function with given fields: ctx, appID
func (*APIService) ListByApplicationTemplateVersionID ¶
func (_m *APIService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.APIDefinition, error)
ListByApplicationTemplateVersionID provides a mock function with given fields: ctx, appTemplateVersionID
func (*APIService) UpdateInManyBundles ¶
func (_m *APIService) UpdateInManyBundles(ctx context.Context, resourceType resource.Type, id string, packageID *string, in model.APIDefinitionInput, specIn *model.SpecInput, defaultTargetURLPerBundle map[string]string, defaultTargetURLPerBundleToBeCreated map[string]string, bundleIDsToBeDeleted []string, apiHash uint64, defaultBundleID string) error
UpdateInManyBundles provides a mock function with given fields: ctx, resourceType, id, packageID, in, specIn, defaultTargetURLPerBundle, defaultTargetURLPerBundleToBeCreated, bundleIDsToBeDeleted, apiHash, defaultBundleID
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
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) DeleteByIntegrationDependencyID ¶
func (_m *AspectService) DeleteByIntegrationDependencyID(ctx context.Context, integrationDependencyID string) error
DeleteByIntegrationDependencyID provides a mock function with given fields: ctx, integrationDependencyID
type BundleReferenceService ¶
BundleReferenceService is an autogenerated mock type for the BundleReferenceService type
func NewBundleReferenceService ¶
func NewBundleReferenceService(t interface { mock.TestingT Cleanup(func()) }) *BundleReferenceService
NewBundleReferenceService creates a new instance of BundleReferenceService. 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 (*BundleReferenceService) GetBundleIDsForObject ¶
func (_m *BundleReferenceService) GetBundleIDsForObject(ctx context.Context, objectType model.BundleReferenceObjectType, objectID *string) ([]string, error)
GetBundleIDsForObject provides a mock function with given fields: ctx, objectType, objectID
type BundleService ¶
BundleService is an autogenerated mock type for the BundleService type
func NewBundleService ¶
func NewBundleService(t interface { mock.TestingT Cleanup(func()) }) *BundleService
NewBundleService creates a new instance of BundleService. 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 (*BundleService) CreateBundle ¶
func (_m *BundleService) CreateBundle(ctx context.Context, resourceType resource.Type, resourceID string, in model.BundleCreateInput, bndlHash uint64) (string, error)
CreateBundle provides a mock function with given fields: ctx, resourceType, resourceID, in, bndlHash
func (*BundleService) Delete ¶
Delete provides a mock function with given fields: ctx, resourceType, id
func (*BundleService) ListByApplicationIDNoPaging ¶
func (_m *BundleService) ListByApplicationIDNoPaging(ctx context.Context, appID string) ([]*model.Bundle, error)
ListByApplicationIDNoPaging provides a mock function with given fields: ctx, appID
func (*BundleService) ListByApplicationTemplateVersionIDNoPaging ¶
func (_m *BundleService) ListByApplicationTemplateVersionIDNoPaging(ctx context.Context, appTemplateVersionID string) ([]*model.Bundle, error)
ListByApplicationTemplateVersionIDNoPaging provides a mock function with given fields: ctx, appTemplateVersionID
func (*BundleService) UpdateBundle ¶
func (_m *BundleService) UpdateBundle(ctx context.Context, resourceType resource.Type, id string, in model.BundleUpdateInput, bndlHash uint64) error
UpdateBundle provides a mock function with given fields: ctx, resourceType, id, in, bndlHash
type CapabilityService ¶
CapabilityService is an autogenerated mock type for the CapabilityService type
func NewCapabilityService ¶
func NewCapabilityService(t interface { mock.TestingT Cleanup(func()) }) *CapabilityService
NewCapabilityService creates a new instance of CapabilityService. 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 (*CapabilityService) Create ¶
func (_m *CapabilityService) Create(ctx context.Context, resourceType resource.Type, resourceID string, packageID *string, in model.CapabilityInput, spec []*model.SpecInput, capabilityHash uint64) (string, error)
Create provides a mock function with given fields: ctx, resourceType, resourceID, packageID, in, spec, capabilityHash
func (*CapabilityService) Delete ¶
func (_m *CapabilityService) Delete(ctx context.Context, resourceType resource.Type, id string) error
Delete provides a mock function with given fields: ctx, resourceType, id
func (*CapabilityService) ListByApplicationID ¶
func (_m *CapabilityService) ListByApplicationID(ctx context.Context, appID string) ([]*model.Capability, error)
ListByApplicationID provides a mock function with given fields: ctx, appID
func (*CapabilityService) ListByApplicationTemplateVersionID ¶
func (_m *CapabilityService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.Capability, error)
ListByApplicationTemplateVersionID provides a mock function with given fields: ctx, appTemplateVersionID
func (*CapabilityService) Update ¶
func (_m *CapabilityService) Update(ctx context.Context, resourceType resource.Type, id string, packageID *string, in model.CapabilityInput, capabilityHash uint64) error
Update provides a mock function with given fields: ctx, resourceType, id, packageID, in, capabilityHash
type DataProductService ¶
DataProductService is an autogenerated mock type for the DataProductService type
func NewDataProductService ¶
func NewDataProductService(t interface { mock.TestingT Cleanup(func()) }) *DataProductService
NewDataProductService creates a new instance of DataProductService. 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 (*DataProductService) Create ¶
func (_m *DataProductService) Create(ctx context.Context, resourceType resource.Type, resourceID string, packageID *string, in model.DataProductInput, dataProductHash uint64) (string, error)
Create provides a mock function with given fields: ctx, resourceType, resourceID, packageID, in, dataProductHash
func (*DataProductService) Delete ¶
func (_m *DataProductService) Delete(ctx context.Context, resourceType resource.Type, id string) error
Delete provides a mock function with given fields: ctx, resourceType, id
func (*DataProductService) ListByApplicationID ¶
func (_m *DataProductService) ListByApplicationID(ctx context.Context, appID string) ([]*model.DataProduct, error)
ListByApplicationID provides a mock function with given fields: ctx, appID
func (*DataProductService) ListByApplicationTemplateVersionID ¶
func (_m *DataProductService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.DataProduct, error)
ListByApplicationTemplateVersionID provides a mock function with given fields: ctx, appTemplateVersionID
func (*DataProductService) Update ¶
func (_m *DataProductService) Update(ctx context.Context, resourceType resource.Type, resourceID string, id string, packageID *string, in model.DataProductInput, dataProductHash uint64) error
Update provides a mock function with given fields: ctx, resourceType, resourceID, id, packageID, in, dataProductHash
type EntityTypeMappingService ¶
EntityTypeMappingService is an autogenerated mock type for the EntityTypeMappingService type
func NewEntityTypeMappingService ¶
func NewEntityTypeMappingService(t interface { mock.TestingT Cleanup(func()) }) *EntityTypeMappingService
NewEntityTypeMappingService creates a new instance of EntityTypeMappingService. 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 (*EntityTypeMappingService) Create ¶
func (_m *EntityTypeMappingService) Create(ctx context.Context, resourceType resource.Type, resourceID string, in *model.EntityTypeMappingInput) (string, error)
Create provides a mock function with given fields: ctx, resourceType, resourceID, in
func (*EntityTypeMappingService) Delete ¶
func (_m *EntityTypeMappingService) Delete(ctx context.Context, resourceType resource.Type, id string) error
Delete provides a mock function with given fields: ctx, resourceType, id
func (*EntityTypeMappingService) ListByOwnerResourceID ¶
func (_m *EntityTypeMappingService) ListByOwnerResourceID(ctx context.Context, resourceID string, resourceType resource.Type) ([]*model.EntityTypeMapping, error)
ListByOwnerResourceID provides a mock function with given fields: ctx, resourceID, resourceType
type EntityTypeService ¶
EntityTypeService is an autogenerated mock type for the EntityTypeService type
func NewEntityTypeService ¶
func NewEntityTypeService(t interface { mock.TestingT Cleanup(func()) }) *EntityTypeService
NewEntityTypeService creates a new instance of EntityTypeService. 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 (*EntityTypeService) Create ¶
func (_m *EntityTypeService) Create(ctx context.Context, resourceType resource.Type, resourceID string, packageID string, in model.EntityTypeInput, entityTypeHash uint64) (string, error)
Create provides a mock function with given fields: ctx, resourceType, resourceID, packageID, in, entityTypeHash
func (*EntityTypeService) Delete ¶
func (_m *EntityTypeService) Delete(ctx context.Context, resourceType resource.Type, id string) error
Delete provides a mock function with given fields: ctx, resourceType, id
func (*EntityTypeService) ListByApplicationID ¶
func (_m *EntityTypeService) ListByApplicationID(ctx context.Context, appID string) ([]*model.EntityType, error)
ListByApplicationID provides a mock function with given fields: ctx, appID
func (*EntityTypeService) ListByApplicationTemplateVersionID ¶
func (_m *EntityTypeService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.EntityType, error)
ListByApplicationTemplateVersionID provides a mock function with given fields: ctx, appTemplateVersionID
func (*EntityTypeService) Update ¶
func (_m *EntityTypeService) Update(ctx context.Context, resourceType resource.Type, id string, packageID string, in model.EntityTypeInput, entityTypeHash uint64) error
Update provides a mock function with given fields: ctx, resourceType, id, packageID, in, entityTypeHash
type EventService ¶
EventService is an autogenerated mock type for the EventService type
func NewEventService ¶
func NewEventService(t interface { mock.TestingT Cleanup(func()) }) *EventService
NewEventService creates a new instance of EventService. 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 (*EventService) Create ¶
func (_m *EventService) Create(ctx context.Context, resourceType resource.Type, resourceID string, bundleID *string, packageID *string, in model.EventDefinitionInput, specs []*model.SpecInput, bundleIDs []string, eventHash uint64, defaultBundleID string) (string, error)
Create provides a mock function with given fields: ctx, resourceType, resourceID, bundleID, packageID, in, specs, bundleIDs, eventHash, defaultBundleID
func (*EventService) Delete ¶
Delete provides a mock function with given fields: ctx, resourceType, id
func (*EventService) ListByApplicationID ¶
func (_m *EventService) ListByApplicationID(ctx context.Context, appID string) ([]*model.EventDefinition, error)
ListByApplicationID provides a mock function with given fields: ctx, appID
func (*EventService) ListByApplicationTemplateVersionID ¶
func (_m *EventService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.EventDefinition, error)
ListByApplicationTemplateVersionID provides a mock function with given fields: ctx, appTemplateVersionID
func (*EventService) UpdateInManyBundles ¶
func (_m *EventService) UpdateInManyBundles(ctx context.Context, resourceType resource.Type, id string, packageID *string, in model.EventDefinitionInput, specIn *model.SpecInput, bundleIDsFromBundleReference []string, bundleIDsForCreation []string, bundleIDsForDeletion []string, eventHash uint64, defaultBundleID string) error
UpdateInManyBundles provides a mock function with given fields: ctx, resourceType, id, packageID, in, specIn, bundleIDsFromBundleReference, bundleIDsForCreation, bundleIDsForDeletion, eventHash, defaultBundleID
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) ListByApplicationID ¶
func (_m *IntegrationDependencyService) ListByApplicationID(ctx context.Context, appID string) ([]*model.IntegrationDependency, error)
ListByApplicationID provides a mock function with given fields: ctx, appID
func (*IntegrationDependencyService) ListByApplicationTemplateVersionID ¶
func (_m *IntegrationDependencyService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.IntegrationDependency, error)
ListByApplicationTemplateVersionID provides a mock function with given fields: ctx, appTemplateVersionID
func (*IntegrationDependencyService) Update ¶
func (_m *IntegrationDependencyService) Update(ctx context.Context, resourceType resource.Type, resourceID string, id string, packageID *string, in model.IntegrationDependencyInput, integrationDependencyHash uint64) error
Update provides a mock function with given fields: ctx, resourceType, resourceID, id, packageID, in, integrationDependencyHash
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
func (*PackageService) ListByApplicationTemplateVersionID ¶
func (_m *PackageService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.Package, error)
ListByApplicationTemplateVersionID provides a mock function with given fields: ctx, appTemplateVersionID
type ProductService ¶
ProductService is an autogenerated mock type for the ProductService type
func NewProductService ¶
func NewProductService(t interface { mock.TestingT Cleanup(func()) }) *ProductService
NewProductService creates a new instance of ProductService. 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 (*ProductService) Create ¶
func (_m *ProductService) Create(ctx context.Context, resourceType resource.Type, resourceID string, in model.ProductInput) (string, error)
Create provides a mock function with given fields: ctx, resourceType, resourceID, in
func (*ProductService) Delete ¶
Delete provides a mock function with given fields: ctx, resourceType, id
func (*ProductService) ListByApplicationID ¶
func (_m *ProductService) ListByApplicationID(ctx context.Context, appID string) ([]*model.Product, error)
ListByApplicationID provides a mock function with given fields: ctx, appID
func (*ProductService) ListByApplicationTemplateVersionID ¶
func (_m *ProductService) ListByApplicationTemplateVersionID(ctx context.Context, appID string) ([]*model.Product, error)
ListByApplicationTemplateVersionID provides a mock function with given fields: ctx, appID
type SpecService ¶
SpecService is an autogenerated mock type for the SpecService type
func NewSpecService ¶
func NewSpecService(t interface { mock.TestingT Cleanup(func()) }) *SpecService
NewSpecService creates a new instance of SpecService. 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 (*SpecService) CreateByReferenceObjectID ¶
func (_m *SpecService) CreateByReferenceObjectID(ctx context.Context, in model.SpecInput, resourceType resource.Type, objectType model.SpecReferenceObjectType, objectID string) (string, error)
CreateByReferenceObjectID provides a mock function with given fields: ctx, in, resourceType, objectType, objectID
func (*SpecService) CreateByReferenceObjectIDWithDelayedFetchRequest ¶
func (_m *SpecService) CreateByReferenceObjectIDWithDelayedFetchRequest(ctx context.Context, in model.SpecInput, resourceType resource.Type, objectType model.SpecReferenceObjectType, objectID string) (string, *model.FetchRequest, error)
CreateByReferenceObjectIDWithDelayedFetchRequest provides a mock function with given fields: ctx, in, resourceType, objectType, objectID
func (*SpecService) DeleteByReferenceObjectID ¶
func (_m *SpecService) DeleteByReferenceObjectID(ctx context.Context, resourceType resource.Type, objectType model.SpecReferenceObjectType, objectID string) error
DeleteByReferenceObjectID provides a mock function with given fields: ctx, resourceType, objectType, objectID
func (*SpecService) GetByID ¶
func (_m *SpecService) GetByID(ctx context.Context, id string, objectType model.SpecReferenceObjectType) (*model.Spec, error)
GetByID provides a mock function with given fields: ctx, id, objectType
func (*SpecService) GetByIDGlobal ¶
GetByIDGlobal provides a mock function with given fields: ctx, id
func (*SpecService) ListFetchRequestsByReferenceObjectIDs ¶
func (_m *SpecService) ListFetchRequestsByReferenceObjectIDs(ctx context.Context, tenant string, objectIDs []string, objectType model.SpecReferenceObjectType) ([]*model.FetchRequest, error)
ListFetchRequestsByReferenceObjectIDs provides a mock function with given fields: ctx, tenant, objectIDs, objectType
func (*SpecService) ListFetchRequestsByReferenceObjectIDsGlobal ¶
func (_m *SpecService) ListFetchRequestsByReferenceObjectIDsGlobal(ctx context.Context, objectIDs []string, objectType model.SpecReferenceObjectType) ([]*model.FetchRequest, error)
ListFetchRequestsByReferenceObjectIDsGlobal provides a mock function with given fields: ctx, objectIDs, objectType
func (*SpecService) ListIDByReferenceObjectID ¶
func (_m *SpecService) ListIDByReferenceObjectID(ctx context.Context, resourceType resource.Type, objectType model.SpecReferenceObjectType, objectID string) ([]string, error)
ListIDByReferenceObjectID provides a mock function with given fields: ctx, resourceType, objectType, objectID
func (*SpecService) UpdateSpecOnly ¶
UpdateSpecOnly provides a mock function with given fields: ctx, spec
func (*SpecService) UpdateSpecOnlyGlobal ¶
UpdateSpecOnlyGlobal provides a mock function with given fields: ctx, spec
type TombstoneService ¶
TombstoneService is an autogenerated mock type for the TombstoneService type
func NewTombstoneService ¶
func NewTombstoneService(t interface { mock.TestingT Cleanup(func()) }) *TombstoneService
NewTombstoneService creates a new instance of TombstoneService. 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 (*TombstoneService) Create ¶
func (_m *TombstoneService) Create(ctx context.Context, resourceType resource.Type, resourceID string, in model.TombstoneInput) (string, error)
Create provides a mock function with given fields: ctx, resourceType, resourceID, in
func (*TombstoneService) ListByApplicationID ¶
func (_m *TombstoneService) ListByApplicationID(ctx context.Context, appID string) ([]*model.Tombstone, error)
ListByApplicationID provides a mock function with given fields: ctx, appID
func (*TombstoneService) ListByApplicationTemplateVersionID ¶
func (_m *TombstoneService) ListByApplicationTemplateVersionID(ctx context.Context, appID string) ([]*model.Tombstone, error)
ListByApplicationTemplateVersionID provides a mock function with given fields: ctx, appID
type VendorService ¶
VendorService is an autogenerated mock type for the VendorService type
func NewVendorService ¶
func NewVendorService(t interface { mock.TestingT Cleanup(func()) }) *VendorService
NewVendorService creates a new instance of VendorService. 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 (*VendorService) Create ¶
func (_m *VendorService) Create(ctx context.Context, resourceType resource.Type, resourceID string, in model.VendorInput) (string, error)
Create provides a mock function with given fields: ctx, resourceType, resourceID, in
func (*VendorService) Delete ¶
Delete provides a mock function with given fields: ctx, resourceType, id
func (*VendorService) ListByApplicationID ¶
func (_m *VendorService) ListByApplicationID(ctx context.Context, appID string) ([]*model.Vendor, error)
ListByApplicationID provides a mock function with given fields: ctx, appID
func (*VendorService) ListByApplicationTemplateVersionID ¶
func (_m *VendorService) ListByApplicationTemplateVersionID(ctx context.Context, appTemplateVersionID string) ([]*model.Vendor, error)
ListByApplicationTemplateVersionID provides a mock function with given fields: ctx, appTemplateVersionID
Source Files ¶
- api_service.go
- aspect_event_resource_service.go
- aspect_service.go
- bundle_reference_service.go
- bundle_service.go
- capability_service.go
- data_product_service.go
- entity_type_mapping_service.go
- entity_type_service.go
- event_service.go
- integration_dependency_service.go
- package_service.go
- product_service.go
- spec_service.go
- tombstone_service.go
- vendor_service.go