proto

package
v0.0.0-...-231994c Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProfileVariable_name = map[int32]string{
		0: "MemProfileRate",
		1: "CPUProfileRate",
		2: "MutexProfileFraction",
		3: "BlockProfileRate",
	}
	ProfileVariable_value = map[string]int32{
		"MemProfileRate":       0,
		"CPUProfileRate":       1,
		"MutexProfileFraction": 2,
		"BlockProfileRate":     3,
	}
)

Enum value maps for ProfileVariable.

View Source
var (
	LookupProfile_name = map[int32]string{
		0: "profileTypeHeap",
		1: "profileTypeMutex",
		2: "profileTypeBlock",
		3: "profileTypeThreadCreate",
		4: "profileTypeGoRoutine",
	}
	LookupProfile_value = map[string]int32{
		"profileTypeHeap":         0,
		"profileTypeMutex":        1,
		"profileTypeBlock":        2,
		"profileTypeThreadCreate": 3,
		"profileTypeGoRoutine":    4,
	}
)

Enum value maps for LookupProfile.

View Source
var (
	NonLookupProfile_name = map[int32]string{
		0: "profileTypeCPU",
		1: "profileTypeTrace",
	}
	NonLookupProfile_value = map[string]int32{
		"profileTypeCPU":   0,
		"profileTypeTrace": 1,
	}
)

Enum value maps for NonLookupProfile.

View Source
var File_profile_proto protoreflect.FileDescriptor

Functions

func RegisterProfileServiceServer

func RegisterProfileServiceServer(s *grpc.Server, srv ProfileServiceServer)

Types

type FileChunk

type FileChunk struct {
	Content []byte `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"`
	// contains filtered or unexported fields
}

func (*FileChunk) Descriptor deprecated

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

Deprecated: Use FileChunk.ProtoReflect.Descriptor instead.

func (*FileChunk) GetContent

func (x *FileChunk) GetContent() []byte

func (*FileChunk) ProtoMessage

func (*FileChunk) ProtoMessage()

func (*FileChunk) ProtoReflect

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

func (*FileChunk) Reset

func (x *FileChunk) Reset()

func (*FileChunk) String

func (x *FileChunk) String() string

type FileInfo

type FileInfo struct {
	Name     string               `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Size     int64                `protobuf:"varint,2,opt,name=Size,proto3" json:"Size,omitempty"`
	Mode     uint32               `protobuf:"varint,3,opt,name=Mode,proto3" json:"Mode,omitempty"`
	ModeTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=ModeTime,proto3" json:"ModeTime,omitempty"`
	// contains filtered or unexported fields
}

func (*FileInfo) Descriptor deprecated

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

Deprecated: Use FileInfo.ProtoReflect.Descriptor instead.

func (*FileInfo) GetMode

func (x *FileInfo) GetMode() uint32

func (*FileInfo) GetModeTime

func (x *FileInfo) GetModeTime() *timestamp.Timestamp

func (*FileInfo) GetName

func (x *FileInfo) GetName() string

func (*FileInfo) GetSize

func (x *FileInfo) GetSize() int64

func (*FileInfo) ProtoMessage

func (*FileInfo) ProtoMessage()

func (*FileInfo) ProtoReflect

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

func (*FileInfo) Reset

func (x *FileInfo) Reset()

func (*FileInfo) String

func (x *FileInfo) String() string

type IDName

