util

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFile

func ReadFile(path string) ([]byte, error)

Types

type ProgressReader

type ProgressReader struct {
	Log        logr.Logger
	Underlying io.Reader
	TotalSize  int64
	// contains filtered or unexported fields
}

func (*ProgressReader) Read

func (r *ProgressReader) Read(p []byte) (int, error)

type ProgressWriter

type ProgressWriter struct {
	Log        logr.Logger
	Underlying io.Writer
	TotalSize  int64
	// contains filtered or unexported fields
}

func (*ProgressWriter) Write

func (w *ProgressWriter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL