Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for prc (0.01 sec)

  1. pkg/kubelet/status/state/checkpoint.go

    }
    
    // MarshalCheckpoint returns marshalled checkpoint
    func (prc *PodResourceAllocationCheckpoint) MarshalCheckpoint() ([]byte, error) {
    	// make sure checksum wasn't set before so it doesn't affect output checksum
    	prc.Checksum = 0
    	prc.Checksum = checksum.New(prc)
    	return json.Marshal(*prc)
    }
    
    // UnmarshalCheckpoint tries to unmarshal passed bytes to checkpoint
    func (prc *PodResourceAllocationCheckpoint) UnmarshalCheckpoint(blob []byte) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top