Documentation
¶
Index ¶
- func CheckIfNotServerless() func() (bool, error)
- func CheckIfVersionIsUnsupported(minSupportedVersion *version.Version) func() (bool, error)
- func CheckIfVersionMeetsConstraints(constraints version.Constraints) func() (bool, error)
- func SkipIfUnsupported(t *testing.T, minVersion *version.Version, flavor Flavor)
- func SkipIfUnsupportedConstraints(t *testing.T, constraints version.Constraints, flavor Flavor)
- type Flavor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfNotServerless ¶ added in v0.11.17
func CheckIfVersionMeetsConstraints ¶ added in v0.11.3
func CheckIfVersionMeetsConstraints(constraints version.Constraints) func() (bool, error)
func SkipIfUnsupported ¶ added in v0.15.1
SkipIfUnsupported skips the test when the acceptance Elasticsearch connection reports a version strictly below minVersion or a deployment flavor incompatible with flavor. Serverless clusters bypass minimum-version checks. Infrastructure failures call t.Fatal.
func SkipIfUnsupportedConstraints ¶ added in v0.15.1
func SkipIfUnsupportedConstraints(t *testing.T, constraints version.Constraints, flavor Flavor)
SkipIfUnsupportedConstraints skips the test when the acceptance Elasticsearch version does not satisfy constraints or the deployment flavor is incompatible. Serverless clusters bypass constraint checks. Infrastructure failures call t.Fatal.
Types ¶
Click to show internal directories.
Click to hide internal directories.