Documentation ¶
Index ¶
- func CreateDocuments(ctx context.Context, col driver.Collection, docCount int, ...) error
- func GenerateUUID(prefix string) string
- func NewUUID() string
- type Account
- type AccountEdge
- type Book
- type BookWithAuthor
- type Compare
- type Dimension
- type NestedFieldsDoc
- type Operator
- type RelationEdge
- type RouteEdge
- type RouteEdgeWithKey
- type UserDoc
- type UserDocWithKey
- type UserDocWithKeyWithOmit
- type VersionCheck
- type VersionChecker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDocuments ¶ added in v1.6.0
func CreateDocuments(ctx context.Context, col driver.Collection, docCount int, generator func(i int) any) error
CreateDocuments creates given number of documents for the provided collection.
func GenerateUUID ¶ added in v1.6.2
Types ¶
type AccountEdge ¶
type BookWithAuthor ¶
type Compare ¶
type Compare string
func (Compare) Than ¶
func (c Compare) Than(a driver.Version) VersionChecker
type NestedFieldsDoc ¶ added in v1.5.0
type RelationEdge ¶
type RouteEdgeWithKey ¶
type UserDocWithKey ¶
type UserDocWithKeyWithOmit ¶
type VersionCheck ¶
type VersionCheck struct {
// contains filtered or unexported fields
}
func EnsureVersion ¶
func EnsureVersion(t *testing.T, ctx context.Context, c driver.Client) VersionCheck
func (VersionCheck) CheckVersion ¶
func (v VersionCheck) CheckVersion(check VersionChecker) VersionCheck
func (VersionCheck) Cluster ¶
func (v VersionCheck) Cluster() VersionCheck
func (VersionCheck) Community ¶
func (v VersionCheck) Community() VersionCheck
func (VersionCheck) Enterprise ¶
func (v VersionCheck) Enterprise() VersionCheck
func (VersionCheck) NotCluster ¶
func (v VersionCheck) NotCluster() VersionCheck
type VersionChecker ¶
type VersionChecker interface { Or(v VersionChecker) VersionChecker And(v VersionChecker) VersionChecker Check(version driver.Version) bool String(version driver.Version) string }
func AbovePatchRelease ¶
func AbovePatchRelease(version driver.Version) VersionChecker
func BelowPatchRelease ¶
func BelowPatchRelease(version driver.Version) VersionChecker
func MinimumVersion ¶
func MinimumVersion(version driver.Version) VersionChecker
Click to show internal directories.
Click to hide internal directories.