envoy

package
v0.0.0-...-036f9fd Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

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 AddFileToZip

func AddFileToZip(zipWriter *zip.Writer, filename string) error

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

func ZipFiles

func ZipFiles(filename string, files []string) error

ZipFiles compresses one or many files into a single zip archive file. Param 1: filename is the output zip file's name. Param 2: files is a list of files to add to the zip.

Types

This section is empty.

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 .

Jump to

Keyboard shortcuts

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