v2alpha1

package
v0.0.0-...-820986f Latest Latest
Warning

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

Go to latest
Published: May 17, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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