openapiserver

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(connController *ConnectorController) *gin.Engine

NewRouter returns a new router.

Types

type ConnectorController

type ConnectorController struct {
	OpaServerURL  string
	OpaReader     *opabl.OpaReader
	CatalogReader *opabl.CatalogReader
}

func (*ConnectorController) GetPoliciesDecisions

func (e *ConnectorController) GetPoliciesDecisions(c *gin.Context)

type PolicyManagerRequest

type PolicyManagerRequest = base.PolicyManagerRequest

type PolicyManagerResponse

type PolicyManagerResponse = base.PolicyManagerResponse

Jump to

Keyboard shortcuts

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