envoy_extensions_access_loggers_grpc_v3

package
v1.6.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAls        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAls          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAls = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type CommonGrpcAccessLogConfig

type CommonGrpcAccessLogConfig struct {
	// The friendly name of the access log to be returned in :ref:`StreamAccessLogsMessage.Identifier
	// <envoy_api_msg_service.accesslog.v3.StreamAccessLogsMessage.Identifier>`. This allows the
	// access log server to differentiate between different access logs coming from the same Envoy.
	LogName string `protobuf:"bytes,1,opt,name=log_name,json=logName,proto3" json:"log_name,omitempty"`
	// The gRPC service for the access log service.
	GrpcService *v3.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
	// Interval for flushing access logs to the gRPC stream. Logger will flush requests every time
	// this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to
	// 1 second.
	BufferFlushInterval *types.Duration `protobuf:"bytes,3,opt,name=buffer_flush_interval,json=bufferFlushInterval,proto3" json:"buffer_flush_interval,omitempty"`
	// Soft size limit in bytes for access log entries buffer. Logger will buffer requests until
	// this limit it hit, or every time flush interval is elapsed, whichever comes first. Setting it
	// to zero effectively disables the batching. Defaults to 16384.
	BufferSizeBytes *types.UInt32Value `protobuf:"bytes,4,opt,name=buffer_size_bytes,json=bufferSizeBytes,proto3" json:"buffer_size_bytes,omitempty"`
	// Additional filter state objects to log in :ref:`filter_state_objects
	// <envoy_api_field_data.accesslog.v3.AccessLogCommon.filter_state_objects>`.
	// Logger will call `FilterState::Object::serializeAsProto` to serialize the filter state object.
	FilterStateObjectsToLog []string `` /* 136-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

Common configuration for gRPC access logs. [#next-free-field: 6]

func (*CommonGrpcAccessLogConfig) Descriptor

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

func (*CommonGrpcAccessLogConfig) GetBufferFlushInterval

func (m *CommonGrpcAccessLogConfig) GetBufferFlushInterval() *types.Duration

func (*CommonGrpcAccessLogConfig) GetBufferSizeBytes

func (m *CommonGrpcAccessLogConfig) GetBufferSizeBytes() *types.UInt32Value

func (*CommonGrpcAccessLogConfig) GetFilterStateObjectsToLog

func (m *CommonGrpcAccessLogConfig) GetFilterStateObjectsToLog() []string

func (*CommonGrpcAccessLogConfig) GetGrpcService

func (m *CommonGrpcAccessLogConfig) GetGrpcService() *v3.GrpcService

func (*CommonGrpcAccessLogConfig) GetLogName

func (m *CommonGrpcAccessLogConfig) GetLogName() string

func (*CommonGrpcAccessLogConfig) Marshal

func (m *CommonGrpcAccessLogConfig) Marshal() (dAtA []byte, err error)

func (*CommonGrpcAccessLogConfig) MarshalTo

func (m *CommonGrpcAccessLogConfig) MarshalTo(dAtA []byte) (int, error)

func (*CommonGrpcAccessLogConfig) MarshalToSizedBuffer

func (m *CommonGrpcAccessLogConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CommonGrpcAccessLogConfig) ProtoMessage

func (*CommonGrpcAccessLogConfig) ProtoMessage()

func (*CommonGrpcAccessLogConfig) Reset

func (m *CommonGrpcAccessLogConfig) Reset()

func (*CommonGrpcAccessLogConfig) Size

func (m *CommonGrpcAccessLogConfig) Size() (n int)

func (*CommonGrpcAccessLogConfig) String

func (m *CommonGrpcAccessLogConfig) String() string

func (*CommonGrpcAccessLogConfig) Unmarshal

func (m *CommonGrpcAccessLogConfig) Unmarshal(dAtA []byte) error

func (*CommonGrpcAccessLogConfig) Validate

func (m *CommonGrpcAccessLogConfig) Validate() error

Validate checks the field values on CommonGrpcAccessLogConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CommonGrpcAccessLogConfig) XXX_DiscardUnknown

func (m *CommonGrpcAccessLogConfig) XXX_DiscardUnknown()

func (*CommonGrpcAccessLogConfig) XXX_Marshal

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

func (*CommonGrpcAccessLogConfig) XXX_Merge

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

func (*CommonGrpcAccessLogConfig) XXX_Size

func (m *CommonGrpcAccessLogConfig) XXX_Size() int

func (*CommonGrpcAccessLogConfig) XXX_Unmarshal

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

type CommonGrpcAccessLogConfigValidationError

type CommonGrpcAccessLogConfigValidationError struct {
	// contains filtered or unexported fields
}

CommonGrpcAccessLogConfigValidationError is the validation error returned by CommonGrpcAccessLogConfig.Validate if the designated constraints aren't met.

func (CommonGrpcAccessLogConfigValidationError) Cause

Cause function returns cause value.

func (CommonGrpcAccessLogConfigValidationError) Error

Error satisfies the builtin error interface

func (CommonGrpcAccessLogConfigValidationError) ErrorName

ErrorName returns error name.

func (CommonGrpcAccessLogConfigValidationError) Field

Field function returns field value.

func (CommonGrpcAccessLogConfigValidationError) Key

Key function returns key value.

func (CommonGrpcAccessLogConfigValidationError) Reason

Reason function returns reason value.

type HttpGrpcAccessLogConfig

type HttpGrpcAccessLogConfig struct {
	CommonConfig *CommonGrpcAccessLogConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"`
	// Additional request headers to log in :ref:`HTTPRequestProperties.request_headers
	// <envoy_api_field_data.accesslog.v3.HTTPRequestProperties.request_headers>`.
	AdditionalRequestHeadersToLog []string `` /* 154-byte string literal not displayed */
	// Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
	// <envoy_api_field_data.accesslog.v3.HTTPResponseProperties.response_headers>`.
	AdditionalResponseHeadersToLog []string `` /* 157-byte string literal not displayed */
	// Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
	// <envoy_api_field_data.accesslog.v3.HTTPResponseProperties.response_trailers>`.
	AdditionalResponseTrailersToLog []string `` /* 160-byte string literal not displayed */
	XXX_NoUnkeyedLiteral            struct{} `json:"-"`
	XXX_unrecognized                []byte   `json:"-"`
	XXX_sizecache                   int32    `json:"-"`
}

