v2

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2018 License: Apache-2.0 Imports: 16 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")
)
View Source
var (
	ErrInvalidLengthFile = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFile   = fmt.Errorf("proto: integer overflow")
)

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.v2.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          *core.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService" json:"grpc_service,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Common configuration for gRPC access logs.

func (*CommonGrpcAccessLogConfig) Descriptor

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

func (*CommonGrpcAccessLogConfig) GetGrpcService

func (m *CommonGrpcAccessLogConfig) GetGrpcService() *core.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) 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 (dst *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 {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (CommonGrpcAccessLogConfigValidationError) Error

Error satisfies the builtin error interface

type FileAccessLog

type FileAccessLog struct {
	// A path to a local file to which to write the access log entries.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Access log format. Envoy supports :ref:`custom access log formats
	// <config_access_log_format>` as well as a :ref:`default format
	// <config_access_log_default_format>`.
	//
	// Types that are valid to be assigned to AccessLogFormat:
	//	*FileAccessLog_Format
	//	*FileAccessLog_JsonFormat
	AccessLogFormat      isFileAccessLog_AccessLogFormat `protobuf_oneof:"access_log_format"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.filter.accesslog.v2.AccessLog>` that writes log entries directly to a file. Configures the built-in *envoy.file_access_log* AccessLog.

func (*FileAccessLog) Descriptor

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

func (*FileAccessLog) GetAccessLogFormat added in v0.6.2

func (m *FileAccessLog) GetAccessLogFormat() isFileAccessLog_AccessLogFormat

func (*FileAccessLog) GetFormat

func (m *FileAccessLog) GetFormat() string

func (*FileAccessLog) GetJsonFormat added in v0.6.2

func (m *FileAccessLog) GetJsonFormat() *types.Struct

func (*FileAccessLog) GetPath

func (m *FileAccessLog) GetPath() string

func (*FileAccessLog) Marshal

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

func (*FileAccessLog) MarshalTo

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

func (*FileAccessLog) ProtoMessage

func (*FileAccessLog) ProtoMessage()

func (*FileAccessLog) Reset

func (m *FileAccessLog) Reset()

func (*FileAccessLog) Size

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

func (*FileAccessLog) String

func (m *FileAccessLog) String() string

func (*FileAccessLog) Unmarshal

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

func (*FileAccessLog) Validate

func (m *FileAccessLog) Validate() error

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

func (*FileAccessLog) XXX_DiscardUnknown

func (m *FileAccessLog) XXX_DiscardUnknown()

func (*FileAccessLog) XXX_Marshal

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

func (*FileAccessLog) XXX_Merge

func (dst *FileAccessLog) XXX_Merge(src proto.Message)

func (*FileAccessLog) XXX_OneofFuncs added in v0.6.2

func (*FileAccessLog) 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.

func (*FileAccessLog) XXX_Size

func (m *FileAccessLog) XXX_Size() int

func (*FileAccessLog) XXX_Unmarshal

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

type FileAccessLogValidationError

type FileAccessLogValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

FileAccessLogValidationError is the validation error returned by FileAccessLog.Validate if the designated constraints aren't met.

func (FileAccessLogValidationError) Error

Error satisfies the builtin error interface

type FileAccessLog_Format added in v0.6.2

type FileAccessLog_Format struct {
	Format string `protobuf:"bytes,2,opt,name=format,proto3,oneof"`
}

func (*FileAccessLog_Format) MarshalTo added in v0.6.2

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

func (*FileAccessLog_Format) Size added in v0.6.2

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

type FileAccessLog_JsonFormat added in v0.6.2

type FileAccessLog_JsonFormat struct {
	JsonFormat *types.Struct `protobuf:"bytes,3,opt,name=json_format,json=jsonFormat,oneof"`
}

func (*FileAccessLog_JsonFormat) MarshalTo added in v0.6.2

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

func (*FileAccessLog_JsonFormat) Size added in v0.6.2

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

type HttpGrpcAccessLogConfig

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

Configuration for the built-in *envoy.http_grpc_access_log* :ref:`AccessLog <envoy_api_msg_config.filter.accesslog.v2.AccessLog>`. This configuration will populate :ref:`StreamAccessLogsMessage.http_logs <envoy_api_field_service.accesslog.v2.StreamAccessLogsMessage.http_logs>`.

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) 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 (dst *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 {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (HttpGrpcAccessLogConfigValidationError) Error

Error satisfies the builtin error interface

type TcpGrpcAccessLogConfig

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

Configuration for the built-in *envoy.tcp_grpc_access_log* type. This configuration will populate *StreamAccessLogsMessage.tcp_logs*. [#not-implemented-hide:]

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) 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 (dst *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 {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (TcpGrpcAccessLogConfigValidationError) Error

Error satisfies the builtin error interface

Jump to

Keyboard shortcuts

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