Documentation ¶
Overview ¶
Package v2 is a generated protocol buffer package.
It is generated from these files:
envoy/service/accesslog/v2/als.proto
It has these top-level messages:
StreamAccessLogsResponse StreamAccessLogsMessage
Index ¶
- Variables
- func RegisterAccessLogServiceServer(s *grpc.Server, srv AccessLogServiceServer)
- type AccessLogServiceClient
- type AccessLogServiceServer
- type AccessLogService_StreamAccessLogsClient
- type AccessLogService_StreamAccessLogsServer
- type StreamAccessLogsMessage
- func (*StreamAccessLogsMessage) Descriptor() ([]byte, []int)
- func (m *StreamAccessLogsMessage) GetHttpLogs() *StreamAccessLogsMessage_HTTPAccessLogEntries
- func (m *StreamAccessLogsMessage) GetIdentifier() *StreamAccessLogsMessage_Identifier
- func (m *StreamAccessLogsMessage) GetLogEntries() isStreamAccessLogsMessage_LogEntries
- func (m *StreamAccessLogsMessage) GetTcpLogs() *StreamAccessLogsMessage_TCPAccessLogEntries
- func (m *StreamAccessLogsMessage) Marshal() (dAtA []byte, err error)
- func (m *StreamAccessLogsMessage) MarshalTo(dAtA []byte) (int, error)
- func (*StreamAccessLogsMessage) ProtoMessage()
- func (m *StreamAccessLogsMessage) Reset()
- func (m *StreamAccessLogsMessage) Size() (n int)
- func (m *StreamAccessLogsMessage) String() string
- func (m *StreamAccessLogsMessage) Unmarshal(dAtA []byte) error
- func (m *StreamAccessLogsMessage) Validate() error
- func (*StreamAccessLogsMessage) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type StreamAccessLogsMessageValidationError
- type StreamAccessLogsMessage_HTTPAccessLogEntries
- func (*StreamAccessLogsMessage_HTTPAccessLogEntries) Descriptor() ([]byte, []int)
- func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) GetLogEntry() []*envoy_data_accesslog_v2.HTTPAccessLogEntry
- func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) Marshal() (dAtA []byte, err error)
- func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) MarshalTo(dAtA []byte) (int, error)
- func (*StreamAccessLogsMessage_HTTPAccessLogEntries) ProtoMessage()
- func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) Reset()
- func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) Size() (n int)
- func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) String() string
- func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) Unmarshal(dAtA []byte) error
- func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) Validate() error
- type StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError
- type StreamAccessLogsMessage_HttpLogs
- type StreamAccessLogsMessage_Identifier
- func (*StreamAccessLogsMessage_Identifier) Descriptor() ([]byte, []int)
- func (m *StreamAccessLogsMessage_Identifier) GetLogName() string
- func (m *StreamAccessLogsMessage_Identifier) GetNode() *envoy_api_v2_core.Node
- func (m *StreamAccessLogsMessage_Identifier) Marshal() (dAtA []byte, err error)
- func (m *StreamAccessLogsMessage_Identifier) MarshalTo(dAtA []byte) (int, error)
- func (*StreamAccessLogsMessage_Identifier) ProtoMessage()
- func (m *StreamAccessLogsMessage_Identifier) Reset()
- func (m *StreamAccessLogsMessage_Identifier) Size() (n int)
- func (m *StreamAccessLogsMessage_Identifier) String() string
- func (m *StreamAccessLogsMessage_Identifier) Unmarshal(dAtA []byte) error
- func (m *StreamAccessLogsMessage_Identifier) Validate() error
- type StreamAccessLogsMessage_IdentifierValidationError
- type StreamAccessLogsMessage_TCPAccessLogEntries
- func (*StreamAccessLogsMessage_TCPAccessLogEntries) Descriptor() ([]byte, []int)
- func (m *StreamAccessLogsMessage_TCPAccessLogEntries) GetLogEntry() []*envoy_data_accesslog_v2.TCPAccessLogEntry
- func (m *StreamAccessLogsMessage_TCPAccessLogEntries) Marshal() (dAtA []byte, err error)
- func (m *StreamAccessLogsMessage_TCPAccessLogEntries) MarshalTo(dAtA []byte) (int, error)
- func (*StreamAccessLogsMessage_TCPAccessLogEntries) ProtoMessage()
- func (m *StreamAccessLogsMessage_TCPAccessLogEntries) Reset()
- func (m *StreamAccessLogsMessage_TCPAccessLogEntries) Size() (n int)
- func (m *StreamAccessLogsMessage_TCPAccessLogEntries) String() string
- func (m *StreamAccessLogsMessage_TCPAccessLogEntries) Unmarshal(dAtA []byte) error
- func (m *StreamAccessLogsMessage_TCPAccessLogEntries) Validate() error
- type StreamAccessLogsMessage_TCPAccessLogEntriesValidationError
- type StreamAccessLogsMessage_TcpLogs
- type StreamAccessLogsResponse
- func (*StreamAccessLogsResponse) Descriptor() ([]byte, []int)
- func (m *StreamAccessLogsResponse) Marshal() (dAtA []byte, err error)
- func (m *StreamAccessLogsResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StreamAccessLogsResponse) ProtoMessage()
- func (m *StreamAccessLogsResponse) Reset()
- func (m *StreamAccessLogsResponse) Size() (n int)
- func (m *StreamAccessLogsResponse) String() string
- func (m *StreamAccessLogsResponse) Unmarshal(dAtA []byte) error
- func (m *StreamAccessLogsResponse) Validate() error
- type StreamAccessLogsResponseValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthAls = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAls = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterAccessLogServiceServer ¶
func RegisterAccessLogServiceServer(s *grpc.Server, srv AccessLogServiceServer)
Types ¶
type AccessLogServiceClient ¶
type AccessLogServiceClient interface { // Envoy will connect and send StreamAccessLogsMessage messages forever. It does not expect any // response to be sent as nothing would be done in the case of failure. The server should // disconnect if it expects Envoy to reconnect. In the future we may decide to add a different // API for "critical" access logs in which Envoy will buffer access logs for some period of time // until it gets an ACK so it could then retry. This API is designed for high throughput with the // expectation that it might be lossy. StreamAccessLogs(ctx context.Context, opts ...grpc.CallOption) (AccessLogService_StreamAccessLogsClient, error) }
func NewAccessLogServiceClient ¶
func NewAccessLogServiceClient(cc *grpc.ClientConn) AccessLogServiceClient
type AccessLogServiceServer ¶
type AccessLogServiceServer interface { // Envoy will connect and send StreamAccessLogsMessage messages forever. It does not expect any // response to be sent as nothing would be done in the case of failure. The server should // disconnect if it expects Envoy to reconnect. In the future we may decide to add a different // API for "critical" access logs in which Envoy will buffer access logs for some period of time // until it gets an ACK so it could then retry. This API is designed for high throughput with the // expectation that it might be lossy. StreamAccessLogs(AccessLogService_StreamAccessLogsServer) error }
type AccessLogService_StreamAccessLogsClient ¶
type AccessLogService_StreamAccessLogsClient interface { Send(*StreamAccessLogsMessage) error CloseAndRecv() (*StreamAccessLogsResponse, error) grpc.ClientStream }
type AccessLogService_StreamAccessLogsServer ¶
type AccessLogService_StreamAccessLogsServer interface { SendAndClose(*StreamAccessLogsResponse) error Recv() (*StreamAccessLogsMessage, error) grpc.ServerStream }
type StreamAccessLogsMessage ¶
type StreamAccessLogsMessage struct { // Identifier data that will only be sent in the first message on the stream. This is effectively // structured metadata and is a performance optimization. Identifier *StreamAccessLogsMessage_Identifier `protobuf:"bytes,1,opt,name=identifier" json:"identifier,omitempty"` // Batches of log entries of a single type. Generally speaking, a given stream should only // ever include one type of log entry. // // Types that are valid to be assigned to LogEntries: // *StreamAccessLogsMessage_HttpLogs // *StreamAccessLogsMessage_TcpLogs LogEntries isStreamAccessLogsMessage_LogEntries `protobuf_oneof:"log_entries"` }
Stream message for the StreamAccessLogs API. Envoy will open a stream to the server and stream access logs without ever expecting a response.
func (*StreamAccessLogsMessage) Descriptor ¶
func (*StreamAccessLogsMessage) Descriptor() ([]byte, []int)
func (*StreamAccessLogsMessage) GetHttpLogs ¶
func (m *StreamAccessLogsMessage) GetHttpLogs() *StreamAccessLogsMessage_HTTPAccessLogEntries
func (*StreamAccessLogsMessage) GetIdentifier ¶
func (m *StreamAccessLogsMessage) GetIdentifier() *StreamAccessLogsMessage_Identifier
func (*StreamAccessLogsMessage) GetLogEntries ¶
func (m *StreamAccessLogsMessage) GetLogEntries() isStreamAccessLogsMessage_LogEntries
func (*StreamAccessLogsMessage) GetTcpLogs ¶
func (m *StreamAccessLogsMessage) GetTcpLogs() *StreamAccessLogsMessage_TCPAccessLogEntries
func (*StreamAccessLogsMessage) Marshal ¶
func (m *StreamAccessLogsMessage) Marshal() (dAtA []byte, err error)
func (*StreamAccessLogsMessage) MarshalTo ¶
func (m *StreamAccessLogsMessage) MarshalTo(dAtA []byte) (int, error)
func (*StreamAccessLogsMessage) ProtoMessage ¶
func (*StreamAccessLogsMessage) ProtoMessage()
func (*StreamAccessLogsMessage) Reset ¶
func (m *StreamAccessLogsMessage) Reset()
func (*StreamAccessLogsMessage) Size ¶
func (m *StreamAccessLogsMessage) Size() (n int)
func (*StreamAccessLogsMessage) String ¶
func (m *StreamAccessLogsMessage) String() string
func (*StreamAccessLogsMessage) Unmarshal ¶
func (m *StreamAccessLogsMessage) Unmarshal(dAtA []byte) error
func (*StreamAccessLogsMessage) Validate ¶
func (m *StreamAccessLogsMessage) Validate() error
Validate checks the field values on StreamAccessLogsMessage with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*StreamAccessLogsMessage) XXX_OneofFuncs ¶
func (*StreamAccessLogsMessage) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type StreamAccessLogsMessageValidationError ¶
type StreamAccessLogsMessageValidationError struct { Field string Reason string Cause error Key bool }
StreamAccessLogsMessageValidationError is the validation error returned by StreamAccessLogsMessage.Validate if the designated constraints aren't met.
func (StreamAccessLogsMessageValidationError) Error ¶
func (e StreamAccessLogsMessageValidationError) Error() string
Error satisfies the builtin error interface
type StreamAccessLogsMessage_HTTPAccessLogEntries ¶
type StreamAccessLogsMessage_HTTPAccessLogEntries struct {
LogEntry []*envoy_data_accesslog_v2.HTTPAccessLogEntry `protobuf:"bytes,1,rep,name=log_entry,json=logEntry" json:"log_entry,omitempty"`
}
Wrapper for batches of HTTP access log entries.
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) Descriptor ¶
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) Descriptor() ([]byte, []int)
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) GetLogEntry ¶
func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) GetLogEntry() []*envoy_data_accesslog_v2.HTTPAccessLogEntry
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) Marshal ¶
func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) Marshal() (dAtA []byte, err error)
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) MarshalTo ¶
func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) MarshalTo(dAtA []byte) (int, error)
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) ProtoMessage ¶
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) ProtoMessage()
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) Reset ¶
func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) Reset()
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) Size ¶
func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) Size() (n int)
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) String ¶
func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) String() string
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) Unmarshal ¶
func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) Unmarshal(dAtA []byte) error
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) Validate ¶
func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) Validate() error
Validate checks the field values on StreamAccessLogsMessage_HTTPAccessLogEntries with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError ¶
type StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError struct { Field string Reason string Cause error Key bool }
StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError is the validation error returned by StreamAccessLogsMessage_HTTPAccessLogEntries.Validate if the designated constraints aren't met.
func (StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Error ¶
func (e StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Error() string
Error satisfies the builtin error interface
type StreamAccessLogsMessage_HttpLogs ¶
type StreamAccessLogsMessage_HttpLogs struct {
HttpLogs *StreamAccessLogsMessage_HTTPAccessLogEntries `protobuf:"bytes,2,opt,name=http_logs,json=httpLogs,oneof"`
}
func (*StreamAccessLogsMessage_HttpLogs) MarshalTo ¶
func (m *StreamAccessLogsMessage_HttpLogs) MarshalTo(dAtA []byte) (int, error)
func (*StreamAccessLogsMessage_HttpLogs) Size ¶
func (m *StreamAccessLogsMessage_HttpLogs) Size() (n int)
type StreamAccessLogsMessage_Identifier ¶
type StreamAccessLogsMessage_Identifier struct { // The node sending the access log messages over the stream. Node *envoy_api_v2_core.Node `protobuf:"bytes,1,opt,name=node" json:"node,omitempty"` // The friendly name of the log configured in :ref:`CommonGrpcAccessLogConfig // <envoy_api_msg_config.accesslog.v2.CommonGrpcAccessLogConfig>`. LogName string `protobuf:"bytes,2,opt,name=log_name,json=logName,proto3" json:"log_name,omitempty"` }
func (*StreamAccessLogsMessage_Identifier) Descriptor ¶
func (*StreamAccessLogsMessage_Identifier) Descriptor() ([]byte, []int)
func (*StreamAccessLogsMessage_Identifier) GetLogName ¶
func (m *StreamAccessLogsMessage_Identifier) GetLogName() string
func (*StreamAccessLogsMessage_Identifier) GetNode ¶
func (m *StreamAccessLogsMessage_Identifier) GetNode() *envoy_api_v2_core.Node
func (*StreamAccessLogsMessage_Identifier) Marshal ¶
func (m *StreamAccessLogsMessage_Identifier) Marshal() (dAtA []byte, err error)
func (*StreamAccessLogsMessage_Identifier) MarshalTo ¶
func (m *StreamAccessLogsMessage_Identifier) MarshalTo(dAtA []byte) (int, error)
func (*StreamAccessLogsMessage_Identifier) ProtoMessage ¶
func (*StreamAccessLogsMessage_Identifier) ProtoMessage()
func (*StreamAccessLogsMessage_Identifier) Reset ¶
func (m *StreamAccessLogsMessage_Identifier) Reset()
func (*StreamAccessLogsMessage_Identifier) Size ¶
func (m *StreamAccessLogsMessage_Identifier) Size() (n int)
func (*StreamAccessLogsMessage_Identifier) String ¶
func (m *StreamAccessLogsMessage_Identifier) String() string
func (*StreamAccessLogsMessage_Identifier) Unmarshal ¶
func (m *StreamAccessLogsMessage_Identifier) Unmarshal(dAtA []byte) error
func (*StreamAccessLogsMessage_Identifier) Validate ¶
func (m *StreamAccessLogsMessage_Identifier) Validate() error
Validate checks the field values on StreamAccessLogsMessage_Identifier with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StreamAccessLogsMessage_IdentifierValidationError ¶
type StreamAccessLogsMessage_IdentifierValidationError struct { Field string Reason string Cause error Key bool }
StreamAccessLogsMessage_IdentifierValidationError is the validation error returned by StreamAccessLogsMessage_Identifier.Validate if the designated constraints aren't met.
func (StreamAccessLogsMessage_IdentifierValidationError) Error ¶
func (e StreamAccessLogsMessage_IdentifierValidationError) Error() string
Error satisfies the builtin error interface
type StreamAccessLogsMessage_TCPAccessLogEntries ¶
type StreamAccessLogsMessage_TCPAccessLogEntries struct {
LogEntry []*envoy_data_accesslog_v2.TCPAccessLogEntry `protobuf:"bytes,1,rep,name=log_entry,json=logEntry" json:"log_entry,omitempty"`
}
[#not-implemented-hide:] Wrapper for batches of TCP access log entries.
func (*StreamAccessLogsMessage_TCPAccessLogEntries) Descriptor ¶
func (*StreamAccessLogsMessage_TCPAccessLogEntries) Descriptor() ([]byte, []int)
func (*StreamAccessLogsMessage_TCPAccessLogEntries) GetLogEntry ¶
func (m *StreamAccessLogsMessage_TCPAccessLogEntries) GetLogEntry() []*envoy_data_accesslog_v2.TCPAccessLogEntry
func (*StreamAccessLogsMessage_TCPAccessLogEntries) Marshal ¶
func (m *StreamAccessLogsMessage_TCPAccessLogEntries) Marshal() (dAtA []byte, err error)
func (*StreamAccessLogsMessage_TCPAccessLogEntries) MarshalTo ¶
func (m *StreamAccessLogsMessage_TCPAccessLogEntries) MarshalTo(dAtA []byte) (int, error)
func (*StreamAccessLogsMessage_TCPAccessLogEntries) ProtoMessage ¶
func (*StreamAccessLogsMessage_TCPAccessLogEntries) ProtoMessage()
func (*StreamAccessLogsMessage_TCPAccessLogEntries) Reset ¶
func (m *StreamAccessLogsMessage_TCPAccessLogEntries) Reset()
func (*StreamAccessLogsMessage_TCPAccessLogEntries) Size ¶
func (m *StreamAccessLogsMessage_TCPAccessLogEntries) Size() (n int)
func (*StreamAccessLogsMessage_TCPAccessLogEntries) String ¶
func (m *StreamAccessLogsMessage_TCPAccessLogEntries) String() string
func (*StreamAccessLogsMessage_TCPAccessLogEntries) Unmarshal ¶
func (m *StreamAccessLogsMessage_TCPAccessLogEntries) Unmarshal(dAtA []byte) error
func (*StreamAccessLogsMessage_TCPAccessLogEntries) Validate ¶
func (m *StreamAccessLogsMessage_TCPAccessLogEntries) Validate() error
Validate checks the field values on StreamAccessLogsMessage_TCPAccessLogEntries with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StreamAccessLogsMessage_TCPAccessLogEntriesValidationError ¶
type StreamAccessLogsMessage_TCPAccessLogEntriesValidationError struct { Field string Reason string Cause error Key bool }
StreamAccessLogsMessage_TCPAccessLogEntriesValidationError is the validation error returned by StreamAccessLogsMessage_TCPAccessLogEntries.Validate if the designated constraints aren't met.
func (StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Error ¶
func (e StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Error() string
Error satisfies the builtin error interface
type StreamAccessLogsMessage_TcpLogs ¶
type StreamAccessLogsMessage_TcpLogs struct {
TcpLogs *StreamAccessLogsMessage_TCPAccessLogEntries `protobuf:"bytes,3,opt,name=tcp_logs,json=tcpLogs,oneof"`
}
func (*StreamAccessLogsMessage_TcpLogs) MarshalTo ¶
func (m *StreamAccessLogsMessage_TcpLogs) MarshalTo(dAtA []byte) (int, error)
func (*StreamAccessLogsMessage_TcpLogs) Size ¶
func (m *StreamAccessLogsMessage_TcpLogs) Size() (n int)
type StreamAccessLogsResponse ¶
type StreamAccessLogsResponse struct { }
Empty response for the StreamAccessLogs API. Will never be sent. See below.
func (*StreamAccessLogsResponse) Descriptor ¶
func (*StreamAccessLogsResponse) Descriptor() ([]byte, []int)
func (*StreamAccessLogsResponse) Marshal ¶
func (m *StreamAccessLogsResponse) Marshal() (dAtA []byte, err error)
func (*StreamAccessLogsResponse) MarshalTo ¶
func (m *StreamAccessLogsResponse) MarshalTo(dAtA []byte) (int, error)
func (*StreamAccessLogsResponse) ProtoMessage ¶
func (*StreamAccessLogsResponse) ProtoMessage()
func (*StreamAccessLogsResponse) Reset ¶
func (m *StreamAccessLogsResponse) Reset()
func (*StreamAccessLogsResponse) Size ¶
func (m *StreamAccessLogsResponse) Size() (n int)
func (*StreamAccessLogsResponse) String ¶
func (m *StreamAccessLogsResponse) String() string
func (*StreamAccessLogsResponse) Unmarshal ¶
func (m *StreamAccessLogsResponse) Unmarshal(dAtA []byte) error
func (*StreamAccessLogsResponse) Validate ¶
func (m *StreamAccessLogsResponse) Validate() error
Validate checks the field values on StreamAccessLogsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StreamAccessLogsResponseValidationError ¶
type StreamAccessLogsResponseValidationError struct { Field string Reason string Cause error Key bool }
StreamAccessLogsResponseValidationError is the validation error returned by StreamAccessLogsResponse.Validate if the designated constraints aren't met.
func (StreamAccessLogsResponseValidationError) Error ¶
func (e StreamAccessLogsResponseValidationError) Error() string
Error satisfies the builtin error interface