Documentation ¶
Overview ¶
Package test implements add tests for the go-driver.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountEdge ¶
type BookWithAuthor ¶
type Compare ¶
type Compare string
func (Compare) Than ¶
func (c Compare) Than(a driver.Version) VersionChecker
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.