type IDName struct {
	ID   int32  `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	// contains filtered or unexported fields
}

func (*IDName) Descriptor deprecated

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

Deprecated: Use IDName.ProtoReflect.Descriptor instead.

func (*IDName) GetID

func (x *IDName) GetID() int32

func (*IDName) GetName

func (x *IDName) GetName() string

func (*IDName) ProtoMessage

func (*IDName) ProtoMessage()

func (*IDName) ProtoReflect

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

func (*IDName) Reset

func (x *IDName) Reset()

func (*IDName) String

func (x *IDName) String() string

type InfoType

type InfoType struct {
	GOOS           string        `protobuf:"bytes,1,opt,name=GOOS,proto3" json:"GOOS,omitempty"`
	GOARCH         string        `protobuf:"bytes,2,opt,name=GOARCH,proto3" json:"GOARCH,omitempty"`
	GOMAXPROCS     int32         `protobuf:"varint,3,opt,name=GOMAXPROCS,proto3" json:"GOMAXPROCS,omitempty"`
	NumCPU         int32         `protobuf:"varint,4,opt,name=NumCPU,proto3" json:"NumCPU,omitempty"`
	NumCgoCall     int32         `protobuf:"varint,5,opt,name=NumCgoCall,proto3" json:"NumCgoCall,omitempty"`
	NumGoroutine   int32         `protobuf:"varint,6,opt,name=NumGoroutine,proto3" json:"NumGoroutine,omitempty"`
	Version        string        `protobuf:"bytes,7,opt,name=Version,proto3" json:"Version,omitempty"`
	ProcessStats   *ProcessStats `protobuf:"bytes,8,opt,name=ProcessStats,proto3" json:"ProcessStats,omitempty"`
	MemStats       *MemStats     `protobuf:"bytes,9,opt,name=MemStats,proto3" json:"MemStats,omitempty"`
	MemProfileRate int32         `protobuf:"varint,10,opt,name=MemProfileRate,proto3" json:"MemProfileRate,omitempty"`
	// contains filtered or unexported fields
}

func (*InfoType) Descriptor deprecated

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

Deprecated: Use InfoType.ProtoReflect.Descriptor instead.

func (*InfoType) GetGOARCH

func (x *InfoType) GetGOARCH() string

func (*InfoType) GetGOMAXPROCS

func (x *InfoType) GetGOMAXPROCS() int32

func (*InfoType) GetGOOS

func (x *InfoType) GetGOOS() string

func (*InfoType) GetMemProfileRate

func (x *InfoType) GetMemProfileRate() int32

func (*InfoType) GetMemStats

func (x *InfoType) GetMemStats() *MemStats

func (*InfoType) GetNumCPU

func (x *InfoType) GetNumCPU() int32

func (*InfoType) GetNumCgoCall

func (x *InfoType) GetNumCgoCall() int32

func (*InfoType) GetNumGoroutine

func (x *InfoType) GetNumGoroutine() int32

func (*InfoType) GetProcessStats

func (x *InfoType) GetProcessStats() *ProcessStats

func (*InfoType) GetVersion

func (x *InfoType) GetVersion() string

func (*InfoType) ProtoMessage

func (*InfoType) ProtoMessage()

func (*InfoType) ProtoReflect

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

func (*InfoType) Reset

func (x *InfoType) Reset()

func (*InfoType) String

func (x *InfoType) String() string

type IntType

type IntType struct {
	Value int32 `protobuf:"varint,1,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*IntType) Descriptor deprecated

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

Deprecated: Use IntType.ProtoReflect.Descriptor instead.

func (*IntType) GetValue

func (x *IntType) GetValue() int32

func (*IntType) ProtoMessage

func (*IntType) ProtoMessage()

func (*IntType) ProtoReflect

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

func (*IntType) Reset

func (x *IntType) Reset()

func (*IntType) String

func (x *IntType) String() string

type LookupProfile

type LookupProfile int32
const (
	LookupProfile_profileTypeHeap         LookupProfile = 0
	LookupProfile_profileTypeMutex        LookupProfile = 1
	LookupProfile_profileTypeBlock        LookupProfile = 2
	LookupProfile_profileTypeThreadCreate LookupProfile = 3
	LookupProfile_profileTypeGoRoutine    LookupProfile = 4
)

func (LookupProfile) Descriptor

func (LookupProfile) Enum

func (x LookupProfile) Enum() *LookupProfile

func (LookupProfile) EnumDescriptor deprecated

func (LookupProfile) EnumDescriptor() ([]byte, []int)

Deprecated: Use LookupProfile.Descriptor instead.

func (LookupProfile) Number

func (LookupProfile) String

func (x LookupProfile) String() string

func (LookupProfile) Type

type LookupProfileInputType

type LookupProfileInputType struct {
	ProfileType LookupProfile `protobuf:"varint,1,opt,name=ProfileType,proto3,enum=proto.LookupProfile" json:"ProfileType,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupProfileInputType) Descriptor deprecated

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

Deprecated: Use LookupProfileInputType.ProtoReflect.Descriptor instead.

func (*LookupProfileInputType) GetProfileType

func (x *LookupProfileInputType) GetProfileType() LookupProfile

func (*LookupProfileInputType) ProtoMessage

func (*LookupProfileInputType) ProtoMessage()

func (*LookupProfileInputType) ProtoReflect

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

func (*LookupProfileInputType) Reset

func (x *LookupProfileInputType) Reset()

func (*LookupProfileInputType) String

func (x *LookupProfileInputType) String() string

type LookupProfileType

type LookupProfileType struct {
	Profile LookupProfile `protobuf:"varint,1,opt,name=Profile,proto3,enum=proto.LookupProfile" json:"Profile,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupProfileType) Descriptor deprecated

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

Deprecated: Use LookupProfileType.ProtoReflect.Descriptor instead.

func (*LookupProfileType) GetProfile

func (x *LookupProfileType) GetProfile() LookupProfile

func (*LookupProfileType) ProtoMessage

func (*LookupProfileType) ProtoMessage()

func (*LookupProfileType) ProtoReflect

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

func (*LookupProfileType) Reset

func (x *LookupProfileType) Reset()

func (*LookupProfileType) String

func (x *LookupProfileType) String() string

type MemStats

type MemStats struct {
	Alloc        uint64               `protobuf:"varint,1,opt,name=Alloc,proto3" json:"Alloc,omitempty"`
	TotalAlloc   uint64               `protobuf:"varint,2,opt,name=TotalAlloc,proto3" json:"TotalAlloc,omitempty"`
	Sys          uint64               `protobuf:"varint,3,opt,name=Sys,proto3" json:"Sys,omitempty"`
	Lookups      uint64               `protobuf:"varint,4,opt,name=Lookups,proto3" json:"Lookups,omitempty"`
	Mallocs      uint64               `protobuf:"varint,5,opt,name=Mallocs,proto3" json:"Mallocs,omitempty"`
	Frees        uint64               `protobuf:"varint,6,opt,name=Frees,proto3" json:"Frees,omitempty"`
	HeapAlloc    uint64               `protobuf:"varint,7,opt,name=HeapAlloc,proto3" json:"HeapAlloc,omitempty"`
	HeapSys      uint64               `protobuf:"varint,8,opt,name=HeapSys,proto3" json:"HeapSys,omitempty"`
	HeapIdle     uint64               `protobuf:"varint,9,opt,name=HeapIdle,proto3" json:"HeapIdle,omitempty"`
	HeapInuse    uint64               `protobuf:"varint,10,opt,name=HeapInuse,proto3" json:"HeapInuse,omitempty"`
	HeapReleased uint64               `protobuf:"varint,11,opt,name=HeapReleased,proto3" json:"HeapReleased,omitempty"`
	HeapObjects  uint64               `protobuf:"varint,12,opt,name=HeapObjects,proto3" json:"HeapObjects,omitempty"`
	StackInuse   uint64               `protobuf:"varint,13,opt,name=StackInuse,proto3" json:"StackInuse,omitempty"`
	StackSys     uint64               `protobuf:"varint,14,opt,name=StackSys,proto3" json:"StackSys,omitempty"`
	MSpanInuse   uint64               `protobuf:"varint,15,opt,name=MSpanInuse,proto3" json:"MSpanInuse,omitempty"`
	MSpanSys     uint64               `protobuf:"varint,16,opt,name=MSpanSys,proto3" json:"MSpanSys,omitempty"`
	MCacheInuse  uint64               `protobuf:"varint,17,opt,name=MCacheInuse,proto3" json:"MCacheInuse,omitempty"`
	MCacheSys    uint64               `protobuf:"varint,18,opt,name=MCacheSys,proto3" json:"MCacheSys,omitempty"`
	BuckHashSys  uint64               `protobuf:"varint,19,opt,name=BuckHashSys,proto3" json:"BuckHashSys,omitempty"`
	GCSys        uint64               `protobuf:"varint,20,opt,name=GCSys,proto3" json:"GCSys,omitempty"`
	OtherSys     uint64               `protobuf:"varint,21,opt,name=OtherSys,proto3" json:"OtherSys,omitempty"`
	NextGC       uint64               `protobuf:"varint,22,opt,name=NextGC,proto3" json:"NextGC,omitempty"`
	LastGC       *timestamp.Timestamp `protobuf:"bytes,23,opt,name=LastGC,proto3" json:"LastGC,omitempty"`
	PauseTotalNs *duration.Duration   `protobuf:"bytes,24,opt,name=PauseTotalNs,proto3" json:"PauseTotalNs,omitempty"`
	LastPause    *timestamp.Timestamp `protobuf:"bytes,25,opt,name=LastPause,proto3" json:"LastPause,omitempty"`
	NumGC        uint32               `protobuf:"varint,26,opt,name=NumGC,proto3" json:"NumGC,omitempty"`
	NumForcedGC  uint32               `protobuf:"varint,27,opt,name=NumForcedGC,proto3" json:"NumForcedGC,omitempty"`
	// contains filtered or unexported fields
}

func (*MemStats) Descriptor deprecated

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

Deprecated: Use MemStats.ProtoReflect.Descriptor instead.

func (*MemStats) GetAlloc

func (x *MemStats) GetAlloc() uint64

func (*MemStats) GetBuckHashSys

func (x *MemStats) GetBuckHashSys() uint64

func (*MemStats) GetFrees

func (x *MemStats) GetFrees() uint64

func (*MemStats) GetGCSys

func (x *MemStats) GetGCSys() uint64

func (*MemStats) GetHeapAlloc

func (x *MemStats) GetHeapAlloc() uint64

func (*MemStats) GetHeapIdle

func (x *MemStats) GetHeapIdle() uint64

func (*MemStats) GetHeapInuse

func (x *MemStats) GetHeapInuse() uint64

func (*MemStats) GetHeapObjects

func (x *MemStats) GetHeapObjects() uint64

func (*MemStats) GetHeapReleased

func (x *MemStats) GetHeapReleased() uint64

func (*MemStats) GetHeapSys

func (x *MemStats) GetHeapSys() uint64

func (*MemStats) GetLastGC

func (x *MemStats) GetLastGC() *timestamp.Timestamp

func (*MemStats) GetLastPause

func (x *MemStats) GetLastPause() *timestamp.Timestamp

func (*MemStats) GetLookups

func (x *MemStats) GetLookups() uint64

func (*MemStats) GetMCacheInuse

func (x *MemStats) GetMCacheInuse() uint64

func (*MemStats) GetMCacheSys

func (x *MemStats) GetMCacheSys() uint64

func (*MemStats) GetMSpanInuse

func (x *MemStats) GetMSpanInuse() uint64

func (*MemStats) GetMSpanSys

func (x *MemStats) GetMSpanSys() uint64

func (*MemStats) GetMallocs

func (x *MemStats) GetMallocs() uint64

func (*MemStats) GetNextGC

func (x *MemStats) GetNextGC() uint64

func (*MemStats) GetNumForcedGC

func (x *MemStats) GetNumForcedGC() uint32

func (*MemStats) GetNumGC

func (x *MemStats) GetNumGC() uint32

func (*MemStats) GetOtherSys

func (x *MemStats) GetOtherSys() uint64

func (*MemStats) GetPauseTotalNs

func (x *MemStats) GetPauseTotalNs() *duration.Duration

func (*MemStats) GetStackInuse

func (x *MemStats) GetStackInuse() uint64

func (*MemStats) GetStackSys

func (x *MemStats) GetStackSys() uint64

func (*MemStats) GetSys

func (x *MemStats) GetSys() uint64

func (*MemStats) GetTotalAlloc

func (x *MemStats) GetTotalAlloc() uint64

func (*MemStats) ProtoMessage

func (*MemStats) ProtoMessage()

func (*MemStats) ProtoReflect

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

func (*MemStats) Reset

func (x *MemStats) Reset()

func (*MemStats) String

func (x *MemStats) String() string

type NonLookupProfile

type NonLookupProfile int32
const (
	NonLookupProfile_profileTypeCPU   NonLookupProfile = 0
	NonLookupProfile_profileTypeTrace NonLookupProfile = 1
)

func (NonLookupProfile) Descriptor

func (NonLookupProfile) Enum

func (NonLookupProfile) EnumDescriptor deprecated

func (NonLookupProfile) EnumDescriptor() ([]byte, []int)

Deprecated: Use NonLookupProfile.Descriptor instead.

func (NonLookupProfile) Number

func (NonLookupProfile) String

func (x NonLookupProfile) String() string

func (NonLookupProfile) Type

type NonLookupProfileInputType

type NonLookupProfileInputType struct {
	ProfileType NonLookupProfile   `protobuf:"varint,1,opt,name=ProfileType,proto3,enum=proto.NonLookupProfile" json:"ProfileType,omitempty"`
	Duration    *duration.Duration `protobuf:"bytes,2,opt,name=Duration,proto3" json:"Duration,omitempty"`
	// contains filtered or unexported fields
}

func (*NonLookupProfileInputType) Descriptor deprecated

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

Deprecated: Use NonLookupProfileInputType.ProtoReflect.Descriptor instead.

func (*NonLookupProfileInputType) GetDuration

func (x *NonLookupProfileInputType) GetDuration() *duration.Duration

func (*NonLookupProfileInputType) GetProfileType

func (x *NonLookupProfileInputType) GetProfileType() NonLookupProfile

func (*NonLookupProfileInputType) ProtoMessage

func (*NonLookupProfileInputType) ProtoMessage()

func (*NonLookupProfileInputType) ProtoReflect

func (*NonLookupProfileInputType) Reset

func (x *NonLookupProfileInputType) Reset()

func (*NonLookupProfileInputType) String

func (x *NonLookupProfileInputType) String() string

type NonLookupProfileType

type NonLookupProfileType struct {
	Profile NonLookupProfile `protobuf:"varint,1,opt,name=Profile,proto3,enum=proto.NonLookupProfile" json:"Profile,omitempty"`
	// contains filtered or unexported fields
}

func (*NonLookupProfileType) Descriptor deprecated

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

Deprecated: Use NonLookupProfileType.ProtoReflect.Descriptor instead.

func (*NonLookupProfileType) GetProfile

func (x *NonLookupProfileType) GetProfile() NonLookupProfile

func (*NonLookupProfileType) ProtoMessage

func (*NonLookupProfileType) ProtoMessage()

func (*NonLookupProfileType) ProtoReflect

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

func (*NonLookupProfileType) Reset

func (x *NonLookupProfileType) Reset()

func (*NonLookupProfileType) String

func (x *NonLookupProfileType) String() string

type ProcessStats

type ProcessStats struct {
	Environ         []string  `protobuf:"bytes,1,rep,name=Environ,proto3" json:"Environ,omitempty"`
	Executable      string    `protobuf:"bytes,2,opt,name=Executable,proto3" json:"Executable,omitempty"`
	ExecutableLStat *FileInfo `protobuf:"bytes,3,opt,name=ExecutableLStat,proto3" json:"ExecutableLStat,omitempty"`
	ExecutableStat  *FileInfo `protobuf:"bytes,4,opt,name=ExecutableStat,proto3" json:"ExecutableStat,omitempty"`
	UID             *IDName   `protobuf:"bytes,5,opt,name=UID,proto3" json:"UID,omitempty"`
	GID             *IDName   `protobuf:"bytes,6,opt,name=GID,proto3" json:"GID,omitempty"`
	EUID            *IDName   `protobuf:"bytes,7,opt,name=EUID,proto3" json:"EUID,omitempty"`
	EGID            *IDName   `protobuf:"bytes,8,opt,name=EGID,proto3" json:"EGID,omitempty"`
	Groups          []*IDName `protobuf:"bytes,9,rep,name=Groups,proto3" json:"Groups,omitempty"`
	PageSize        int32     `protobuf:"varint,10,opt,name=PageSize,proto3" json:"PageSize,omitempty"`
	PID             int32     `protobuf:"varint,11,opt,name=PID,proto3" json:"PID,omitempty"`
	PPID            int32     `protobuf:"varint,12,opt,name=PPID,proto3" json:"PPID,omitempty"`
	WD              string    `protobuf:"bytes,13,opt,name=WD,proto3" json:"WD,omitempty"`
	Hostname        string    `protobuf:"bytes,14,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
	UserCacheDir    string    `protobuf:"bytes,15,opt,name=UserCacheDir,proto3" json:"UserCacheDir,omitempty"`
	UserConfigDir   string    `protobuf:"bytes,16,opt,name=UserConfigDir,proto3" json:"UserConfigDir,omitempty"`
	UserHomeDir     string    `protobuf:"bytes,17,opt,name=UserHomeDir,proto3" json:"UserHomeDir,omitempty"`
	// contains filtered or unexported fields
}

func (*ProcessStats) Descriptor deprecated

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

Deprecated: Use ProcessStats.ProtoReflect.Descriptor instead.

func (*ProcessStats) GetEGID

func (x *ProcessStats) GetEGID() *IDName

func (*ProcessStats) GetEUID

func (x *ProcessStats) GetEUID() *IDName

func (*ProcessStats) GetEnviron

func (x *ProcessStats) GetEnviron() []string

func (*ProcessStats) GetExecutable

func (x *ProcessStats) GetExecutable() string

func (*ProcessStats) GetExecutableLStat

func (x *ProcessStats) GetExecutableLStat() *FileInfo

func (*ProcessStats) GetExecutableStat

func (x *ProcessStats) GetExecutableStat() *FileInfo

func (*ProcessStats) GetGID

func (x *ProcessStats) GetGID() *IDName

func (*ProcessStats) GetGroups

func (x *ProcessStats) GetGroups() []*IDName

func (*ProcessStats) GetHostname

func (x *ProcessStats) GetHostname() string

func (*ProcessStats) GetPID

func (x *ProcessStats) GetPID() int32

func (*ProcessStats) GetPPID

func (x *ProcessStats) GetPPID() int32

func (*ProcessStats) GetPageSize

func (x *ProcessStats) GetPageSize() int32

func (*ProcessStats) GetUID

func (x *ProcessStats) GetUID() *IDName

func (*ProcessStats) GetUserCacheDir

func (x *ProcessStats) GetUserCacheDir() string

func (*ProcessStats) GetUserConfigDir

func (x *ProcessStats) GetUserConfigDir() string

func (*ProcessStats) GetUserHomeDir

func (x *ProcessStats) GetUserHomeDir() string

func (*ProcessStats) GetWD

func (x *ProcessStats) GetWD() string

func (*ProcessStats) ProtoMessage

func (*ProcessStats) ProtoMessage()

func (*ProcessStats) ProtoReflect

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

func (*ProcessStats) Reset

func (x *ProcessStats) Reset()

func (*ProcessStats) String

func (x *ProcessStats) String() string

type ProfileServiceClient

type ProfileServiceClient interface {
	// Test
	Ping(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*StringType, error)
	// Info
	GetInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*InfoType, error)
	// BinaryDump
	BinaryDump(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (ProfileService_BinaryDumpClient, error)
	// Variable
	Set(ctx context.Context, in *SetProfileInputType, opts ...grpc.CallOption) (*IntType, error)
	// GC
	GC(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
	// Lookup Profile
	LookupProfile(ctx context.Context, in *LookupProfileInputType, opts ...grpc.CallOption) (ProfileService_LookupProfileClient, error)
	// Non Lookup Profile
	NonLookupProfile(ctx context.Context, in *NonLookupProfileInputType, opts ...grpc.CallOption) (ProfileService_NonLookupProfileClient, error)
	StopNonLookupProfile(ctx context.Context, in *NonLookupProfileType, opts ...grpc.CallOption) (*empty.Empty, error)
}

ProfileServiceClient is the client API for ProfileService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ProfileServiceServer

type ProfileServiceServer interface {
	// Test
	Ping(context.Context, *empty.Empty) (*StringType, error)
	// Info
	GetInfo(context.Context, *empty.Empty) (*InfoType, error)
	// BinaryDump
	BinaryDump(*empty.Empty, ProfileService_BinaryDumpServer) error
	// Variable
	Set(context.Context, *SetProfileInputType) (*IntType, error)
	// GC
	GC(context.Context, *empty.Empty) (*empty.Empty, error)
	// Lookup Profile
	LookupProfile(*LookupProfileInputType, ProfileService_LookupProfileServer) error
	// Non Lookup Profile
	NonLookupProfile(*NonLookupProfileInputType, ProfileService_NonLookupProfileServer) error
	StopNonLookupProfile(context.Context, *NonLookupProfileType) (*empty.Empty, error)
}

ProfileServiceServer is the server API for ProfileService service.

type ProfileService_BinaryDumpClient

type ProfileService_BinaryDumpClient interface {
	Recv() (*FileChunk, error)
	grpc.ClientStream
}

type ProfileService_BinaryDumpServer

type ProfileService_BinaryDumpServer interface {
	Send(*FileChunk) error
	grpc.ServerStream
}

type ProfileService_LookupProfileClient

type ProfileService_LookupProfileClient interface {
	Recv() (*FileChunk, error)
	grpc.ClientStream
}

type ProfileService_LookupProfileServer

type ProfileService_LookupProfileServer interface {
	Send(*FileChunk) error
	grpc.ServerStream
}

type ProfileService_NonLookupProfileClient

type ProfileService_NonLookupProfileClient interface {
	Recv() (*FileChunk, error)
	grpc.ClientStream
}

type ProfileService_NonLookupProfileServer

type ProfileService_NonLookupProfileServer interface {
	Send(*FileChunk) error
	grpc.ServerStream
}

type ProfileVariable

type ProfileVariable int32
const (
	ProfileVariable_MemProfileRate       ProfileVariable = 0
	ProfileVariable_CPUProfileRate       ProfileVariable = 1
	ProfileVariable_MutexProfileFraction ProfileVariable = 2
	ProfileVariable_BlockProfileRate     ProfileVariable = 3
)

func (ProfileVariable) Descriptor

func (ProfileVariable) Enum

func (x ProfileVariable) Enum() *ProfileVariable

func (ProfileVariable) EnumDescriptor deprecated

func (ProfileVariable) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProfileVariable.Descriptor instead.

func (ProfileVariable) Number

func (ProfileVariable) String

func (x ProfileVariable) String() string

func (ProfileVariable) Type

type ResetProfileInputType

type ResetProfileInputType struct {
	Variable ProfileVariable `protobuf:"varint,1,opt,name=Variable,proto3,enum=proto.ProfileVariable" json:"Variable,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetProfileInputType) Descriptor deprecated

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

Deprecated: Use ResetProfileInputType.ProtoReflect.Descriptor instead.

func (*ResetProfileInputType) GetVariable

func (x *ResetProfileInputType) GetVariable() ProfileVariable

func (*ResetProfileInputType) ProtoMessage

func (*ResetProfileInputType) ProtoMessage()

func (*ResetProfileInputType) ProtoReflect

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

func (*ResetProfileInputType) Reset

func (x *ResetProfileInputType) Reset()

func (*ResetProfileInputType) String

func (x *ResetProfileInputType) String() string

type SetProfileInputType

type SetProfileInputType struct {
	Variable ProfileVariable `protobuf:"varint,1,opt,name=Variable,proto3,enum=proto.ProfileVariable" json:"Variable,omitempty"`
	Rate     int32           `protobuf:"varint,2,opt,name=Rate,proto3" json:"Rate,omitempty"`
	// contains filtered or unexported fields
}

func (*SetProfileInputType) Descriptor deprecated

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

Deprecated: Use SetProfileInputType.ProtoReflect.Descriptor instead.

func (*SetProfileInputType) GetRate

func (x *SetProfileInputType) GetRate() int32

func (*SetProfileInputType) GetVariable

func (x *SetProfileInputType) GetVariable() ProfileVariable

func (*SetProfileInputType) ProtoMessage

func (*SetProfileInputType) ProtoMessage()

func (*SetProfileInputType) ProtoReflect

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

func (*SetProfileInputType) Reset

func (x *SetProfileInputType) Reset()

func (*SetProfileInputType) String

func (x *SetProfileInputType) String() string

type StringType

type StringType struct {
	Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
	// contains filtered or unexported fields
}

func (*StringType) Descriptor deprecated

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

Deprecated: Use StringType.ProtoReflect.Descriptor instead.

func (*StringType) GetMessage

func (x *StringType) GetMessage() string

func (*StringType) ProtoMessage

func (*StringType) ProtoMessage()

func (*StringType) ProtoReflect

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

func (*StringType) Reset

func (x *StringType) Reset()

func (*StringType) String

func (x *StringType) String() string

type UnimplementedProfileServiceServer

type UnimplementedProfileServiceServer struct {
}

UnimplementedProfileServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedProfileServiceServer) BinaryDump

func (*UnimplementedProfileServiceServer) GC

func (*UnimplementedProfileServiceServer) GetInfo

func (*UnimplementedProfileServiceServer) LookupProfile

func (*UnimplementedProfileServiceServer) Ping

func (*UnimplementedProfileServiceServer) Set

func (*UnimplementedProfileServiceServer) StopNonLookupProfile

Jump to

Keyboard shortcuts

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