Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
Data holds checkpoint data and its checksum
func (*Data) GetData ¶
func (cp *Data) GetData() ([]PodDevicesEntry, map[string][]string)
GetData returns device entries and registered devices
func (*Data) MarshalCheckpoint ¶
MarshalCheckpoint returns marshalled data
func (*Data) UnmarshalCheckpoint ¶
UnmarshalCheckpoint returns unmarshalled data
func (*Data) VerifyChecksum ¶
VerifyChecksum verifies that passed checksum is same as calculated checksum
type DeviceManagerCheckpoint ¶
type DeviceManagerCheckpoint interface { checkpointmanager.Checkpoint GetData() ([]PodDevicesEntry, map[string][]string) }
DeviceManagerCheckpoint defines the operations to retrieve pod devices
func New ¶
func New(devEntries []PodDevicesEntry, devices map[string][]string) DeviceManagerCheckpoint
New returns an instance of Checkpoint
Click to show internal directories.
Click to hide internal directories.