Documentation ¶
Index ¶
- Variables
- type ServerNameMatcher
- func (m *ServerNameMatcher) Clone() proto.Message
- func (*ServerNameMatcher) Descriptor() ([]byte, []int)deprecated
- func (m *ServerNameMatcher) Equal(that interface{}) bool
- func (x *ServerNameMatcher) GetServerNameMatchers() []*ServerNameMatcher_ServerNameSetMatcher
- func (m *ServerNameMatcher) Hash(hasher hash.Hash64) (uint64, error)
- func (*ServerNameMatcher) ProtoMessage()
- func (x *ServerNameMatcher) ProtoReflect() protoreflect.Message
- func (x *ServerNameMatcher) Reset()
- func (x *ServerNameMatcher) String() string
- type ServerNameMatcher_ServerNameSetMatcher
- func (m *ServerNameMatcher_ServerNameSetMatcher) Clone() proto.Message
- func (*ServerNameMatcher_ServerNameSetMatcher) Descriptor() ([]byte, []int)deprecated
- func (m *ServerNameMatcher_ServerNameSetMatcher) Equal(that interface{}) bool
- func (x *ServerNameMatcher_ServerNameSetMatcher) GetOnMatch() *v3.Matcher_OnMatch
- func (x *ServerNameMatcher_ServerNameSetMatcher) GetServerNames() []string
- func (m *ServerNameMatcher_ServerNameSetMatcher) Hash(hasher hash.Hash64) (uint64, error)
- func (*ServerNameMatcher_ServerNameSetMatcher) ProtoMessage()
- func (x *ServerNameMatcher_ServerNameSetMatcher) ProtoReflect() protoreflect.Message
- func (x *ServerNameMatcher_ServerNameSetMatcher) Reset()
- func (x *ServerNameMatcher_ServerNameSetMatcher) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_matching_custom_matchers_server_name_v3_server_name_matcher_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ServerNameMatcher ¶
type ServerNameMatcher struct { // Match server names. Order doesn't matter, the most specific server name is matched. ServerNameMatchers []*ServerNameMatcher_ServerNameSetMatcher `protobuf:"bytes,1,rep,name=server_name_matchers,json=serverNameMatchers,proto3" json:"server_name_matchers,omitempty"` // contains filtered or unexported fields }
Matches a specific server name provided in the client request against a set server names configured for the matcher to handle, with possible prefix wildcard.
func (*ServerNameMatcher) Descriptor
deprecated
func (*ServerNameMatcher) Descriptor() ([]byte, []int)
Deprecated: Use ServerNameMatcher.ProtoReflect.Descriptor instead.
func (*ServerNameMatcher) Equal ¶
func (m *ServerNameMatcher) Equal(that interface{}) bool
Equal function
func (*ServerNameMatcher) GetServerNameMatchers ¶
func (x *ServerNameMatcher) GetServerNameMatchers() []*ServerNameMatcher_ServerNameSetMatcher
func (*ServerNameMatcher) Hash ¶
func (m *ServerNameMatcher) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*ServerNameMatcher) ProtoMessage ¶
func (*ServerNameMatcher) ProtoMessage()
func (*ServerNameMatcher) ProtoReflect ¶
func (x *ServerNameMatcher) ProtoReflect() protoreflect.Message
func (*ServerNameMatcher) Reset ¶
func (x *ServerNameMatcher) Reset()
func (*ServerNameMatcher) String ¶
func (x *ServerNameMatcher) String() string
type ServerNameMatcher_ServerNameSetMatcher ¶
type ServerNameMatcher_ServerNameSetMatcher struct { // A non-empty set of server names. // Server name can start with a wildcard prefix, e.g. "*.example.com". ServerNames []string `protobuf:"bytes,1,rep,name=server_names,json=serverNames,proto3" json:"server_names,omitempty"` // Match action to apply when the input matches the server name. OnMatch *v3.Matcher_OnMatch `protobuf:"bytes,2,opt,name=on_match,json=onMatch,proto3" json:"on_match,omitempty"` // contains filtered or unexported fields }
Specifies a list of server names and a match action.
func (*ServerNameMatcher_ServerNameSetMatcher) Clone ¶
func (m *ServerNameMatcher_ServerNameSetMatcher) Clone() proto.Message
Clone function
func (*ServerNameMatcher_ServerNameSetMatcher) Descriptor
deprecated
func (*ServerNameMatcher_ServerNameSetMatcher) Descriptor() ([]byte, []int)
Deprecated: Use ServerNameMatcher_ServerNameSetMatcher.ProtoReflect.Descriptor instead.
func (*ServerNameMatcher_ServerNameSetMatcher) Equal ¶
func (m *ServerNameMatcher_ServerNameSetMatcher) Equal(that interface{}) bool
Equal function
func (*ServerNameMatcher_ServerNameSetMatcher) GetOnMatch ¶
func (x *ServerNameMatcher_ServerNameSetMatcher) GetOnMatch() *v3.Matcher_OnMatch
func (*ServerNameMatcher_ServerNameSetMatcher) GetServerNames ¶
func (x *ServerNameMatcher_ServerNameSetMatcher) GetServerNames() []string
func (*ServerNameMatcher_ServerNameSetMatcher) Hash ¶
func (m *ServerNameMatcher_ServerNameSetMatcher) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*ServerNameMatcher_ServerNameSetMatcher) ProtoMessage ¶
func (*ServerNameMatcher_ServerNameSetMatcher) ProtoMessage()
func (*ServerNameMatcher_ServerNameSetMatcher) ProtoReflect ¶
func (x *ServerNameMatcher_ServerNameSetMatcher) ProtoReflect() protoreflect.Message
func (*ServerNameMatcher_ServerNameSetMatcher) Reset ¶
func (x *ServerNameMatcher_ServerNameSetMatcher) Reset()
func (*ServerNameMatcher_ServerNameSetMatcher) String ¶
func (x *ServerNameMatcher_ServerNameSetMatcher) String() string
Click to show internal directories.
Click to hide internal directories.