Documentation ¶
Index ¶
- func ContainsMatchingOperation(expectedOperation *fixtures.Operation, ...) bool
- type Asserter
- type FormationAssignmentsAsserter
- type FormationAssignmentsAsyncAsserter
- func (a *FormationAssignmentsAsyncAsserter) AssertExpectations(t *testing.T, ctx context.Context)
- func (a *FormationAssignmentsAsyncAsserter) WithFormationName(formationName string) *FormationAssignmentsAsyncAsserter
- func (a *FormationAssignmentsAsyncAsserter) WithTick(tick time.Duration) *FormationAssignmentsAsyncAsserter
- func (a *FormationAssignmentsAsyncAsserter) WithTimeout(timeout time.Duration) *FormationAssignmentsAsyncAsserter
- type FormationAssignmentsAsyncCustomConfigMatcherAsserter
- func (a *FormationAssignmentsAsyncCustomConfigMatcherAsserter) AssertExpectations(t *testing.T, ctx context.Context)
- func (a *FormationAssignmentsAsyncCustomConfigMatcherAsserter) WithTick(tick time.Duration) *FormationAssignmentsAsyncCustomConfigMatcherAsserter
- func (a *FormationAssignmentsAsyncCustomConfigMatcherAsserter) WithTimeout(timeout time.Duration) *FormationAssignmentsAsyncCustomConfigMatcherAsserter
- type FormationExpectation
- type FormationIsDeletedAsserter
- func (a *FormationIsDeletedAsserter) AssertExpectations(t *testing.T, ctx context.Context)
- func (a *FormationIsDeletedAsserter) WithFormationName(formationName string) *FormationIsDeletedAsserter
- func (a *FormationIsDeletedAsserter) WithTenantID(tenantID string) *FormationIsDeletedAsserter
- func (a *FormationIsDeletedAsserter) WithTick(tick time.Duration) *FormationIsDeletedAsserter
- func (a *FormationIsDeletedAsserter) WithTimeout(timeout time.Duration) *FormationIsDeletedAsserter
- type FormationStatusAsserter
- func (a *FormationStatusAsserter) AssertExpectations(t *testing.T, ctx context.Context)
- func (a *FormationStatusAsserter) WithCondition(condition gql.FormationStatusCondition) *FormationStatusAsserter
- func (a *FormationStatusAsserter) WithErrors(errors []*gql.FormationStatusError) *FormationStatusAsserter
- func (a *FormationStatusAsserter) WithFormationName(formationName string) *FormationStatusAsserter
- func (a *FormationStatusAsserter) WithState(state string) *FormationStatusAsserter
- type FormationVisibilityAsserter
- func (a *FormationVisibilityAsserter) AssertExpectations(t *testing.T, ctx context.Context)
- func (a *FormationVisibilityAsserter) WithFormationExpectations(expectations []*FormationExpectation) *FormationVisibilityAsserter
- func (a *FormationVisibilityAsserter) WithParticipantID(participantID string) *FormationVisibilityAsserter
- type LifecycleNotificationsAsserter
- func (a *LifecycleNotificationsAsserter) AssertExpectations(t *testing.T, ctx context.Context)
- func (a *LifecycleNotificationsAsserter) WithExpectNotifications(expectNotifications bool) *LifecycleNotificationsAsserter
- func (a *LifecycleNotificationsAsserter) WithFormationName(formationName string) *LifecycleNotificationsAsserter
- func (a *LifecycleNotificationsAsserter) WithOperation(operation string) *LifecycleNotificationsAsserter
- func (a *LifecycleNotificationsAsserter) WithParentTenantID(parentTenantID string) *LifecycleNotificationsAsserter
- func (a *LifecycleNotificationsAsserter) WithState(state string) *LifecycleNotificationsAsserter
- func (a *LifecycleNotificationsAsserter) WithTenantID(tenantID string) *LifecycleNotificationsAsserter
- func (a *LifecycleNotificationsAsserter) WithTick(tick time.Duration) *LifecycleNotificationsAsserter
- func (a *LifecycleNotificationsAsserter) WithTimeout(timeout time.Duration) *LifecycleNotificationsAsserter
- type NotificationsAsserter
- func (a *NotificationsAsserter) AssertExpectations(t *testing.T, ctx context.Context)
- func (a *NotificationsAsserter) WithAssertTrustDetails(assertTrustDetails bool) *NotificationsAsserter
- func (a *NotificationsAsserter) WithExpectedSubjects(expectedSubjects []string) *NotificationsAsserter
- func (a *NotificationsAsserter) WithFormationName(formationName string) *NotificationsAsserter
- func (a *NotificationsAsserter) WithGQLClient(gqlClient *graphql.Client) *NotificationsAsserter
- func (a *NotificationsAsserter) WithState(state string) *NotificationsAsserter
- func (a *NotificationsAsserter) WithUseItemsStruct(useItemsStruct bool) *NotificationsAsserter
- type NotificationsCountAsserter
- type NotificationsCountAsyncAsserter
- type UnassignNotificationsAsserter
- func (a *UnassignNotificationsAsserter) AssertExpectations(t *testing.T, ctx context.Context)
- func (a *UnassignNotificationsAsserter) WithFormationName(formationName string) *UnassignNotificationsAsserter
- func (a *UnassignNotificationsAsserter) WithGQLClient(gqlClient *graphql.Client) *UnassignNotificationsAsserter
- func (a *UnassignNotificationsAsserter) WithState(state string) *UnassignNotificationsAsserter
- func (a *UnassignNotificationsAsserter) WithUseItemsStruct(useItemsStruct bool) *UnassignNotificationsAsserter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsMatchingOperation ¶
func ContainsMatchingOperation(expectedOperation *fixtures.Operation, actualOperations []*gql.AssignmentOperation) bool
Types ¶
type FormationAssignmentsAsserter ¶
type FormationAssignmentsAsserter struct {
// contains filtered or unexported fields
}
func NewFormationAssignmentAsserter ¶
func NewFormationAssignmentAsserter(expectations map[string]map[string]fixtures.Assignment, expectedAssignmentsCount int, certSecuredGraphQLClient *graphql.Client, tenantID string) *FormationAssignmentsAsserter
func (*FormationAssignmentsAsserter) AssertExpectations ¶
func (a *FormationAssignmentsAsserter) AssertExpectations(t *testing.T, ctx context.Context)
type FormationAssignmentsAsyncAsserter ¶
type FormationAssignmentsAsyncAsserter struct { FormationAssignmentsAsserter // contains filtered or unexported fields }
func NewFormationAssignmentAsyncAsserter ¶
func NewFormationAssignmentAsyncAsserter(expectations map[string]map[string]fixtures.Assignment, expectedAssignmentsCount int, certSecuredGraphQLClient *graphql.Client, tenantID string) *FormationAssignmentsAsyncAsserter
func (*FormationAssignmentsAsyncAsserter) AssertExpectations ¶
func (a *FormationAssignmentsAsyncAsserter) AssertExpectations(t *testing.T, ctx context.Context)
func (*FormationAssignmentsAsyncAsserter) WithFormationName ¶
func (a *FormationAssignmentsAsyncAsserter) WithFormationName(formationName string) *FormationAssignmentsAsyncAsserter
func (*FormationAssignmentsAsyncAsserter) WithTick ¶
func (a *FormationAssignmentsAsyncAsserter) WithTick(tick time.Duration) *FormationAssignmentsAsyncAsserter
func (*FormationAssignmentsAsyncAsserter) WithTimeout ¶
func (a *FormationAssignmentsAsyncAsserter) WithTimeout(timeout time.Duration) *FormationAssignmentsAsyncAsserter
type FormationAssignmentsAsyncCustomConfigMatcherAsserter ¶
type FormationAssignmentsAsyncCustomConfigMatcherAsserter struct { FormationAssignmentsAsyncAsserter // contains filtered or unexported fields }
func NewFormationAssignmentsAsyncCustomConfigMatcherAsserter ¶
func NewFormationAssignmentsAsyncCustomConfigMatcherAsserter(configMatcher func(require.TestingT, *string, *string) bool, expectations map[string]map[string]fixtures.Assignment, expectedAssignmentsCount int, certSecuredGraphQLClient *graphql.Client, tenantID string) *FormationAssignmentsAsyncCustomConfigMatcherAsserter
func (*FormationAssignmentsAsyncCustomConfigMatcherAsserter) AssertExpectations ¶
func (a *FormationAssignmentsAsyncCustomConfigMatcherAsserter) AssertExpectations(t *testing.T, ctx context.Context)
func (*FormationAssignmentsAsyncCustomConfigMatcherAsserter) WithTick ¶
func (a *FormationAssignmentsAsyncCustomConfigMatcherAsserter) WithTick(tick time.Duration) *FormationAssignmentsAsyncCustomConfigMatcherAsserter
func (*FormationAssignmentsAsyncCustomConfigMatcherAsserter) WithTimeout ¶
func (a *FormationAssignmentsAsyncCustomConfigMatcherAsserter) WithTimeout(timeout time.Duration) *FormationAssignmentsAsyncCustomConfigMatcherAsserter
type FormationExpectation ¶
type FormationExpectation struct { FormationName string AssignmentsCount int StatusCondition gql.FormationStatusCondition }
type FormationIsDeletedAsserter ¶
type FormationIsDeletedAsserter struct {
// contains filtered or unexported fields
}
func NewFormationIsDeletedAsserter ¶
func NewFormationIsDeletedAsserter(certSecuredGraphQLClient *graphql.Client) *FormationIsDeletedAsserter
func (*FormationIsDeletedAsserter) AssertExpectations ¶
func (a *FormationIsDeletedAsserter) AssertExpectations(t *testing.T, ctx context.Context)
func (*FormationIsDeletedAsserter) WithFormationName ¶
func (a *FormationIsDeletedAsserter) WithFormationName(formationName string) *FormationIsDeletedAsserter
func (*FormationIsDeletedAsserter) WithTenantID ¶
func (a *FormationIsDeletedAsserter) WithTenantID(tenantID string) *FormationIsDeletedAsserter
func (*FormationIsDeletedAsserter) WithTick ¶
func (a *FormationIsDeletedAsserter) WithTick(tick time.Duration) *FormationIsDeletedAsserter
func (*FormationIsDeletedAsserter) WithTimeout ¶
func (a *FormationIsDeletedAsserter) WithTimeout(timeout time.Duration) *FormationIsDeletedAsserter
type FormationStatusAsserter ¶
type FormationStatusAsserter struct {
// contains filtered or unexported fields
}
func NewFormationStatusAsserter ¶
func NewFormationStatusAsserter(tenant string, certSecuredGraphQLClient *graphql.Client) *FormationStatusAsserter
func (*FormationStatusAsserter) AssertExpectations ¶
func (a *FormationStatusAsserter) AssertExpectations(t *testing.T, ctx context.Context)
func (*FormationStatusAsserter) WithCondition ¶
func (a *FormationStatusAsserter) WithCondition(condition gql.FormationStatusCondition) *FormationStatusAsserter
func (*FormationStatusAsserter) WithErrors ¶
func (a *FormationStatusAsserter) WithErrors(errors []*gql.FormationStatusError) *FormationStatusAsserter
func (*FormationStatusAsserter) WithFormationName ¶
func (a *FormationStatusAsserter) WithFormationName(formationName string) *FormationStatusAsserter
func (*FormationStatusAsserter) WithState ¶
func (a *FormationStatusAsserter) WithState(state string) *FormationStatusAsserter
type FormationVisibilityAsserter ¶
type FormationVisibilityAsserter struct {
// contains filtered or unexported fields
}
func NewFormationVisibilityAsserter ¶
func NewFormationVisibilityAsserter(certSecuredGraphQLClient *graphql.Client) *FormationVisibilityAsserter
func (*FormationVisibilityAsserter) AssertExpectations ¶
func (a *FormationVisibilityAsserter) AssertExpectations(t *testing.T, ctx context.Context)
func (*FormationVisibilityAsserter) WithFormationExpectations ¶
func (a *FormationVisibilityAsserter) WithFormationExpectations(expectations []*FormationExpectation) *FormationVisibilityAsserter
func (*FormationVisibilityAsserter) WithParticipantID ¶
func (a *FormationVisibilityAsserter) WithParticipantID(participantID string) *FormationVisibilityAsserter
type LifecycleNotificationsAsserter ¶
type LifecycleNotificationsAsserter struct {
// contains filtered or unexported fields
}
func (*LifecycleNotificationsAsserter) AssertExpectations ¶
func (a *LifecycleNotificationsAsserter) AssertExpectations(t *testing.T, ctx context.Context)
func (*LifecycleNotificationsAsserter) WithExpectNotifications ¶
func (a *LifecycleNotificationsAsserter) WithExpectNotifications(expectNotifications bool) *LifecycleNotificationsAsserter
func (*LifecycleNotificationsAsserter) WithFormationName ¶
func (a *LifecycleNotificationsAsserter) WithFormationName(formationName string) *LifecycleNotificationsAsserter
func (*LifecycleNotificationsAsserter) WithOperation ¶
func (a *LifecycleNotificationsAsserter) WithOperation(operation string) *LifecycleNotificationsAsserter
func (*LifecycleNotificationsAsserter) WithParentTenantID ¶
func (a *LifecycleNotificationsAsserter) WithParentTenantID(parentTenantID string) *LifecycleNotificationsAsserter
func (*LifecycleNotificationsAsserter) WithState ¶
func (a *LifecycleNotificationsAsserter) WithState(state string) *LifecycleNotificationsAsserter
func (*LifecycleNotificationsAsserter) WithTenantID ¶
func (a *LifecycleNotificationsAsserter) WithTenantID(tenantID string) *LifecycleNotificationsAsserter
func (*LifecycleNotificationsAsserter) WithTick ¶
func (a *LifecycleNotificationsAsserter) WithTick(tick time.Duration) *LifecycleNotificationsAsserter
func (*LifecycleNotificationsAsserter) WithTimeout ¶
func (a *LifecycleNotificationsAsserter) WithTimeout(timeout time.Duration) *LifecycleNotificationsAsserter
type NotificationsAsserter ¶
type NotificationsAsserter struct {
// contains filtered or unexported fields
}
func NewNotificationsAsserter ¶
func NewNotificationsAsserter(expectedNotificationsCount int, op string, targetObjectID, sourceObjectID string, localTenantID string, appNamespace string, region string, tenant string, tenantParentCustomer string, config *string, externalServicesMockMtlsSecuredURL string, client *http.Client) *NotificationsAsserter
func (*NotificationsAsserter) AssertExpectations ¶
func (a *NotificationsAsserter) AssertExpectations(t *testing.T, ctx context.Context)
func (*NotificationsAsserter) WithAssertTrustDetails ¶
func (a *NotificationsAsserter) WithAssertTrustDetails(assertTrustDetails bool) *NotificationsAsserter
func (*NotificationsAsserter) WithExpectedSubjects ¶
func (a *NotificationsAsserter) WithExpectedSubjects(expectedSubjects []string) *NotificationsAsserter
func (*NotificationsAsserter) WithFormationName ¶
func (a *NotificationsAsserter) WithFormationName(formationName string) *NotificationsAsserter
func (*NotificationsAsserter) WithGQLClient ¶
func (a *NotificationsAsserter) WithGQLClient(gqlClient *graphql.Client) *NotificationsAsserter
func (*NotificationsAsserter) WithState ¶
func (a *NotificationsAsserter) WithState(state string) *NotificationsAsserter
func (*NotificationsAsserter) WithUseItemsStruct ¶
func (a *NotificationsAsserter) WithUseItemsStruct(useItemsStruct bool) *NotificationsAsserter
type NotificationsCountAsserter ¶
type NotificationsCountAsserter struct {
// contains filtered or unexported fields
}
func (*NotificationsCountAsserter) AssertExpectations ¶
func (nca *NotificationsCountAsserter) AssertExpectations(t *testing.T, _ context.Context)
type NotificationsCountAsyncAsserter ¶
type NotificationsCountAsyncAsserter struct { NotificationsCountAsserter // contains filtered or unexported fields }
func (*NotificationsCountAsyncAsserter) AssertExpectations ¶
func (a *NotificationsCountAsyncAsserter) AssertExpectations(t *testing.T, ctx context.Context)
type UnassignNotificationsAsserter ¶
type UnassignNotificationsAsserter struct {
// contains filtered or unexported fields
}
func NewUnassignNotificationsAsserter ¶
func NewUnassignNotificationsAsserter(expectedNotificationsCountForOp int, targetObjectID string, sourceObjectID string, localTenantID string, appNamespace string, region string, tenant string, tenantParentCustomer string, config string, externalServicesMockMtlsSecuredURL string, client *http.Client) *UnassignNotificationsAsserter
func (*UnassignNotificationsAsserter) AssertExpectations ¶
func (a *UnassignNotificationsAsserter) AssertExpectations(t *testing.T, ctx context.Context)
func (*UnassignNotificationsAsserter) WithFormationName ¶
func (a *UnassignNotificationsAsserter) WithFormationName(formationName string) *UnassignNotificationsAsserter
func (*UnassignNotificationsAsserter) WithGQLClient ¶
func (a *UnassignNotificationsAsserter) WithGQLClient(gqlClient *graphql.Client) *UnassignNotificationsAsserter
func (*UnassignNotificationsAsserter) WithState ¶
func (a *UnassignNotificationsAsserter) WithState(state string) *UnassignNotificationsAsserter
func (*UnassignNotificationsAsserter) WithUseItemsStruct ¶
func (a *UnassignNotificationsAsserter) WithUseItemsStruct(useItemsStruct bool) *UnassignNotificationsAsserter
Source Files ¶
- asserters.go
- formation_assigments_async_custom_config_matcher.go
- formation_assignments.go
- formation_assignments_async.go
- formation_is_deleted.go
- formation_operation_types.go
- formation_status.go
- formation_visibility.go
- lifecycle_notification.go
- notifications.go
- notifications_count.go
- notifications_count_async.go
- notifications_unassign.go
Click to show internal directories.
Click to hide internal directories.