Documentation ¶
Index ¶
- func EdgeSecClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForApplyHttpPolicy() *def.HttpRequestDef
- func GenReqDefForCreateDomains() *def.HttpRequestDef
- func GenReqDefForCreateHttpPolicy() *def.HttpRequestDef
- func GenReqDefForDeleteDomains() *def.HttpRequestDef
- func GenReqDefForDeleteHttpPolicy() *def.HttpRequestDef
- func GenReqDefForShowDomainDetail() *def.HttpRequestDef
- func GenReqDefForShowDomains() *def.HttpRequestDef
- func GenReqDefForShowHttpPolicies() *def.HttpRequestDef
- func GenReqDefForShowHttpPolicy() *def.HttpRequestDef
- func GenReqDefForUpdateDomains() *def.HttpRequestDef
- func GenReqDefForUpdateHttpPolicy() *def.HttpRequestDef
- func GenReqDefForUpdateHttpPolicyRuleStatus() *def.HttpRequestDef
- type ApplyHttpPolicyInvoker
- type CreateDomainsInvoker
- type CreateHttpPolicyInvoker
- type DeleteDomainsInvoker
- type DeleteHttpPolicyInvoker
- type EdgeSecClient
- func (c *EdgeSecClient) ApplyHttpPolicy(request *model.ApplyHttpPolicyRequest) (*model.ApplyHttpPolicyResponse, error)
- func (c *EdgeSecClient) ApplyHttpPolicyInvoker(request *model.ApplyHttpPolicyRequest) *ApplyHttpPolicyInvoker
- func (c *EdgeSecClient) CreateDomains(request *model.CreateDomainsRequest) (*model.CreateDomainsResponse, error)
- func (c *EdgeSecClient) CreateDomainsInvoker(request *model.CreateDomainsRequest) *CreateDomainsInvoker
- func (c *EdgeSecClient) CreateHttpPolicy(request *model.CreateHttpPolicyRequest) (*model.CreateHttpPolicyResponse, error)
- func (c *EdgeSecClient) CreateHttpPolicyInvoker(request *model.CreateHttpPolicyRequest) *CreateHttpPolicyInvoker
- func (c *EdgeSecClient) DeleteDomains(request *model.DeleteDomainsRequest) (*model.DeleteDomainsResponse, error)
- func (c *EdgeSecClient) DeleteDomainsInvoker(request *model.DeleteDomainsRequest) *DeleteDomainsInvoker
- func (c *EdgeSecClient) DeleteHttpPolicy(request *model.DeleteHttpPolicyRequest) (*model.DeleteHttpPolicyResponse, error)
- func (c *EdgeSecClient) DeleteHttpPolicyInvoker(request *model.DeleteHttpPolicyRequest) *DeleteHttpPolicyInvoker
- func (c *EdgeSecClient) ShowDomainDetail(request *model.ShowDomainDetailRequest) (*model.ShowDomainDetailResponse, error)
- func (c *EdgeSecClient) ShowDomainDetailInvoker(request *model.ShowDomainDetailRequest) *ShowDomainDetailInvoker
- func (c *EdgeSecClient) ShowDomains(request *model.ShowDomainsRequest) (*model.ShowDomainsResponse, error)
- func (c *EdgeSecClient) ShowDomainsInvoker(request *model.ShowDomainsRequest) *ShowDomainsInvoker
- func (c *EdgeSecClient) ShowHttpPolicies(request *model.ShowHttpPoliciesRequest) (*model.ShowHttpPoliciesResponse, error)
- func (c *EdgeSecClient) ShowHttpPoliciesInvoker(request *model.ShowHttpPoliciesRequest) *ShowHttpPoliciesInvoker
- func (c *EdgeSecClient) ShowHttpPolicy(request *model.ShowHttpPolicyRequest) (*model.ShowHttpPolicyResponse, error)
- func (c *EdgeSecClient) ShowHttpPolicyInvoker(request *model.ShowHttpPolicyRequest) *ShowHttpPolicyInvoker
- func (c *EdgeSecClient) UpdateDomains(request *model.UpdateDomainsRequest) (*model.UpdateDomainsResponse, error)
- func (c *EdgeSecClient) UpdateDomainsInvoker(request *model.UpdateDomainsRequest) *UpdateDomainsInvoker
- func (c *EdgeSecClient) UpdateHttpPolicy(request *model.UpdateHttpPolicyRequest) (*model.UpdateHttpPolicyResponse, error)
- func (c *EdgeSecClient) UpdateHttpPolicyInvoker(request *model.UpdateHttpPolicyRequest) *UpdateHttpPolicyInvoker
- func (c *EdgeSecClient) UpdateHttpPolicyRuleStatus(request *model.UpdateHttpPolicyRuleStatusRequest) (*model.UpdateHttpPolicyRuleStatusResponse, error)
- func (c *EdgeSecClient) UpdateHttpPolicyRuleStatusInvoker(request *model.UpdateHttpPolicyRuleStatusRequest) *UpdateHttpPolicyRuleStatusInvoker
- type ShowDomainDetailInvoker
- type ShowDomainsInvoker
- type ShowHttpPoliciesInvoker
- type ShowHttpPolicyInvoker
- type UpdateDomainsInvoker
- type UpdateHttpPolicyInvoker
- type UpdateHttpPolicyRuleStatusInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EdgeSecClientBuilder ¶
func EdgeSecClientBuilder() *httpclient.HcHttpClientBuilder
func GenReqDefForApplyHttpPolicy ¶ added in v0.1.116
func GenReqDefForApplyHttpPolicy() *def.HttpRequestDef
func GenReqDefForCreateDomains ¶
func GenReqDefForCreateDomains() *def.HttpRequestDef
func GenReqDefForCreateHttpPolicy ¶ added in v0.1.116
func GenReqDefForCreateHttpPolicy() *def.HttpRequestDef
func GenReqDefForDeleteDomains ¶
func GenReqDefForDeleteDomains() *def.HttpRequestDef
func GenReqDefForDeleteHttpPolicy ¶ added in v0.1.116
func GenReqDefForDeleteHttpPolicy() *def.HttpRequestDef
func GenReqDefForShowDomainDetail ¶
func GenReqDefForShowDomainDetail() *def.HttpRequestDef
func GenReqDefForShowDomains ¶
func GenReqDefForShowDomains() *def.HttpRequestDef
func GenReqDefForShowHttpPolicies ¶ added in v0.1.116
func GenReqDefForShowHttpPolicies() *def.HttpRequestDef
func GenReqDefForShowHttpPolicy ¶ added in v0.1.116
func GenReqDefForShowHttpPolicy() *def.HttpRequestDef
func GenReqDefForUpdateDomains ¶
func GenReqDefForUpdateDomains() *def.HttpRequestDef
func GenReqDefForUpdateHttpPolicy ¶ added in v0.1.116
func GenReqDefForUpdateHttpPolicy() *def.HttpRequestDef
func GenReqDefForUpdateHttpPolicyRuleStatus ¶ added in v0.1.116
func GenReqDefForUpdateHttpPolicyRuleStatus() *def.HttpRequestDef
Types ¶
type ApplyHttpPolicyInvoker ¶ added in v0.1.116
type ApplyHttpPolicyInvoker struct {
*invoker.BaseInvoker
}
func (*ApplyHttpPolicyInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ApplyHttpPolicyInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ApplyHttpPolicyInvoker) Invoke ¶ added in v0.1.116
func (i *ApplyHttpPolicyInvoker) Invoke() (*model.ApplyHttpPolicyResponse, error)
type CreateDomainsInvoker ¶
type CreateDomainsInvoker struct {
*invoker.BaseInvoker
}
func (*CreateDomainsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *CreateDomainsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*CreateDomainsInvoker) Invoke ¶
func (i *CreateDomainsInvoker) Invoke() (*model.CreateDomainsResponse, error)
type CreateHttpPolicyInvoker ¶ added in v0.1.116
type CreateHttpPolicyInvoker struct {
*invoker.BaseInvoker
}
func (*CreateHttpPolicyInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *CreateHttpPolicyInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*CreateHttpPolicyInvoker) Invoke ¶ added in v0.1.116
func (i *CreateHttpPolicyInvoker) Invoke() (*model.CreateHttpPolicyResponse, error)
type DeleteDomainsInvoker ¶
type DeleteDomainsInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteDomainsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DeleteDomainsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DeleteDomainsInvoker) Invoke ¶
func (i *DeleteDomainsInvoker) Invoke() (*model.DeleteDomainsResponse, error)
type DeleteHttpPolicyInvoker ¶ added in v0.1.116
type DeleteHttpPolicyInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteHttpPolicyInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DeleteHttpPolicyInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DeleteHttpPolicyInvoker) Invoke ¶ added in v0.1.116
func (i *DeleteHttpPolicyInvoker) Invoke() (*model.DeleteHttpPolicyResponse, error)
type EdgeSecClient ¶
type EdgeSecClient struct {
HcClient *httpclient.HcHttpClient
}
func NewEdgeSecClient ¶
func NewEdgeSecClient(hcClient *httpclient.HcHttpClient) *EdgeSecClient
func (*EdgeSecClient) ApplyHttpPolicy ¶ added in v0.1.116
func (c *EdgeSecClient) ApplyHttpPolicy(request *model.ApplyHttpPolicyRequest) (*model.ApplyHttpPolicyResponse, error)
ApplyHttpPolicy 更新防护策略的域名
更新防护策略的域名
Please refer to HUAWEI cloud API Explorer for details.
func (*EdgeSecClient) ApplyHttpPolicyInvoker ¶ added in v0.1.116
func (c *EdgeSecClient) ApplyHttpPolicyInvoker(request *model.ApplyHttpPolicyRequest) *ApplyHttpPolicyInvoker
ApplyHttpPolicyInvoker 更新防护策略的域名
func (*EdgeSecClient) CreateDomains ¶
func (c *EdgeSecClient) CreateDomains(request *model.CreateDomainsRequest) (*model.CreateDomainsResponse, error)
CreateDomains 创建防护域名
创建防护域名
Please refer to HUAWEI cloud API Explorer for details.
func (*EdgeSecClient) CreateDomainsInvoker ¶
func (c *EdgeSecClient) CreateDomainsInvoker(request *model.CreateDomainsRequest) *CreateDomainsInvoker
CreateDomainsInvoker 创建防护域名
func (*EdgeSecClient) CreateHttpPolicy ¶ added in v0.1.116
func (c *EdgeSecClient) CreateHttpPolicy(request *model.CreateHttpPolicyRequest) (*model.CreateHttpPolicyResponse, error)
CreateHttpPolicy 创建防护策略
创建防护策略
Please refer to HUAWEI cloud API Explorer for details.
func (*EdgeSecClient) CreateHttpPolicyInvoker ¶ added in v0.1.116
func (c *EdgeSecClient) CreateHttpPolicyInvoker(request *model.CreateHttpPolicyRequest) *CreateHttpPolicyInvoker
CreateHttpPolicyInvoker 创建防护策略
func (*EdgeSecClient) DeleteDomains ¶
func (c *EdgeSecClient) DeleteDomains(request *model.DeleteDomainsRequest) (*model.DeleteDomainsResponse, error)
DeleteDomains 删除防护域名
删除防护域名
Please refer to HUAWEI cloud API Explorer for details.
func (*EdgeSecClient) DeleteDomainsInvoker ¶
func (c *EdgeSecClient) DeleteDomainsInvoker(request *model.DeleteDomainsRequest) *DeleteDomainsInvoker
DeleteDomainsInvoker 删除防护域名
func (*EdgeSecClient) DeleteHttpPolicy ¶ added in v0.1.116
func (c *EdgeSecClient) DeleteHttpPolicy(request *model.DeleteHttpPolicyRequest) (*model.DeleteHttpPolicyResponse, error)
DeleteHttpPolicy 删除防护策略
删除防护策略
Please refer to HUAWEI cloud API Explorer for details.
func (*EdgeSecClient) DeleteHttpPolicyInvoker ¶ added in v0.1.116
func (c *EdgeSecClient) DeleteHttpPolicyInvoker(request *model.DeleteHttpPolicyRequest) *DeleteHttpPolicyInvoker
DeleteHttpPolicyInvoker 删除防护策略
func (*EdgeSecClient) ShowDomainDetail ¶
func (c *EdgeSecClient) ShowDomainDetail(request *model.ShowDomainDetailRequest) (*model.ShowDomainDetailResponse, error)
ShowDomainDetail 查询防护域名详情
查询防护域名
Please refer to HUAWEI cloud API Explorer for details.
func (*EdgeSecClient) ShowDomainDetailInvoker ¶
func (c *EdgeSecClient) ShowDomainDetailInvoker(request *model.ShowDomainDetailRequest) *ShowDomainDetailInvoker
ShowDomainDetailInvoker 查询防护域名详情
func (*EdgeSecClient) ShowDomains ¶
func (c *EdgeSecClient) ShowDomains(request *model.ShowDomainsRequest) (*model.ShowDomainsResponse, error)
ShowDomains 查询防护域名列表
查询防护域名列表
Please refer to HUAWEI cloud API Explorer for details.
func (*EdgeSecClient) ShowDomainsInvoker ¶
func (c *EdgeSecClient) ShowDomainsInvoker(request *model.ShowDomainsRequest) *ShowDomainsInvoker
ShowDomainsInvoker 查询防护域名列表
func (*EdgeSecClient) ShowHttpPolicies ¶ added in v0.1.116
func (c *EdgeSecClient) ShowHttpPolicies(request *model.ShowHttpPoliciesRequest) (*model.ShowHttpPoliciesResponse, error)
ShowHttpPolicies 查询防护策略列表
查询防护策略列表
Please refer to HUAWEI cloud API Explorer for details.
func (*EdgeSecClient) ShowHttpPoliciesInvoker ¶ added in v0.1.116
func (c *EdgeSecClient) ShowHttpPoliciesInvoker(request *model.ShowHttpPoliciesRequest) *ShowHttpPoliciesInvoker
ShowHttpPoliciesInvoker 查询防护策略列表
func (*EdgeSecClient) ShowHttpPolicy ¶ added in v0.1.116
func (c *EdgeSecClient) ShowHttpPolicy(request *model.ShowHttpPolicyRequest) (*model.ShowHttpPolicyResponse, error)
ShowHttpPolicy 查询防护策略
查询防护策略
Please refer to HUAWEI cloud API Explorer for details.
func (*EdgeSecClient) ShowHttpPolicyInvoker ¶ added in v0.1.116
func (c *EdgeSecClient) ShowHttpPolicyInvoker(request *model.ShowHttpPolicyRequest) *ShowHttpPolicyInvoker
ShowHttpPolicyInvoker 查询防护策略
func (*EdgeSecClient) UpdateDomains ¶
func (c *EdgeSecClient) UpdateDomains(request *model.UpdateDomainsRequest) (*model.UpdateDomainsResponse, error)
UpdateDomains 更新防护域名
更新防护域名
Please refer to HUAWEI cloud API Explorer for details.
func (*EdgeSecClient) UpdateDomainsInvoker ¶
func (c *EdgeSecClient) UpdateDomainsInvoker(request *model.UpdateDomainsRequest) *UpdateDomainsInvoker
UpdateDomainsInvoker 更新防护域名
func (*EdgeSecClient) UpdateHttpPolicy ¶ added in v0.1.116
func (c *EdgeSecClient) UpdateHttpPolicy(request *model.UpdateHttpPolicyRequest) (*model.UpdateHttpPolicyResponse, error)
UpdateHttpPolicy 更新防护策略
更新防护策略
Please refer to HUAWEI cloud API Explorer for details.
func (*EdgeSecClient) UpdateHttpPolicyInvoker ¶ added in v0.1.116
func (c *EdgeSecClient) UpdateHttpPolicyInvoker(request *model.UpdateHttpPolicyRequest) *UpdateHttpPolicyInvoker
UpdateHttpPolicyInvoker 更新防护策略
func (*EdgeSecClient) UpdateHttpPolicyRuleStatus ¶ added in v0.1.116
func (c *EdgeSecClient) UpdateHttpPolicyRuleStatus(request *model.UpdateHttpPolicyRuleStatusRequest) (*model.UpdateHttpPolicyRuleStatusResponse, error)
UpdateHttpPolicyRuleStatus 更新防护策略规则开关
更新防护策略规则开关
Please refer to HUAWEI cloud API Explorer for details.
func (*EdgeSecClient) UpdateHttpPolicyRuleStatusInvoker ¶ added in v0.1.116
func (c *EdgeSecClient) UpdateHttpPolicyRuleStatusInvoker(request *model.UpdateHttpPolicyRuleStatusRequest) *UpdateHttpPolicyRuleStatusInvoker
UpdateHttpPolicyRuleStatusInvoker 更新防护策略规则开关
type ShowDomainDetailInvoker ¶
type ShowDomainDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDomainDetailInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowDomainDetailInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowDomainDetailInvoker) Invoke ¶
func (i *ShowDomainDetailInvoker) Invoke() (*model.ShowDomainDetailResponse, error)
type ShowDomainsInvoker ¶
type ShowDomainsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDomainsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowDomainsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowDomainsInvoker) Invoke ¶
func (i *ShowDomainsInvoker) Invoke() (*model.ShowDomainsResponse, error)
type ShowHttpPoliciesInvoker ¶ added in v0.1.116
type ShowHttpPoliciesInvoker struct {
*invoker.BaseInvoker
}
func (*ShowHttpPoliciesInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowHttpPoliciesInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowHttpPoliciesInvoker) Invoke ¶ added in v0.1.116
func (i *ShowHttpPoliciesInvoker) Invoke() (*model.ShowHttpPoliciesResponse, error)
type ShowHttpPolicyInvoker ¶ added in v0.1.116
type ShowHttpPolicyInvoker struct {
*invoker.BaseInvoker
}
func (*ShowHttpPolicyInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowHttpPolicyInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowHttpPolicyInvoker) Invoke ¶ added in v0.1.116
func (i *ShowHttpPolicyInvoker) Invoke() (*model.ShowHttpPolicyResponse, error)
type UpdateDomainsInvoker ¶
type UpdateDomainsInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateDomainsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *UpdateDomainsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*UpdateDomainsInvoker) Invoke ¶
func (i *UpdateDomainsInvoker) Invoke() (*model.UpdateDomainsResponse, error)
type UpdateHttpPolicyInvoker ¶ added in v0.1.116
type UpdateHttpPolicyInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateHttpPolicyInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *UpdateHttpPolicyInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*UpdateHttpPolicyInvoker) Invoke ¶ added in v0.1.116
func (i *UpdateHttpPolicyInvoker) Invoke() (*model.UpdateHttpPolicyResponse, error)
type UpdateHttpPolicyRuleStatusInvoker ¶ added in v0.1.116
type UpdateHttpPolicyRuleStatusInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateHttpPolicyRuleStatusInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *UpdateHttpPolicyRuleStatusInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*UpdateHttpPolicyRuleStatusInvoker) Invoke ¶ added in v0.1.116
func (i *UpdateHttpPolicyRuleStatusInvoker) Invoke() (*model.UpdateHttpPolicyRuleStatusResponse, error)