package checksum

import "k8s.io/kubernetes/pkg/kubelet/checkpointmanager/checksum"

Index

Types

type Checksum

type Checksum uint64

Checksum is the data to be stored as checkpoint

func New

func New(data interface{}) Checksum

New returns the Checksum of checkpoint data

func (Checksum) Verify

func (cs Checksum) Verify(data interface{}) error

Verify verifies that passed checksum is same as calculated checksum

Source Files

checksum.go

Version
v1.26.2
Published
Feb 22, 2023
Platform
linux/amd64
Imports
3 packages
Last checked
15 minutes ago

Tools for package owners.