als

package
v1.6.0-beta24 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: Apache-2.0 Imports: 18 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_als_als_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccessLog

type AccessLog struct {

	// type of Access Logging service to implement
	//
	// Types that are assignable to OutputDestination:
	//	*AccessLog_FileSink
	//	*AccessLog_GrpcService
	OutputDestination isAccessLog_OutputDestination `protobuf_oneof:"OutputDestination"`
	// contains filtered or unexported fields
}

func (*AccessLog) Descriptor deprecated

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

Deprecated: Use AccessLog.ProtoReflect.Descriptor instead.

func (*AccessLog) Equal

func (m *AccessLog) Equal(that interface{}) bool

Equal function

func (*AccessLog) GetFileSink

func (x *AccessLog) GetFileSink() *FileSink

func (*AccessLog) GetGrpcService

func (x *AccessLog) GetGrpcService() *GrpcService

func (*AccessLog) GetOutputDestination

func (m *AccessLog) GetOutputDestination() isAccessLog_OutputDestination

func (*AccessLog) Hash added in v1.2.13

func (m *AccessLog) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*AccessLog) ProtoMessage

func (*AccessLog) ProtoMessage()

func (*AccessLog) ProtoReflect added in v1.6.0

func (x *AccessLog) ProtoReflect() protoreflect.Message

func (*AccessLog) Reset

func (x *AccessLog) Reset()

func (*AccessLog) String

func (x *AccessLog) String() string

type AccessLog_FileSink

type AccessLog_FileSink struct {
	// Output access logs to local file
	FileSink *FileSink `protobuf:"bytes,2,opt,name=file_sink,json=fileSink,proto3,oneof"`
}

type AccessLog_GrpcService

type AccessLog_GrpcService struct {
	// Send access logs to gRPC service
	GrpcService *GrpcService `protobuf:"bytes,3,opt,name=grpc_service,json=grpcService,proto3,oneof"`
}

type AccessLoggingService

type AccessLoggingService struct {
	AccessLog []*AccessLog `protobuf:"bytes,1,rep,name=access_log,json=accessLog,proto3" json:"access_log,omitempty"`
	// contains filtered or unexported fields
}

Contains various settings for Envoy's access logging service. See here for more information: https://www.envoyproxy.io/docs/envoy/latest/api-v2/config/filter/accesslog/v2/accesslog.proto#envoy-api-msg-config-filter-accesslog-v2-accesslog

func (*AccessLoggingService) Descriptor deprecated

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

Deprecated: Use AccessLoggingService.ProtoReflect.Descriptor instead.

func (*AccessLoggingService) Equal

func (m *AccessLoggingService) Equal(that interface{}) bool

Equal function

func (*AccessLoggingService) GetAccessLog

func (x *AccessLoggingService) GetAccessLog() []*AccessLog

func (*AccessLoggingService) Hash added in v1.2.13

func (m *AccessLoggingService) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*AccessLoggingService) ProtoMessage

func (*AccessLoggingService) ProtoMessage()

func (*AccessLoggingService) ProtoReflect added in v1.6.0

func (x *AccessLoggingService) ProtoReflect() protoreflect.Message

func (*AccessLoggingService) Reset

func (x *AccessLoggingService) Reset()

func (*AccessLoggingService) String

func (x *AccessLoggingService) String() string

type FileSink

type FileSink struct {

	// the file path to which the file access logging service will sink
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// the format which the logs should be outputted by
	//
	// Types that are assignable to OutputFormat:
	//	*FileSink_StringFormat
	//	*FileSink_JsonFormat
	OutputFormat isFileSink_OutputFormat `protobuf_oneof:"output_format"`
	// contains filtered or unexported fields
}

func (*FileSink) Descriptor deprecated

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

Deprecated: Use FileSink.ProtoReflect.Descriptor instead.

func (*FileSink) Equal

func (m *FileSink) Equal(that interface{}) bool

