MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / IsKind

Function IsKind

tests/e2e/commons_test.go:46–48  ·  view source on GitHub ↗

IsKind checks if the running cluster is on kind

()

Source from the content-addressed store, hash-verified

44
45// IsKind checks if the running cluster is on kind
46func IsKind() bool {
47 return *testCloudVendorEnv == cloudvendors.KIND
48}
49
50// IsOpenshift checks if the running cluster is on OpenShift
51func IsOpenshift() bool {

Calls

no outgoing calls

Tested by

no test coverage detected