package streaming

import "github.com/containerd/containerd/pkg/transfer/streaming"

Index

Functions

func GenerateID

func GenerateID(prefix string) string

func ReceiveStream

func ReceiveStream(ctx context.Context, stream streaming.Stream) io.Reader

func SendStream

func SendStream(ctx context.Context, r io.Reader, stream streaming.Stream)

func WriteByteStream

func WriteByteStream(ctx context.Context, stream streaming.Stream) io.WriteCloser

Source Files

stream.go writer.go

Version
v1.7.1
Published
May 10, 2023
Platform
js/wasm
Imports
13 packages
Last checked
17 minutes ago

Tools for package owners.