api

package
v1.84.2 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 23 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 Create

func Create(config Config, authZ authz.Config, q *query.Queries, authZRepo authz_repo.Repository, authRepo *auth_es.EsRepository, adminRepo *admin_es.EsRepository, sd systemdefaults.SystemDefaults) *API

func (*API) RegisterHandler

func (a *API) RegisterHandler(prefix string, handler http.Handler)

func (*API) RegisterServer

func (a *API) RegisterServer(ctx context.Context, server server.Server)

func (*API) Start

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

type Config

type Config struct {
	GRPC   grpc_util.Config
	OIDC   oidc.OPHandlerConfig
	Domain string
}

type ValidationFunction

type ValidationFunction func(ctx context.Context) error

Jump to

Keyboard shortcuts

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