Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterCopilotHTTPServer(s *http.Server, srv CopilotHTTPServer)
- type AbnormalUser
- func (*AbnormalUser) Descriptor() ([]byte, []int)deprecated
- func (x *AbnormalUser) GetJournal() []*Journal
- func (x *AbnormalUser) GetLoginMessage() string
- func (x *AbnormalUser) GetLoginTime() int64
- func (x *AbnormalUser) GetLogoutTime() int64
- func (x *AbnormalUser) GetOnline() int64
- func (x *AbnormalUser) GetPrivilege() string
- func (x *AbnormalUser) GetStatus() string
- func (x *AbnormalUser) GetUser() string
- func (*AbnormalUser) ProtoMessage()
- func (x *AbnormalUser) ProtoReflect() protoreflect.Message
- func (x *AbnormalUser) Reset()
- func (x *AbnormalUser) String() string
- type AverageUtilization
- func (*AverageUtilization) Descriptor() ([]byte, []int)deprecated
- func (x *AverageUtilization) GetValue() string
- func (*AverageUtilization) ProtoMessage()
- func (x *AverageUtilization) ProtoReflect() protoreflect.Message
- func (x *AverageUtilization) Reset()
- func (x *AverageUtilization) String() string
- type BreakdownUtilization
- func (*BreakdownUtilization) Descriptor() ([]byte, []int)deprecated
- func (x *BreakdownUtilization) GetSystemTime() string
- func (x *BreakdownUtilization) GetUserTime() string
- func (*BreakdownUtilization) ProtoMessage()
- func (x *BreakdownUtilization) ProtoReflect() protoreflect.Message
- func (x *BreakdownUtilization) Reset()
- func (x *BreakdownUtilization) String() string
- type CopilotHTTPServer
- type CpuState
- func (*CpuState) Descriptor() ([]byte, []int)deprecated
- func (x *CpuState) GetCpuUsage() []*CpuUsage
- func (x *CpuState) GetCpuUtilization() *CpuUtilization
- func (*CpuState) ProtoMessage()
- func (x *CpuState) ProtoReflect() protoreflect.Message
- func (x *CpuState) Reset()
- func (x *CpuState) String() string
- type CpuUsage
- type CpuUtilization
- func (*CpuUtilization) Descriptor() ([]byte, []int)deprecated
- func (x *CpuUtilization) GetAverageUtilization() *AverageUtilization
- func (x *CpuUtilization) GetBreakdownUtilization() *BreakdownUtilization
- func (x *CpuUtilization) GetPeakUtilization() *PeakUtilization
- func (x *CpuUtilization) GetServer() string
- func (*CpuUtilization) ProtoMessage()
- func (x *CpuUtilization) ProtoReflect() protoreflect.Message
- func (x *CpuUtilization) Reset()
- func (x *CpuUtilization) String() string
- type GetCpuStateReply
- func (*GetCpuStateReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetCpuStateReply) GetCpuState() *CpuState
- func (x *GetCpuStateReply) GetDomain() string
- func (*GetCpuStateReply) ProtoMessage()
- func (x *GetCpuStateReply) ProtoReflect() protoreflect.Message
- func (x *GetCpuStateReply) Reset()
- func (x *GetCpuStateReply) String() string
- type GetCpuStateRequest
- func (*GetCpuStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCpuStateRequest) GetEndTime() int64
- func (x *GetCpuStateRequest) GetStartTime() int64
- func (*GetCpuStateRequest) ProtoMessage()
- func (x *GetCpuStateRequest) ProtoReflect() protoreflect.Message
- func (x *GetCpuStateRequest) Reset()
- func (x *GetCpuStateRequest) String() string
- type GetHostsActivityReply
- func (*GetHostsActivityReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetHostsActivityReply) GetDomain() string
- func (x *GetHostsActivityReply) GetHostsActivity() []*HostActivity
- func (*GetHostsActivityReply) ProtoMessage()
- func (x *GetHostsActivityReply) ProtoReflect() protoreflect.Message
- func (x *GetHostsActivityReply) Reset()
- func (x *GetHostsActivityReply) String() string
- type GetHostsActivityRequest
- func (*GetHostsActivityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHostsActivityRequest) GetEndTime() int64
- func (x *GetHostsActivityRequest) GetStartTime() int64
- func (*GetHostsActivityRequest) ProtoMessage()
- func (x *GetHostsActivityRequest) ProtoReflect() protoreflect.Message
- func (x *GetHostsActivityRequest) Reset()
- func (x *GetHostsActivityRequest) String() string
- type GetHostsStateReply
- func (*GetHostsStateReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetHostsStateReply) GetDomain() string
- func (x *GetHostsStateReply) GetHostsState() []*HostState
- func (*GetHostsStateReply) ProtoMessage()
- func (x *GetHostsStateReply) ProtoReflect() protoreflect.Message
- func (x *GetHostsStateReply) Reset()
- func (x *GetHostsStateReply) String() string
- type GetHostsStateRequest
- func (*GetHostsStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHostsStateRequest) GetEndTime() int64
- func (x *GetHostsStateRequest) GetStartTime() int64
- func (*GetHostsStateRequest) ProtoMessage()
- func (x *GetHostsStateRequest) ProtoReflect() protoreflect.Message
- func (x *GetHostsStateRequest) Reset()
- func (x *GetHostsStateRequest) String() string
- type GetNetworkErrorReply
- func (*GetNetworkErrorReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetNetworkErrorReply) GetDomain() string
- func (x *GetNetworkErrorReply) GetNetworkError() []*NetworkError
- func (*GetNetworkErrorReply) ProtoMessage()
- func (x *GetNetworkErrorReply) ProtoReflect() protoreflect.Message
- func (x *GetNetworkErrorReply) Reset()
- func (x *GetNetworkErrorReply) String() string
- type GetNetworkErrorRequest
- func (*GetNetworkErrorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNetworkErrorRequest) GetEndTime() int64
- func (x *GetNetworkErrorRequest) GetStartTime() int64
- func (*GetNetworkErrorRequest) ProtoMessage()
- func (x *GetNetworkErrorRequest) ProtoReflect() protoreflect.Message
- func (x *GetNetworkErrorRequest) Reset()
- func (x *GetNetworkErrorRequest) String() string
- type GetRagKeywordsReply
- func (*GetRagKeywordsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetRagKeywordsReply) GetKeywords() []string
- func (*GetRagKeywordsReply) ProtoMessage()
- func (x *GetRagKeywordsReply) ProtoReflect() protoreflect.Message
- func (x *GetRagKeywordsReply) Reset()
- func (x *GetRagKeywordsReply) String() string
- type GetRagKeywordsRequest
- func (*GetRagKeywordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRagKeywordsRequest) GetText() string
- func (*GetRagKeywordsRequest) ProtoMessage()
- func (x *GetRagKeywordsRequest) ProtoReflect() protoreflect.Message
- func (x *GetRagKeywordsRequest) Reset()
- func (x *GetRagKeywordsRequest) String() string
- type GetSecurityAbnormalUserReply
- func (*GetSecurityAbnormalUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecurityAbnormalUserReply) GetAbnormalUser() []*AbnormalUser
- func (x *GetSecurityAbnormalUserReply) GetDomain() string
- func (*GetSecurityAbnormalUserReply) ProtoMessage()
- func (x *GetSecurityAbnormalUserReply) ProtoReflect() protoreflect.Message
- func (x *GetSecurityAbnormalUserReply) Reset()
- func (x *GetSecurityAbnormalUserReply) String() string
- type GetSecurityAbnormalUserRequest
- func (*GetSecurityAbnormalUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecurityAbnormalUserRequest) GetEndTime() int64
- func (x *GetSecurityAbnormalUserRequest) GetStartTime() int64
- func (*GetSecurityAbnormalUserRequest) ProtoMessage()
- func (x *GetSecurityAbnormalUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecurityAbnormalUserRequest) Reset()
- func (x *GetSecurityAbnormalUserRequest) String() string
- type HostActivity
- func (*HostActivity) Descriptor() ([]byte, []int)deprecated
- func (x *HostActivity) GetHostActivityIps() string
- func (x *HostActivity) GetHostActivityNum() int64
- func (x *HostActivity) GetHostIdleNum() int64
- func (x *HostActivity) GetHostNum() int64
- func (x *HostActivity) GetRecordId() string
- func (x *HostActivity) GetTimestamp() string
- func (*HostActivity) ProtoMessage()
- func (x *HostActivity) ProtoReflect() protoreflect.Message
- func (x *HostActivity) Reset()
- func (x *HostActivity) String() string
- type HostState
- func (*HostState) Descriptor() ([]byte, []int)deprecated
- func (x *HostState) GetApplication() string
- func (x *HostState) GetAvgOpTime() int64
- func (x *HostState) GetHost() string
- func (x *HostState) GetOperation() string
- func (x *HostState) GetRecordId() string
- func (x *HostState) GetTimestamp() string
- func (*HostState) ProtoMessage()
- func (x *HostState) ProtoReflect() protoreflect.Message
- func (x *HostState) Reset()
- func (x *HostState) String() string
- type Journal
- func (*Journal) Descriptor() ([]byte, []int)deprecated
- func (x *Journal) GetDirectory() string
- func (x *Journal) GetMessage() string
- func (x *Journal) GetStatus() string
- func (*Journal) ProtoMessage()
- func (x *Journal) ProtoReflect() protoreflect.Message
- func (x *Journal) Reset()
- func (x *Journal) String() string
- type NetworkError
- func (*NetworkError) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkError) GetPort() string
- func (x *NetworkError) GetRxDrops() int64
- func (x *NetworkError) GetRxErrors() int64
- func (x *NetworkError) GetTimestamp() string
- func (x *NetworkError) GetTxDrops() int64
- func (x *NetworkError) GetTxErrors() int64
- func (*NetworkError) ProtoMessage()
- func (x *NetworkError) ProtoReflect() protoreflect.Message
- func (x *NetworkError) Reset()
- func (x *NetworkError) String() string
- type PeakUtilization
- func (*PeakUtilization) Descriptor() ([]byte, []int)deprecated
- func (x *PeakUtilization) GetTime() string
- func (x *PeakUtilization) GetValue() string
- func (*PeakUtilization) ProtoMessage()
- func (x *PeakUtilization) ProtoReflect() protoreflect.Message
- func (x *PeakUtilization) Reset()
- func (x *PeakUtilization) String() string
- type PromptSuggestionReply
- func (*PromptSuggestionReply) Descriptor() ([]byte, []int)deprecated
- func (x *PromptSuggestionReply) GetNum() int64
- func (x *PromptSuggestionReply) GetPrompts() []*Suggestion
- func (*PromptSuggestionReply) ProtoMessage()
- func (x *PromptSuggestionReply) ProtoReflect() protoreflect.Message
- func (x *PromptSuggestionReply) Reset()
- func (x *PromptSuggestionReply) String() string
- type PromptSuggestionRequest
- func (*PromptSuggestionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PromptSuggestionRequest) GetText() string
- func (*PromptSuggestionRequest) ProtoMessage()
- func (x *PromptSuggestionRequest) ProtoReflect() protoreflect.Message
- func (x *PromptSuggestionRequest) Reset()
- func (x *PromptSuggestionRequest) String() string
- type Suggestion
Constants ¶
const OperationCopilotGetCpuState = "/ads.service.copilot.v1.Copilot/GetCpuState"
const OperationCopilotGetHostsActivity = "/ads.service.copilot.v1.Copilot/GetHostsActivity"
const OperationCopilotGetHostsState = "/ads.service.copilot.v1.Copilot/GetHostsState"
const OperationCopilotGetNetworkError = "/ads.service.copilot.v1.Copilot/GetNetworkError"
const OperationCopilotGetRagKeywords = "/ads.service.copilot.v1.Copilot/GetRagKeywords"
const OperationCopilotGetSecurityAbnormalUser = "/ads.service.copilot.v1.Copilot/GetSecurityAbnormalUser"
const OperationCopilotPromptSuggestion = "/ads.service.copilot.v1.Copilot/PromptSuggestion"
Variables ¶
var File_api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCopilotHTTPServer ¶
func RegisterCopilotHTTPServer(s *http.Server, srv CopilotHTTPServer)
Types ¶
type AbnormalUser ¶
type AbnormalUser struct { // Login username User string `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"` // Standard, Admin, Guest, others... Privilege string `protobuf:"bytes,2,opt,name=privilege,proto3" json:"privilege,omitempty"` // Login status Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // Login message LoginMessage string `protobuf:"bytes,4,opt,name=login_message,json=loginMessage,proto3" json:"login_message,omitempty"` // Directory Access Logs Journal []*Journal `protobuf:"bytes,5,rep,name=journal,proto3" json:"journal,omitempty"` // Login time LoginTime int64 `protobuf:"varint,6,opt,name=login_time,json=loginTime,proto3" json:"login_time,omitempty"` // Logout time LogoutTime int64 `protobuf:"varint,7,opt,name=logout_time,json=logoutTime,proto3" json:"logout_time,omitempty"` // Online time Online int64 `protobuf:"varint,8,opt,name=online,proto3" json:"online,omitempty"` // contains filtered or unexported fields }
func (*AbnormalUser) Descriptor
deprecated
func (*AbnormalUser) Descriptor() ([]byte, []int)
Deprecated: Use AbnormalUser.ProtoReflect.Descriptor instead.
func (*AbnormalUser) GetJournal ¶
func (x *AbnormalUser) GetJournal() []*Journal
func (*AbnormalUser) GetLoginMessage ¶
func (x *AbnormalUser) GetLoginMessage() string
func (*AbnormalUser) GetLoginTime ¶
func (x *AbnormalUser) GetLoginTime() int64
func (*AbnormalUser) GetLogoutTime ¶
func (x *AbnormalUser) GetLogoutTime() int64
func (*AbnormalUser) GetOnline ¶
func (x *AbnormalUser) GetOnline() int64
func (*AbnormalUser) GetPrivilege ¶
func (x *AbnormalUser) GetPrivilege() string
func (*AbnormalUser) GetStatus ¶
func (x *AbnormalUser) GetStatus() string
func (*AbnormalUser) GetUser ¶
func (x *AbnormalUser) GetUser() string
func (*AbnormalUser) ProtoMessage ¶
func (*AbnormalUser) ProtoMessage()
func (*AbnormalUser) ProtoReflect ¶
func (x *AbnormalUser) ProtoReflect() protoreflect.Message
func (*AbnormalUser) Reset ¶
func (x *AbnormalUser) Reset()
func (*AbnormalUser) String ¶
func (x *AbnormalUser) String() string
type AverageUtilization ¶
type AverageUtilization struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*AverageUtilization) Descriptor
deprecated
func (*AverageUtilization) Descriptor() ([]byte, []int)
Deprecated: Use AverageUtilization.ProtoReflect.Descriptor instead.
func (*AverageUtilization) GetValue ¶
func (x *AverageUtilization) GetValue() string
func (*AverageUtilization) ProtoMessage ¶
func (*AverageUtilization) ProtoMessage()
func (*AverageUtilization) ProtoReflect ¶
func (x *AverageUtilization) ProtoReflect() protoreflect.Message
func (*AverageUtilization) Reset ¶
func (x *AverageUtilization) Reset()
func (*AverageUtilization) String ¶
func (x *AverageUtilization) String() string
type BreakdownUtilization ¶
type BreakdownUtilization struct { UserTime string `protobuf:"bytes,1,opt,name=user_time,json=userTime,proto3" json:"user_time,omitempty"` SystemTime string `protobuf:"bytes,2,opt,name=system_time,json=systemTime,proto3" json:"system_time,omitempty"` // contains filtered or unexported fields }
func (*BreakdownUtilization) Descriptor
deprecated
func (*BreakdownUtilization) Descriptor() ([]byte, []int)
Deprecated: Use BreakdownUtilization.ProtoReflect.Descriptor instead.
func (*BreakdownUtilization) GetSystemTime ¶
func (x *BreakdownUtilization) GetSystemTime() string
func (*BreakdownUtilization) GetUserTime ¶
func (x *BreakdownUtilization) GetUserTime() string
func (*BreakdownUtilization) ProtoMessage ¶
func (*BreakdownUtilization) ProtoMessage()
func (*BreakdownUtilization) ProtoReflect ¶
func (x *BreakdownUtilization) ProtoReflect() protoreflect.Message
func (*BreakdownUtilization) Reset ¶
func (x *BreakdownUtilization) Reset()
func (*BreakdownUtilization) String ¶
func (x *BreakdownUtilization) String() string
type CopilotHTTPServer ¶
type CopilotHTTPServer interface { GetCpuState(context.Context, *GetCpuStateRequest) (*GetCpuStateReply, error) GetHostsActivity(context.Context, *GetHostsActivityRequest) (*GetHostsActivityReply, error) GetHostsState(context.Context, *GetHostsStateRequest) (*GetHostsStateReply, error) GetNetworkError(context.Context, *GetNetworkErrorRequest) (*GetNetworkErrorReply, error) GetRagKeywords(context.Context, *GetRagKeywordsRequest) (*GetRagKeywordsReply, error) GetSecurityAbnormalUser(context.Context, *GetSecurityAbnormalUserRequest) (*GetSecurityAbnormalUserReply, error) PromptSuggestion(context.Context, *PromptSuggestionRequest) (*PromptSuggestionReply, error) }
type CpuState ¶
type CpuState struct { CpuUtilization *CpuUtilization `protobuf:"bytes,1,opt,name=cpu_utilization,json=cpuUtilization,proto3" json:"cpu_utilization,omitempty"` CpuUsage []*CpuUsage `protobuf:"bytes,2,rep,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"` // contains filtered or unexported fields }
func (*CpuState) Descriptor
deprecated
func (*CpuState) GetCpuUsage ¶
func (*CpuState) GetCpuUtilization ¶
func (x *CpuState) GetCpuUtilization() *CpuUtilization
func (*CpuState) ProtoMessage ¶
func (*CpuState) ProtoMessage()
func (*CpuState) ProtoReflect ¶
func (x *CpuState) ProtoReflect() protoreflect.Message
type CpuUsage ¶
type CpuUsage struct { AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` Usage string `protobuf:"bytes,2,opt,name=usage,proto3" json:"usage,omitempty"` // contains filtered or unexported fields }
func (*CpuUsage) Descriptor
deprecated
func (*CpuUsage) GetAppName ¶
func (*CpuUsage) ProtoMessage ¶
func (*CpuUsage) ProtoMessage()
func (*CpuUsage) ProtoReflect ¶
func (x *CpuUsage) ProtoReflect() protoreflect.Message
type CpuUtilization ¶
type CpuUtilization struct { Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` AverageUtilization *AverageUtilization `protobuf:"bytes,2,opt,name=average_utilization,json=averageUtilization,proto3" json:"average_utilization,omitempty"` PeakUtilization *PeakUtilization `protobuf:"bytes,3,opt,name=peak_utilization,json=peakUtilization,proto3" json:"peak_utilization,omitempty"` BreakdownUtilization *BreakdownUtilization `protobuf:"bytes,4,opt,name=breakdown_utilization,json=breakdownUtilization,proto3" json:"breakdown_utilization,omitempty"` // contains filtered or unexported fields }
func (*CpuUtilization) Descriptor
deprecated
func (*CpuUtilization) Descriptor() ([]byte, []int)
Deprecated: Use CpuUtilization.ProtoReflect.Descriptor instead.
func (*CpuUtilization) GetAverageUtilization ¶
func (x *CpuUtilization) GetAverageUtilization() *AverageUtilization
func (*CpuUtilization) GetBreakdownUtilization ¶
func (x *CpuUtilization) GetBreakdownUtilization() *BreakdownUtilization
func (*CpuUtilization) GetPeakUtilization ¶
func (x *CpuUtilization) GetPeakUtilization() *PeakUtilization
func (*CpuUtilization) GetServer ¶
func (x *CpuUtilization) GetServer() string
func (*CpuUtilization) ProtoMessage ¶
func (*CpuUtilization) ProtoMessage()
func (*CpuUtilization) ProtoReflect ¶
func (x *CpuUtilization) ProtoReflect() protoreflect.Message
func (*CpuUtilization) Reset ¶
func (x *CpuUtilization) Reset()
func (*CpuUtilization) String ¶
func (x *CpuUtilization) String() string
type GetCpuStateReply ¶
type GetCpuStateReply struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` CpuState *CpuState `protobuf:"bytes,2,opt,name=cpu_state,json=cpuState,proto3" json:"cpu_state,omitempty"` // contains filtered or unexported fields }
func (*GetCpuStateReply) Descriptor
deprecated
func (*GetCpuStateReply) Descriptor() ([]byte, []int)
Deprecated: Use GetCpuStateReply.ProtoReflect.Descriptor instead.
func (*GetCpuStateReply) GetCpuState ¶
func (x *GetCpuStateReply) GetCpuState() *CpuState
func (*GetCpuStateReply) GetDomain ¶
func (x *GetCpuStateReply) GetDomain() string
func (*GetCpuStateReply) ProtoMessage ¶
func (*GetCpuStateReply) ProtoMessage()
func (*GetCpuStateReply) ProtoReflect ¶
func (x *GetCpuStateReply) ProtoReflect() protoreflect.Message
func (*GetCpuStateReply) Reset ¶
func (x *GetCpuStateReply) Reset()
func (*GetCpuStateReply) String ¶
func (x *GetCpuStateReply) String() string
type GetCpuStateRequest ¶
type GetCpuStateRequest struct { StartTime int64 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
GetCpuState
func (*GetCpuStateRequest) Descriptor
deprecated
func (*GetCpuStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCpuStateRequest.ProtoReflect.Descriptor instead.
func (*GetCpuStateRequest) GetEndTime ¶
func (x *GetCpuStateRequest) GetEndTime() int64
func (*GetCpuStateRequest) GetStartTime ¶
func (x *GetCpuStateRequest) GetStartTime() int64
func (*GetCpuStateRequest) ProtoMessage ¶
func (*GetCpuStateRequest) ProtoMessage()
func (*GetCpuStateRequest) ProtoReflect ¶
func (x *GetCpuStateRequest) ProtoReflect() protoreflect.Message
func (*GetCpuStateRequest) Reset ¶
func (x *GetCpuStateRequest) Reset()
func (*GetCpuStateRequest) String ¶
func (x *GetCpuStateRequest) String() string
type GetHostsActivityReply ¶
type GetHostsActivityReply struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` HostsActivity []*HostActivity `protobuf:"bytes,2,rep,name=hosts_activity,json=hostsActivity,proto3" json:"hosts_activity,omitempty"` // contains filtered or unexported fields }
func (*GetHostsActivityReply) Descriptor
deprecated
func (*GetHostsActivityReply) Descriptor() ([]byte, []int)
Deprecated: Use GetHostsActivityReply.ProtoReflect.Descriptor instead.
func (*GetHostsActivityReply) GetDomain ¶
func (x *GetHostsActivityReply) GetDomain() string
func (*GetHostsActivityReply) GetHostsActivity ¶
func (x *GetHostsActivityReply) GetHostsActivity() []*HostActivity
func (*GetHostsActivityReply) ProtoMessage ¶
func (*GetHostsActivityReply) ProtoMessage()
func (*GetHostsActivityReply) ProtoReflect ¶
func (x *GetHostsActivityReply) ProtoReflect() protoreflect.Message
func (*GetHostsActivityReply) Reset ¶
func (x *GetHostsActivityReply) Reset()
func (*GetHostsActivityReply) String ¶
func (x *GetHostsActivityReply) String() string
type GetHostsActivityRequest ¶
type GetHostsActivityRequest struct { StartTime int64 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
GetHostsActivity
func (*GetHostsActivityRequest) Descriptor
deprecated
func (*GetHostsActivityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHostsActivityRequest.ProtoReflect.Descriptor instead.
func (*GetHostsActivityRequest) GetEndTime ¶
func (x *GetHostsActivityRequest) GetEndTime() int64
func (*GetHostsActivityRequest) GetStartTime ¶
func (x *GetHostsActivityRequest) GetStartTime() int64
func (*GetHostsActivityRequest) ProtoMessage ¶
func (*GetHostsActivityRequest) ProtoMessage()
func (*GetHostsActivityRequest) ProtoReflect ¶
func (x *GetHostsActivityRequest) ProtoReflect() protoreflect.Message
func (*GetHostsActivityRequest) Reset ¶
func (x *GetHostsActivityRequest) Reset()
func (*GetHostsActivityRequest) String ¶
func (x *GetHostsActivityRequest) String() string
type GetHostsStateReply ¶
type GetHostsStateReply struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` HostsState []*HostState `protobuf:"bytes,2,rep,name=hosts_state,json=hostsState,proto3" json:"hosts_state,omitempty"` // contains filtered or unexported fields }
func (*GetHostsStateReply) Descriptor
deprecated
func (*GetHostsStateReply) Descriptor() ([]byte, []int)
Deprecated: Use GetHostsStateReply.ProtoReflect.Descriptor instead.
func (*GetHostsStateReply) GetDomain ¶
func (x *GetHostsStateReply) GetDomain() string
func (*GetHostsStateReply) GetHostsState ¶
func (x *GetHostsStateReply) GetHostsState() []*HostState
func (*GetHostsStateReply) ProtoMessage ¶
func (*GetHostsStateReply) ProtoMessage()
func (*GetHostsStateReply) ProtoReflect ¶
func (x *GetHostsStateReply) ProtoReflect() protoreflect.Message
func (*GetHostsStateReply) Reset ¶
func (x *GetHostsStateReply) Reset()
func (*GetHostsStateReply) String ¶
func (x *GetHostsStateReply) String() string
type GetHostsStateRequest ¶
type GetHostsStateRequest struct { StartTime int64 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
GetHostsState
func (*GetHostsStateRequest) Descriptor
deprecated
func (*GetHostsStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHostsStateRequest.ProtoReflect.Descriptor instead.
func (*GetHostsStateRequest) GetEndTime ¶
func (x *GetHostsStateRequest) GetEndTime() int64
func (*GetHostsStateRequest) GetStartTime ¶
func (x *GetHostsStateRequest) GetStartTime() int64
func (*GetHostsStateRequest) ProtoMessage ¶
func (*GetHostsStateRequest) ProtoMessage()
func (*GetHostsStateRequest) ProtoReflect ¶
func (x *GetHostsStateRequest) ProtoReflect() protoreflect.Message
func (*GetHostsStateRequest) Reset ¶
func (x *GetHostsStateRequest) Reset()
func (*GetHostsStateRequest) String ¶
func (x *GetHostsStateRequest) String() string
type GetNetworkErrorReply ¶
type GetNetworkErrorReply struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` NetworkError []*NetworkError `protobuf:"bytes,2,rep,name=network_error,json=networkError,proto3" json:"network_error,omitempty"` // contains filtered or unexported fields }
func (*GetNetworkErrorReply) Descriptor
deprecated
func (*GetNetworkErrorReply) Descriptor() ([]byte, []int)
Deprecated: Use GetNetworkErrorReply.ProtoReflect.Descriptor instead.
func (*GetNetworkErrorReply) GetDomain ¶
func (x *GetNetworkErrorReply) GetDomain() string
func (*GetNetworkErrorReply) GetNetworkError ¶
func (x *GetNetworkErrorReply) GetNetworkError() []*NetworkError
func (*GetNetworkErrorReply) ProtoMessage ¶
func (*GetNetworkErrorReply) ProtoMessage()
func (*GetNetworkErrorReply) ProtoReflect ¶
func (x *GetNetworkErrorReply) ProtoReflect() protoreflect.Message
func (*GetNetworkErrorReply) Reset ¶
func (x *GetNetworkErrorReply) Reset()
func (*GetNetworkErrorReply) String ¶
func (x *GetNetworkErrorReply) String() string
type GetNetworkErrorRequest ¶
type GetNetworkErrorRequest struct { StartTime int64 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
GetNetworkError
func (*GetNetworkErrorRequest) Descriptor
deprecated
func (*GetNetworkErrorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNetworkErrorRequest.ProtoReflect.Descriptor instead.
func (*GetNetworkErrorRequest) GetEndTime ¶
func (x *GetNetworkErrorRequest) GetEndTime() int64
func (*GetNetworkErrorRequest) GetStartTime ¶
func (x *GetNetworkErrorRequest) GetStartTime() int64
func (*GetNetworkErrorRequest) ProtoMessage ¶
func (*GetNetworkErrorRequest) ProtoMessage()
func (*GetNetworkErrorRequest) ProtoReflect ¶
func (x *GetNetworkErrorRequest) ProtoReflect() protoreflect.Message
func (*GetNetworkErrorRequest) Reset ¶
func (x *GetNetworkErrorRequest) Reset()
func (*GetNetworkErrorRequest) String ¶
func (x *GetNetworkErrorRequest) String() string
type GetRagKeywordsReply ¶
type GetRagKeywordsReply struct { Keywords []string `protobuf:"bytes,1,rep,name=keywords,proto3" json:"keywords,omitempty"` // contains filtered or unexported fields }
func (*GetRagKeywordsReply) Descriptor
deprecated
func (*GetRagKeywordsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetRagKeywordsReply.ProtoReflect.Descriptor instead.
func (*GetRagKeywordsReply) GetKeywords ¶
func (x *GetRagKeywordsReply) GetKeywords() []string
func (*GetRagKeywordsReply) ProtoMessage ¶
func (*GetRagKeywordsReply) ProtoMessage()
func (*GetRagKeywordsReply) ProtoReflect ¶
func (x *GetRagKeywordsReply) ProtoReflect() protoreflect.Message
func (*GetRagKeywordsReply) Reset ¶
func (x *GetRagKeywordsReply) Reset()
func (*GetRagKeywordsReply) String ¶
func (x *GetRagKeywordsReply) String() string
type GetRagKeywordsRequest ¶
type GetRagKeywordsRequest struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
GetRagKeywords
func (*GetRagKeywordsRequest) Descriptor
deprecated
func (*GetRagKeywordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRagKeywordsRequest.ProtoReflect.Descriptor instead.
func (*GetRagKeywordsRequest) GetText ¶
func (x *GetRagKeywordsRequest) GetText() string
func (*GetRagKeywordsRequest) ProtoMessage ¶
func (*GetRagKeywordsRequest) ProtoMessage()
func (*GetRagKeywordsRequest) ProtoReflect ¶
func (x *GetRagKeywordsRequest) ProtoReflect() protoreflect.Message
func (*GetRagKeywordsRequest) Reset ¶
func (x *GetRagKeywordsRequest) Reset()
func (*GetRagKeywordsRequest) String ¶
func (x *GetRagKeywordsRequest) String() string
type GetSecurityAbnormalUserReply ¶
type GetSecurityAbnormalUserReply struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` AbnormalUser []*AbnormalUser `protobuf:"bytes,2,rep,name=abnormal_user,json=abnormalUser,proto3" json:"abnormal_user,omitempty"` // contains filtered or unexported fields }
func (*GetSecurityAbnormalUserReply) Descriptor
deprecated
func (*GetSecurityAbnormalUserReply) Descriptor() ([]byte, []int)
Deprecated: Use GetSecurityAbnormalUserReply.ProtoReflect.Descriptor instead.
func (*GetSecurityAbnormalUserReply) GetAbnormalUser ¶
func (x *GetSecurityAbnormalUserReply) GetAbnormalUser() []*AbnormalUser
func (*GetSecurityAbnormalUserReply) GetDomain ¶
func (x *GetSecurityAbnormalUserReply) GetDomain() string
func (*GetSecurityAbnormalUserReply) ProtoMessage ¶
func (*GetSecurityAbnormalUserReply) ProtoMessage()
func (*GetSecurityAbnormalUserReply) ProtoReflect ¶
func (x *GetSecurityAbnormalUserReply) ProtoReflect() protoreflect.Message
func (*GetSecurityAbnormalUserReply) Reset ¶
func (x *GetSecurityAbnormalUserReply) Reset()
func (*GetSecurityAbnormalUserReply) String ¶
func (x *GetSecurityAbnormalUserReply) String() string
type GetSecurityAbnormalUserRequest ¶
type GetSecurityAbnormalUserRequest struct { StartTime int64 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
GetSecurityAbnormalUser
func (*GetSecurityAbnormalUserRequest) Descriptor
deprecated
func (*GetSecurityAbnormalUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSecurityAbnormalUserRequest.ProtoReflect.Descriptor instead.
func (*GetSecurityAbnormalUserRequest) GetEndTime ¶
func (x *GetSecurityAbnormalUserRequest) GetEndTime() int64
func (*GetSecurityAbnormalUserRequest) GetStartTime ¶
func (x *GetSecurityAbnormalUserRequest) GetStartTime() int64
func (*GetSecurityAbnormalUserRequest) ProtoMessage ¶
func (*GetSecurityAbnormalUserRequest) ProtoMessage()
func (*GetSecurityAbnormalUserRequest) ProtoReflect ¶
func (x *GetSecurityAbnormalUserRequest) ProtoReflect() protoreflect.Message
func (*GetSecurityAbnormalUserRequest) Reset ¶
func (x *GetSecurityAbnormalUserRequest) Reset()
func (*GetSecurityAbnormalUserRequest) String ¶
func (x *GetSecurityAbnormalUserRequest) String() string
type HostActivity ¶
type HostActivity struct { RecordId string `protobuf:"bytes,1,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty"` Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` HostNum int64 `protobuf:"varint,3,opt,name=host_num,json=hostNum,proto3" json:"host_num,omitempty"` HostActivityNum int64 `protobuf:"varint,4,opt,name=host_activity_num,json=hostActivityNum,proto3" json:"host_activity_num,omitempty"` HostIdleNum int64 `protobuf:"varint,5,opt,name=host_idle_num,json=hostIdleNum,proto3" json:"host_idle_num,omitempty"` HostActivityIps string `protobuf:"bytes,6,opt,name=host_activity_ips,json=hostActivityIps,proto3" json:"host_activity_ips,omitempty"` // contains filtered or unexported fields }
func (*HostActivity) Descriptor
deprecated
func (*HostActivity) Descriptor() ([]byte, []int)
Deprecated: Use HostActivity.ProtoReflect.Descriptor instead.
func (*HostActivity) GetHostActivityIps ¶
func (x *HostActivity) GetHostActivityIps() string
func (*HostActivity) GetHostActivityNum ¶
func (x *HostActivity) GetHostActivityNum() int64
func (*HostActivity) GetHostIdleNum ¶
func (x *HostActivity) GetHostIdleNum() int64
func (*HostActivity) GetHostNum ¶
func (x *HostActivity) GetHostNum() int64
func (*HostActivity) GetRecordId ¶
func (x *HostActivity) GetRecordId() string
func (*HostActivity) GetTimestamp ¶
func (x *HostActivity) GetTimestamp() string
func (*HostActivity) ProtoMessage ¶
func (*HostActivity) ProtoMessage()
func (*HostActivity) ProtoReflect ¶
func (x *HostActivity) ProtoReflect() protoreflect.Message
func (*HostActivity) Reset ¶
func (x *HostActivity) Reset()
func (*HostActivity) String ¶
func (x *HostActivity) String() string
type HostState ¶
type HostState struct { RecordId string `protobuf:"bytes,1,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty"` Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Application string `protobuf:"bytes,3,opt,name=application,proto3" json:"application,omitempty"` Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"` Operation string `protobuf:"bytes,5,opt,name=operation,proto3" json:"operation,omitempty"` AvgOpTime int64 `protobuf:"varint,6,opt,name=avg_op_time,json=avgOpTime,proto3" json:"avg_op_time,omitempty"` // contains filtered or unexported fields }
func (*HostState) Descriptor
deprecated
func (*HostState) GetApplication ¶
func (*HostState) GetAvgOpTime ¶
func (*HostState) GetOperation ¶
func (*HostState) GetRecordId ¶
func (*HostState) GetTimestamp ¶
func (*HostState) ProtoMessage ¶
func (*HostState) ProtoMessage()
func (*HostState) ProtoReflect ¶
func (x *HostState) ProtoReflect() protoreflect.Message
type Journal ¶
type Journal struct { // which directory Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"` // Directory Access Status Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // Directory Access Message Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Journal) Descriptor
deprecated
func (*Journal) GetDirectory ¶
func (*Journal) GetMessage ¶
func (*Journal) ProtoMessage ¶
func (*Journal) ProtoMessage()
func (*Journal) ProtoReflect ¶
func (x *Journal) ProtoReflect() protoreflect.Message
type NetworkError ¶
type NetworkError struct { Timestamp string `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` RxDrops int64 `protobuf:"varint,3,opt,name=rx_drops,json=rxDrops,proto3" json:"rx_drops,omitempty"` TxDrops int64 `protobuf:"varint,4,opt,name=tx_drops,json=txDrops,proto3" json:"tx_drops,omitempty"` RxErrors int64 `protobuf:"varint,5,opt,name=rx_errors,json=rxErrors,proto3" json:"rx_errors,omitempty"` TxErrors int64 `protobuf:"varint,6,opt,name=tx_errors,json=txErrors,proto3" json:"tx_errors,omitempty"` // contains filtered or unexported fields }
func (*NetworkError) Descriptor
deprecated
func (*NetworkError) Descriptor() ([]byte, []int)
Deprecated: Use NetworkError.ProtoReflect.Descriptor instead.
func (*NetworkError) GetPort ¶
func (x *NetworkError) GetPort() string
func (*NetworkError) GetRxDrops ¶
func (x *NetworkError) GetRxDrops() int64
func (*NetworkError) GetRxErrors ¶
func (x *NetworkError) GetRxErrors() int64
func (*NetworkError) GetTimestamp ¶
func (x *NetworkError) GetTimestamp() string
func (*NetworkError) GetTxDrops ¶
func (x *NetworkError) GetTxDrops() int64
func (*NetworkError) GetTxErrors ¶
func (x *NetworkError) GetTxErrors() int64
func (*NetworkError) ProtoMessage ¶
func (*NetworkError) ProtoMessage()
func (*NetworkError) ProtoReflect ¶
func (x *NetworkError) ProtoReflect() protoreflect.Message
func (*NetworkError) Reset ¶
func (x *NetworkError) Reset()
func (*NetworkError) String ¶
func (x *NetworkError) String() string
type PeakUtilization ¶
type PeakUtilization struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Time string `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*PeakUtilization) Descriptor
deprecated
func (*PeakUtilization) Descriptor() ([]byte, []int)
Deprecated: Use PeakUtilization.ProtoReflect.Descriptor instead.
func (*PeakUtilization) GetTime ¶
func (x *PeakUtilization) GetTime() string
func (*PeakUtilization) GetValue ¶
func (x *PeakUtilization) GetValue() string
func (*PeakUtilization) ProtoMessage ¶
func (*PeakUtilization) ProtoMessage()
func (*PeakUtilization) ProtoReflect ¶
func (x *PeakUtilization) ProtoReflect() protoreflect.Message
func (*PeakUtilization) Reset ¶
func (x *PeakUtilization) Reset()
func (*PeakUtilization) String ¶
func (x *PeakUtilization) String() string
type PromptSuggestionReply ¶
type PromptSuggestionReply struct { // prompt suggestion list Prompts []*Suggestion `protobuf:"bytes,1,rep,name=prompts,proto3" json:"prompts,omitempty"` // how many suggestion will be returned Num int64 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"` // contains filtered or unexported fields }
func (*PromptSuggestionReply) Descriptor
deprecated
func (*PromptSuggestionReply) Descriptor() ([]byte, []int)
Deprecated: Use PromptSuggestionReply.ProtoReflect.Descriptor instead.
func (*PromptSuggestionReply) GetNum ¶
func (x *PromptSuggestionReply) GetNum() int64
func (*PromptSuggestionReply) GetPrompts ¶
func (x *PromptSuggestionReply) GetPrompts() []*Suggestion
func (*PromptSuggestionReply) ProtoMessage ¶
func (*PromptSuggestionReply) ProtoMessage()
func (*PromptSuggestionReply) ProtoReflect ¶
func (x *PromptSuggestionReply) ProtoReflect() protoreflect.Message
func (*PromptSuggestionReply) Reset ¶
func (x *PromptSuggestionReply) Reset()
func (*PromptSuggestionReply) String ¶
func (x *PromptSuggestionReply) String() string
type PromptSuggestionRequest ¶
type PromptSuggestionRequest struct { // input text Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
PromptSuggestion
func (*PromptSuggestionRequest) Descriptor
deprecated
func (*PromptSuggestionRequest) Descriptor() ([]byte, []int)
Deprecated: Use PromptSuggestionRequest.ProtoReflect.Descriptor instead.
func (*PromptSuggestionRequest) GetText ¶
func (x *PromptSuggestionRequest) GetText() string
func (*PromptSuggestionRequest) ProtoMessage ¶
func (*PromptSuggestionRequest) ProtoMessage()
func (*PromptSuggestionRequest) ProtoReflect ¶
func (x *PromptSuggestionRequest) ProtoReflect() protoreflect.Message
func (*PromptSuggestionRequest) Reset ¶
func (x *PromptSuggestionRequest) Reset()
func (*PromptSuggestionRequest) String ¶
func (x *PromptSuggestionRequest) String() string
type Suggestion ¶
type Suggestion struct { // prompt suggestion Prompt string `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"` // contains filtered or unexported fields }
func (*Suggestion) Descriptor
deprecated
func (*Suggestion) Descriptor() ([]byte, []int)
Deprecated: Use Suggestion.ProtoReflect.Descriptor instead.
func (*Suggestion) GetPrompt ¶
func (x *Suggestion) GetPrompt() string
func (*Suggestion) ProtoMessage ¶
func (*Suggestion) ProtoMessage()
func (*Suggestion) ProtoReflect ¶
func (x *Suggestion) ProtoReflect() protoreflect.Message
func (*Suggestion) Reset ¶
func (x *Suggestion) Reset()
func (*Suggestion) String ¶
func (x *Suggestion) String() string