testsnapshot

package
v0.0.0-...-148ffa3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCustomTestSnapshot

func NewCustomTestSnapshot(snapshotStore clustersnapshot.ClusterSnapshotStore) (clustersnapshot.ClusterSnapshot, error)

NewCustomTestSnapshot returns an instance of ClusterSnapshot with a specific ClusterSnapshotStore that can be used in tests.

func NewCustomTestSnapshotOrDie

func NewCustomTestSnapshotOrDie(t testFailer, snapshotStore clustersnapshot.ClusterSnapshotStore) clustersnapshot.ClusterSnapshot

NewCustomTestSnapshotOrDie returns an instance of ClusterSnapshot with a specific ClusterSnapshotStore that can be used in tests.

func NewTestSnapshot

func NewTestSnapshot() (clustersnapshot.ClusterSnapshot, error)

NewTestSnapshot returns an instance of ClusterSnapshot that can be used in tests.

func NewTestSnapshotOrDie

func NewTestSnapshotOrDie(t testFailer) clustersnapshot.ClusterSnapshot

NewTestSnapshotOrDie returns an instance of ClusterSnapshot that can be used in tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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