server

package
v2.8.0-nightly.20230907 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 54 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)
	KubeClient    kubernetes.Interface
	Config        pachconfig.Configuration

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

Jump to

Keyboard shortcuts

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