agent

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: gpu_ninja_agent.proto

Index

Constants

This section is empty.

Variables

View Source
var File_gpu_ninja_agent_proto protoreflect.FileDescriptor

Functions

func RegisterGpuNinjaService

func RegisterGpuNinjaService(srv *ttrpc.Server, svc GpuNinjaService)

Types

type GpuNinjaService

type GpuNinjaService interface {
	Send(context.Context, *SendRequest) (*emptypb.Empty, error)
}

func NewGpuNinjaClient

func NewGpuNinjaClient(client *ttrpc.Client) GpuNinjaService

type SendRequest

type SendRequest struct {

	// The unique identifier for the client / process.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// A list of timeseries to report.
	TimeSeriesFamilies []*pb.TimeSeriesFamily `protobuf:"bytes,2,rep,name=time_series_families,json=timeSeriesFamilies,proto3" json:"time_series_families,omitempty"`
	// A list of events to report.
	Events []*pb.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*SendRequest) Descriptor deprecated

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

Deprecated: Use SendRequest.ProtoReflect.Descriptor instead.

func (*SendRequest) GetEvents

func (x *SendRequest) GetEvents() []*pb.Event

func (*SendRequest) GetId

func (x *SendRequest) GetId() string

func (*SendRequest) GetTimeSeriesFamilies

func (x *SendRequest) GetTimeSeriesFamilies() []*pb.TimeSeriesFamily

func (*SendRequest) ProtoMessage

func (*SendRequest) ProtoMessage()

func (*SendRequest) ProtoReflect

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

func (*SendRequest) Reset

func (x *SendRequest) Reset()

func (*SendRequest) String

func (x *SendRequest) String() string

Jump to

Keyboard shortcuts

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