tls_route

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tls_route_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SniMatch

type SniMatch struct {

	// Types that are assignable to Match:
	//
	//	*SniMatch_Exact
	//	*SniMatch_Suffix_
	Match isSniMatch_Match `protobuf_oneof:"match"`
	// contains filtered or unexported fields
}

Describes how to match an `SNI` ClientHello extension.

func (*SniMatch) Descriptor deprecated

func (*SniMatch) Descriptor() ([]byte, []int)

Deprecated: Use SniMatch.ProtoReflect.Descriptor instead.

func (*SniMatch) GetExact

func (x *SniMatch) GetExact() string

func (*SniMatch) GetMatch

func (m *SniMatch) GetMatch() isSniMatch_Match

func (*SniMatch) GetSuffix

func (x *SniMatch) GetSuffix() *SniMatch_Suffix

func (*SniMatch) ProtoMessage

func (*SniMatch) ProtoMessage()

func (*SniMatch) ProtoReflect

func (x *SniMatch) ProtoReflect() protoreflect.Message

func (*SniMatch) Reset

func (x *SniMatch) Reset()

func (*SniMatch) String

func (x *SniMatch) String() string

type SniMatch_Exact

type SniMatch_Exact struct {
	// Match an exact SNI, e.g. www.example.com.
	Exact string `protobuf:"bytes,1,opt,name=exact,proto3,oneof"`
}

type SniMatch_Suffix

type SniMatch_Suffix struct {
	ReverseLabels []string `protobuf:"bytes,1,rep,name=reverse_labels,json=reverseLabels,proto3" json:"reverse_labels,omitempty"`
	// contains filtered or unexported fields
}

A match like `*.example.com` is encoded as [com, example].

func (*SniMatch_Suffix) Descriptor deprecated

func (*SniMatch_Suffix) Descriptor() ([]byte, []int)

Deprecated: Use SniMatch_Suffix.ProtoReflect.Descriptor instead.

func (*SniMatch_Suffix) GetReverseLabels

func (x *SniMatch_Suffix) GetReverseLabels() []string

func (*SniMatch_Suffix) ProtoMessage

func (*SniMatch_Suffix) ProtoMessage()

func (*SniMatch_Suffix) ProtoReflect

func (x *SniMatch_Suffix) ProtoReflect() protoreflect.Message

func (*SniMatch_Suffix) Reset

func (x *SniMatch_Suffix) Reset()

func (*SniMatch_Suffix) String

func (x *SniMatch_Suffix) String() string

type SniMatch_Suffix_

type SniMatch_Suffix_ struct {
	// Match a SNI as a wildcard suffix, e.g. *.example.com.
	Suffix *SniMatch_Suffix `protobuf:"bytes,2,opt,name=suffix,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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