Documentation ¶
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)deprecated
- func (x *StreamAccessLogsMessage) GetHttpLogs() *StreamAccessLogsMessage_HTTPAccessLogEntries
- func (x *StreamAccessLogsMessage) GetIdentifier() *StreamAccessLogsMessage_Identifier
- func (m *StreamAccessLogsMessage) GetLogEntries() isStreamAccessLogsMessage_LogEntries
- func (x *StreamAccessLogsMessage) GetTcpLogs() *StreamAccessLogsMessage_TCPAccessLogEntries
- func (*StreamAccessLogsMessage) ProtoMessage()
- func (x *StreamAccessLogsMessage) ProtoReflect() protoreflect.Message
- func (x *StreamAccessLogsMessage) Reset()
- func (x *StreamAccessLogsMessage) String() string
- func (m *StreamAccessLogsMessage) Validate() error
- func (m *StreamAccessLogsMessage) ValidateAll() error
- type StreamAccessLogsMessageMultiError
- type StreamAccessLogsMessageValidationError
- func (e StreamAccessLogsMessageValidationError) Cause() error
- func (e StreamAccessLogsMessageValidationError) Error() string
- func (e StreamAccessLogsMessageValidationError) ErrorName() string
- func (e StreamAccessLogsMessageValidationError) Field() string
- func (e StreamAccessLogsMessageValidationError) Key() bool
- func (e StreamAccessLogsMessageValidationError) Reason() string
- type StreamAccessLogsMessage_HTTPAccessLogEntries
- func (*StreamAccessLogsMessage_HTTPAccessLogEntries) Descriptor() ([]byte, []int)deprecated
- func (x *StreamAccessLogsMessage_HTTPAccessLogEntries) GetLogEntry() []*v2.HTTPAccessLogEntry
- func (*StreamAccessLogsMessage_HTTPAccessLogEntries) ProtoMessage()
- func (x *StreamAccessLogsMessage_HTTPAccessLogEntries) ProtoReflect() protoreflect.Message
- func (x *StreamAccessLogsMessage_HTTPAccessLogEntries) Reset()
- func (x *StreamAccessLogsMessage_HTTPAccessLogEntries) String() string
- func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) Validate() error
- func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) ValidateAll() error
- type StreamAccessLogsMessage_HTTPAccessLogEntriesMultiError
- type StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError
- func (e StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Cause() error
- func (e StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Error() string
- func (e StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) ErrorName() string
- func (e StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Field() string
- func (e StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Key() bool
- func (e StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Reason() string
- type StreamAccessLogsMessage_HttpLogs
- type StreamAccessLogsMessage_Identifier
- func (*StreamAccessLogsMessage_Identifier) Descriptor() ([]byte, []int)deprecated
- func (x *StreamAccessLogsMessage_Identifier) GetLogName() string
- func (x *StreamAccessLogsMessage_Identifier) GetNode() *core.Node
- func (*StreamAccessLogsMessage_Identifier) ProtoMessage()
- func (x *StreamAccessLogsMessage_Identifier) ProtoReflect() protoreflect.Message
- func (x *StreamAccessLogsMessage_Identifier) Reset()
- func (x *StreamAccessLogsMessage_Identifier) String() string
- func (m *StreamAccessLogsMessage_Identifier) Validate() error
- func (m *StreamAccessLogsMessage_Identifier) ValidateAll() error
- type StreamAccessLogsMessage_IdentifierMultiError
- type StreamAccessLogsMessage_IdentifierValidationError
- func (e StreamAccessLogsMessage_IdentifierValidationError) Cause() error
- func (e StreamAccessLogsMessage_IdentifierValidationError) Error() string
- func (e StreamAccessLogsMessage_IdentifierValidationError) ErrorName() string
- func (e StreamAccessLogsMessage_IdentifierValidationError) Field() string
- func (e StreamAccessLogsMessage_IdentifierValidationError) Key() bool
- func (e StreamAccessLogsMessage_IdentifierValidationError) Reason() string
- type StreamAccessLogsMessage_TCPAccessLogEntries
- func (*StreamAccessLogsMessage_TCPAccessLogEntries) Descriptor() ([]byte, []int)deprecated
- func (x *StreamAccessLogsMessage_TCPAccessLogEntries) GetLogEntry() []*v2.TCPAccessLogEntry
- func (*StreamAccessLogsMessage_TCPAccessLogEntries) ProtoMessage()
- func (x *StreamAccessLogsMessage_TCPAccessLogEntries) ProtoReflect() protoreflect.Message
- func (x *StreamAccessLogsMessage_TCPAccessLogEntries) Reset()
- func (x *StreamAccessLogsMessage_TCPAccessLogEntries) String() string
- func (m *StreamAccessLogsMessage_TCPAccessLogEntries) Validate() error
- func (m *StreamAccessLogsMessage_TCPAccessLogEntries) ValidateAll() error
- type StreamAccessLogsMessage_TCPAccessLogEntriesMultiError
- type StreamAccessLogsMessage_TCPAccessLogEntriesValidationError
- func (e StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Cause() error
- func (e StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Error() string
- func (e StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) ErrorName() string
- func (e StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Field() string
- func (e StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Key() bool
- func (e StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Reason() string
- type StreamAccessLogsMessage_TcpLogs
- type StreamAccessLogsResponse
- func (*StreamAccessLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (*StreamAccessLogsResponse) ProtoMessage()
- func (x *StreamAccessLogsResponse) ProtoReflect() protoreflect.Message
- func (x *StreamAccessLogsResponse) Reset()
- func (x *StreamAccessLogsResponse) String() string
- func (m *StreamAccessLogsResponse) Validate() error
- func (m *StreamAccessLogsResponse) ValidateAll() error
- type StreamAccessLogsResponseMultiError
- type StreamAccessLogsResponseValidationError
- func (e StreamAccessLogsResponseValidationError) Cause() error
- func (e StreamAccessLogsResponseValidationError) Error() string
- func (e StreamAccessLogsResponseValidationError) ErrorName() string
- func (e StreamAccessLogsResponseValidationError) Field() string
- func (e StreamAccessLogsResponseValidationError) Key() bool
- func (e StreamAccessLogsResponseValidationError) Reason() string
- type UnimplementedAccessLogServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_envoy_service_accesslog_v2_als_proto protoreflect.FileDescriptor
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) }
AccessLogServiceClient is the client API for AccessLogService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccessLogServiceClient ¶
func NewAccessLogServiceClient(cc grpc.ClientConnInterface) 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 }
AccessLogServiceServer is the server API for AccessLogService service.
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,proto3" 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 assignable to LogEntries: // *StreamAccessLogsMessage_HttpLogs // *StreamAccessLogsMessage_TcpLogs LogEntries isStreamAccessLogsMessage_LogEntries `protobuf_oneof:"log_entries"` // contains filtered or unexported fields }
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
deprecated
func (*StreamAccessLogsMessage) Descriptor() ([]byte, []int)
Deprecated: Use StreamAccessLogsMessage.ProtoReflect.Descriptor instead.
func (*StreamAccessLogsMessage) GetHttpLogs ¶
func (x *StreamAccessLogsMessage) GetHttpLogs() *StreamAccessLogsMessage_HTTPAccessLogEntries
func (*StreamAccessLogsMessage) GetIdentifier ¶
func (x *StreamAccessLogsMessage) GetIdentifier() *StreamAccessLogsMessage_Identifier
func (*StreamAccessLogsMessage) GetLogEntries ¶
func (m *StreamAccessLogsMessage) GetLogEntries() isStreamAccessLogsMessage_LogEntries
func (*StreamAccessLogsMessage) GetTcpLogs ¶
func (x *StreamAccessLogsMessage) GetTcpLogs() *StreamAccessLogsMessage_TCPAccessLogEntries
func (*StreamAccessLogsMessage) ProtoMessage ¶
func (*StreamAccessLogsMessage) ProtoMessage()
func (*StreamAccessLogsMessage) ProtoReflect ¶ added in v0.11.2
func (x *StreamAccessLogsMessage) ProtoReflect() protoreflect.Message
func (*StreamAccessLogsMessage) Reset ¶
func (x *StreamAccessLogsMessage) Reset()
func (*StreamAccessLogsMessage) String ¶
func (x *StreamAccessLogsMessage) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*StreamAccessLogsMessage) ValidateAll ¶ added in v0.11.2
func (m *StreamAccessLogsMessage) ValidateAll() error
ValidateAll checks the field values on StreamAccessLogsMessage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamAccessLogsMessageMultiError, or nil if none found.
type StreamAccessLogsMessageMultiError ¶ added in v0.11.2
type StreamAccessLogsMessageMultiError []error
StreamAccessLogsMessageMultiError is an error wrapping multiple validation errors returned by StreamAccessLogsMessage.ValidateAll() if the designated constraints aren't met.
func (StreamAccessLogsMessageMultiError) AllErrors ¶ added in v0.11.2
func (m StreamAccessLogsMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamAccessLogsMessageMultiError) Error ¶ added in v0.11.2
func (m StreamAccessLogsMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamAccessLogsMessageValidationError ¶
type StreamAccessLogsMessageValidationError struct {
// contains filtered or unexported fields
}
StreamAccessLogsMessageValidationError is the validation error returned by StreamAccessLogsMessage.Validate if the designated constraints aren't met.
func (StreamAccessLogsMessageValidationError) Cause ¶
func (e StreamAccessLogsMessageValidationError) Cause() error
Cause function returns cause value.
func (StreamAccessLogsMessageValidationError) Error ¶
func (e StreamAccessLogsMessageValidationError) Error() string
Error satisfies the builtin error interface
func (StreamAccessLogsMessageValidationError) ErrorName ¶ added in v0.7.0
func (e StreamAccessLogsMessageValidationError) ErrorName() string
ErrorName returns error name.
func (StreamAccessLogsMessageValidationError) Field ¶
func (e StreamAccessLogsMessageValidationError) Field() string
Field function returns field value.
func (StreamAccessLogsMessageValidationError) Key ¶
func (e StreamAccessLogsMessageValidationError) Key() bool
Key function returns key value.
func (StreamAccessLogsMessageValidationError) Reason ¶
func (e StreamAccessLogsMessageValidationError) Reason() string
Reason function returns reason value.
type StreamAccessLogsMessage_HTTPAccessLogEntries ¶
type StreamAccessLogsMessage_HTTPAccessLogEntries struct { LogEntry []*v2.HTTPAccessLogEntry `protobuf:"bytes,1,rep,name=log_entry,json=logEntry,proto3" json:"log_entry,omitempty"` // contains filtered or unexported fields }
Wrapper for batches of HTTP access log entries.
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) Descriptor
deprecated
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) Descriptor() ([]byte, []int)
Deprecated: Use StreamAccessLogsMessage_HTTPAccessLogEntries.ProtoReflect.Descriptor instead.
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) GetLogEntry ¶
func (x *StreamAccessLogsMessage_HTTPAccessLogEntries) GetLogEntry() []*v2.HTTPAccessLogEntry
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) ProtoMessage ¶
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) ProtoMessage()
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) ProtoReflect ¶ added in v0.11.2
func (x *StreamAccessLogsMessage_HTTPAccessLogEntries) ProtoReflect() protoreflect.Message
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) Reset ¶
func (x *StreamAccessLogsMessage_HTTPAccessLogEntries) Reset()
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) String ¶
func (x *StreamAccessLogsMessage_HTTPAccessLogEntries) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*StreamAccessLogsMessage_HTTPAccessLogEntries) ValidateAll ¶ added in v0.11.2
func (m *StreamAccessLogsMessage_HTTPAccessLogEntries) ValidateAll() error
ValidateAll checks the field values on StreamAccessLogsMessage_HTTPAccessLogEntries with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamAccessLogsMessage_HTTPAccessLogEntriesMultiError, or nil if none found.
type StreamAccessLogsMessage_HTTPAccessLogEntriesMultiError ¶ added in v0.11.2
type StreamAccessLogsMessage_HTTPAccessLogEntriesMultiError []error
StreamAccessLogsMessage_HTTPAccessLogEntriesMultiError is an error wrapping multiple validation errors returned by StreamAccessLogsMessage_HTTPAccessLogEntries.ValidateAll() if the designated constraints aren't met.
func (StreamAccessLogsMessage_HTTPAccessLogEntriesMultiError) AllErrors ¶ added in v0.11.2
func (m StreamAccessLogsMessage_HTTPAccessLogEntriesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamAccessLogsMessage_HTTPAccessLogEntriesMultiError) Error ¶ added in v0.11.2
func (m StreamAccessLogsMessage_HTTPAccessLogEntriesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError ¶
type StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError struct {
// contains filtered or unexported fields
}
StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError is the validation error returned by StreamAccessLogsMessage_HTTPAccessLogEntries.Validate if the designated constraints aren't met.
func (StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Cause ¶
func (e StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Cause() error
Cause function returns cause value.
func (StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Error ¶
func (e StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Error() string
Error satisfies the builtin error interface
func (StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) ErrorName ¶ added in v0.7.0
func (e StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) ErrorName() string
ErrorName returns error name.
func (StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Field ¶
func (e StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Field() string
Field function returns field value.
func (StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Key ¶
func (e StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Key() bool
Key function returns key value.
func (StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Reason ¶
func (e StreamAccessLogsMessage_HTTPAccessLogEntriesValidationError) Reason() string
Reason function returns reason value.
type StreamAccessLogsMessage_HttpLogs ¶
type StreamAccessLogsMessage_HttpLogs struct {
HttpLogs *StreamAccessLogsMessage_HTTPAccessLogEntries `protobuf:"bytes,2,opt,name=http_logs,json=httpLogs,proto3,oneof"`
}
type StreamAccessLogsMessage_Identifier ¶
type StreamAccessLogsMessage_Identifier struct { // The node sending the access log messages over the stream. Node *core.Node `protobuf:"bytes,1,opt,name=node,proto3" 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"` // contains filtered or unexported fields }
func (*StreamAccessLogsMessage_Identifier) Descriptor
deprecated
func (*StreamAccessLogsMessage_Identifier) Descriptor() ([]byte, []int)
Deprecated: Use StreamAccessLogsMessage_Identifier.ProtoReflect.Descriptor instead.
func (*StreamAccessLogsMessage_Identifier) GetLogName ¶
func (x *StreamAccessLogsMessage_Identifier) GetLogName() string
func (*StreamAccessLogsMessage_Identifier) GetNode ¶
func (x *StreamAccessLogsMessage_Identifier) GetNode() *core.Node
func (*StreamAccessLogsMessage_Identifier) ProtoMessage ¶
func (*StreamAccessLogsMessage_Identifier) ProtoMessage()
func (*StreamAccessLogsMessage_Identifier) ProtoReflect ¶ added in v0.11.2
func (x *StreamAccessLogsMessage_Identifier) ProtoReflect() protoreflect.Message
func (*StreamAccessLogsMessage_Identifier) Reset ¶
func (x *StreamAccessLogsMessage_Identifier) Reset()
func (*StreamAccessLogsMessage_Identifier) String ¶
func (x *StreamAccessLogsMessage_Identifier) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*StreamAccessLogsMessage_Identifier) ValidateAll ¶ added in v0.11.2
func (m *StreamAccessLogsMessage_Identifier) ValidateAll() error
ValidateAll checks the field values on StreamAccessLogsMessage_Identifier with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamAccessLogsMessage_IdentifierMultiError, or nil if none found.
type StreamAccessLogsMessage_IdentifierMultiError ¶ added in v0.11.2
type StreamAccessLogsMessage_IdentifierMultiError []error
StreamAccessLogsMessage_IdentifierMultiError is an error wrapping multiple validation errors returned by StreamAccessLogsMessage_Identifier.ValidateAll() if the designated constraints aren't met.
func (StreamAccessLogsMessage_IdentifierMultiError) AllErrors ¶ added in v0.11.2
func (m StreamAccessLogsMessage_IdentifierMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamAccessLogsMessage_IdentifierMultiError) Error ¶ added in v0.11.2
func (m StreamAccessLogsMessage_IdentifierMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamAccessLogsMessage_IdentifierValidationError ¶
type StreamAccessLogsMessage_IdentifierValidationError struct {
// contains filtered or unexported fields
}
StreamAccessLogsMessage_IdentifierValidationError is the validation error returned by StreamAccessLogsMessage_Identifier.Validate if the designated constraints aren't met.
func (StreamAccessLogsMessage_IdentifierValidationError) Cause ¶
func (e StreamAccessLogsMessage_IdentifierValidationError) Cause() error
Cause function returns cause value.
func (StreamAccessLogsMessage_IdentifierValidationError) Error ¶
func (e StreamAccessLogsMessage_IdentifierValidationError) Error() string
Error satisfies the builtin error interface
func (StreamAccessLogsMessage_IdentifierValidationError) ErrorName ¶ added in v0.7.0
func (e StreamAccessLogsMessage_IdentifierValidationError) ErrorName() string
ErrorName returns error name.
func (StreamAccessLogsMessage_IdentifierValidationError) Field ¶
func (e StreamAccessLogsMessage_IdentifierValidationError) Field() string
Field function returns field value.
func (StreamAccessLogsMessage_IdentifierValidationError) Key ¶
func (e StreamAccessLogsMessage_IdentifierValidationError) Key() bool
Key function returns key value.
func (StreamAccessLogsMessage_IdentifierValidationError) Reason ¶
func (e StreamAccessLogsMessage_IdentifierValidationError) Reason() string
Reason function returns reason value.
type StreamAccessLogsMessage_TCPAccessLogEntries ¶
type StreamAccessLogsMessage_TCPAccessLogEntries struct { LogEntry []*v2.TCPAccessLogEntry `protobuf:"bytes,1,rep,name=log_entry,json=logEntry,proto3" json:"log_entry,omitempty"` // contains filtered or unexported fields }
Wrapper for batches of TCP access log entries.
func (*StreamAccessLogsMessage_TCPAccessLogEntries) Descriptor
deprecated
func (*StreamAccessLogsMessage_TCPAccessLogEntries) Descriptor() ([]byte, []int)
Deprecated: Use StreamAccessLogsMessage_TCPAccessLogEntries.ProtoReflect.Descriptor instead.
func (*StreamAccessLogsMessage_TCPAccessLogEntries) GetLogEntry ¶
func (x *StreamAccessLogsMessage_TCPAccessLogEntries) GetLogEntry() []*v2.TCPAccessLogEntry
func (*StreamAccessLogsMessage_TCPAccessLogEntries) ProtoMessage ¶
func (*StreamAccessLogsMessage_TCPAccessLogEntries) ProtoMessage()
func (*StreamAccessLogsMessage_TCPAccessLogEntries) ProtoReflect ¶ added in v0.11.2
func (x *StreamAccessLogsMessage_TCPAccessLogEntries) ProtoReflect() protoreflect.Message
func (*StreamAccessLogsMessage_TCPAccessLogEntries) Reset ¶
func (x *StreamAccessLogsMessage_TCPAccessLogEntries) Reset()
func (*StreamAccessLogsMessage_TCPAccessLogEntries) String ¶
func (x *StreamAccessLogsMessage_TCPAccessLogEntries) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*StreamAccessLogsMessage_TCPAccessLogEntries) ValidateAll ¶ added in v0.11.2
func (m *StreamAccessLogsMessage_TCPAccessLogEntries) ValidateAll() error
ValidateAll checks the field values on StreamAccessLogsMessage_TCPAccessLogEntries with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamAccessLogsMessage_TCPAccessLogEntriesMultiError, or nil if none found.
type StreamAccessLogsMessage_TCPAccessLogEntriesMultiError ¶ added in v0.11.2
type StreamAccessLogsMessage_TCPAccessLogEntriesMultiError []error
StreamAccessLogsMessage_TCPAccessLogEntriesMultiError is an error wrapping multiple validation errors returned by StreamAccessLogsMessage_TCPAccessLogEntries.ValidateAll() if the designated constraints aren't met.
func (StreamAccessLogsMessage_TCPAccessLogEntriesMultiError) AllErrors ¶ added in v0.11.2
func (m StreamAccessLogsMessage_TCPAccessLogEntriesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamAccessLogsMessage_TCPAccessLogEntriesMultiError) Error ¶ added in v0.11.2
func (m StreamAccessLogsMessage_TCPAccessLogEntriesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamAccessLogsMessage_TCPAccessLogEntriesValidationError ¶
type StreamAccessLogsMessage_TCPAccessLogEntriesValidationError struct {
// contains filtered or unexported fields
}
StreamAccessLogsMessage_TCPAccessLogEntriesValidationError is the validation error returned by StreamAccessLogsMessage_TCPAccessLogEntries.Validate if the designated constraints aren't met.
func (StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Cause ¶
func (e StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Cause() error
Cause function returns cause value.
func (StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Error ¶
func (e StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Error() string
Error satisfies the builtin error interface
func (StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) ErrorName ¶ added in v0.7.0
func (e StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) ErrorName() string
ErrorName returns error name.
func (StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Field ¶
func (e StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Field() string
Field function returns field value.
func (StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Key ¶
func (e StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Key() bool
Key function returns key value.
func (StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Reason ¶
func (e StreamAccessLogsMessage_TCPAccessLogEntriesValidationError) Reason() string
Reason function returns reason value.
type StreamAccessLogsMessage_TcpLogs ¶
type StreamAccessLogsMessage_TcpLogs struct {
TcpLogs *StreamAccessLogsMessage_TCPAccessLogEntries `protobuf:"bytes,3,opt,name=tcp_logs,json=tcpLogs,proto3,oneof"`
}
type StreamAccessLogsResponse ¶
type StreamAccessLogsResponse struct {
// contains filtered or unexported fields
}
Empty response for the StreamAccessLogs API. Will never be sent. See below.
func (*StreamAccessLogsResponse) Descriptor
deprecated
func (*StreamAccessLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamAccessLogsResponse.ProtoReflect.Descriptor instead.
func (*StreamAccessLogsResponse) ProtoMessage ¶
func (*StreamAccessLogsResponse) ProtoMessage()
func (*StreamAccessLogsResponse) ProtoReflect ¶ added in v0.11.2
func (x *StreamAccessLogsResponse) ProtoReflect() protoreflect.Message
func (*StreamAccessLogsResponse) Reset ¶
func (x *StreamAccessLogsResponse) Reset()
func (*StreamAccessLogsResponse) String ¶
func (x *StreamAccessLogsResponse) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*StreamAccessLogsResponse) ValidateAll ¶ added in v0.11.2
func (m *StreamAccessLogsResponse) ValidateAll() error
ValidateAll checks the field values on StreamAccessLogsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamAccessLogsResponseMultiError, or nil if none found.
type StreamAccessLogsResponseMultiError ¶ added in v0.11.2
type StreamAccessLogsResponseMultiError []error
StreamAccessLogsResponseMultiError is an error wrapping multiple validation errors returned by StreamAccessLogsResponse.ValidateAll() if the designated constraints aren't met.
func (StreamAccessLogsResponseMultiError) AllErrors ¶ added in v0.11.2
func (m StreamAccessLogsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamAccessLogsResponseMultiError) Error ¶ added in v0.11.2
func (m StreamAccessLogsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamAccessLogsResponseValidationError ¶
type StreamAccessLogsResponseValidationError struct {
// contains filtered or unexported fields
}
StreamAccessLogsResponseValidationError is the validation error returned by StreamAccessLogsResponse.Validate if the designated constraints aren't met.
func (StreamAccessLogsResponseValidationError) Cause ¶
func (e StreamAccessLogsResponseValidationError) Cause() error
Cause function returns cause value.
func (StreamAccessLogsResponseValidationError) Error ¶
func (e StreamAccessLogsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StreamAccessLogsResponseValidationError) ErrorName ¶ added in v0.7.0
func (e StreamAccessLogsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StreamAccessLogsResponseValidationError) Field ¶
func (e StreamAccessLogsResponseValidationError) Field() string
Field function returns field value.
func (StreamAccessLogsResponseValidationError) Key ¶
func (e StreamAccessLogsResponseValidationError) Key() bool
Key function returns key value.
func (StreamAccessLogsResponseValidationError) Reason ¶
func (e StreamAccessLogsResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAccessLogServiceServer ¶ added in v0.11.2
type UnimplementedAccessLogServiceServer struct { }
UnimplementedAccessLogServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccessLogServiceServer) StreamAccessLogs ¶ added in v0.11.2
func (*UnimplementedAccessLogServiceServer) StreamAccessLogs(AccessLogService_StreamAccessLogsServer) error