v1

package
v0.0.0-...-2f63041 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventsService_ListEvents_FullMethodName = "/com.coralogixapis.apm.queries.v1.EventsService/ListEvents"
)

Variables

View Source
var EventsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.coralogixapis.apm.queries.v1.EventsService",
	HandlerType: (*EventsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListEvents",
			Handler:    _EventsService_ListEvents_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "com/coralogixapis/apm/queries/v1/events_service.proto",
}

EventsService_ServiceDesc is the grpc.ServiceDesc for EventsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_com_coralogixapis_apm_queries_v1_event_proto protoreflect.FileDescriptor
View Source
var File_com_coralogixapis_apm_queries_v1_events_service_proto protoreflect.FileDescriptor

Functions

func RegisterEventsServiceServer

func RegisterEventsServiceServer(s grpc.ServiceRegistrar, srv EventsServiceServer)

Types

type Event

type Event struct {
	ObjectKind   *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=object_kind,json=objectKind,proto3" json:"object_kind,omitempty"`
	ObjectName   *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	Namespace    *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	ClusterName  *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	Message      *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	Severity     *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=severity,proto3" json:"severity,omitempty"`
	Reason       *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"`
	CreationTime *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetClusterName

func (x *Event) GetClusterName() *wrapperspb.StringValue

func (*Event) GetCreationTime

func (x *Event) GetCreationTime() *wrapperspb.StringValue

func (*Event) GetMessage

func (x *Event) GetMessage() *wrapperspb.StringValue

func (*Event) GetNamespace

func (x *Event) GetNamespace() *wrapperspb.StringValue

func (*Event) GetObjectKind

func (x *Event) GetObjectKind() *wrapperspb.StringValue

func (*Event) GetObjectName

func (x *Event) GetObjectName() *wrapperspb.StringValue

func (*Event) GetReason

func (x *Event) GetReason() *wrapperspb.StringValue

func (*Event) GetSeverity

func (x *Event) GetSeverity() *wrapperspb.StringValue

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventsServiceClient

type EventsServiceClient interface {
	// Deprecated: Do not use.
	ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error)
}

EventsServiceClient is the client API for EventsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type EventsServiceServer

type EventsServiceServer interface {
	// Deprecated: Do not use.
	ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
	// contains filtered or unexported methods
}

EventsServiceServer is the server API for EventsService service. All implementations must embed UnimplementedEventsServiceServer for forward compatibility

type ListEventsRequest

type ListEventsRequest struct {
	OrderBys    []*v2.OrderBy             `protobuf:"bytes,1,rep,name=order_bys,json=orderBys,proto3" json:"order_bys,omitempty"`
	StartTime   *wrapperspb.StringValue   `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime     *wrapperspb.StringValue   `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	DataSources []*v2.DataSource          `protobuf:"bytes,4,rep,name=data_sources,json=dataSources,proto3" json:"data_sources,omitempty"`
	Kind        *wrapperspb.StringValue   `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"`
	Names       []*wrapperspb.StringValue `protobuf:"bytes,6,rep,name=names,proto3" json:"names,omitempty"`
	Clusters    []*wrapperspb.StringValue `protobuf:"bytes,7,rep,name=clusters,proto3" json:"clusters,omitempty"`
	Namespaces  []*wrapperspb.StringValue `protobuf:"bytes,8,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	Severity    []*wrapperspb.StringValue `protobuf:"bytes,9,rep,name=severity,proto3" json:"severity,omitempty"`
	PageSize    *wrapperspb.Int32Value    `protobuf:"bytes,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEventsRequest) Descriptor deprecated

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

Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.

func (*ListEventsRequest) GetClusters

func (x *ListEventsRequest) GetClusters() []*wrapperspb.StringValue

func (*ListEventsRequest) GetDataSources

func (x *ListEventsRequest) GetDataSources() []*v2.DataSource

func (*ListEventsRequest) GetEndTime

func (x *ListEventsRequest) GetEndTime() *wrapperspb.StringValue

func (*ListEventsRequest) GetKind

func (*ListEventsRequest) GetNames

func (x *ListEventsRequest) GetNames() []*wrapperspb.StringValue

func (*ListEventsRequest) GetNamespaces

func (x *ListEventsRequest) GetNamespaces() []*wrapperspb.StringValue

func (*ListEventsRequest) GetOrderBys

func (x *ListEventsRequest) GetOrderBys() []*v2.OrderBy

func (*ListEventsRequest) GetPageSize

func (x *ListEventsRequest) GetPageSize() *wrapperspb.Int32Value

func (*ListEventsRequest) GetSeverity

func (x *ListEventsRequest) GetSeverity() []*wrapperspb.StringValue

func (*ListEventsRequest) GetStartTime

func (x *ListEventsRequest) GetStartTime() *wrapperspb.StringValue

func (*ListEventsRequest) ProtoMessage

func (*ListEventsRequest) ProtoMessage()

func (*ListEventsRequest) ProtoReflect

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

func (*ListEventsRequest) Reset

func (x *ListEventsRequest) Reset()

func (*ListEventsRequest) String

func (x *ListEventsRequest) String() string

type ListEventsResponse

type ListEventsResponse struct {
	Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEventsResponse) Descriptor deprecated

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

Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.

func (*ListEventsResponse) GetEvents

func (x *ListEventsResponse) GetEvents() []*Event

func (*ListEventsResponse) ProtoMessage

func (*ListEventsResponse) ProtoMessage()

func (*ListEventsResponse) ProtoReflect

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

func (*ListEventsResponse) Reset

func (x *ListEventsResponse) Reset()

func (*ListEventsResponse) String

func (x *ListEventsResponse) String() string

type UnimplementedEventsServiceServer

type UnimplementedEventsServiceServer struct {
}

UnimplementedEventsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedEventsServiceServer) ListEvents

type UnsafeEventsServiceServer

type UnsafeEventsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeEventsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventsServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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