Documentation ¶
Index ¶
- Constants
- func AddFileToZip(zipWriter *zip.Writer, filename string) error
- func CreateFileToSend(apiList *wso2v1alpha2.APIList, client *client.Client) error
- func DeleteAPIFromMgw(client *client.Client, api *wso2v1alpha2.API) error
- func DeployAPItoMgw(client *client.Client, api *wso2v1alpha2.API) error
- func ZipFiles(filename string, files []string) error
Constants ¶
View Source
const ( HeaderAuthorization = "Authorization" HeaderAccept = "Accept" HeaderContentType = "Content-Type" HeaderConnection = "Connection" HeaderValueAuthBasicPrefix = "Basic" HeaderValueKeepAlive = "keep-alive" DefaultHttpRequestTimeout = 10000 )
Variables ¶
This section is empty.
Functions ¶
func CreateFileToSend ¶
func CreateFileToSend(apiList *wso2v1alpha2.APIList, client *client.Client) error
CreateFileToSend creates the zipped file with all the APIs
func DeleteAPIFromMgw ¶
func DeleteAPIFromMgw(client *client.Client, api *wso2v1alpha2.API) error
DeleteAPIFromMgw deletes the API from the MGW Adapter
func DeployAPItoMgw ¶
func DeployAPItoMgw(client *client.Client, api *wso2v1alpha2.API) error
Deploy API to Envoy Micro-gateway Adapter using zip file or swagger
Types ¶
This section is empty.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
server
|
|
api/restserver
Package restserver Internal Utility API This document specifies a **RESTful API** for allowing you to access internal data .
|
Package restserver Internal Utility API This document specifies a **RESTful API** for allowing you to access internal data . |
Click to show internal directories.
Click to hide internal directories.