Documentation ¶
Index ¶
- Variables
- type FilterStage
- func (m *FilterStage) Clone() proto.Message
- func (*FilterStage) Descriptor() ([]byte, []int)deprecated
- func (m *FilterStage) Equal(that interface{}) bool
- func (x *FilterStage) GetPredicate() FilterStage_Predicate
- func (x *FilterStage) GetStage() FilterStage_Stage
- func (m *FilterStage) Hash(hasher hash.Hash64) (uint64, error)
- func (*FilterStage) ProtoMessage()
- func (x *FilterStage) ProtoReflect() protoreflect.Message
- func (x *FilterStage) Reset()
- func (x *FilterStage) String() string
- type FilterStage_Predicate
- func (FilterStage_Predicate) Descriptor() protoreflect.EnumDescriptor
- func (x FilterStage_Predicate) Enum() *FilterStage_Predicate
- func (FilterStage_Predicate) EnumDescriptor() ([]byte, []int)deprecated
- func (x FilterStage_Predicate) Number() protoreflect.EnumNumber
- func (x FilterStage_Predicate) String() string
- func (FilterStage_Predicate) Type() protoreflect.EnumType
- type FilterStage_Stage
- func (FilterStage_Stage) Descriptor() protoreflect.EnumDescriptor
- func (x FilterStage_Stage) Enum() *FilterStage_Stage
- func (FilterStage_Stage) EnumDescriptor() ([]byte, []int)deprecated
- func (x FilterStage_Stage) Number() protoreflect.EnumNumber
- func (x FilterStage_Stage) String() string
- func (FilterStage_Stage) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FilterStage_Stage_name = map[int32]string{ 0: "FaultStage", 1: "CorsStage", 2: "WafStage", 3: "AuthNStage", 4: "AuthZStage", 5: "RateLimitStage", 6: "AcceptedStage", 7: "OutAuthStage", 8: "RouteStage", } FilterStage_Stage_value = map[string]int32{ "FaultStage": 0, "CorsStage": 1, "WafStage": 2, "AuthNStage": 3, "AuthZStage": 4, "RateLimitStage": 5, "AcceptedStage": 6, "OutAuthStage": 7, "RouteStage": 8, } )
Enum value maps for FilterStage_Stage.
View Source
var ( FilterStage_Predicate_name = map[int32]string{ 0: "During", 1: "Before", 2: "After", } FilterStage_Predicate_value = map[string]int32{ "During": 0, "Before": 1, "After": 2, } )
Enum value maps for FilterStage_Predicate.
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_filters_stages_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FilterStage ¶
type FilterStage struct { // Stage of the filter chain in which the selected filter should be added. Stage FilterStage_Stage `protobuf:"varint,1,opt,name=stage,proto3,enum=filters.gloo.solo.io.FilterStage_Stage" json:"stage,omitempty"` // How this filter should be placed relative to the stage. Predicate FilterStage_Predicate `protobuf:"varint,2,opt,name=predicate,proto3,enum=filters.gloo.solo.io.FilterStage_Predicate" json:"predicate,omitempty"` // contains filtered or unexported fields }
FilterStage allows configuration of where in a filter chain a given HTTP filter is inserted, relative to one of the pre-defined stages.
func (*FilterStage) Descriptor
deprecated
func (*FilterStage) Descriptor() ([]byte, []int)
Deprecated: Use FilterStage.ProtoReflect.Descriptor instead.
func (*FilterStage) GetPredicate ¶
func (x *FilterStage) GetPredicate() FilterStage_Predicate
func (*FilterStage) GetStage ¶
func (x *FilterStage) GetStage() FilterStage_Stage
func (*FilterStage) Hash ¶
func (m *FilterStage) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*FilterStage) ProtoMessage ¶
func (*FilterStage) ProtoMessage()
func (*FilterStage) ProtoReflect ¶
func (x *FilterStage) ProtoReflect() protoreflect.Message
func (*FilterStage) Reset ¶
func (x *FilterStage) Reset()
func (*FilterStage) String ¶
func (x *FilterStage) String() string
type FilterStage_Predicate ¶
type FilterStage_Predicate int32
Desired placement of the HTTP filter relative to the stage. The default is `During`.
const ( FilterStage_During FilterStage_Predicate = 0 FilterStage_Before FilterStage_Predicate = 1 FilterStage_After FilterStage_Predicate = 2 )
func (FilterStage_Predicate) Descriptor ¶
func (FilterStage_Predicate) Descriptor() protoreflect.EnumDescriptor
func (FilterStage_Predicate) Enum ¶
func (x FilterStage_Predicate) Enum() *FilterStage_Predicate
func (FilterStage_Predicate) EnumDescriptor
deprecated
func (FilterStage_Predicate) EnumDescriptor() ([]byte, []int)
Deprecated: Use FilterStage_Predicate.Descriptor instead.
func (FilterStage_Predicate) Number ¶
func (x FilterStage_Predicate) Number() protoreflect.EnumNumber
func (FilterStage_Predicate) String ¶
func (x FilterStage_Predicate) String() string
func (FilterStage_Predicate) Type ¶
func (FilterStage_Predicate) Type() protoreflect.EnumType
type FilterStage_Stage ¶
type FilterStage_Stage int32
List of filter stages which can be selected for a HTTP filter.
const ( FilterStage_FaultStage FilterStage_Stage = 0 FilterStage_CorsStage FilterStage_Stage = 1 FilterStage_WafStage FilterStage_Stage = 2 FilterStage_AuthNStage FilterStage_Stage = 3 FilterStage_AuthZStage FilterStage_Stage = 4 FilterStage_RateLimitStage FilterStage_Stage = 5 FilterStage_AcceptedStage FilterStage_Stage = 6 FilterStage_OutAuthStage FilterStage_Stage = 7 FilterStage_RouteStage FilterStage_Stage = 8 )
func (FilterStage_Stage) Descriptor ¶
func (FilterStage_Stage) Descriptor() protoreflect.EnumDescriptor
func (FilterStage_Stage) Enum ¶
func (x FilterStage_Stage) Enum() *FilterStage_Stage
func (FilterStage_Stage) EnumDescriptor
deprecated
func (FilterStage_Stage) EnumDescriptor() ([]byte, []int)
Deprecated: Use FilterStage_Stage.Descriptor instead.
func (FilterStage_Stage) Number ¶
func (x FilterStage_Stage) Number() protoreflect.EnumNumber
func (FilterStage_Stage) String ¶
func (x FilterStage_Stage) String() string
func (FilterStage_Stage) Type ¶
func (FilterStage_Stage) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.