perseo

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Perseo

type Perseo struct {
	URL                *url.URL
	AllowUnknownFields bool
}

Perseo manages connections to Perseo API

func New

func New(perseoURL string) (*Perseo, error)

New Perseo API instance

func (*Perseo) DeleteRules

func (o *Perseo) DeleteRules(client keystone.HTTPClient, headers http.Header, rules []fiware.Rule) error

DeleteRules deletes a list of rules from Perseo

func (*Perseo) PostRules

func (o *Perseo) PostRules(client keystone.HTTPClient, headers http.Header, rules []fiware.Rule) error

PostRules posts a list of rules to Perseo

func (*Perseo) Rules

func (o *Perseo) Rules(client keystone.HTTPClient, headers http.Header) ([]fiware.Rule, error)

Rules reads the list of rules from Perseo

Jump to

Keyboard shortcuts

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