package
0.0.0-20241005003450-2e596219bdd7
Repository: https://github.com/codeready-toolchain/toolchain-e2e.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConditionSet may be used to combine separate arrays of conditions into a single array, allowing the condition functions in this package to be "mixed and matched" to achieve the desired set of conditions.
ContainsCondition returns a `UserSignupWaitCriterion` which checks that the given UserSignup contains the given status condition.
Creates a copy of the object specified using the `from` parameter.
No description provided by the author
DeactivatedWithoutDeactivating represents a set of conditions where a usersignup may be deactivated without first going through the deactivating (i.e.
No description provided by the author
No description provided by the author
No description provided by the author
Default defines default values for the two deactivation notification conditions that most tests expect to be present within a UserSignup Status.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
For returns an struct using which one can wait for the objects with the same type as the one provided.
HasClusterResourcesTemplateRef checks that the clusterResources `TemplateRef` match the given value.
HasNoTemplateRefWithSuffix checks that ALL namespaces' `TemplateRef` doesn't have the suffix.
No description provided by the author
IdlerConditions returns a `IdlerWaitCriterion` which checks that the given Idler has exactly all the given status conditions.
IdlerHasLabel checks if the Idler has the given label.
IdlerHasTier checks if the Idler has the given tier name set as a label.
IdlerHasTimeoutSeconds checks if the Idler has the given timeout set.
No description provided by the author
No description provided by the author
NewHostAwaitility initializes a HostAwaitility.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PodRunning checks if the Pod in the running phase.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StringifyObject renders the object in YAML while omitting the soup of `metadata.managedFields`.
StringifyObjects renders the list of objects in YAML while omitting the soup of `metadata.managedFields`.
No description provided by the author
No description provided by the author
No description provided by the author
TierAndType parses the templateRef and extracts the `tier` and `type` values out of it returns an error if this TemplateRef's format is invalid.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UntilAllMembersHaveUsageSet returns a `ToolchainStatusWaitCriterion` which checks that the given ToolchainStatus has all members with some non-zero resource usage.
UntilNamespaceIsActive returns a `NamespaceWaitCriterion` which checks that the given Namespace is in `Active` phase.
UntilHasMurCount returns a `ToolchainStatusWaitCriterion` which checks that the given ToolchainStatus has the given count of MasterUserRecords.
UntilHasSpaceCount returns a `ToolchainStatusWaitCriterion` which checks that the given ToolchainStatus has the given count of Spaces.
UntilIdentityHasLabel checks if the Identity has the expected label.
UntilMasterUserRecordHasAnyUserAccountStatus checks if MasterUserRecord status has any embedded UserAccount status.
UntilMasterUserRecordHasCondition checks if MasterUserRecord status has the given conditions (among others).
UntilMasterUserRecordHasConditions checks if MasterUserRecord status has the given set of conditions.
No description provided by the author
No description provided by the author
UntilMasterUserRecordHasUserAccountStatuses checks if MasterUserRecord status has the given set of status embedded UserAccounts.
UntilMasterUserRecordHasUserAccountStatusesInClusters checks if MasterUserRecord status has a set of UserAccounts provisioned in the given set of clusters.
UntilMasterUserRecordIsBeingDeleted checks if MasterUserRecord has Deletion Timestamp.
UntilMemberConfigMatches returns a `MemberOperatorConfigWaitCriterion` which checks that the given MemberOperatorConfig matches the provided one.
UntilMemberStatusHasConditions returns a `MemberStatusWaitCriterion` which checks that the given MemberStatus has exactly all the given status conditions.
UntilMemberStatusHasConsoleURLSet returns a `MemberStatusWaitCriterion` which checks that the given MemberStatus has a non-empty console url set.
UntilMemberStatusHasUsageSet returns a `MemberStatusWaitCriterion` which checks that the given MemberStatus has some non-zero resource usage set.
UntilNamespaceIsActive returns a `NamespaceWaitCriterion` which checks that the given Namespace is in `Active` phase.
UntilNotificationHasConditions checks if Notification status has the given set of conditions.
UntilNSTemplateSetHasAnySpaceRoles returns a `NSTemplateSetWaitCriterion` which checks that the given NSTemplateSet has any space roles set.
UntilNSTemplateSetHasConditions returns a `NSTemplateSetWaitCriterion` which checks that the given NSTemplateSet has exactly all the given status conditions.
UntilNSTemplateSetHasNoOwnerReferences returns a `NSTemplateSetWaitCriterion` which checks that the given NSTemplateSet has no Owner References.
UntilNSTemplateSetHasProvisionedNamespaces returns a `NSTemplateSetWaitCriterion` which checks that the given NSTemplateSet has exactly all the given status provisioned namespaces.
UntilNSTemplateSetHasSpaceRoles returns a `NSTemplateSetWaitCriterion` which checks that the given NSTemplateSet has the expected roles for the given users.
UntilNSTemplateSetHasSpaceRolesFromBindings returns a `NSTemplateSetWaitCriterion` which checks that the given NSTemlateSet has the expected roles for the given users.
UntilNSTemplateSetHasTier checks if the NSTemplateTier has the expected tierName.
UntilNSTemplateSetIsBeingDeleted returns a `NSTemplateSetWaitCriterion` which checks that the given NSTemplateSet has Deletion Timestamp set.
UntilNSTemplateTierSpec verify that the NSTemplateTier spec has the specified condition.
UntilNSTemplateTierStatusUpdates verify that the NSTemplateTier status.Updates has the specified number of entries.
UntilObjectHasLabel returns a `LabelWaitCriterion` which checks that the given Object has the expected label.
No description provided by the author
UntilSocialEventHasActivationCount returns a `SpaceWaitCriterion` which checks that the Space has the expected value of the state label.
UntilSocialEventHasConditions returns a `SocialEventWaitCriterion` which checks that the given SocialEvent has exactly all the given status conditions.
UntilSpaceBindingHasCreationTimestampGreaterThan returns a `SpaceBindingWaitCriterion` which checks that the given SpaceBinding was created after a given creationTimestamp.
UntilSpaceBindingHasDifferentUID returns a `SpaceBindingWaitCriterion` which checks that the given SpaceBinding has different UID (even if it has same name).
UntilSpaceBindingHasLabel returns a `SpaceBindingWaitCriterion` which checks that the given SpaceBinding has a `key` equal to the given `value`.
UntilSpaceBindingHasMurName returns a `SpaceBindingWaitCriterion` which checks that the given SpaceBinding has the expected MUR name set in its Spec.
UntilSpaceBindingHasSpaceName returns a `SpaceBindingWaitCriterion` which checks that the given SpaceBinding has the expected MUR name set in its Spec.
UntilSpaceBindingHasSpaceRole returns a `SpaceBindingWaitCriterion` which checks that the given SpaceBinding has the expected SpaceRole name set in its Spec.
UntilSpaceBindingRequestHasConditions returns a `SpaceBindingRequestWaitCriterion` which checks that the given SpaceBindingRequest has exactly all the given status conditions.
UntilSpaceBindingRequestHasSpecMUR returns a `SpaceBindingRequestWaitCriterion` which checks that the given SpaceBindingRequest has a specific .Spec.MasterUserRecord.
UntilSpaceBindingRequestHasSpecSpaceRole returns a `SpaceBindingRequestWaitCriterion` which checks that the given SpaceBindingRequest has a specific .Spec.SpaceRole.
UntilSpaceHasAnyProvisionedNamespaces returns a `SpaceWaitCriterion` which checks that the given Space has any `status.ProvisionedNamespaces` set.
UntilSpaceHasAnyTargetClusterSet returns a `SpaceWaitCriterion` which checks that the given Space has any `spec.targetCluster` set.
UntilSpaceHasAnyTierNameSet returns a `SpaceWaitCriterion` which checks that the given Space has any `spec.tierName` set.
UntilSpaceHasConditionForTime returns a `SpaceWaitCriterion` which checks that the given Space has the condition set at least for the given amount of time.
UntilSpaceHasConditions returns a `SpaceWaitCriterion` which checks that the given Space has exactly all the given status conditions.
UntilSpaceHasCreationTimestampGreaterThan returns a `SpaceWaitCriterion` which checks that the given Space was created after a given creationTimestamp.
UntilSpaceHasCreationTimestampOlderThan returns a `SpaceWaitCriterion` which checks that the given Space has a timestamp that has elapsed the provided difference duration.
UntilSpaceHasTargetClusterRoles returns a `SpaceWaitCriterion` which checks that the given Space has the expected Spec.DisableInheritance value.
UntilSpaceHasExpectedProvisionedNamespacesNumber returns a `SpaceWaitCriterion` which checks that the given Space has the expected number of `status.ProvisionedNamespaces` set.
UntilSpaceHasLabelWithValue returns a `SpaceWaitCriterion` which checks that the given Space has the expected label with the given value.
UntilSpaceHasProvisionedNamespaces returns a `SpaceWaitCriterion` which checks that the given Space has the expected `provisionedNamespaces` list in its status.
UntilSpaceHasStateLabel returns a `SpaceWaitCriterion` which checks that the Space has the expected value of the state label.
UntilSpaceHasStatusTargetCluster returns a `SpaceWaitCriterion` which checks that the given Space has the expected `targetCluster` in its status.
UntilSpaceHasTargetClusterRoles returns a `SpaceWaitCriterion` which checks that the given Space has the expected target cluster roles set in its Spec.
UntilSpaceHasTier returns a `SpaceWaitCriterion` which checks that the given Space has the expected tier name set in its Spec.
UntilSpaceIsBeingDeleted checks if Space has Deletion Timestamp.
UntilSpaceRequestHasConditions returns a `SpaceRequestWaitCriterion` which checks that the given SpaceRequest has exactly all the given status conditions.
UntilSpaceRequestHasDisableInheritance returns a `SpaceRequestWaitCriterion` which checks that the given SpaceRequest has the expected Spec.DisableInheritance value.
UntilSpaceRequestHasNamespaceAccess returns a `SpaceRequestWaitCriterion` which checks that the given SpaceRequest has `status.NamespaceAccess` set and each namespace access is actually valid.
UntilSpaceRequestHasNamespaceAccessWithoutSecretRef returns a `SpaceRequestWaitCriterion` which checks that the given SpaceRequest has `status.NamespaceAccess[*].SecretRef` empty, since generation of a secret is not expected for the given SpaceRequest.
UntilSpaceRequestHasStatusTargetClusterURL returns a `SpaceRequestWaitCriterion` which checks that the given SpaceRequest has the expected .Status.TargetClusterURL value.
UntilSpaceRequestHasTargetClusterRoles returns a `SpaceRequestWaitCriterion` which checks that the given SpaceRequest has the expected cluster roles.
UntilSpaceRequestHasTierName returns a `SpaceRequestWaitCriterion` which checks that the given SpaceRequest has a specific tierName.
UntilToolchainClusterHasCondition checks if ToolchainCluster has the given condition.
UntilToolchainClusterHasCondition checks if ToolchainCluster has the given condition and False Status.
UntilToolchainClusterHasName checks if ToolchainCluster has given name.
UntilToolchainClusterHasNoTenantLabel checks if ToolchainCluster has no tenant cluster-role label.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UntilToolchainStatusHasConditions returns a `ToolchainStatusWaitCriterion` which checks that the given ToolchainStatus has exactly all the given status conditions.
UntilToolchainStatusUpdated returns a `ToolchainStatusWaitCriterion` which checks that the ToolchainStatus ready condition was updated after the given time.
UntilUserAccountContainsCondition returns a `UserAccountWaitCriterion` which checks that the given USerAccount contains the given condition.
UntilUserAccountHasAnnotation checks if the UserAccount has the expected annotation.
UntilUserAccountHasConditions returns a `UserAccountWaitCriterion` which checks that the given USerAccount has exactly all the given status conditions.
UntilUserAccountHasLabelWithValue returns a `UserAccountWaitCriterion` which checks that the given UserAccount has the expected label with the given value.
UntilUserAccountHasSpec returns a `UserAccountWaitCriterion` which checks that the given UserAccount has the expected spec.
UntilUserAccountIsBeingDeleted returns a `UserAccountWaitCriterion` which checks that the given UserAccount has the deletion timestamp set.
UntilUserAccountIsCreatedAfter returns a `UserAccountWaitCriterion` which checks that the given UserAccount has a creation timestamp that is after the given timestamp.
UntilUserAccountMatchesMur returns a `UserAccountWaitCriterion` which loads the existing MUR and compares the first UserAccountSpecEmbedded in the MUR with the actual UserAccount spec.
UntilUserHasAnnotation checks if the User has the expected annotation.
UntilUserHasLabel checks if the User has the expected label.
UntilUserSignupContainsConditions returns a `UserSignupWaitCriterion` which checks that the given UserSignup contains all the given status conditions.
UntilUserSignupHasCompliantUsername returns a `UserSignupWaitCriterion` which checks that the given UserSignup has a `.Status.CompliantUsername` value.
UntilUserSignupHasConditions returns a `UserSignupWaitCriterion` which checks that the given UserSignup has exactly all the given status conditions.
UntilUserSignupHasLabel returns a `UserSignupWaitCriterion` which checks that the given UserSignup has a `key` equal to the given `value`.
No description provided by the author
No description provided by the author
UntilUserSignupHasStateLabel returns a `UserSignupWaitCriterion` which checks that the given UserSignup has toolchain.dev.openshift.com/state equal to the given value.
No description provided by the author
UntilUserSignupHasTargetCluster returns a `UserSignupWaitCriterion` which checks that the given UserSignup has the expected target cluster field.
UntilUserSignupIsBeingDeleted returns a `UserSignupWaitCriterion` which checks that the given UserSignup has deletion timestamp set.
UntilUserTierHasDeactivationTimeoutDays verify that the UserTier status.Updates has the specified number of entries.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithPodLabel checks if the Pod has the expected label.
WithPodName checks if the Pod has the expected name.
No description provided by the author

# Constants

make it short because a "retry interval" is waited before the first test.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
metric constants.
metric constants.
No description provided by the author
No description provided by the author
metric constants.
No description provided by the author
metric constants.
No description provided by the author
metric constants.
metric constants.
metric constants.
metric constants.
metric constants.
metric constants.
metric constants.
metric constants.

# Structs

No description provided by the author
No description provided by the author
ClusterResourceQuotaWaitCriterion a struct to compare with a given ClusterResourceQuota.
HostAwaitility the Awaitility for the Host cluster.
IdentityWaitCriterion a struct to compare with a given Identity.
IdlerWaitCriterion a struct to compare with a given Idler.
No description provided by the author
MasterUserRecordWaitCriterion a struct to compare with an expected MasterUserRecord.
No description provided by the author
MemberStatusWaitCriterion a struct to compare with a given MemberStatus.
No description provided by the author
NotificationWaitCriterion a struct to compare with an expected Notification.
NSTemplateSetWaitCriterion a struct to compare with a given NSTemplateSet.
NSTemplateTierSpecMatcher a struct to compare with an expected NSTemplateTierSpec.
NSTemplateTierWaitCriterion a struct to compare with an expected NSTemplateTier.
PodWaitCriterion a struct to compare with a given Pod.
ResourceQuotaWaitCriterion a struct to compare with a given ResourceQuota.
No description provided by the author
SpaceBindingRequestWaitCriterion a struct to compare with a given SpaceBindingRequest.
No description provided by the author
SpaceRequestWaitCriterion a struct to compare with a given SpaceRequest.
No description provided by the author
ToolchainClusterWaitCriterion a struct to compare with an expected ToolchainCluster CR.
ToolchainConfigWaitCriterion a struct to compare with an expected ToolchainConfig.
ToolchainStatusWaitCriterion a struct to compare with an expected ToolchainStatus.
UserAccountWaitCriterion a struct to compare with a given UserAccount.
UserSignupWaitCriterion a struct to compare with an expected UserSignup.
UserTierWaitCriterion a struct to compare with an expected UserTier.
UserWaitCriterion a struct to compare with a given User.
Waiter is a helper struct for `wait.For()` that provides functions to query the cluster waiting for the results.

# Interfaces

RetryOption is some configuration that modifies options for an Awaitility.

# Type aliases

No description provided by the author
MemberOperatorConfigWaitCriterion a function to check that an MemberOperatorConfig has the expected criteria.
RetryInterval an option to configure the RetryInterval.
TimeoutOption an option to configure the Timeout.