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 Alpn Uses

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

func (*Alpn) Descriptor Uses

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

func (*Alpn) GetValue Uses

func (m *Alpn) GetValue() []string

func (*Alpn) ProtoMessage Uses

func (*Alpn) ProtoMessage()

func (*Alpn) Reset Uses

func (m *Alpn) Reset()

func (*Alpn) String Uses

func (m *Alpn) String() string

func (*Alpn) XXX_DiscardUnknown Uses

func (m *Alpn) XXX_DiscardUnknown()

func (*Alpn) XXX_Marshal Uses

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

func (*Alpn) XXX_Merge Uses

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

func (*Alpn) XXX_Size Uses

func (m *Alpn) XXX_Size() int

func (*Alpn) XXX_Unmarshal Uses

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

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"`
    // Method for the request. Valid only for HTTP
    Method string `protobuf:"bytes,9,opt,name=method,proto3" json:"method,omitempty"`
    // If true, requests will be sent using h2c prior knowledge
    Http2 bool `protobuf:"varint,7,opt,name=http2,proto3" json:"http2,omitempty"`
    // If true, requests will not be sent until magic string is received
    ServerFirst bool `protobuf:"varint,8,opt,name=serverFirst,proto3" json:"serverFirst,omitempty"`
    // If true, 301 redirects will be followed
    FollowRedirects bool `protobuf:"varint,14,opt,name=followRedirects,proto3" json:"followRedirects,omitempty"`
    // If non-empty, make the request with the corresponding cert and key.
    Cert string `protobuf:"bytes,10,opt,name=cert,proto3" json:"cert,omitempty"`
    Key  string `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"`
    // If non-empty, verify the server CA
    CaCert string `protobuf:"bytes,12,opt,name=caCert,proto3" json:"caCert,omitempty"`
    // List of ALPNs to present. If not set, this will be automatically be set based on the protocol
    Alpn                 *Alpn    `protobuf:"bytes,13,opt,name=alpn,proto3" json:"alpn,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*ForwardEchoRequest) Descriptor Uses

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

func (*ForwardEchoRequest) GetAlpn Uses

func (m *ForwardEchoRequest) GetAlpn() *Alpn

func (*ForwardEchoRequest) GetCaCert Uses

func (m *ForwardEchoRequest) GetCaCert() string

func (*ForwardEchoRequest) GetCert Uses

func (m *ForwardEchoRequest) GetCert() string

func (*ForwardEchoRequest) GetCount Uses

func (m *ForwardEchoRequest) GetCount() int32

func (*ForwardEchoRequest) GetFollowRedirects Uses

func (m *ForwardEchoRequest) GetFollowRedirects() bool

func (*ForwardEchoRequest) GetHeaders Uses

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

func (*ForwardEchoRequest) GetHttp2 Uses

func (m *ForwardEchoRequest) GetHttp2() bool

func (*ForwardEchoRequest) GetKey Uses

func (m *ForwardEchoRequest) GetKey() string

func (*ForwardEchoRequest) GetMessage Uses

func (m *ForwardEchoRequest) GetMessage() string

func (*ForwardEchoRequest) GetMethod Uses

func (m *ForwardEchoRequest) GetMethod() string

func (*ForwardEchoRequest) GetQps Uses

func (m *ForwardEchoRequest) GetQps() int32

func (*ForwardEchoRequest) GetServerFirst Uses

func (m *ForwardEchoRequest) GetServerFirst() bool

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 2021-01-25. Refresh now. Tools for package owners.