exec

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

func NewService(
	client backend.ContainerdClient,
	logger flog.Logger,
) exec.Service

NewService creates a new service to run exec processes.

Types

type StdinCloser

type StdinCloser struct {
	Stdin  io.ReadCloser
	Closer func()
	// contains filtered or unexported fields
}

StdinCloser is from https://github.com/containerd/containerd/blob/v1.4.3/cmd/ctr/commands/tasks/exec.go#L181-L194

func (*StdinCloser) Read

func (s *StdinCloser) Read(p []byte) (int, error)

Jump to

Keyboard shortcuts

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