testutil

package
v0.0.0-rc14 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClientWithTransferState

type FakeClientWithTransferState struct {
	coordinator.CoordinatorNoOp
	// contains filtered or unexported fields
}

FakeClientWithTransferState is a fake controlplane client which stores sharded object transfer state

func NewFakeClientWithTransferState

func NewFakeClientWithTransferState() *FakeClientWithTransferState

func (*FakeClientWithTransferState) GetTransferState

func (c *FakeClientWithTransferState) GetTransferState(transferID string) (map[string]*coordinator.TransferStateData, error)

func (*FakeClientWithTransferState) SetTransferState

func (c *FakeClientWithTransferState) SetTransferState(transferID string, state map[string]*coordinator.TransferStateData) error

Jump to

Keyboard shortcuts

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