v3

package
v1.16.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

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) Clone

func (m *ServerNameMatcher) Clone() proto.Message

Clone function

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

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 (*ServerNameMatcher_ServerNameSetMatcher) GetServerNames

func (x *ServerNameMatcher_ServerNameSetMatcher) GetServerNames() []string

func (*ServerNameMatcher_ServerNameSetMatcher) Hash

Hash function

func (*ServerNameMatcher_ServerNameSetMatcher) ProtoMessage

func (*ServerNameMatcher_ServerNameSetMatcher) ProtoReflect

func (*ServerNameMatcher_ServerNameSetMatcher) Reset

func (*ServerNameMatcher_ServerNameSetMatcher) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL