package
0.0.0-20240909034204-207f58c0b9a3
Repository: https://github.com/chnsz/golangsdk.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Create is a method by which to create function that create a new custom API.
Delete is a method to delete an existing custom API.
ExtractApis is a method to extract an response struct list.
ExtractHistories is a method which to extract the response to a version information list.
Get is a method to obtain the specified API according to the instanceId and API ID.
GetVersionDetail is a method to obtains a publish detail of the API for special version.
List is a method to obtain an array of one or more APIs according to the query parameters.
ListPublishHistories is a method to obtains a list of publish histories of the API.
ToPublishOptsMap is a method which to publish a new version or offline an exist version for API.
SwitchSpecVersion is a method which to switch a specified version.
Update is a method to update an existing custom API.
# Structs
APIConditionBase is an object which will be build up a policy condition.
APIOpts is a struct which will be used to create a new API or update an existing API.
APIPage represents the api pages of the List operation.
APIResp is a struct that represents the result of Create, Update, Get and List methods.
ApiVersionInfo is a struct that represents the result of ExtractHistories operation.
AuthOpt is an object which will be build up an APIG application authorization.
BackendParamBase is an object which will be build up a back-end parameter.
BackendParamResp is an object struct that represents the elements of the back-end parameter.
CreateResult represents a result of the Create method.
DeleteResult represents a result of the Delete method.
FuncGraph is an object which will be build up a function graph backend.
GetResult represents a result of the Get method.
ListOpts allows to filter list data using given parameters.
ListPublishHistoriesOpts allows to obtains a list of publish histories using given parameters.
Mock is an object which will be build up a mock backend.
PolicyFuncGraph is an object which will be build up a backend policy of the function graph.
PolicyFuncGraphResp is an object struct that represents the back-end policy of function graph.
PolicyMock is an object which will be build up a backend policy of the mock.
PolicyMockResp is an object struct that represents the back-end policy of mock.
PolicyWeb is an object which will be build up a backend policy of the http.
PolicyWebResp is an object struct that represents the back-end policy of http and https.
PublishHistoriesPage represents the publish history pages of the ListPublishHistories operation.
PublishOpts allows to publish a new version or offline an exist version for API using given parameters.
PublishResp is a struct that represents the result of extract operation.
PublishResult represents a result of the Publish method.
ReqParamBase is an object which will be build up a front-end request parameter.
ReqParamResp is an object struct that represents the elements of the front-end request parameter.
UpdateResult represents a result of the Update method.
VersionSwitchOpts allows to switch a specified version using version ID.
VpcChannel is an object which will be build up a vpc channel.
Web is an object which will be build up a http backend.
# Interfaces
APIOptsBuilder is an interface which to support request body build of the API creation and updation.
ListOptsBuilder is an interface which to support request query build of the API search.
ListPublishHistoriesBuilder is an interface which to support request query build of the publish histories search.
PublishOptsBuilder is an interface which to support request body build of the API publish method.
VersionSwitchOptsBuilder is an interface which to support request body build of the API version switch method.