istio: istio.io/istio/pkg/test/echo/proto Index | Files

package proto

import "istio.io/istio/pkg/test/echo/proto"

Index

Package Files

echo.pb.go

func RegisterEchoTestServiceServer Uses

func RegisterEchoTestServiceServer(s *grpc.Server, srv EchoTestServiceServer)

type EchoRequest Uses

type EchoRequest struct {
    Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*EchoRequest) Descriptor Uses

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

func (*EchoRequest) GetMessage Uses

func (m *EchoRequest) GetMessage() string

func (*EchoRequest) ProtoMessage Uses

func (*EchoRequest) ProtoMessage()

func (*EchoRequest) Reset Uses

func (m *EchoRequest) Reset()

func (*EchoRequest) String Uses

func (m *EchoRequest) String() string

func (*EchoRequest) XXX_DiscardUnknown Uses

func (m *EchoRequest) XXX_DiscardUnknown()

func (*EchoRequest) XXX_Marshal Uses

func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EchoRequest) XXX_Merge Uses

func (m *EchoRequest) XXX_Merge(src proto.Message)

func (*EchoRequest) XXX_Size Uses

func (m *EchoRequest) XXX_Size() int

func (*EchoRequest) XXX_Unmarshal Uses

func (m *EchoRequest) XXX_Unmarshal(b []byte) error

type EchoResponse Uses

type EchoResponse struct {
    Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*EchoResponse) Descriptor Uses

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

func (*EchoResponse) GetMessage Uses

func (m *EchoResponse) GetMessage() string

func (*EchoResponse) ProtoMessage Uses

func (*EchoResponse) ProtoMessage()

func (*EchoResponse) Reset Uses

func (m *EchoResponse) Reset()

func (*EchoResponse) String Uses

func (m *EchoResponse) String() string

func (*EchoResponse) XXX_DiscardUnknown Uses

func (m *EchoResponse) XXX_DiscardUnknown()

func (*EchoResponse) XXX_Marshal Uses

func (m *EchoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EchoResponse) XXX_Merge Uses

func (m *EchoResponse) XXX_Merge(src proto.Message)

func (*EchoResponse) XXX_Size Uses

func (m *EchoResponse) XXX_Size() int

func (*EchoResponse) XXX_Unmarshal Uses

func (m *EchoResponse) XXX_Unmarshal(b []byte) error

type EchoTestServiceClient Uses

type EchoTestServiceClient interface {
    Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error)
    ForwardEcho(ctx context.Context, in *ForwardEchoRequest, opts ...grpc.CallOption) (*ForwardEchoResponse, error)
}

EchoTestServiceClient is the client API for EchoTestService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewEchoTestServiceClient Uses

func NewEchoTestServiceClient(cc *grpc.ClientConn) EchoTestServiceClient

type EchoTestServiceServer Uses

type EchoTestServiceServer interface {
    Echo(context.Context, *EchoRequest) (*EchoResponse, error)
    ForwardEcho(context.Context, *ForwardEchoRequest) (*ForwardEchoResponse, error)
}

EchoTestServiceServer is the server API for EchoTestService service.

type ForwardEchoRequest Uses

type ForwardEchoRequest struct {
    Count                int32     `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
    Qps                  int32     `protobuf:"varint,2,opt,name=qps,proto3" json:"qps,omitempty"`
    TimeoutMicros        int64     `protobuf:"varint,3,opt,name=timeout_micros,json=timeoutMicros,proto3" json:"timeout_micros,omitempty"`
    Url                  string    `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
    Headers              []*Header `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"`
    Message              string    `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

func (*ForwardEchoRequest) Descriptor Uses

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

func (*ForwardEchoRequest) GetCount Uses

func (m *ForwardEchoRequest) GetCount() int32

func (*ForwardEchoRequest) GetHeaders Uses

func (m *ForwardEchoRequest) GetHeaders() []*Header

func (*ForwardEchoRequest) GetMessage Uses

func (m *ForwardEchoRequest) GetMessage() string

func (*ForwardEchoRequest) GetQps Uses

func (m *ForwardEchoRequest) GetQps() int32

func (*ForwardEchoRequest) GetTimeoutMicros Uses

func (m *ForwardEchoRequest) GetTimeoutMicros() int64

func (*ForwardEchoRequest) GetUrl Uses

func (m *ForwardEchoRequest) GetUrl() string

func (*ForwardEchoRequest) ProtoMessage Uses

func (*ForwardEchoRequest) ProtoMessage()

func (*ForwardEchoRequest) Reset Uses

func (m *ForwardEchoRequest) Reset()

func (*ForwardEchoRequest) String Uses

func (m *ForwardEchoRequest) String() string

func (*ForwardEchoRequest) XXX_DiscardUnknown Uses

func (m *ForwardEchoRequest) XXX_DiscardUnknown()

func (*ForwardEchoRequest) XXX_Marshal Uses

func (m *ForwardEchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForwardEchoRequest) XXX_Merge Uses

func (m *ForwardEchoRequest) XXX_Merge(src proto.Message)

func (*ForwardEchoRequest) XXX_Size Uses

func (m *ForwardEchoRequest) XXX_Size() int

func (*ForwardEchoRequest) XXX_Unmarshal Uses

func (m *ForwardEchoRequest) XXX_Unmarshal(b []byte) error

type ForwardEchoResponse Uses

type ForwardEchoResponse struct {
    Output               []string `protobuf:"bytes,1,rep,name=output,proto3" json:"output,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*ForwardEchoResponse) Descriptor Uses

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

func (*ForwardEchoResponse) GetOutput Uses

func (m *ForwardEchoResponse) GetOutput() []string

func (*ForwardEchoResponse) ProtoMessage Uses

func (*ForwardEchoResponse) ProtoMessage()

func (*ForwardEchoResponse) Reset Uses

func (m *ForwardEchoResponse) Reset()

func (*ForwardEchoResponse) String Uses

func (m *ForwardEchoResponse) String() string

func (*ForwardEchoResponse) XXX_DiscardUnknown Uses

func (m *ForwardEchoResponse) XXX_DiscardUnknown()

func (*ForwardEchoResponse) XXX_Marshal Uses

func (m *ForwardEchoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForwardEchoResponse) XXX_Merge Uses

func (m *ForwardEchoResponse) XXX_Merge(src proto.Message)

func (*ForwardEchoResponse) XXX_Size Uses

func (m *ForwardEchoResponse) XXX_Size() int

func (*ForwardEchoResponse) XXX_Unmarshal Uses

func (m *ForwardEchoResponse) XXX_Unmarshal(b []byte) error
type Header struct {
    Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Header) Descriptor Uses

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

func (*Header) GetKey Uses

func (m *Header) GetKey() string

func (*Header) GetValue Uses

func (m *Header) GetValue() string

func (*Header) ProtoMessage Uses

func (*Header) ProtoMessage()

func (*Header) Reset Uses

func (m *Header) Reset()

func (*Header) String Uses

func (m *Header) String() string

func (*Header) XXX_DiscardUnknown Uses

func (m *Header) XXX_DiscardUnknown()

func (*Header) XXX_Marshal Uses

func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Header) XXX_Merge Uses

func (m *Header) XXX_Merge(src proto.Message)

func (*Header) XXX_Size Uses

func (m *Header) XXX_Size() int

func (*Header) XXX_Unmarshal Uses

func (m *Header) XXX_Unmarshal(b []byte) error

Package proto imports 5 packages (graph) and is imported by 8 packages. Updated 2019-05-19. Refresh now. Tools for package owners.