Documentation ¶
Index ¶
- type AsaEngine
- type BundleInstanceAuthService
- type EntityConverter
- type EventingService
- type FormationService
- func (_m *FormationService) AssignFormation(ctx context.Context, tnt string, objectID string, ...) (*model.Formation, error)
- func (_m *FormationService) GetScenariosFromMatchingASAs(ctx context.Context, objectID string, objType graphql.FormationObjectType) ([]string, error)
- func (_m *FormationService) ListFormationsForObject(ctx context.Context, objectID string) ([]*model.Formation, error)
- func (_m *FormationService) ListObjectIDsOfTypeForFormations(ctx context.Context, tenantID string, formationNames []string, ...) ([]string, error)
- func (_m *FormationService) UnassignFormation(ctx context.Context, tnt string, objectID string, ...) (*model.Formation, error)
- func (_m *FormationService) UnassignFormationsComingFromASA(ctx context.Context, in []*model.AutomaticScenarioAssignment) error
- type LabelRepository
- func (_m *LabelRepository) Delete(ctx context.Context, tenant string, objectType model.LabelableObject, ...) error
- func (_m *LabelRepository) DeleteAll(ctx context.Context, tenant string, objectType model.LabelableObject, ...) error
- func (_m *LabelRepository) DeleteByKeyNegationPattern(ctx context.Context, tenant string, objectType model.LabelableObject, ...) error
- func (_m *LabelRepository) GetByKey(ctx context.Context, tenant string, objectType model.LabelableObject, ...) (*model.Label, error)
- func (_m *LabelRepository) ListForObject(ctx context.Context, tenant string, objectType model.LabelableObject, ...) (map[string]*model.Label, error)
- type LabelService
- func (_m *LabelService) GetByKey(ctx context.Context, tenant string, objectType model.LabelableObject, ...) (*model.Label, error)
- func (_m *LabelService) UpsertLabel(ctx context.Context, tenant string, labelInput *model.LabelInput) error
- func (_m *LabelService) UpsertMultipleLabels(ctx context.Context, tenant string, objectType model.LabelableObject, ...) error
- type OAuth20Service
- type RuntimeContextConverter
- type RuntimeContextService
- func (_m *RuntimeContextService) Delete(ctx context.Context, id string) error
- func (_m *RuntimeContextService) GetForRuntime(ctx context.Context, id string, runtimeID string) (*model.RuntimeContext, error)
- func (_m *RuntimeContextService) ListAllForRuntime(ctx context.Context, runtimeID string) ([]*model.RuntimeContext, error)
- func (_m *RuntimeContextService) ListByRuntimeIDs(ctx context.Context, runtimeIDs []string, pageSize int, cursor string) ([]*model.RuntimeContextPage, error)
- type RuntimeConverter
- func (_m *RuntimeConverter) MultipleToGraphQL(in []*model.Runtime) []*graphql.Runtime
- func (_m *RuntimeConverter) RegisterInputFromGraphQL(in graphql.RuntimeRegisterInput) (model.RuntimeRegisterInput, error)
- func (_m *RuntimeConverter) ToGraphQL(in *model.Runtime) *graphql.Runtime
- func (_m *RuntimeConverter) UpdateInputFromGraphQL(in graphql.RuntimeUpdateInput) model.RuntimeUpdateInput
- type RuntimeRepository
- func (_m *RuntimeRepository) Create(ctx context.Context, tenant string, item *model.Runtime) error
- func (_m *RuntimeRepository) Delete(ctx context.Context, tenant string, id string) error
- func (_m *RuntimeRepository) Exists(ctx context.Context, tenant string, id string) (bool, error)
- func (_m *RuntimeRepository) GetByFilters(ctx context.Context, tenant string, filter []*labelfilter.LabelFilter) (*model.Runtime, error)
- func (_m *RuntimeRepository) GetByFiltersGlobal(ctx context.Context, filter []*labelfilter.LabelFilter) (*model.Runtime, error)
- func (_m *RuntimeRepository) GetByID(ctx context.Context, tenant string, id string) (*model.Runtime, error)
- func (_m *RuntimeRepository) List(ctx context.Context, tenant string, runtimeIDs []string, ...) (*model.RuntimePage, error)
- func (_m *RuntimeRepository) ListAll(_a0 context.Context, _a1 string, _a2 []*labelfilter.LabelFilter) ([]*model.Runtime, error)
- func (_m *RuntimeRepository) Update(ctx context.Context, tenant string, item *model.Runtime) error
- type RuntimeService
- func (_m *RuntimeService) CreateWithMandatoryLabels(ctx context.Context, in model.RuntimeRegisterInput, id string, ...) error
- func (_m *RuntimeService) Delete(ctx context.Context, id string) error
- func (_m *RuntimeService) DeleteLabel(ctx context.Context, runtimeID string, key string) error
- func (_m *RuntimeService) Get(ctx context.Context, id string) (*model.Runtime, error)
- func (_m *RuntimeService) GetByFilters(ctx context.Context, filters []*labelfilter.LabelFilter) (*model.Runtime, error)
- func (_m *RuntimeService) GetByTokenIssuer(ctx context.Context, issuer string) (*model.Runtime, error)
- func (_m *RuntimeService) GetLabel(ctx context.Context, runtimeID string, key string) (*model.Label, error)
- func (_m *RuntimeService) List(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize int, ...) (*model.RuntimePage, error)
- func (_m *RuntimeService) ListLabels(ctx context.Context, runtimeID string) (map[string]*model.Label, error)
- func (_m *RuntimeService) SetLabel(ctx context.Context, label *model.LabelInput) error
- func (_m *RuntimeService) UnsafeExtractModifiableLabels(labels map[string]interface{}) (map[string]interface{}, error)
- func (_m *RuntimeService) Update(ctx context.Context, id string, in model.RuntimeUpdateInput) error
- type ScenarioAssignmentService
- type ScenariosFilterSanitizer
- type SelfRegisterManager
- func (_m *SelfRegisterManager) CleanupSelfRegistration(ctx context.Context, selfRegisterLabelValue string, region string) error
- func (_m *SelfRegisterManager) GetSelfRegDistinguishingLabelKey() string
- func (_m *SelfRegisterManager) PrepareForSelfRegistration(ctx context.Context, resourceType resource.Type, labels map[string]interface{}, ...) (map[string]interface{}, error)
- type SubscriptionService
- type SystemAuthConverter
- type SystemAuthService
- type TenantFetcher
- type TenantService
- type TenantSvc
- type UidService
- type WebhookConverter
- type WebhookService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsaEngine ¶
AsaEngine is an autogenerated mock type for the asaEngine type
func NewAsaEngine ¶
NewAsaEngine creates a new instance of AsaEngine. 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 (*AsaEngine) GetScenariosFromMatchingASAs ¶
func (_m *AsaEngine) GetScenariosFromMatchingASAs(ctx context.Context, objectID string, objType graphql.FormationObjectType) ([]string, error)
GetScenariosFromMatchingASAs provides a mock function with given fields: ctx, objectID, objType
type BundleInstanceAuthService ¶
BundleInstanceAuthService is an autogenerated mock type for the BundleInstanceAuthService type
func NewBundleInstanceAuthService ¶
func NewBundleInstanceAuthService(t interface { mock.TestingT Cleanup(func()) }) *BundleInstanceAuthService
NewBundleInstanceAuthService creates a new instance of BundleInstanceAuthService. 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 (*BundleInstanceAuthService) ListByRuntimeID ¶
func (_m *BundleInstanceAuthService) ListByRuntimeID(ctx context.Context, runtimeID string) ([]*model.BundleInstanceAuth, error)
ListByRuntimeID provides a mock function with given fields: ctx, runtimeID
func (*BundleInstanceAuthService) Update ¶
func (_m *BundleInstanceAuthService) Update(ctx context.Context, instanceAuth *model.BundleInstanceAuth) error
Update provides a mock function with given fields: ctx, instanceAuth
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(entity *runtime.Runtime) *model.Runtime
FromEntity provides a mock function with given fields: entity
type EventingService ¶
EventingService is an autogenerated mock type for the EventingService type
func NewEventingService ¶
func NewEventingService(t interface { mock.TestingT Cleanup(func()) }) *EventingService
NewEventingService creates a new instance of EventingService. 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 (*EventingService) GetForRuntime ¶
func (_m *EventingService) GetForRuntime(ctx context.Context, runtimeID uuid.UUID) (*model.RuntimeEventingConfiguration, error)
GetForRuntime provides a mock function with given fields: ctx, runtimeID
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) AssignFormation ¶
func (_m *FormationService) AssignFormation(ctx context.Context, tnt string, objectID string, objectType graphql.FormationObjectType, formation model.Formation, initialConfigurations model.InitialConfigurations) (*model.Formation, error)
AssignFormation provides a mock function with given fields: ctx, tnt, objectID, objectType, formation, initialConfigurations
func (*FormationService) GetScenariosFromMatchingASAs ¶
func (_m *FormationService) GetScenariosFromMatchingASAs(ctx context.Context, objectID string, objType graphql.FormationObjectType) ([]string, error)
GetScenariosFromMatchingASAs provides a mock function with given fields: ctx, objectID, objType
func (*FormationService) ListFormationsForObject ¶
func (_m *FormationService) ListFormationsForObject(ctx context.Context, objectID string) ([]*model.Formation, error)
ListFormationsForObject provides a mock function with given fields: ctx, objectID
func (*FormationService) ListObjectIDsOfTypeForFormations ¶
func (_m *FormationService) ListObjectIDsOfTypeForFormations(ctx context.Context, tenantID string, formationNames []string, objectType model.FormationAssignmentType) ([]string, error)
ListObjectIDsOfTypeForFormations provides a mock function with given fields: ctx, tenantID, formationNames, objectType
func (*FormationService) UnassignFormation ¶
func (_m *FormationService) UnassignFormation(ctx context.Context, tnt string, objectID string, objectType graphql.FormationObjectType, formation model.Formation, ignoreASA bool) (*model.Formation, error)
UnassignFormation provides a mock function with given fields: ctx, tnt, objectID, objectType, formation, ignoreASA
func (*FormationService) UnassignFormationsComingFromASA ¶
func (_m *FormationService) UnassignFormationsComingFromASA(ctx context.Context, in []*model.AutomaticScenarioAssignment) error
UnassignFormationsComingFromASA provides a mock function with given fields: ctx, in
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) Delete ¶
func (_m *LabelRepository) Delete(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string, key string) error
Delete provides a mock function with given fields: ctx, tenant, objectType, objectID, key
func (*LabelRepository) DeleteAll ¶
func (_m *LabelRepository) DeleteAll(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string) error
DeleteAll provides a mock function with given fields: ctx, tenant, objectType, objectID
func (*LabelRepository) DeleteByKeyNegationPattern ¶
func (_m *LabelRepository) DeleteByKeyNegationPattern(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string, labelKeyPattern string) error
DeleteByKeyNegationPattern provides a mock function with given fields: ctx, tenant, objectType, objectID, labelKeyPattern
func (*LabelRepository) GetByKey ¶
func (_m *LabelRepository) GetByKey(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string, key string) (*model.Label, error)
GetByKey provides a mock function with given fields: ctx, tenant, objectType, objectID, key
func (*LabelRepository) ListForObject ¶
func (_m *LabelRepository) ListForObject(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string) (map[string]*model.Label, error)
ListForObject provides a mock function with given fields: ctx, tenant, objectType, objectID
type LabelService ¶
LabelService is an autogenerated mock type for the labelService type
func NewLabelService ¶
func NewLabelService(t interface { mock.TestingT Cleanup(func()) }) *LabelService
NewLabelService creates a new instance of LabelService. 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 (*LabelService) GetByKey ¶
func (_m *LabelService) GetByKey(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string, key string) (*model.Label, error)
GetByKey provides a mock function with given fields: ctx, tenant, objectType, objectID, key
func (*LabelService) UpsertLabel ¶
func (_m *LabelService) UpsertLabel(ctx context.Context, tenant string, labelInput *model.LabelInput) error
UpsertLabel provides a mock function with given fields: ctx, tenant, labelInput
func (*LabelService) UpsertMultipleLabels ¶
func (_m *LabelService) UpsertMultipleLabels(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string, labels map[string]interface{}) error
UpsertMultipleLabels provides a mock function with given fields: ctx, tenant, objectType, objectID, labels
type OAuth20Service ¶
OAuth20Service is an autogenerated mock type for the OAuth20Service type
func NewOAuth20Service ¶
func NewOAuth20Service(t interface { mock.TestingT Cleanup(func()) }) *OAuth20Service
NewOAuth20Service creates a new instance of OAuth20Service. 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 (*OAuth20Service) DeleteMultipleClientCredentials ¶
func (_m *OAuth20Service) DeleteMultipleClientCredentials(ctx context.Context, auths []model.SystemAuth) error
DeleteMultipleClientCredentials provides a mock function with given fields: ctx, auths
type RuntimeContextConverter ¶
RuntimeContextConverter is an autogenerated mock type for the RuntimeContextConverter type
func NewRuntimeContextConverter ¶
func NewRuntimeContextConverter(t interface { mock.TestingT Cleanup(func()) }) *RuntimeContextConverter
NewRuntimeContextConverter creates a new instance of RuntimeContextConverter. 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 (*RuntimeContextConverter) MultipleToGraphQL ¶
func (_m *RuntimeContextConverter) MultipleToGraphQL(in []*model.RuntimeContext) []*graphql.RuntimeContext
MultipleToGraphQL provides a mock function with given fields: in
func (*RuntimeContextConverter) ToGraphQL ¶
func (_m *RuntimeContextConverter) ToGraphQL(in *model.RuntimeContext) *graphql.RuntimeContext
ToGraphQL provides a mock function with given fields: in
type RuntimeContextService ¶
RuntimeContextService is an autogenerated mock type for the RuntimeContextService type
func NewRuntimeContextService ¶
func NewRuntimeContextService(t interface { mock.TestingT Cleanup(func()) }) *RuntimeContextService
NewRuntimeContextService creates a new instance of RuntimeContextService. 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 (*RuntimeContextService) Delete ¶
func (_m *RuntimeContextService) Delete(ctx context.Context, id string) error
Delete provides a mock function with given fields: ctx, id
func (*RuntimeContextService) GetForRuntime ¶
func (_m *RuntimeContextService) GetForRuntime(ctx context.Context, id string, runtimeID string) (*model.RuntimeContext, error)
GetForRuntime provides a mock function with given fields: ctx, id, runtimeID
func (*RuntimeContextService) ListAllForRuntime ¶
func (_m *RuntimeContextService) ListAllForRuntime(ctx context.Context, runtimeID string) ([]*model.RuntimeContext, error)
ListAllForRuntime provides a mock function with given fields: ctx, runtimeID
func (*RuntimeContextService) ListByRuntimeIDs ¶
func (_m *RuntimeContextService) ListByRuntimeIDs(ctx context.Context, runtimeIDs []string, pageSize int, cursor string) ([]*model.RuntimeContextPage, error)
ListByRuntimeIDs provides a mock function with given fields: ctx, runtimeIDs, pageSize, cursor
type RuntimeConverter ¶
RuntimeConverter is an autogenerated mock type for the RuntimeConverter type
func NewRuntimeConverter ¶
func NewRuntimeConverter(t interface { mock.TestingT Cleanup(func()) }) *RuntimeConverter
NewRuntimeConverter creates a new instance of RuntimeConverter. 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 (*RuntimeConverter) MultipleToGraphQL ¶
func (_m *RuntimeConverter) MultipleToGraphQL(in []*model.Runtime) []*graphql.Runtime
MultipleToGraphQL provides a mock function with given fields: in
func (*RuntimeConverter) RegisterInputFromGraphQL ¶
func (_m *RuntimeConverter) RegisterInputFromGraphQL(in graphql.RuntimeRegisterInput) (model.RuntimeRegisterInput, error)
RegisterInputFromGraphQL provides a mock function with given fields: in
func (*RuntimeConverter) ToGraphQL ¶
func (_m *RuntimeConverter) ToGraphQL(in *model.Runtime) *graphql.Runtime
ToGraphQL provides a mock function with given fields: in
func (*RuntimeConverter) UpdateInputFromGraphQL ¶
func (_m *RuntimeConverter) UpdateInputFromGraphQL(in graphql.RuntimeUpdateInput) model.RuntimeUpdateInput
UpdateInputFromGraphQL provides a mock function with given fields: in
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) Create ¶
Create provides a mock function with given fields: ctx, tenant, item
func (*RuntimeRepository) Delete ¶
Delete provides a mock function with given fields: ctx, tenant, id
func (*RuntimeRepository) Exists ¶
Exists provides a mock function with given fields: ctx, tenant, id
func (*RuntimeRepository) GetByFilters ¶
func (_m *RuntimeRepository) GetByFilters(ctx context.Context, tenant string, filter []*labelfilter.LabelFilter) (*model.Runtime, error)
GetByFilters provides a mock function with given fields: ctx, tenant, filter
func (*RuntimeRepository) GetByFiltersGlobal ¶
func (_m *RuntimeRepository) GetByFiltersGlobal(ctx context.Context, filter []*labelfilter.LabelFilter) (*model.Runtime, error)
GetByFiltersGlobal provides a mock function with given fields: ctx, filter
func (*RuntimeRepository) GetByID ¶
func (_m *RuntimeRepository) GetByID(ctx context.Context, tenant string, id string) (*model.Runtime, error)
GetByID provides a mock function with given fields: ctx, tenant, id
func (*RuntimeRepository) List ¶
func (_m *RuntimeRepository) List(ctx context.Context, tenant string, runtimeIDs []string, filters []*labelfilter.LabelFilter, pageSize int, cursor string) (*model.RuntimePage, error)
List provides a mock function with given fields: ctx, tenant, runtimeIDs, filters, pageSize, cursor
func (*RuntimeRepository) ListAll ¶
func (_m *RuntimeRepository) ListAll(_a0 context.Context, _a1 string, _a2 []*labelfilter.LabelFilter) ([]*model.Runtime, error)
ListAll provides a mock function with given fields: _a0, _a1, _a2
type RuntimeService ¶
RuntimeService is an autogenerated mock type for the RuntimeService type
func NewRuntimeService ¶
func NewRuntimeService(t interface { mock.TestingT Cleanup(func()) }) *RuntimeService
NewRuntimeService creates a new instance of RuntimeService. 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 (*RuntimeService) CreateWithMandatoryLabels ¶
func (_m *RuntimeService) CreateWithMandatoryLabels(ctx context.Context, in model.RuntimeRegisterInput, id string, mandatoryLabels map[string]interface{}) error
CreateWithMandatoryLabels provides a mock function with given fields: ctx, in, id, mandatoryLabels
func (*RuntimeService) Delete ¶
func (_m *RuntimeService) Delete(ctx context.Context, id string) error
Delete provides a mock function with given fields: ctx, id
func (*RuntimeService) DeleteLabel ¶
DeleteLabel provides a mock function with given fields: ctx, runtimeID, key
func (*RuntimeService) GetByFilters ¶
func (_m *RuntimeService) GetByFilters(ctx context.Context, filters []*labelfilter.LabelFilter) (*model.Runtime, error)
GetByFilters provides a mock function with given fields: ctx, filters
func (*RuntimeService) GetByTokenIssuer ¶
func (_m *RuntimeService) GetByTokenIssuer(ctx context.Context, issuer string) (*model.Runtime, error)
GetByTokenIssuer provides a mock function with given fields: ctx, issuer
func (*RuntimeService) GetLabel ¶
func (_m *RuntimeService) GetLabel(ctx context.Context, runtimeID string, key string) (*model.Label, error)
GetLabel provides a mock function with given fields: ctx, runtimeID, key
func (*RuntimeService) List ¶
func (_m *RuntimeService) List(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize int, cursor string) (*model.RuntimePage, error)
List provides a mock function with given fields: ctx, filter, pageSize, cursor
func (*RuntimeService) ListLabels ¶
func (_m *RuntimeService) ListLabels(ctx context.Context, runtimeID string) (map[string]*model.Label, error)
ListLabels provides a mock function with given fields: ctx, runtimeID
func (*RuntimeService) SetLabel ¶
func (_m *RuntimeService) SetLabel(ctx context.Context, label *model.LabelInput) error
SetLabel provides a mock function with given fields: ctx, label
func (*RuntimeService) UnsafeExtractModifiableLabels ¶
func (_m *RuntimeService) UnsafeExtractModifiableLabels(labels map[string]interface{}) (map[string]interface{}, error)
UnsafeExtractModifiableLabels provides a mock function with given fields: labels
func (*RuntimeService) Update ¶
func (_m *RuntimeService) Update(ctx context.Context, id string, in model.RuntimeUpdateInput) error
Update provides a mock function with given fields: ctx, id, in
type ScenarioAssignmentService ¶
ScenarioAssignmentService is an autogenerated mock type for the ScenarioAssignmentService type
func NewScenarioAssignmentService ¶
func NewScenarioAssignmentService(t interface { mock.TestingT Cleanup(func()) }) *ScenarioAssignmentService
NewScenarioAssignmentService creates a new instance of ScenarioAssignmentService. 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 (*ScenarioAssignmentService) GetForScenarioName ¶
func (_m *ScenarioAssignmentService) GetForScenarioName(ctx context.Context, scenarioName string) (*model.AutomaticScenarioAssignment, error)
GetForScenarioName provides a mock function with given fields: ctx, scenarioName
func (*ScenarioAssignmentService) ListForScenarioNames ¶
func (_m *ScenarioAssignmentService) ListForScenarioNames(ctx context.Context, scenarioNames []string) ([]*model.AutomaticScenarioAssignment, error)
ListForScenarioNames provides a mock function with given fields: ctx, scenarioNames
type ScenariosFilterSanitizer ¶
ScenariosFilterSanitizer is an autogenerated mock type for the ScenariosFilterSanitizer type
func NewScenariosFilterSanitizer ¶
func NewScenariosFilterSanitizer(t interface { mock.TestingT Cleanup(func()) }) *ScenariosFilterSanitizer
NewScenariosFilterSanitizer creates a new instance of ScenariosFilterSanitizer. 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 (*ScenariosFilterSanitizer) RemoveScenarioFilter ¶
func (_m *ScenariosFilterSanitizer) RemoveScenarioFilter(ctx context.Context, tenant string, filters []*labelfilter.LabelFilter, objectType model.FormationAssignmentType, isGlobal bool, listerFunc filtersanitizer.ObjectIDListerFunc, globalListerFunc filtersanitizer.ObjectIDListerFuncGlobal) (bool, []string, []*labelfilter.LabelFilter, error)
RemoveScenarioFilter provides a mock function with given fields: ctx, tenant, filters, objectType, isGlobal, listerFunc, globalListerFunc
type SelfRegisterManager ¶
SelfRegisterManager is an autogenerated mock type for the SelfRegisterManager type
func NewSelfRegisterManager ¶
func NewSelfRegisterManager(t interface { mock.TestingT Cleanup(func()) }) *SelfRegisterManager
NewSelfRegisterManager creates a new instance of SelfRegisterManager. 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 (*SelfRegisterManager) CleanupSelfRegistration ¶
func (_m *SelfRegisterManager) CleanupSelfRegistration(ctx context.Context, selfRegisterLabelValue string, region string) error
CleanupSelfRegistration provides a mock function with given fields: ctx, selfRegisterLabelValue, region
func (*SelfRegisterManager) GetSelfRegDistinguishingLabelKey ¶
func (_m *SelfRegisterManager) GetSelfRegDistinguishingLabelKey() string
GetSelfRegDistinguishingLabelKey provides a mock function with given fields:
func (*SelfRegisterManager) PrepareForSelfRegistration ¶
func (_m *SelfRegisterManager) PrepareForSelfRegistration(ctx context.Context, resourceType resource.Type, labels map[string]interface{}, id string, validate func() error) (map[string]interface{}, error)
PrepareForSelfRegistration provides a mock function with given fields: ctx, resourceType, labels, id, validate
type SubscriptionService ¶
SubscriptionService is an autogenerated mock type for the SubscriptionService type
func NewSubscriptionService ¶
func NewSubscriptionService(t interface { mock.TestingT Cleanup(func()) }) *SubscriptionService
NewSubscriptionService creates a new instance of SubscriptionService. 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 (*SubscriptionService) SubscribeTenantToRuntime ¶
func (_m *SubscriptionService) SubscribeTenantToRuntime(ctx context.Context, providerID string, subaccountTenantID string, providerSubaccountID string, consumerTenantID string, region string, subscriptionAppName string, subscriptionID string) (bool, error)
SubscribeTenantToRuntime provides a mock function with given fields: ctx, providerID, subaccountTenantID, providerSubaccountID, consumerTenantID, region, subscriptionAppName, subscriptionID
func (*SubscriptionService) UnsubscribeTenantFromRuntime ¶
func (_m *SubscriptionService) UnsubscribeTenantFromRuntime(ctx context.Context, providerID string, subaccountTenantID string, providerSubaccountID string, consumerTenantID string, region string, subscriptionID string) (bool, error)
UnsubscribeTenantFromRuntime provides a mock function with given fields: ctx, providerID, subaccountTenantID, providerSubaccountID, consumerTenantID, region, subscriptionID
type SystemAuthConverter ¶
SystemAuthConverter is an autogenerated mock type for the SystemAuthConverter type
func NewSystemAuthConverter ¶
func NewSystemAuthConverter(t interface { mock.TestingT Cleanup(func()) }) *SystemAuthConverter
NewSystemAuthConverter creates a new instance of SystemAuthConverter. 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 (*SystemAuthConverter) ToGraphQL ¶
func (_m *SystemAuthConverter) ToGraphQL(in *model.SystemAuth) (graphql.SystemAuth, error)
ToGraphQL provides a mock function with given fields: in
type SystemAuthService ¶
SystemAuthService is an autogenerated mock type for the SystemAuthService type
func NewSystemAuthService ¶
func NewSystemAuthService(t interface { mock.TestingT Cleanup(func()) }) *SystemAuthService
NewSystemAuthService creates a new instance of SystemAuthService. 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 (*SystemAuthService) ListForObject ¶
func (_m *SystemAuthService) ListForObject(ctx context.Context, objectType model.SystemAuthReferenceObjectType, objectID string) ([]model.SystemAuth, error)
ListForObject provides a mock function with given fields: ctx, objectType, objectID
type TenantFetcher ¶
TenantFetcher is an autogenerated mock type for the TenantFetcher type
func NewTenantFetcher ¶
func NewTenantFetcher(t interface { mock.TestingT Cleanup(func()) }) *TenantFetcher
NewTenantFetcher creates a new instance of TenantFetcher. 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 (*TenantFetcher) FetchOnDemand ¶
func (_m *TenantFetcher) FetchOnDemand(ctx context.Context, tenant string, parentTenant string) error
FetchOnDemand provides a mock function with given fields: ctx, tenant, parentTenant
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) GetTenantByExternalID ¶
func (_m *TenantService) GetTenantByExternalID(ctx context.Context, id string) (*model.BusinessTenantMapping, error)
GetTenantByExternalID provides a mock function with given fields: ctx, id
func (*TenantService) GetTenantByID ¶
func (_m *TenantService) GetTenantByID(ctx context.Context, id string) (*model.BusinessTenantMapping, error)
GetTenantByID provides a mock function with given fields: ctx, id
type TenantSvc ¶
TenantSvc is an autogenerated mock type for the tenantSvc type
func NewTenantSvc ¶
NewTenantSvc creates a new instance of TenantSvc. 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 (*TenantSvc) GetTenantByID ¶
func (_m *TenantSvc) GetTenantByID(ctx context.Context, id string) (*model.BusinessTenantMapping, error)
GetTenantByID provides a mock function with given fields: ctx, id
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 WebhookConverter ¶
WebhookConverter is an autogenerated mock type for the WebhookConverter type
func NewWebhookConverter ¶
func NewWebhookConverter(t interface { mock.TestingT Cleanup(func()) }) *WebhookConverter
NewWebhookConverter creates a new instance of WebhookConverter. 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 (*WebhookConverter) MultipleInputFromGraphQL ¶
func (_m *WebhookConverter) MultipleInputFromGraphQL(in []*graphql.WebhookInput) ([]*model.WebhookInput, error)
MultipleInputFromGraphQL provides a mock function with given fields: in
func (*WebhookConverter) MultipleToGraphQL ¶
MultipleToGraphQL provides a mock function with given fields: in
type WebhookService ¶
WebhookService is an autogenerated mock type for the WebhookService type
func NewWebhookService ¶
func NewWebhookService(t interface { mock.TestingT Cleanup(func()) }) *WebhookService
NewWebhookService creates a new instance of WebhookService. 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 (*WebhookService) Create ¶
func (_m *WebhookService) Create(ctx context.Context, owningResourceID string, in model.WebhookInput, objectType model.WebhookReferenceObjectType) (string, error)
Create provides a mock function with given fields: ctx, owningResourceID, in, objectType
func (*WebhookService) ListForRuntime ¶
func (_m *WebhookService) ListForRuntime(ctx context.Context, runtimeID string) ([]*model.Webhook, error)
ListForRuntime provides a mock function with given fields: ctx, runtimeID
Source Files ¶
- asa_engine.go
- bundle_instance_auth_service.go
- entity_converter.go
- eventing_service.go
- formation_service.go
- label_repository.go
- label_service.go
- o_auth20_service.go
- runtime_context_converter.go
- runtime_context_service.go
- runtime_converter.go
- runtime_repository.go
- runtime_service.go
- scenario_assignment_service.go
- scenarios_filter_sanitizer.go
- self_register_manager.go
- subscription_service.go
- system_auth_converter.go
- system_auth_service.go
- tenant_fetcher.go
- tenant_service.go
- tenant_svc.go
- uid_service.go
- webhook_converter.go
- webhook_service.go