Documentation ¶
Index ¶
- func NewCustomTestSnapshot(snapshotStore clustersnapshot.ClusterSnapshotStore) (clustersnapshot.ClusterSnapshot, error)
- func NewCustomTestSnapshotOrDie(t testFailer, snapshotStore clustersnapshot.ClusterSnapshotStore) clustersnapshot.ClusterSnapshot
- func NewTestSnapshot() (clustersnapshot.ClusterSnapshot, error)
- func NewTestSnapshotOrDie(t testFailer) clustersnapshot.ClusterSnapshot
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.
Click to show internal directories.
Click to hide internal directories.