authz

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	IsAllowed(dreq *DecisionRequest) (bool, error)
}

func New

func New(conf *config.Config) Client

type DecisionRequest

type DecisionRequest struct {
	Method string   `json:"method"`
	Path   []string `json:"path"`
	Owner  string   `json:"owner"`
	User   string   `json:"user"`
	TaskID string   `json:"taskid"`
}

Jump to

Keyboard shortcuts

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