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() []PodResourcesEntry
GetData returns resource entries and registered resources
func (*Data) MarshalCheckpoint ¶
MarshalCheckpoint returns marshaled data
func (*Data) UnmarshalCheckpoint ¶
UnmarshalCheckpoint returns unmarshalled data
func (*Data) VerifyChecksum ¶
VerifyChecksum verifies that passed checksum is same as calculated checksum
type PodResourcesEntry ¶
type PodResourcesEntry struct { PodUID string ContainerName string ResourceName string AllocationInfo string }
PodResourcesEntry connects pod information to resources
type ResourceManagerCheckpoint ¶
type ResourceManagerCheckpoint interface { checkpointmanager.Checkpoint GetData() []PodResourcesEntry }
ResourceManagerCheckpoint defines the operations to retrieve pod resources
func New ¶
func New(resEntries []PodResourcesEntry) ResourceManagerCheckpoint
New returns an instance of Checkpoint
Click to show internal directories.
Click to hide internal directories.