api

package
v0.13.40 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NotAuthorized = notAuthorized{}

Functions

This section is empty.

Types

type AuthFailure

type AuthFailure struct {
	// contains filtered or unexported fields
}

func (AuthFailure) Error

func (e AuthFailure) Error() string

type Client

type Client interface {
	Login(info map[string]interface{}, configTypes []string) (*edge.ApiSession, error)
	Refresh() (*time.Time, error)
	GetServices() ([]*edge.Service, error)
	CreateSession(svcId string, kind edge.SessionType) (*edge.Session, error)
	RefreshSession(id string) (*edge.Session, error)
}

func NewClient

func NewClient(ctrl *url.URL, tlsCfg *tls.Config) (Client, error)

type NotAccessible

type NotAccessible struct {
	// contains filtered or unexported fields
}

func (NotAccessible) Error

func (e NotAccessible) Error() string

type NotFound added in v0.13.35

type NotFound NotAccessible

func (NotFound) Error added in v0.13.35

func (e NotFound) Error() string

Jump to

Keyboard shortcuts

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