server

package
v2.12.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Overview

Package server implements the identity service gRPC server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIdentityServer

func NewIdentityServer(env Env, public bool, options ...IdentityServerOption) *apiServer

NewIdentityServer returns an implementation of identity.APIServer.

Types

type Env

type Env struct {
	DB                *pachsql.DB
	DexStorage        storage.Storage
	Config            *pachconfig.Configuration
	BackgroundContext context.Context
}

Env is the set of dependencies required by the API server

func EnvFromServiceEnv

func EnvFromServiceEnv(senv serviceenv.ServiceEnv) Env

type IdentityServerOption

type IdentityServerOption func(web *dexWeb)

func UnitTestOption

func UnitTestOption(addr, assetsDir string) IdentityServerOption

Jump to

Keyboard shortcuts

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