exec

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers(r types.VersionedRouter, service Service, conf *config.Config, logger flog.Logger)

RegisterHandlers registers all the supported endpoints related to exec APIs.

Types

type Service

type Service interface {
	Start(ctx context.Context, options *types.ExecStartOptions) error
	Resize(ctx context.Context, options *types.ExecResizeOptions) error
	Inspect(ctx context.Context, conId string, execId string) (*types.ExecInspect, error)
}

Jump to

Keyboard shortcuts

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