svc

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractRequestFields

func ExtractRequestFields(fullMethod string, req interface{}) map[string]interface{}

func SetHTTPStatusCode

func SetHTTPStatusCode(ctx context.Context, code int)

Types

type CerbosAdminService

type CerbosAdminService struct {
	*svcv1.UnimplementedCerbosAdminServiceServer
	// contains filtered or unexported fields
}

CerbosAdminService implements the Cerbos administration service.

func NewCerbosAdminService

func NewCerbosAdminService(store storage.Store, auditLog audit.Log, adminUser string, adminPasswdHash []byte) *CerbosAdminService

func (*CerbosAdminService) AddOrUpdatePolicy

func (*CerbosAdminService) ListPolicies added in v0.7.0

type CerbosPlaygroundService

type CerbosPlaygroundService struct {
	*svcv1.UnimplementedCerbosPlaygroundServiceServer
	// contains filtered or unexported fields
}

CerbosPlaygroundService implements the playground API.

func NewCerbosPlaygroundService

func NewCerbosPlaygroundService() *CerbosPlaygroundService

func (*CerbosPlaygroundService) PlaygroundEvaluate

func (*CerbosPlaygroundService) PlaygroundProxy added in v0.5.0

func (*CerbosPlaygroundService) PlaygroundValidate

type CerbosService

type CerbosService struct {
	*svcv1.UnimplementedCerbosServiceServer
	// contains filtered or unexported fields
}

CerbosService implements the policy checking service.

func NewCerbosService

func NewCerbosService(eng *engine.Engine, auxData *auxdata.AuxData) *CerbosService

func (CerbosService) ServerInfo added in v0.5.0

Jump to

Keyboard shortcuts

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