package limitwriter
import "k8s.io/kubernetes/pkg/util/limitwriter"
Package limitwriter provides a writer that only allows a certain number of bytes to be written.
Index ¶
Variables ¶
ErrMaximumWrite is returned when all bytes have been written.
Functions ¶
func New ¶
New creates a writer that is limited to writing at most n bytes to w. This writer is not thread safe.
Source Files ¶
doc.go limitwriter.go
- Version
- v1.1.4-beta.0
- Published
- Dec 7, 2015
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 40 minutes ago –
Tools for package owners.