handler

package
v0.0.0-...-6a3170c Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	Read(buf []byte) (int, error)
	GetPID() int
	Wait() <-chan error
	ExitCode() int
	Start() error
}

type Handler

type Handler struct {
	executorpb.UnimplementedExecutorServer
	// contains filtered or unexported fields
}

Handler is the API set of the executor.

func NewHandler

func NewHandler() *Handler

NewHandler creates a new Handler.

func (*Handler) GetCommandLog

func (*Handler) StartCommand

func (*Handler) WaitCommand

type User

type User struct {
	*user.User
	// PosixUid is the user's uid, available on POSIX systems.
	PosixUid int
	// PosixGid is the user's gid, available on POSIX systems.
	PosixGid int
}

Jump to

Keyboard shortcuts

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