objectstore

package
v1.30.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL