envoy_extensions_access_loggers_file_v3

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFile        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFile          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFile = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

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"`
	// Types that are valid to be assigned to AccessLogFormat:
	//	*FileAccessLog_Format
	//	*FileAccessLog_JsonFormat
	//	*FileAccessLog_TypedJsonFormat
	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.accesslog.v3.AccessLog>` that writes log entries directly to a file. Configures the built-in *envoy.access_loggers.file* AccessLog.

func (*FileAccessLog) Descriptor

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

func (*FileAccessLog) GetAccessLogFormat

func (m *FileAccessLog) GetAccessLogFormat() isFileAccessLog_AccessLogFormat

func (*FileAccessLog) GetFormat

func (m *FileAccessLog) GetFormat() string

func (*FileAccessLog) GetJsonFormat

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

func (*FileAccessLog) GetPath

func (m *FileAccessLog) GetPath() string

func (*FileAccessLog) GetTypedJsonFormat

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

func (*FileAccessLog) Marshal

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

func (*FileAccessLog) MarshalTo

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

func (*FileAccessLog) MarshalToSizedBuffer

func (m *FileAccessLog) MarshalToSizedBuffer(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 (m *FileAccessLog) XXX_Merge(src proto.Message)

func (*FileAccessLog) XXX_OneofWrappers

func (*FileAccessLog) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers 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 {
	// contains filtered or unexported fields
}

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

func (FileAccessLogValidationError) Cause

Cause function returns cause value.

func (FileAccessLogValidationError) Error

Error satisfies the builtin error interface

func (FileAccessLogValidationError) ErrorName

func (e FileAccessLogValidationError) ErrorName() string

ErrorName returns error name.

func (FileAccessLogValidationError) Field

Field function returns field value.

func (FileAccessLogValidationError) Key

Key function returns key value.

func (FileAccessLogValidationError) Reason

Reason function returns reason value.

type FileAccessLog_Format

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

func (*FileAccessLog_Format) MarshalTo

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

func (*FileAccessLog_Format) MarshalToSizedBuffer

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

func (*FileAccessLog_Format) Size

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

type FileAccessLog_JsonFormat

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

func (*FileAccessLog_JsonFormat) MarshalTo

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

func (*FileAccessLog_JsonFormat) MarshalToSizedBuffer

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

func (*FileAccessLog_JsonFormat) Size

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

type FileAccessLog_TypedJsonFormat

type FileAccessLog_TypedJsonFormat struct {
	TypedJsonFormat *types.Struct `protobuf:"bytes,4,opt,name=typed_json_format,json=typedJsonFormat,proto3,oneof" json:"typed_json_format,omitempty"`
}

func (*FileAccessLog_TypedJsonFormat) MarshalTo

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

func (*FileAccessLog_TypedJsonFormat) MarshalToSizedBuffer

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

func (*FileAccessLog_TypedJsonFormat) Size

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

Jump to

Keyboard shortcuts

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