testing

package
v1.12.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 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 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

Jump to

Keyboard shortcuts

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