Documentation ¶
Index ¶
- type Connector
- func (conn Connector) Download(appendum string, downloadPath string) error
- func (conn Connector) Get(appendum string) ([]byte, error)
- func (conn *Connector) GetToken(appendum string) error
- func (conn *Connector) InitAAKaaS(aAKaaSEndpoint string, username string, password string, ...)
- func (conn Connector) Post(appendum string, importBody string) ([]byte, error)
- func (conn Connector) UploadSarFile(appendum string, sarFile []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct { Client piperhttp.Sender DownloadClient piperhttp.Downloader Header map[string][]string Baseurl string }
Connector : Connector Utility Wrapping http client
func (*Connector) InitAAKaaS ¶
func (conn *Connector) InitAAKaaS(aAKaaSEndpoint string, username string, password string, inputclient piperhttp.Sender)
InitAAKaaS : initializie Connector for communication with AAKaaS backend
Click to show internal directories.
Click to hide internal directories.