Configuration for the built-in *envoy.access_loggers.http_grpc* :ref:`AccessLog <envoy_api_msg_config.accesslog.v3.AccessLog>`. This configuration will populate :ref:`StreamAccessLogsMessage.http_logs <envoy_api_field_service.accesslog.v3.StreamAccessLogsMessage.http_logs>`. [#extension: envoy.access_loggers.http_grpc]

func (*HttpGrpcAccessLogConfig) Descriptor

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

func (*HttpGrpcAccessLogConfig) GetAdditionalRequestHeadersToLog

func (m *HttpGrpcAccessLogConfig) GetAdditionalRequestHeadersToLog() []string

func (*HttpGrpcAccessLogConfig) GetAdditionalResponseHeadersToLog

func (m *HttpGrpcAccessLogConfig) GetAdditionalResponseHeadersToLog() []string

func (*HttpGrpcAccessLogConfig) GetAdditionalResponseTrailersToLog

func (m *HttpGrpcAccessLogConfig) GetAdditionalResponseTrailersToLog() []string

func (*HttpGrpcAccessLogConfig) GetCommonConfig

func (m *HttpGrpcAccessLogConfig) GetCommonConfig() *CommonGrpcAccessLogConfig

func (*HttpGrpcAccessLogConfig) Marshal

func (m *HttpGrpcAccessLogConfig) Marshal() (dAtA []byte, err error)

func (*HttpGrpcAccessLogConfig) MarshalTo

func (m *HttpGrpcAccessLogConfig) MarshalTo(dAtA []byte) (int, error)

func (*HttpGrpcAccessLogConfig) MarshalToSizedBuffer

func (m *HttpGrpcAccessLogConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HttpGrpcAccessLogConfig) ProtoMessage

func (*HttpGrpcAccessLogConfig) ProtoMessage()

func (*HttpGrpcAccessLogConfig) Reset

func (m *HttpGrpcAccessLogConfig) Reset()

func (*HttpGrpcAccessLogConfig) Size

func (m *HttpGrpcAccessLogConfig) Size() (n int)

func (*HttpGrpcAccessLogConfig) String

func (m *HttpGrpcAccessLogConfig) String() string

func (*HttpGrpcAccessLogConfig) Unmarshal

func (m *HttpGrpcAccessLogConfig) Unmarshal(dAtA []byte) error

func (*HttpGrpcAccessLogConfig) Validate

func (m *HttpGrpcAccessLogConfig) Validate() error

Validate checks the field values on HttpGrpcAccessLogConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HttpGrpcAccessLogConfig) XXX_DiscardUnknown

