api

package
v1.56.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API added in v0.52.0

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

func Create added in v0.52.0

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

func (*API) RegisterHandler added in v0.52.0

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

func (*API) RegisterServer added in v0.52.0

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

func (*API) Start added in v0.52.0

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

type Config added in v0.52.0

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

type ValidationFunction added in v0.75.0

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