Documentation ¶
Index ¶
- type UpstreamSpec
- func (*UpstreamSpec) Descriptor() ([]byte, []int)
- func (this *UpstreamSpec) Equal(that interface{}) bool
- func (m *UpstreamSpec) GetPath() string
- func (m *UpstreamSpec) GetServiceSpec() *plugins.ServiceSpec
- func (*UpstreamSpec) ProtoMessage()
- func (m *UpstreamSpec) Reset()
- func (m *UpstreamSpec) String() string
- func (m *UpstreamSpec) XXX_DiscardUnknown()
- func (m *UpstreamSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpstreamSpec) XXX_Merge(src proto.Message)
- func (m *UpstreamSpec) XXX_Size() int
- func (m *UpstreamSpec) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpstreamSpec ¶
type UpstreamSpec struct { // The Unix Domain Socket path. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // An optional Service Spec describing the service listening at this address ServiceSpec *plugins.ServiceSpec `protobuf:"bytes,2,opt,name=service_spec,json=serviceSpec,proto3" json:"service_spec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Pipe upstreams are used to route request to services listening at a Unix Domain Socket. Pipe upstreams can be used to proxy any kind of service, and therefore contain a ServiceSpec for additional service-specific configuration. Unlike upstreams created by service discovery, Pipe Upstreams must be created manually by users
func (*UpstreamSpec) Descriptor ¶
func (*UpstreamSpec) Descriptor() ([]byte, []int)
func (*UpstreamSpec) Equal ¶
func (this *UpstreamSpec) Equal(that interface{}) bool
func (*UpstreamSpec) GetPath ¶
func (m *UpstreamSpec) GetPath() string
func (*UpstreamSpec) GetServiceSpec ¶
func (m *UpstreamSpec) GetServiceSpec() *plugins.ServiceSpec
func (*UpstreamSpec) ProtoMessage ¶
func (*UpstreamSpec) ProtoMessage()
func (*UpstreamSpec) Reset ¶
func (m *UpstreamSpec) Reset()
func (*UpstreamSpec) String ¶
func (m *UpstreamSpec) String() string
func (*UpstreamSpec) XXX_DiscardUnknown ¶
func (m *UpstreamSpec) XXX_DiscardUnknown()
func (*UpstreamSpec) XXX_Marshal ¶
func (m *UpstreamSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpstreamSpec) XXX_Merge ¶
func (m *UpstreamSpec) XXX_Merge(src proto.Message)
func (*UpstreamSpec) XXX_Size ¶
func (m *UpstreamSpec) XXX_Size() int
func (*UpstreamSpec) XXX_Unmarshal ¶
func (m *UpstreamSpec) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.