var _ … type PodResourceAllocationInfo … type Checkpoint … // NewCheckpoint creates a new checkpoint from a list of claim info states func NewCheckpoint(allocations *PodResourceAllocationInfo) (*Checkpoint, error) { … } func (cp *Checkpoint) MarshalCheckpoint() ([]byte, error) { … } // UnmarshalCheckpoint unmarshals checkpoint from JSON func (cp *Checkpoint) UnmarshalCheckpoint(blob []byte) error { … } // VerifyChecksum verifies that current checksum // of checkpointed Data is valid func (cp *Checkpoint) VerifyChecksum() error { … } // GetPodResourceAllocationInfo returns Pod Resource Allocation info states from checkpoint func (cp *Checkpoint) GetPodResourceAllocationInfo() (*PodResourceAllocationInfo, error) { … }