Documentation ¶
Index ¶
- func NewRateLimitResult() map[string]*RateLimitCounters
- type Aggregate
- type Config
- type Counter
- type Counters
- type GraphiteConfig
- type KubeConfig
- type RateLimit
- type RateLimitCounters
- type RateLimitResponse
- type ResultInfo
- type WAFResponse
- type WafActionCounters
- type WafTrigger
- type ZoneAnalyticsColocationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRateLimitResult ¶
func NewRateLimitResult() map[string]*RateLimitCounters
Types ¶
type Aggregate ¶
func NewAggregate ¶
func NewAggregate(zone cloudflare.Zone) *Aggregate
type Config ¶
type Config struct { GraphiteConfig GraphiteConfig `json:"graphite_config"` CollectEveryMinutes string `json:"collect_every_minutes"` KubeConfig *KubeConfig `json:"kubernetes,omitempty"` }
type Counters ¶
type Counters struct { RequestAll Counter RequestCached Counter RequestUncached Counter BandwidthAll Counter BandwidthCached Counter BandwidthUncached Counter HTTPStatus map[string]Counter WafTrigger map[string]*WafActionCounters RateLimit map[string]map[string]*RateLimitCounters }
func NewCounters ¶
func NewCounters() *Counters
type GraphiteConfig ¶
type KubeConfig ¶
type KubeConfig struct {
MgmtPort string `json:"management_port"`
}
type RateLimitCounters ¶
type RateLimitCounters struct { Simulate Counter Drop Counter Challenge Counter JSChallenge Counter ConnectionClose Counter }
func NewSecurityEventCounters ¶
func NewSecurityEventCounters(method string) *RateLimitCounters
type RateLimitResponse ¶
type ResultInfo ¶
type ResultInfo struct {
NextPageId string `json:"next_page_id"`
}
type WAFResponse ¶
type WAFResponse struct { cloudflare.Response ResultInfo ResultInfo `json:"result_info"` WafTriggers []WafTrigger `json:"result"` }
type WafActionCounters ¶
type WafActionCounters struct { Simulate Counter Block Counter Challenge Counter JSChallenge Counter }
func NewWafTriggerResult ¶
func NewWafTriggerResult() *WafActionCounters
type WafTrigger ¶
Click to show internal directories.
Click to hide internal directories.