MCPcopy
hub / github.com/crowdsecurity/crowdsec / ConditionalType

Struct ConditionalType

pkg/leakybucket/buckettype.go:79–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79type ConditionalType struct{}
80
81func (ConditionalType) Validate(f *BucketFactory) error {
82 if f.Spec.Capacity != -1 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected