als

package
v1.3.16 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLog

type AccessLog struct {
	// type of Access Logging service to implement
	//
	// Types that are valid to be assigned to OutputDestination:
	//	*AccessLog_FileSink
	//	*AccessLog_GrpcService
	OutputDestination    isAccessLog_OutputDestination `protobuf_oneof:"OutputDestination"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*AccessLog) Descriptor

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

func (*AccessLog) Equal

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

func (*AccessLog) GetFileSink

func (m *AccessLog) GetFileSink() *FileSink

func (*AccessLog) GetGrpcService

func (m *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) Reset

func (m *AccessLog) Reset()

func (*AccessLog) String

func (m *AccessLog) String() string

func (*AccessLog) XXX_DiscardUnknown

func (m *AccessLog) XXX_DiscardUnknown()

func (*AccessLog) XXX_Marshal

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

func (*AccessLog) XXX_Merge

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

func (*AccessLog) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*AccessLog) XXX_Size

func (m *AccessLog) XXX_Size() int

func (*AccessLog) XXX_Unmarshal

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

type AccessLog_FileSink

type AccessLog_FileSink struct {
	FileSink *FileSink `protobuf:"bytes,2,opt,name=file_sink,json=fileSink,proto3,oneof" json:"file_sink,omitempty"`
}

func (*AccessLog_FileSink) Equal

func (this *AccessLog_FileSink) Equal(that interface{}) bool

type AccessLog_GrpcService

type AccessLog_GrpcService struct {
	GrpcService *GrpcService `protobuf:"bytes,3,opt,name=grpc_service,json=grpcService,proto3,oneof" json:"grpc_service,omitempty"`
}

func (*AccessLog_GrpcService) Equal

func (this *AccessLog_GrpcService) Equal(that interface{}) bool

type AccessLoggingService

type AccessLoggingService struct {
	AccessLog            []*AccessLog `protobuf:"bytes,1,rep,name=access_log,json=accessLog,proto3" json:"access_log,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

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

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

func (*AccessLoggingService) Equal

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

func (*AccessLoggingService) GetAccessLog

func (m *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) Reset

func (m *AccessLoggingService) Reset()

func (*AccessLoggingService) String

func (m *AccessLoggingService) String() string

func (*AccessLoggingService) XXX_DiscardUnknown

func (m *AccessLoggingService) XXX_DiscardUnknown()

func (*AccessLoggingService) XXX_Marshal

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

func (*AccessLoggingService) XXX_Merge

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

func (*AccessLoggingService) XXX_Size

func (m *AccessLoggingService) XXX_Size() int

func (*AccessLoggingService) XXX_Unmarshal

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

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 valid to be assigned to OutputFormat:
	//	*FileSink_StringFormat
	//	*FileSink_JsonFormat
	OutputFormat         isFileSink_OutputFormat `protobuf_oneof:"output_format"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*FileSink) Descriptor

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

func (*FileSink) Equal

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

func (*FileSink) GetJsonFormat

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

func (*FileSink) GetOutputFormat

func (m *FileSink) GetOutputFormat() isFileSink_OutputFormat

func (*FileSink) GetPath

func (m *FileSink) GetPath() string

func (*FileSink) GetStringFormat

func (m *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) Reset

func (m *FileSink) Reset()

func (*FileSink) String

func (m *FileSink) String() string

func (*FileSink) XXX_DiscardUnknown

func (m *FileSink) XXX_DiscardUnknown()

func (*FileSink) XXX_Marshal

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

func (*FileSink) XXX_Merge

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

func (*FileSink) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*FileSink) XXX_Size

func (m *FileSink) XXX_Size() int

func (*FileSink) XXX_Unmarshal

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

type FileSink_JsonFormat

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

func (*FileSink_JsonFormat) Equal

func (this *FileSink_JsonFormat) Equal(that interface{}) bool

type FileSink_StringFormat

type FileSink_StringFormat struct {
	StringFormat string `protobuf:"bytes,2,opt,name=string_format,json=stringFormat,proto3,oneof" json:"string_format,omitempty"`
}

func (*FileSink_StringFormat) Equal

func (this *FileSink_StringFormat) Equal(that interface{}) bool

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 valid to be assigned 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 */
	XXX_NoUnkeyedLiteral            struct{}                 `json:"-"`
	XXX_unrecognized                []byte                   `json:"-"`
	XXX_sizecache                   int32                    `json:"-"`
}

func (*GrpcService) Descriptor

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

func (*GrpcService) Equal

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

func (*GrpcService) GetAdditionalRequestHeadersToLog

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

func (*GrpcService) GetAdditionalResponseHeadersToLog

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

func (*GrpcService) GetAdditionalResponseTrailersToLog

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

func (*GrpcService) GetLogName

func (m *GrpcService) GetLogName() string

func (*GrpcService) GetServiceRef

func (m *GrpcService) GetServiceRef() isGrpcService_ServiceRef

func (*GrpcService) GetStaticClusterName

func (m *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) Reset

func (m *GrpcService) Reset()

func (*GrpcService) String

func (m *GrpcService) String() string

func (*GrpcService) XXX_DiscardUnknown

func (m *GrpcService) XXX_DiscardUnknown()

func (*GrpcService) XXX_Marshal

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

func (*GrpcService) XXX_Merge

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

func (*GrpcService) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*GrpcService) XXX_Size

func (m *GrpcService) XXX_Size() int

func (*GrpcService) XXX_Unmarshal

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

type GrpcService_StaticClusterName

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

func (*GrpcService_StaticClusterName) Equal

func (this *GrpcService_StaticClusterName) Equal(that interface{}) bool

Jump to

Keyboard shortcuts

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