Documentation ¶
Index ¶
- Variables
- func RegisterFilterServer(s *grpc.Server, srv FilterServer)
- type Bundle
- func (*Bundle) Descriptor() ([]byte, []int)deprecated
- func (x *Bundle) GetEntry() []*Element
- func (x *Bundle) GetProductKey() string
- func (x *Bundle) GetResourceType() string
- func (x *Bundle) GetTotal() int32
- func (x *Bundle) GetType() string
- func (*Bundle) ProtoMessage()
- func (x *Bundle) ProtoReflect() protoreflect.Message
- func (x *Bundle) Reset()
- func (x *Bundle) String() string
- type Element
- type FilterClient
- type FilterRequest
- type FilterResponse
- func (*FilterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FilterResponse) GetDrop() bool
- func (x *FilterResponse) GetError() string
- func (x *FilterResponse) GetModified() bool
- func (x *FilterResponse) GetResource() *Resource
- func (*FilterResponse) ProtoMessage()
- func (x *FilterResponse) ProtoReflect() protoreflect.Message
- func (x *FilterResponse) Reset()
- func (x *FilterResponse) String() string
- type FilterServer
- type LogData
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetApplicationInstance() string
- func (x *Resource) GetApplicationName() string
- func (x *Resource) GetApplicationVersion() string
- func (x *Resource) GetCategory() string
- func (x *Resource) GetComponent() string
- func (x *Resource) GetCustom() *_struct.Struct
- func (x *Resource) GetEventId() string
- func (x *Resource) GetId() string
- func (x *Resource) GetLogData() *LogData
- func (x *Resource) GetLogTime() string
- func (x *Resource) GetOriginatingUser() string
- func (x *Resource) GetResourceType() string
- func (x *Resource) GetServerName() string
- func (x *Resource) GetServiceName() string
- func (x *Resource) GetSeverity() string
- func (x *Resource) GetTransactionId() string
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- func (x *Resource) ToResource() (*logging.Resource, error)
- type UnimplementedFilterServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_resource_proto protoreflect.FileDescriptor
Functions ¶
func RegisterFilterServer ¶
func RegisterFilterServer(s *grpc.Server, srv FilterServer)
Types ¶
type Bundle ¶
type Bundle struct { ResourceType string `protobuf:"bytes,1,opt,name=resourceType,proto3" json:"resourceType,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` ProductKey string `protobuf:"bytes,4,opt,name=productKey,proto3" json:"productKey,omitempty"` Entry []*Element `protobuf:"bytes,5,rep,name=entry,proto3" json:"entry,omitempty"` // contains filtered or unexported fields }
func (*Bundle) Descriptor
deprecated
func (*Bundle) GetProductKey ¶
func (*Bundle) GetResourceType ¶
func (*Bundle) ProtoMessage ¶
func (*Bundle) ProtoMessage()
func (*Bundle) ProtoReflect ¶
func (x *Bundle) ProtoReflect() protoreflect.Message
type Element ¶
type Element struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*Element) Descriptor
deprecated
func (*Element) GetResource ¶
func (*Element) ProtoMessage ¶
func (*Element) ProtoMessage()
func (*Element) ProtoReflect ¶
func (x *Element) ProtoReflect() protoreflect.Message
type FilterClient ¶
type FilterClient interface {
Filter(ctx context.Context, in *FilterRequest, opts ...grpc.CallOption) (*FilterResponse, error)
}
FilterClient is the client API for Filter service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFilterClient ¶
func NewFilterClient(cc grpc.ClientConnInterface) FilterClient
type FilterRequest ¶
type FilterRequest struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*FilterRequest) Descriptor
deprecated
func (*FilterRequest) Descriptor() ([]byte, []int)
Deprecated: Use FilterRequest.ProtoReflect.Descriptor instead.
func (*FilterRequest) GetResource ¶
func (x *FilterRequest) GetResource() *Resource
func (*FilterRequest) ProtoMessage ¶
func (*FilterRequest) ProtoMessage()
func (*FilterRequest) ProtoReflect ¶
func (x *FilterRequest) ProtoReflect() protoreflect.Message
func (*FilterRequest) Reset ¶
func (x *FilterRequest) Reset()
func (*FilterRequest) String ¶
func (x *FilterRequest) String() string
type FilterResponse ¶
type FilterResponse struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Drop bool `protobuf:"varint,2,opt,name=drop,proto3" json:"drop,omitempty"` Modified bool `protobuf:"varint,3,opt,name=modified,proto3" json:"modified,omitempty"` Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*FilterResponse) Descriptor
deprecated
func (*FilterResponse) Descriptor() ([]byte, []int)
Deprecated: Use FilterResponse.ProtoReflect.Descriptor instead.
func (*FilterResponse) GetDrop ¶
func (x *FilterResponse) GetDrop() bool
func (*FilterResponse) GetError ¶
func (x *FilterResponse) GetError() string
func (*FilterResponse) GetModified ¶
func (x *FilterResponse) GetModified() bool
func (*FilterResponse) GetResource ¶
func (x *FilterResponse) GetResource() *Resource
func (*FilterResponse) ProtoMessage ¶
func (*FilterResponse) ProtoMessage()
func (*FilterResponse) ProtoReflect ¶
func (x *FilterResponse) ProtoReflect() protoreflect.Message
func (*FilterResponse) Reset ¶
func (x *FilterResponse) Reset()
func (*FilterResponse) String ¶
func (x *FilterResponse) String() string
type FilterServer ¶
type FilterServer interface {
Filter(context.Context, *FilterRequest) (*FilterResponse, error)
}
FilterServer is the server API for Filter service.
type LogData ¶
type LogData struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*LogData) Descriptor
deprecated
func (*LogData) GetMessage ¶
func (*LogData) ProtoMessage ¶
func (*LogData) ProtoMessage()
func (*LogData) ProtoReflect ¶
func (x *LogData) ProtoReflect() protoreflect.Message
type Resource ¶
type Resource struct { ResourceType string `protobuf:"bytes,1,opt,name=resourceType,proto3" json:"resourceType,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` ApplicationName string `protobuf:"bytes,3,opt,name=applicationName,proto3" json:"applicationName,omitempty"` Category string `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"` Component string `protobuf:"bytes,5,opt,name=component,proto3" json:"component,omitempty"` TransactionId string `protobuf:"bytes,6,opt,name=transactionId,proto3" json:"transactionId,omitempty"` ServiceName string `protobuf:"bytes,7,opt,name=serviceName,proto3" json:"serviceName,omitempty"` ApplicationInstance string `protobuf:"bytes,8,opt,name=applicationInstance,proto3" json:"applicationInstance,omitempty"` ApplicationVersion string `protobuf:"bytes,9,opt,name=applicationVersion,proto3" json:"applicationVersion,omitempty"` OriginatingUser string `protobuf:"bytes,10,opt,name=originatingUser,proto3" json:"originatingUser,omitempty"` ServerName string `protobuf:"bytes,11,opt,name=serverName,proto3" json:"serverName,omitempty"` LogTime string `protobuf:"bytes,12,opt,name=logTime,proto3" json:"logTime,omitempty"` Severity string `protobuf:"bytes,13,opt,name=severity,proto3" json:"severity,omitempty"` EventId string `protobuf:"bytes,14,opt,name=eventId,proto3" json:"eventId,omitempty"` LogData *LogData `protobuf:"bytes,15,opt,name=logData,proto3" json:"logData,omitempty"` Custom *_struct.Struct `protobuf:"bytes,16,opt,name=custom,proto3" json:"custom,omitempty"` // contains filtered or unexported fields }
func (*Resource) Descriptor
deprecated
func (*Resource) GetApplicationInstance ¶
func (*Resource) GetApplicationName ¶
func (*Resource) GetApplicationVersion ¶
func (*Resource) GetCategory ¶
func (*Resource) GetComponent ¶
func (*Resource) GetEventId ¶
func (*Resource) GetLogData ¶
func (*Resource) GetLogTime ¶
func (*Resource) GetOriginatingUser ¶
func (*Resource) GetResourceType ¶
func (*Resource) GetServerName ¶
func (*Resource) GetServiceName ¶
func (*Resource) GetSeverity ¶
func (*Resource) GetTransactionId ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
type UnimplementedFilterServer ¶
type UnimplementedFilterServer struct { }
UnimplementedFilterServer can be embedded to have forward compatible implementations.
func (*UnimplementedFilterServer) Filter ¶
func (*UnimplementedFilterServer) Filter(context.Context, *FilterRequest) (*FilterResponse, error)
Click to show internal directories.
Click to hide internal directories.