api

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

func ProvideAPI

func ProvideAPI(
	httpServer *httpx.Server,
	snapshotterQueue worker_snapshots.Queue,
	ciBuildQueue *workers_ci.BuildQueue,
	gcQueue *worker_gc.Queue,
	gitsrv *gitserver.Server,
	pprof *pprof.Server,
	metrics *metrics.Server,
) *API

func (*API) Start

func (a *API) Start(ctx context.Context) error

type Starter

type Starter interface {
	Start(context.Context) error
}

Directories

Path Synopsis
enterprise

Jump to

Keyboard shortcuts

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