server

package
v2.8.0-nightly.20230914 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 62 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDebugServer

func NewDebugServer(env Env) debug.DebugServer

NewDebugServer creates a new server that serves the debug api over GRPC

func NewDumpFS added in v2.7.0

func NewDumpFS(mountPath string) *dumpFS

Types

type DumpFS added in v2.7.0

type DumpFS interface {
	Write(string, func(io.Writer) error) error
	WithPrefix(string) DumpFS
}

type Env added in v2.8.0

type Env struct {
	DB            *pachsql.DB
	SidecarClient *client.APIClient
	Name          string
	GetLokiClient func() (*loki.Client, error)
	GetKubeClient func() kubernetes.Interface
	Config        pachconfig.Configuration
	TaskService   task.Service

	GetPachClient func(context.Context) *client.APIClient
}

type Worker added in v2.8.0

type Worker struct {
	// contains filtered or unexported fields
}

func NewWorker added in v2.8.0

func NewWorker(env Env) *Worker

func (*Worker) Run added in v2.8.0

func (w *Worker) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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