urbo

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Urbo

type Urbo struct {
	URL               *url.URL
	Username, Service string
	ScopeService      string
}

Keystone manages Requests to the Identity Manager

func New

func New(urboURL string, username, service, scopeService string) (*Urbo, error)

New Urbo client instance

func (*Urbo) DownloadPanel added in v0.3.2

func (u *Urbo) DownloadPanel(client keystone.HTTPClient, headers http.Header, slug string) (json.RawMessage, error)

DownloadPanel reads a single panel

func (*Urbo) GetVerticals added in v0.3.2

func (u *Urbo) GetVerticals(client keystone.HTTPClient, headers http.Header) (map[string]fiware.UrboVertical, error)

GetVerticals reads the list of verticals from Urbo

func (*Urbo) Headers

func (u *Urbo) Headers(token string) (http.Header, error)

func (*Urbo) Login

func (u *Urbo) Login(client keystone.HTTPClient, password string) (string, error)

func (*Urbo) Panels

func (u *Urbo) Panels(client keystone.HTTPClient, headers http.Header) (map[string]fiware.UrboPanel, error)

Rules reads the list of rules from Perseo

func (*Urbo) PostVerticals added in v0.3.2

func (u *Urbo) PostVerticals(client keystone.HTTPClient, headers http.Header, verticals map[string]fiware.UrboVertical) error

PostVerticals reads the list of verticals from Urbo

func (*Urbo) UploadPanel added in v0.3.2

func (u *Urbo) UploadPanel(client keystone.HTTPClient, headers http.Header, panel json.RawMessage) error

DownloadPanel reads a single panel

Jump to

Keyboard shortcuts

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