Versions in this module Expand all Collapse all v0 v0.0.8 Nov 12, 2024 v0.0.7 Nov 11, 2024 v0.0.6 Nov 11, 2024 v0.0.5 Nov 10, 2024 v0.0.4 Nov 10, 2024 v0.0.3 Nov 10, 2024 Changes in this version + const CollectorService_SendCommands_FullMethodName + const CollectorService_SendProcesses_FullMethodName + var CollectorService_ServiceDesc = grpc.ServiceDesc + var File_api_v1_collector_proto protoreflect.FileDescriptor + func RegisterCollectorServiceServer(s grpc.ServiceRegistrar, srv CollectorServiceServer) + type Auth struct + TeamId string + UserEmail string + UserId string + WorkspaceId *string + func (*Auth) Descriptor() ([]byte, []int) + func (*Auth) ProtoMessage() + func (x *Auth) GetTeamId() string + func (x *Auth) GetUserEmail() string + func (x *Auth) GetUserId() string + func (x *Auth) GetWorkspaceId() string + func (x *Auth) ProtoReflect() protoreflect.Message + func (x *Auth) Reset() + func (x *Auth) String() string + type CollectorServiceClient interface + SendCommands func(ctx context.Context, in *SendCommandsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + SendProcesses func(ctx context.Context, in *SendProcessesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + func NewCollectorServiceClient(cc grpc.ClientConnInterface) CollectorServiceClient + type CollectorServiceServer interface + SendCommands func(context.Context, *SendCommandsRequest) (*emptypb.Empty, error) + SendProcesses func(context.Context, *SendProcessesRequest) (*emptypb.Empty, error) + type Command struct + Category string + Command string + Directory string + EndTime int64 + ExecutionTime int64 + Id int64 + Pid int64 + Repository string + Result string + StartTime int64 + Status string + User string + func (*Command) Descriptor() ([]byte, []int) + func (*Command) ProtoMessage() + func (x *Command) GetCategory() string + func (x *Command) GetCommand() string + func (x *Command) GetDirectory() string + func (x *Command) GetEndTime() int64 + func (x *Command) GetExecutionTime() int64 + func (x *Command) GetId() int64 + func (x *Command) GetPid() int64 + func (x *Command) GetRepository() string + func (x *Command) GetResult() string + func (x *Command) GetStartTime() int64 + func (x *Command) GetStatus() string + func (x *Command) GetUser() string + func (x *Command) ProtoReflect() protoreflect.Message + func (x *Command) Reset() + func (x *Command) String() string + type Process struct + CpuUsage float64 + CreatedTime int64 + Id int64 + MemoryUsage float64 + Name string + Os string + Pid int64 + Platform string + PlatformFamily string + Ppid int64 + Status string + StoredTime int64 + func (*Process) Descriptor() ([]byte, []int) + func (*Process) ProtoMessage() + func (x *Process) GetCpuUsage() float64 + func (x *Process) GetCreatedTime() int64 + func (x *Process) GetId() int64 + func (x *Process) GetMemoryUsage() float64 + func (x *Process) GetName() string + func (x *Process) GetOs() string + func (x *Process) GetPid() int64 + func (x *Process) GetPlatform() string + func (x *Process) GetPlatformFamily() string + func (x *Process) GetPpid() int64 + func (x *Process) GetStatus() string + func (x *Process) GetStoredTime() int64 + func (x *Process) ProtoReflect() protoreflect.Message + func (x *Process) Reset() + func (x *Process) String() string + type SendCommandsRequest struct + Auth *Auth + Commands []*Command + func (*SendCommandsRequest) Descriptor() ([]byte, []int) + func (*SendCommandsRequest) ProtoMessage() + func (x *SendCommandsRequest) GetAuth() *Auth + func (x *SendCommandsRequest) GetCommands() []*Command + func (x *SendCommandsRequest) ProtoReflect() protoreflect.Message + func (x *SendCommandsRequest) Reset() + func (x *SendCommandsRequest) String() string + type SendProcessesRequest struct + Auth *Auth + Processes []*Process + func (*SendProcessesRequest) Descriptor() ([]byte, []int) + func (*SendProcessesRequest) ProtoMessage() + func (x *SendProcessesRequest) GetAuth() *Auth + func (x *SendProcessesRequest) GetProcesses() []*Process + func (x *SendProcessesRequest) ProtoReflect() protoreflect.Message + func (x *SendProcessesRequest) Reset() + func (x *SendProcessesRequest) String() string + type UnimplementedCollectorServiceServer struct + func (UnimplementedCollectorServiceServer) SendCommands(context.Context, *SendCommandsRequest) (*emptypb.Empty, error) + func (UnimplementedCollectorServiceServer) SendProcesses(context.Context, *SendProcessesRequest) (*emptypb.Empty, error) + type UnsafeCollectorServiceServer interface