apiserverk8s.io/apiserver/pkg/util/flushwriter Index | Files

package flushwriter

import "k8s.io/apiserver/pkg/util/flushwriter"

Package flushwriter implements a wrapper for a writer that flushes on every write if that writer implements the io.Flusher interface

Index

Functions

func Wrap

func Wrap(w io.Writer) io.Writer

Wrap wraps an io.Writer into a writer that flushes after every write if the writer implements the Flusher interface.

Source Files

doc.go writer.go

Version
v0.33.1 (latest)
Published
May 15, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
5 hours ago

Tools for package owners.