Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator interface { GeneratorAction(match *policyv1alpha1.RateLimitMatch) (*routev3.RateLimit_Action, error) GenerateDescriptor(match *policyv1alpha1.RateLimitMatch) (*commonratelimitv3.RateLimitDescriptor_Entry, error) }
type HeaderMatchGenerator ¶
type HeaderMatchGenerator struct { }
func (*HeaderMatchGenerator) GenerateDescriptor ¶
func (header *HeaderMatchGenerator) GenerateDescriptor(match *policyv1alpha1.RateLimitMatch) (*commonratelimitv3.RateLimitDescriptor_Entry, error)
func (*HeaderMatchGenerator) GeneratorAction ¶
func (header *HeaderMatchGenerator) GeneratorAction(match *policyv1alpha1.RateLimitMatch) (*routev3.RateLimit_Action, error)
type MethodMatchGenerator ¶
type MethodMatchGenerator struct { }
func (*MethodMatchGenerator) GenerateDescriptor ¶
func (method *MethodMatchGenerator) GenerateDescriptor(match *policyv1alpha1.RateLimitMatch) (*commonratelimitv3.RateLimitDescriptor_Entry, error)
func (*MethodMatchGenerator) GeneratorAction ¶
func (method *MethodMatchGenerator) GeneratorAction(match *policyv1alpha1.RateLimitMatch) (*routev3.RateLimit_Action, error)
type UrlMatchGenerator ¶
type UrlMatchGenerator struct { }
func (*UrlMatchGenerator) GenerateDescriptor ¶
func (url *UrlMatchGenerator) GenerateDescriptor(match *policyv1alpha1.RateLimitMatch) (*commonratelimitv3.RateLimitDescriptor_Entry, error)
func (*UrlMatchGenerator) GeneratorAction ¶
func (url *UrlMatchGenerator) GeneratorAction(match *policyv1alpha1.RateLimitMatch) (*routev3.RateLimit_Action, error)
Click to show internal directories.
Click to hide internal directories.