Versions in this module Expand all Collapse all v0 v0.9.3 Apr 23, 2024 Changes in this version type ApiResp + ContentType string + CustomApiId string + DomainName string + RomaAppId string + RomaAppName string type CreateOpts + ContentType string + DomainName string + RomaAppId string type FuncInfo + AuthorizerID string + type ListHistoryOpts struct + EnvID string + EnvName string + Limit int + Offset int64 type ManageApiResp + func SwitchVersion(client *golangsdk.ServiceClient, opts VersionApiOpts) (*ManageApiResp, error) type MockInfo + Response string type PolicyMocks + AuthorizerID string + Response string + type VersionApiOpts struct + ApiID string + GatewayID string + VersionID string + type VersionPage struct + type VersionResp struct + ApiID string + Description string + EnvID string + EnvName string + PublishTime string + Status int + Version string + VersionID string + func ExtractVersions(r pagination.NewPage) ([]VersionResp, error) + func GetHistory(client *golangsdk.ServiceClient, gatewayID, apiID string, opts ListHistoryOpts) ([]VersionResp, error) v0.9.2 Mar 22, 2024 v0.9.1 Mar 14, 2024 v0.9.0 Mar 6, 2024 Changes in this version + func Delete(client *golangsdk.ServiceClient, gatewayID, envID string) (err error) + type ApiGroupInfo struct + ID string + Name string + OnSellStatus int + RegisterTime string + SlDomain string + Status int + UpdateTime string + UrlDomains []UrlDomains + type ApiResp struct + ApiGroupInfo *ApiGroupInfo + ArrangeNecessary int + AuthOpt *AuthOpt + AuthType string + AuthorizerID string + BackendApi *BackendApi + BackendParams []BackendParams + BackendType string + BodyDescription string + Cors bool + Description string + FuncInfo *FuncInfo + GroupID string + GroupName string + GroupVersion string + ID string + MatchMode string + MockInfo *MockInfo + Name string + PolicyFunctions []PolicyFunctions + PolicyHttps []PolicyHttps + PolicyMocks []PolicyMocks + PublishID string + PublishTime string + RegisterTime string + ReqMethod string + ReqParams []ReqParams + ReqProtocol string + ReqUri string + ResponseID string + ResultFailureSample string + ResultNormalSample string + RunEnvId string + RunEnvName string + Status int + Tags []string + Type int + UpdateTime string + Version string + func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*ApiResp, error) + func ExtractEnvs(r pagination.NewPage) ([]ApiResp, error) + func Get(client *golangsdk.ServiceClient, gatewayID, apiID string) (*ApiResp, error) + func List(client *golangsdk.ServiceClient, opts ListOpts) ([]ApiResp, error) + func Update(client *golangsdk.ServiceClient, apiID string, opts CreateOpts) (*ApiResp, error) + type AuthOpt struct + AppCodeAuthType string + type BackendApi struct + AuthorizerID string + Description string + EnableClientSSL *bool + ReqMethod string + ReqProtocol string + ReqUri string + RetryCount string + Timeout int + UrlDomain string + Version string + VpcChannelInfo *VpcChannelInfo + VpcChannelStatus *int + type BackendParams struct + Description string + Location string + Name string + Origin string + Value string + type Conditions struct + ConditionOrigin string + ConditionType string + ConditionValue string + ReqParamName string + type CreateOpts struct + AuthOpt *AuthOpt + AuthType string + AuthorizerID string + BackendApi *BackendApi + BackendParams []BackendParams + BackendType string + BodyDescription string + Cors bool + Description string + FuncInfo *FuncInfo + GatewayID string + GroupID string + MatchMode string + MockInfo *MockInfo + Name string + PolicyFunctions []PolicyFunctions + PolicyHttps []PolicyHttps + PolicyMocks []PolicyMocks + ReqMethod string + ReqParams []ReqParams + ReqProtocol string + ReqUri string + ResponseID string + ResultFailureSample string + ResultNormalSample string + Tags []string + Type int + Version string + type EnvPage struct + type FuncInfo struct + AliasUrn string + Description string + FunctionUrn string + InvocationType string + NetworkType string + Timeout int + Version string + type ListOpts struct + AuthType string + EnvID string + GatewayID string + GroupID string + ID string + Name string + PreciseSearch string + ReqMethod string + ReqProtocol string + ReqUri string + Type int + type ManageApiResp struct + ApiID string + ApiName string + Description string + EnvID string + PublishID string + PublishTime string + VersionID string + func ManageApi(client *golangsdk.ServiceClient, opts ManageOpts) (*ManageApiResp, error) + type ManageOpts struct + Action string + ApiID string + Description string + EnvID string + GatewayID string + type MockInfo struct + AuthorizerID string + Description string + ResultContent string + Version string + type PolicyFunctions struct + AliasUrn string + AuthorizerID string + BackendParams []BackendParams + Conditions []Conditions + EffectMode string + FunctionUrn string + InvocationType string + Name string + NetworkType string + Timeout int + Version string + type PolicyHttps struct + AuthorizerID string + BackendParams []BackendParams + Conditions []Conditions + EffectMode string + Name string + ReqMethod string + ReqProtocol string + ReqUri string + RetryCount string + Timeout *int + UrlDomain string + VpcChannelInfo *VpcChannelInfo + VpcChannelStatus *int + type PolicyMocks struct + BackendParams []BackendParams + Conditions []Conditions + EffectMode string + Name string + ResultContent string + type ReqParams struct + DefaultValue string + Description string + Enumerations string + JsonSchema string + Location string + MaxNum *int + MaxSize *int + MinNum *int + MinSize *int + Name string + PassThrough *int + Regular string + Required *int + SampleValue string + Type string + ValidEnable *int + type UrlDomains struct + CnameStatus int + Domain string + HasTrustedCa bool + ID string + MinSslVersion string + SslID string + SslName string + VfClientCertEnabled bool + type VpcChannelInfo struct + VpcChannelID string + VpcChannelProxyHost string