keto

package
v0.0.0-...-643f1d8 Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeletePolicy

func DeletePolicy(uri string) error

DeletePolicy DELETE request to keto server to delete policy

func GetPolicy

func GetPolicy(path string) (*http.Response, error)

KetoGetRequest does get request to keto with empty body

func UpdatePolicy

func UpdatePolicy(uri string, body *model.KetoPolicy) error

UpdatePolicy PUT request to keto server to update the policy

func UpdateRole

func UpdateRole(uri string, body *model.Role) error

UpdateRole PUT Request to the keto server for policy

Types

This section is empty.

Jump to

Keyboard shortcuts

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