Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCheckpoint ¶
type MockCheckpoint struct {
Content string
}
MockCheckpoint struct is used for mocking checkpoint values in testing
func (*MockCheckpoint) MarshalCheckpoint ¶
func (mc *MockCheckpoint) MarshalCheckpoint() ([]byte, error)
MarshalCheckpoint returns fake content
func (*MockCheckpoint) UnmarshalCheckpoint ¶
func (mc *MockCheckpoint) UnmarshalCheckpoint(blob []byte) error
UnmarshalCheckpoint fakes unmarshaling
func (*MockCheckpoint) VerifyChecksum ¶
func (mc *MockCheckpoint) VerifyChecksum() error
VerifyChecksum fakes verifying checksum
Click to show internal directories.
Click to hide internal directories.