server

package
v2.7.0-nightly.20230526 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 16 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           *serviceenv.Configuration
	EnterpriseServer enterprise.APIServer
}

Env is the dependencies required for a license API Server

func EnvFromServiceEnv

func EnvFromServiceEnv(senv serviceenv.ServiceEnv) *Env

Jump to

Keyboard shortcuts

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