server

package
v2.9.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectionsV0

func CollectionsV0() []col.PostgresCollection

DO NOT MODIFY THIS FUNCTION IT HAS BEEN USED IN A RELEASED MIGRATION

func New

func New(env *Env) (*apiServer, error)

New returns an implementation of license.APIServer, and a function that bootstraps the license server via environment.

Types

type Env

type Env struct {
	DB               *pachsql.DB
	Listener         collection.PostgresListener
	Config           *pachconfig.Configuration
	EnterpriseServer enterprise.APIServer
}

Env is the dependencies required for a license API Server

Jump to

Keyboard shortcuts

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