func (m *HttpGrpcAccessLogConfig) XXX_DiscardUnknown()

func (*HttpGrpcAccessLogConfig) XXX_Marshal

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

func (*HttpGrpcAccessLogConfig) XXX_Merge

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

func (*HttpGrpcAccessLogConfig) XXX_Size

func (m *HttpGrpcAccessLogConfig) XXX_Size() int

func (*HttpGrpcAccessLogConfig) XXX_Unmarshal

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

type HttpGrpcAccessLogConfigValidationError

type HttpGrpcAccessLogConfigValidationError struct {
	// contains filtered or unexported fields
}

HttpGrpcAccessLogConfigValidationError is the validation error returned by HttpGrpcAccessLogConfig.Validate if the designated constraints aren't met.

func (HttpGrpcAccessLogConfigValidationError) Cause

Cause function returns cause value.

func (HttpGrpcAccessLogConfigValidationError) Error

Error satisfies the builtin error interface

func (HttpGrpcAccessLogConfigValidationError) ErrorName

ErrorName returns error name.

func (HttpGrpcAccessLogConfigValidationError) Field

Field function returns field value.

func (HttpGrpcAccessLogConfigValidationError) Key

Key function returns key value.

func (HttpGrpcAccessLogConfigValidationError) Reason

Reason function returns reason value.

type TcpGrpcAccessLogConfig

type TcpGrpcAccessLogConfig struct {
	CommonConfig         *CommonGrpcAccessLogConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

Configuration for the built-in *envoy.access_loggers.tcp_grpc* type. This configuration will populate *StreamAccessLogsMessage.tcp_logs*. [#extension: envoy.access_loggers.tcp_grpc]

func (*TcpGrpcAccessLogConfig) Descriptor

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

func (*TcpGrpcAccessLogConfig) GetCommonConfig

func (m *TcpGrpcAccessLogConfig) GetCommonConfig() *CommonGrpcAccessLogConfig

func (*TcpGrpcAccessLogConfig) Marshal

func (m *TcpGrpcAccessLogConfig) Marshal() (dAtA []byte, err error)

func (*TcpGrpcAccessLogConfig) MarshalTo

func (m *TcpGrpcAccessLogConfig) MarshalTo(dAtA []byte) (int, error)

func (*TcpGrpcAccessLogConfig) MarshalToSizedBuffer

func (m *TcpGrpcAccessLogConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TcpGrpcAccessLogConfig) ProtoMessage

func (*TcpGrpcAccessLogConfig) ProtoMessage()

func (*TcpGrpcAccessLogConfig) Reset

func (m *TcpGrpcAccessLogConfig) Reset()

func (*TcpGrpcAccessLogConfig) Size

func (m *TcpGrpcAccessLogConfig) Size() (n int)

func (*TcpGrpcAccessLogConfig) String

func (m *TcpGrpcAccessLogConfig) String() string

func (*TcpGrpcAccessLogConfig) Unmarshal

func (m *TcpGrpcAccessLogConfig) Unmarshal(dAtA []byte) error

func (*TcpGrpcAccessLogConfig) Validate

func (m *TcpGrpcAccessLogConfig) Validate() error

Validate checks the field values on TcpGrpcAccessLogConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*TcpGrpcAccessLogConfig) XXX_DiscardUnknown

func (m *TcpGrpcAccessLogConfig) XXX_DiscardUnknown()

func (*TcpGrpcAccessLogConfig) XXX_Marshal

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

func (*TcpGrpcAccessLogConfig) XXX_Merge

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

func (*TcpGrpcAccessLogConfig) XXX_Size

func (m *TcpGrpcAccessLogConfig) XXX_Size() int

func (*TcpGrpcAccessLogConfig) XXX_Unmarshal

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

type TcpGrpcAccessLogConfigValidationError

type TcpGrpcAccessLogConfigValidationError struct {
	// contains filtered or unexported fields
}

TcpGrpcAccessLogConfigValidationError is the validation error returned by TcpGrpcAccessLogConfig.Validate if the designated constraints aren't met.

func (TcpGrpcAccessLogConfigValidationError) Cause

Cause function returns cause value.

func (TcpGrpcAccessLogConfigValidationError) Error

Error satisfies the builtin error interface

func (TcpGrpcAccessLogConfigValidationError) ErrorName

ErrorName returns error name.

func (TcpGrpcAccessLogConfigValidationError) Field

Field function returns field value.

func (TcpGrpcAccessLogConfigValidationError) Key

Key function returns key value.

func (TcpGrpcAccessLogConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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