package
0.0.0-20241210054802-24370beab758
Repository: https://github.com/kubernetes/utils.git
Documentation: pkg.go.dev

# README

IO

This package provides interfaces for working with file IO. Currently it provides functionality for consistently reading a file.

# Functions

ConsistentRead repeatedly reads a file until it gets the same content twice.
No description provided by the author
ReadAtMost reads up to `limit` bytes from `r`, and reports an error when `limit` bytes are read.

# Variables

ErrLimitReached means that the read limit is reached.

# Structs

InconsistentReadError is returned from ConsistentRead when it cannot get a consistent read in given nr.