Documentation ¶
Index ¶
- Variables
- type TcpClusterRewrite
- func (*TcpClusterRewrite) Descriptor() ([]byte, []int)
- func (m *TcpClusterRewrite) GetClusterPattern() string
- func (m *TcpClusterRewrite) GetClusterReplacement() string
- func (m *TcpClusterRewrite) Marshal() (dAtA []byte, err error)
- func (m *TcpClusterRewrite) MarshalTo(dAtA []byte) (int, error)
- func (*TcpClusterRewrite) ProtoMessage()
- func (m *TcpClusterRewrite) Reset()
- func (m *TcpClusterRewrite) Size() (n int)
- func (m *TcpClusterRewrite) String() string
- func (m *TcpClusterRewrite) Unmarshal(dAtA []byte) error
- func (m *TcpClusterRewrite) XXX_DiscardUnknown()
- func (m *TcpClusterRewrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TcpClusterRewrite) XXX_Merge(src proto.Message)
- func (m *TcpClusterRewrite) XXX_Size() int
- func (m *TcpClusterRewrite) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowConfig = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type TcpClusterRewrite ¶
type TcpClusterRewrite struct { // Specifies the regex pattern to be matched in the cluster name. ClusterPattern string `protobuf:"bytes,1,opt,name=cluster_pattern,json=clusterPattern,proto3" json:"cluster_pattern,omitempty"` // Specifies the replacement for the matched cluster pattern. ClusterReplacement string `protobuf:"bytes,2,opt,name=cluster_replacement,json=clusterReplacement,proto3" json:"cluster_replacement,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TcpClusterRewrite is the config for the TCP cluster rewrite filter.
func (*TcpClusterRewrite) Descriptor ¶
func (*TcpClusterRewrite) Descriptor() ([]byte, []int)
func (*TcpClusterRewrite) GetClusterPattern ¶
func (m *TcpClusterRewrite) GetClusterPattern() string
func (*TcpClusterRewrite) GetClusterReplacement ¶
func (m *TcpClusterRewrite) GetClusterReplacement() string
func (*TcpClusterRewrite) Marshal ¶
func (m *TcpClusterRewrite) Marshal() (dAtA []byte, err error)
func (*TcpClusterRewrite) MarshalTo ¶
func (m *TcpClusterRewrite) MarshalTo(dAtA []byte) (int, error)
func (*TcpClusterRewrite) ProtoMessage ¶
func (*TcpClusterRewrite) ProtoMessage()
func (*TcpClusterRewrite) Reset ¶
func (m *TcpClusterRewrite) Reset()
func (*TcpClusterRewrite) Size ¶
func (m *TcpClusterRewrite) Size() (n int)
func (*TcpClusterRewrite) String ¶
func (m *TcpClusterRewrite) String() string
func (*TcpClusterRewrite) Unmarshal ¶
func (m *TcpClusterRewrite) Unmarshal(dAtA []byte) error
func (*TcpClusterRewrite) XXX_DiscardUnknown ¶
func (m *TcpClusterRewrite) XXX_DiscardUnknown()
func (*TcpClusterRewrite) XXX_Marshal ¶
func (m *TcpClusterRewrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TcpClusterRewrite) XXX_Merge ¶
func (m *TcpClusterRewrite) XXX_Merge(src proto.Message)
func (*TcpClusterRewrite) XXX_Size ¶
func (m *TcpClusterRewrite) XXX_Size() int
func (*TcpClusterRewrite) XXX_Unmarshal ¶
func (m *TcpClusterRewrite) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.