checkpoint

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Data     map[string]*v1alpha1.GetReportContentResponse
	Checksum checksum.Checksum
}

Data holds checkpoint data and its checksum

func (*Data) GetData

func (d *Data) GetData() map[string]*v1alpha1.GetReportContentResponse

func (*Data) MarshalCheckpoint

func (d *Data) MarshalCheckpoint() ([]byte, error)

func (*Data) UnmarshalCheckpoint

func (d *Data) UnmarshalCheckpoint(blob []byte) error

func (*Data) VerifyChecksum

func (d *Data) VerifyChecksum() error

type ReporterManagerCheckpoint

type ReporterManagerCheckpoint interface {
	checkpointmanager.Checkpoint
	GetData() map[string]*v1alpha1.GetReportContentResponse
}

func New

New returns an instance of Checkpoint

Jump to

Keyboard shortcuts

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