Equal function

func (*FileSink) GetJsonFormat

func (x *FileSink) GetJsonFormat() *_struct.Struct

func (*FileSink) GetOutputFormat

func (m *FileSink) GetOutputFormat() isFileSink_OutputFormat

func (*FileSink) GetPath

func (x *FileSink) GetPath() string

func (*FileSink) GetStringFormat

func (x *FileSink) GetStringFormat() string

func (*FileSink) Hash added in v1.2.13

func (m *FileSink) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*FileSink) ProtoMessage

func (*FileSink) ProtoMessage()

func (*FileSink) ProtoReflect added in v1.6.0

func (x *FileSink) ProtoReflect() protoreflect.Message

func (*FileSink) Reset

func (x *FileSink) Reset()

func (*FileSink) String

func (x *FileSink) String() string

type FileSink_JsonFormat

type FileSink_JsonFormat struct {
	// the format object by which to envoy will emit the logs in a structured way.
	// https://www.envoyproxy.io/docs/envoy/v1.14.1/configuration/observability/access_log#format-dictionaries
	JsonFormat *_struct.Struct `protobuf:"bytes,3,opt,name=json_format,json=jsonFormat,proto3,oneof"`
}

type FileSink_StringFormat

type FileSink_StringFormat struct {
	// the format string by which envoy will format the log lines
	// https://www.envoyproxy.io/docs/envoy/v1.14.1/configuration/observability/access_log#config-access-log-format-strings
	StringFormat string `protobuf:"bytes,2,opt,name=string_format,json=stringFormat,proto3,oneof"`
}

type GrpcService

type GrpcService struct {

	// name of log stream
	LogName string `protobuf:"bytes,1,opt,name=log_name,json=logName,proto3" json:"log_name,omitempty"`
	// The static cluster defined in bootstrap config to route to
	//
	// Types that are assignable to ServiceRef:
	//	*GrpcService_StaticClusterName
	ServiceRef                      isGrpcService_ServiceRef `protobuf_oneof:"service_ref"`
	AdditionalRequestHeadersToLog   []string                 `` /* 154-byte string literal not displayed */
	AdditionalResponseHeadersToLog  []string                 `` /* 157-byte string literal not displayed */
	AdditionalResponseTrailersToLog []string                 `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GrpcService) Descriptor deprecated

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

Deprecated: Use GrpcService.ProtoReflect.Descriptor instead.

func (*GrpcService) Equal

func (m *GrpcService) Equal(that interface{}) bool

Equal function

func (*GrpcService) GetAdditionalRequestHeadersToLog

func (x *GrpcService) GetAdditionalRequestHeadersToLog() []string

func (*GrpcService) GetAdditionalResponseHeadersToLog

func (x *GrpcService) GetAdditionalResponseHeadersToLog() []string

func (*GrpcService) GetAdditionalResponseTrailersToLog

func (x *GrpcService) GetAdditionalResponseTrailersToLog() []string

func (*GrpcService) GetLogName

func (x *GrpcService) GetLogName() string

func (*GrpcService) GetServiceRef

func (m *GrpcService) GetServiceRef() isGrpcService_ServiceRef

func (*GrpcService) GetStaticClusterName

func (x *GrpcService) GetStaticClusterName() string

func (*GrpcService) Hash added in v1.2.13

func (m *GrpcService) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*GrpcService) ProtoMessage

func (*GrpcService) ProtoMessage()

func (*GrpcService) ProtoReflect added in v1.6.0

func (x *GrpcService) ProtoReflect() protoreflect.Message

func (*GrpcService) Reset

func (x *GrpcService) Reset()

func (*GrpcService) String

func (x *GrpcService) String() string

type GrpcService_StaticClusterName

type GrpcService_StaticClusterName struct {
	StaticClusterName string `protobuf:"bytes,2,opt,name=static_cluster_name,json=staticClusterName,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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