kedge_config_grpc_routes

package
v1.0.0-beta.8-test.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package kedge_config_grpc_routes is a generated protocol buffer package.

It is generated from these files:

kedge/config/grpc/routes/routes.proto

It has these top-level messages:

Route

Package kedge_config_grpc_routes is a generated protocol buffer package.

It is generated from these files:

kedge/config/grpc/routes/routes.proto

It has these top-level messages:

Route

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Route

type Route struct {
	// / backend_name is the string identifying the backend to send data to.
	BackendName string `protobuf:"bytes,1,opt,name=backend_name,json=backendName" json:"backend_name,omitempty"`
	// / service_name_matcher is a globbing expression that matches a full gRPC service name.
	// / For example a method call to 'com.example.MyService/Create' would be matched by:
	// /  - com.example.MyService
	// /  - com.example.*
	// /  - com.*
	// /  - *
	// / If not present, '*' is default.
	ServiceNameMatcher string `protobuf:"bytes,2,opt,name=service_name_matcher,json=serviceNameMatcher" json:"service_name_matcher,omitempty"`
	// / authority_host_matcher matches on the host part of the ':authority' header (a.k.a. Host header) enabling Virtual Host-like proxying.
	// / The matching is done through lower-case string-equality.
	// / If none are present, the route skips ':authority' checks.
	AuthorityHostMatcher string `protobuf:"bytes,3,opt,name=authority_host_matcher,json=authorityHostMatcher" json:"authority_host_matcher,omitempty"`
	// / metadata_matcher matches any gRPC inbound request metadata.
	// / Each key provided must find a match for the route to match.
	// / The matching is done through lower-case key match and explicit string-equality of values.
	// / If a given metadata entry has more than one string value, at least one of them needs to match.
	// / If none are present, the route skips metadata checks.
	MetadataMatcher map[string]string `` /* 173-byte string literal not displayed */
	// / authority_port_matcher is optional port matcher. It matches on the port part of the ':authority' header.
	// If 0 route will ignore port.
	AuthorityPortMatcher uint32 `protobuf:"varint,5,opt,name=authority_port_matcher,json=authorityPortMatcher" json:"authority_port_matcher,omitempty"`
	Autogenerated        bool   `protobuf:"varint,6,opt,name=autogenerated" json:"autogenerated,omitempty"`
}

/ Route is a mapping between invoked gRPC requests and backends that should serve it.

func (*Route) Descriptor

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

func (*Route) GetAuthorityHostMatcher

func (m *Route) GetAuthorityHostMatcher() string

func (*Route) GetAuthorityPortMatcher

func (m *Route) GetAuthorityPortMatcher() uint32

func (*Route) GetAutogenerated

func (m *Route) GetAutogenerated() bool

func (*Route) GetBackendName

func (m *Route) GetBackendName() string

func (*Route) GetMetadataMatcher

func (m *Route) GetMetadataMatcher() map[string]string

func (*Route) GetServiceNameMatcher

func (m *Route) GetServiceNameMatcher() string

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) Reset

func (m *Route) Reset()

func (*Route) String

func (m *Route) String() string

func (*Route) Validate

func (this *Route) Validate() error

Jump to

Keyboard shortcuts

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