Documentation
¶
Overview ¶
Package objectstore provides Ginkgo/Gomega assertions for WAL archiving to the object store. Callers that also import tests/utils/objectstore should alias one of the two to avoid the package name collision.
Index ¶
- func AssertArchiveWalOnObjectStore(env *environment.TestingEnvironment, testTimeouts map[timeouts.Timeout]int, ...)
- func CheckPointAndSwitchWalOnPrimary(env *environment.TestingEnvironment, namespace, clusterName string) string
- func SwitchWalAndGetLatestArchive(env *environment.TestingEnvironment, namespace, podName string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertArchiveWalOnObjectStore ¶
func AssertArchiveWalOnObjectStore( env *environment.TestingEnvironment, testTimeouts map[timeouts.Timeout]int, storeEnv *objectstoreutils.Env, namespace, clusterName, serverName string, )
AssertArchiveWalOnObjectStore triggers a WAL switch and verifies the resulting WAL file is uploaded to the object store within the WalsInObjectStore timeout.
func CheckPointAndSwitchWalOnPrimary ¶
func CheckPointAndSwitchWalOnPrimary(env *environment.TestingEnvironment, namespace, clusterName string) string
CheckPointAndSwitchWalOnPrimary triggers a checkpoint and switches WAL on the primary pod, returning the name of the latest archived WAL file.
func SwitchWalAndGetLatestArchive ¶
func SwitchWalAndGetLatestArchive(env *environment.TestingEnvironment, namespace, podName string) string
SwitchWalAndGetLatestArchive triggers a new WAL and returns the name of the latest WAL file produced.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.