Versions in this module Expand all Collapse all v0 v0.9.3 Apr 23, 2024 v0.9.2 Mar 22, 2024 v0.9.1 Mar 14, 2024 v0.9.0 Mar 6, 2024 v0.8.0 Sep 6, 2023 Changes in this version + func Delete(client *golangsdk.ServiceClient, id string, opts DeleteOpts) (err error) + func UpdateProtectStatus(client *golangsdk.ServiceClient, id string, opts ProtectUpdateOpts) (err error) + type BlockPage struct + CustomPage *CustomPage + RedirectUrl string + Template string + type BlockPageResponse struct + CustomPage *CustomPageResponse + RedirectUrl string + Template string + type CircuitBreakerObject struct + BlockTime int + DeadNum int + DeadRatio int + SuperpositionNum int + SusBlockTime int + SuspendNum int + Switch bool + type CreateOpts struct + CertificateId string + CertificateName string + Description string + Hostname string + PolicyId string + Proxy *bool + Server []PremiumWafServer + WebTag string + type CustomPage struct + Content string + ContentType string + StatusCode string + type CustomPageResponse struct + Content string + ContentType string + StatusCode string + type DeleteOpts struct + KeepPolicy *bool + type ExtendResponse struct + LtsConfig string + TimeoutConfig string + type FlagObject struct + Pci3ds string + PciDss string + type Host struct + AccessStatus int + BlockPage *BlockPageResponse + CertificateId string + CertificateName string + Cipher string + CircuitBreaker *CircuitBreakerObject + CreatedAt int + Description string + DomainId string + Extend *ExtendResponse + Flag *FlagObject + Hostname string + ID string + Locked int + PolicyId string + ProjectId string + ProtectStatus int + Protocol string + Proxy bool + Server []ServerResponse + TimeoutConfig *TimeoutConfigObject + Tls string + TrafficMark *TrafficMarkObject + WafType string + WebTag string + func Get(client *golangsdk.ServiceClient, id string) (*Host, error) + func List(client *golangsdk.ServiceClient, opts ListOpts) ([]Host, error) + func Update(client *golangsdk.ServiceClient, id string, opts UpdateOpts) (*Host, error) + type HostResponse struct + AccessStatus int + BlockPage *BlockPageResponse + CreatedAt int + Description string + DomainId string + Extend *ExtendResponse + Flag *FlagObject + Hostname string + ID string + Locked int + PolicyId string + ProjectId string + ProtectStatus int + Protocol string + Proxy bool + Server []ServerResponse + WebTag string + func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*HostResponse, error) + type ListOpts struct + Hostname string + Page string + PageSize string + PolicyName string + ProtectStatus int + type PremiumWafServer struct + Address string + BackProtocol string + FrontProtocol string + Port int + Type string + VpcId string + Weight int + type ProtectUpdateOpts struct + ProtectStatus int + type ServerResponse struct + Address string + BackProtocol string + FrontProtocol string + Port int + Type string + VpcId string + Weight int + type TimeoutConfigObject struct + ConnectionTimeout string + ReadTimeout string + SendTimeout string + type TrafficMarkObject struct + Cookie string + Params string + Sip []string + type UpdateOpts struct + BlockPage *BlockPage + CertificateId string + CertificateName string + Cipher string + CircuitBreaker *CircuitBreakerObject + Description string + Flag *FlagObject + ProtectStatus int + Proxy *bool + TimeoutConfig *TimeoutConfigObject + Tls string + TrafficMark *TrafficMarkObject + WebTag string