package checkpoint
import "k8s.io/kubernetes/pkg/kubelet/cm/devicemanager/checkpoint"
Index ¶
- type Data
- func (cp *Data) GetData() ([]PodDevicesEntry, map[string][]string)
- func (cp *Data) MarshalCheckpoint() ([]byte, error)
- func (cp *Data) UnmarshalCheckpoint(blob []byte) error
- func (cp *Data) VerifyChecksum() error
- type DeviceManagerCheckpoint
- type PodDevicesEntry
Types ¶
type Data ¶
func (*Data) GetData ¶
func (cp *Data) GetData() ([]PodDevicesEntry, map[string][]string)
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) }
func New ¶
func New(devEntries []PodDevicesEntry, devices map[string][]string) DeviceManagerCheckpoint
NewDeviceManagerCheckpoint returns an instance of Checkpoint
type PodDevicesEntry ¶
type PodDevicesEntry struct { PodUID string ContainerName string ResourceName string DeviceIDs []string AllocResp []byte }
Source Files ¶
checkpoint.go
- Version
- v1.13.9
- Published
- Aug 1, 2019
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 2 seconds ago –
Tools for package owners.