pb

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentRpcServer_Ping_FullMethodName     = "/pb.AgentRpcServer/Ping"
	AgentRpcServer_StartApp_FullMethodName = "/pb.AgentRpcServer/StartApp"
	AgentRpcServer_StopApp_FullMethodName  = "/pb.AgentRpcServer/StopApp"
)

Variables

View Source
var (
	UESSRpcPingResponse_ProcInfo_ProcStatus_name = map[int32]string{
		0: "Unknown",
		1: "Running",
		2: "Dead",
	}
	UESSRpcPingResponse_ProcInfo_ProcStatus_value = map[string]int32{
		"Unknown": 0,
		"Running": 1,
		"Dead":    2,
	}
)

Enum value maps for UESSRpcPingResponse_ProcInfo_ProcStatus.

View Source
var (
	UESSInstanceStatus_name = map[int32]string{
		0: "UIS_Unknown",
		1: "UIS_Starting",
		2: "UIS_WaitConnect",
		3: "UIS_Connected",
		4: "USI_Restarting",
		5: "USI_Dead",
	}
	UESSInstanceStatus_value = map[string]int32{
		"UIS_Unknown":     0,
		"UIS_Starting":    1,
		"UIS_WaitConnect": 2,
		"UIS_Connected":   3,
		"USI_Restarting":  4,
		"USI_Dead":        5,
	}
)

Enum value maps for UESSInstanceStatus.

View Source
var AgentRpcServer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.AgentRpcServer",
	HandlerType: (*AgentRpcServerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "StartApp",
			Handler:    _AgentRpcServer_StartApp_Handler,
		},
		{
			MethodName: "StopApp",
			Handler:    _AgentRpcServer_StopApp_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Ping",
			Handler:       _AgentRpcServer_Ping_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "uess-agent.proto",
}

AgentRpcServer_ServiceDesc is the grpc.ServiceDesc for AgentRpcServer 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_uess_agent_proto protoreflect.FileDescriptor
View Source
var File_uess_apps_proto protoreflect.FileDescriptor
View Source
var File_uess_cluster_proto protoreflect.FileDescriptor
View Source
var File_uess_instance_proto protoreflect.FileDescriptor

Functions

func RegisterAgentRpcServerServer

func RegisterAgentRpcServerServer(s grpc.ServiceRegistrar, srv AgentRpcServerServer)

Types

type AgentRpcServerClient

type AgentRpcServerClient interface {
	// 心跳
	Ping(ctx context.Context, in *UESSRpcPingRequest, opts ...grpc.CallOption) (AgentRpcServer_PingClient, error)
	// 启动应用
	StartApp(ctx context.Context, in *UESSStartAppRequest, opts ...grpc.CallOption) (*UESSStartAppResponse, error)
	// 停止应用
	StopApp(ctx context.Context, in *UESSStopAppRequest, opts ...grpc.CallOption) (*UESSStopAppResponse, error)
}

AgentRpcServerClient is the client API for AgentRpcServer 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 AgentRpcServerServer

type AgentRpcServerServer interface {
	// 心跳
	Ping(*UESSRpcPingRequest, AgentRpcServer_PingServer) error
	// 启动应用
	StartApp(context.Context, *UESSStartAppRequest) (*UESSStartAppResponse, error)
	// 停止应用
	StopApp(context.Context, *UESSStopAppRequest) (*UESSStopAppResponse, error)
	// contains filtered or unexported methods
}

AgentRpcServerServer is the server API for AgentRpcServer service. All implementations must embed UnimplementedAgentRpcServerServer for forward compatibility

type AgentRpcServer_PingClient added in v0.1.11

type AgentRpcServer_PingClient interface {
	Recv() (*UESSRpcPingResponse, error)
	grpc.ClientStream
}

type AgentRpcServer_PingServer added in v0.1.11

type AgentRpcServer_PingServer interface {
	Send(*UESSRpcPingResponse) error
	grpc.ServerStream
}

type UESSAddHostRequest added in v0.1.17

type UESSAddHostRequest struct {
	HostIp   string `protobuf:"bytes,1,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
	RcPort   uint32 `protobuf:"varint,2,opt,name=rc_port,json=rcPort,proto3" json:"rc_port,omitempty"` // 远程连接端口(win32 winrm默认5985 linux ssh默认22)
	Os       string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`                        // 操作系统(win32||linux)
	User     string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	HostId   string `protobuf:"bytes,6,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` // 新增or修改
	// contains filtered or unexported fields
}

添加主机 POST token_option /api/v1/cluster/save_host

func (*UESSAddHostRequest) Descriptor deprecated added in v0.1.17

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

Deprecated: Use UESSAddHostRequest.ProtoReflect.Descriptor instead.

func (*UESSAddHostRequest) GetHostId added in v0.1.23

func (x *UESSAddHostRequest) GetHostId() string

func (*UESSAddHostRequest) GetHostIp added in v0.1.17

func (x *UESSAddHostRequest) GetHostIp() string

func (*UESSAddHostRequest) GetOs added in v0.1.18

func (x *UESSAddHostRequest) GetOs() string

func (*UESSAddHostRequest) GetPassword added in v0.1.17

func (x *UESSAddHostRequest) GetPassword() string

func (*UESSAddHostRequest) GetRcPort added in v0.1.17

func (x *UESSAddHostRequest) GetRcPort() uint32

func (*UESSAddHostRequest) GetUser added in v0.1.17

func (x *UESSAddHostRequest) GetUser() string

func (*UESSAddHostRequest) ProtoMessage added in v0.1.17

func (*UESSAddHostRequest) ProtoMessage()

func (*UESSAddHostRequest) ProtoReflect added in v0.1.17

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

func (*UESSAddHostRequest) Reset added in v0.1.17

func (x *UESSAddHostRequest) Reset()

func (*UESSAddHostRequest) String added in v0.1.17

func (x *UESSAddHostRequest) String() string

type UESSAddHostResponse added in v0.1.17

type UESSAddHostResponse struct {
	Msg    string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code   int32  `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	HostId string `protobuf:"bytes,3,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSAddHostResponse) Descriptor deprecated added in v0.1.17

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

Deprecated: Use UESSAddHostResponse.ProtoReflect.Descriptor instead.

func (*UESSAddHostResponse) GetCode added in v0.1.17

func (x *UESSAddHostResponse) GetCode() int32

func (*UESSAddHostResponse) GetHostId added in v0.1.18

func (x *UESSAddHostResponse) GetHostId() string

func (*UESSAddHostResponse) GetMsg added in v0.1.17

func (x *UESSAddHostResponse) GetMsg() string

func (*UESSAddHostResponse) ProtoMessage added in v0.1.17

func (*UESSAddHostResponse) ProtoMessage()

func (*UESSAddHostResponse) ProtoReflect added in v0.1.17

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

func (*UESSAddHostResponse) Reset added in v0.1.17

func (x *UESSAddHostResponse) Reset()

func (*UESSAddHostResponse) String added in v0.1.17

func (x *UESSAddHostResponse) String() string

type UESSAppListRequest added in v0.1.16

type UESSAppListRequest struct {
	// contains filtered or unexported fields
}

应用列表 GET token_option /api/v1/apps/list

func (*UESSAppListRequest) Descriptor deprecated added in v0.1.16

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

Deprecated: Use UESSAppListRequest.ProtoReflect.Descriptor instead.

func (*UESSAppListRequest) ProtoMessage added in v0.1.16

func (*UESSAppListRequest) ProtoMessage()

func (*UESSAppListRequest) ProtoReflect added in v0.1.16

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

func (*UESSAppListRequest) Reset added in v0.1.16

func (x *UESSAppListRequest) Reset()

func (*UESSAppListRequest) String added in v0.1.16

func (x *UESSAppListRequest) String() string

type UESSAppListResponse added in v0.1.16

type UESSAppListResponse struct {
	Msg  string                         `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code int32                          `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	Apps []*UESSAppListResponse_AppItem `protobuf:"bytes,3,rep,name=apps,proto3" json:"apps,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSAppListResponse) Descriptor deprecated added in v0.1.16

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

Deprecated: Use UESSAppListResponse.ProtoReflect.Descriptor instead.

func (*UESSAppListResponse) GetApps added in v0.1.16

func (*UESSAppListResponse) GetCode added in v0.1.16

func (x *UESSAppListResponse) GetCode() int32

func (*UESSAppListResponse) GetMsg added in v0.1.16

func (x *UESSAppListResponse) GetMsg() string

func (*UESSAppListResponse) ProtoMessage added in v0.1.16

func (*UESSAppListResponse) ProtoMessage()

func (*UESSAppListResponse) ProtoReflect added in v0.1.16

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

func (*UESSAppListResponse) Reset added in v0.1.16

func (x *UESSAppListResponse) Reset()

func (*UESSAppListResponse) String added in v0.1.16

func (x *UESSAppListResponse) String() string

type UESSAppListResponse_AppItem added in v0.1.16

type UESSAppListResponse_AppItem struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	UeVersion string `protobuf:"bytes,2,opt,name=ue_version,json=ueVersion,proto3" json:"ue_version,omitempty"`
	BuildTime string `protobuf:"bytes,3,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSAppListResponse_AppItem) Descriptor deprecated added in v0.1.16

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

Deprecated: Use UESSAppListResponse_AppItem.ProtoReflect.Descriptor instead.

func (*UESSAppListResponse_AppItem) GetBuildTime added in v0.1.29

func (x *UESSAppListResponse_AppItem) GetBuildTime() string

func (*UESSAppListResponse_AppItem) GetName added in v0.1.16

func (x *UESSAppListResponse_AppItem) GetName() string

func (*UESSAppListResponse_AppItem) GetUeVersion added in v0.1.29

func (x *UESSAppListResponse_AppItem) GetUeVersion() string

func (*UESSAppListResponse_AppItem) ProtoMessage added in v0.1.16

func (*UESSAppListResponse_AppItem) ProtoMessage()

func (*UESSAppListResponse_AppItem) ProtoReflect added in v0.1.16

func (*UESSAppListResponse_AppItem) Reset added in v0.1.16

func (x *UESSAppListResponse_AppItem) Reset()

func (*UESSAppListResponse_AppItem) String added in v0.1.16

func (x *UESSAppListResponse_AppItem) String() string

type UESSCreateInstanceRequest

type UESSCreateInstanceRequest struct {
	AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` // 应用名称
	// contains filtered or unexported fields
}

创建实例 POST token_option /api/v1/instance/create

func (*UESSCreateInstanceRequest) Descriptor deprecated

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

Deprecated: Use UESSCreateInstanceRequest.ProtoReflect.Descriptor instead.

func (*UESSCreateInstanceRequest) GetAppName

func (x *UESSCreateInstanceRequest) GetAppName() string

func (*UESSCreateInstanceRequest) ProtoMessage

func (*UESSCreateInstanceRequest) ProtoMessage()

func (*UESSCreateInstanceRequest) ProtoReflect

func (*UESSCreateInstanceRequest) Reset

func (x *UESSCreateInstanceRequest) Reset()

func (*UESSCreateInstanceRequest) String

func (x *UESSCreateInstanceRequest) String() string

type UESSCreateInstanceResponse

type UESSCreateInstanceResponse struct {
	Msg        string             `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code       int32              `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	InstanceId string             `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // 实例ID
	WsUrl      string             `protobuf:"bytes,4,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"`
	UeVersion  string             `protobuf:"bytes,5,opt,name=ue_version,json=ueVersion,proto3" json:"ue_version,omitempty"`
	Status     UESSInstanceStatus `protobuf:"varint,11,opt,name=status,proto3,enum=pb.UESSInstanceStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSCreateInstanceResponse) Descriptor deprecated

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

Deprecated: Use UESSCreateInstanceResponse.ProtoReflect.Descriptor instead.

func (*UESSCreateInstanceResponse) GetCode

func (x *UESSCreateInstanceResponse) GetCode() int32

func (*UESSCreateInstanceResponse) GetInstanceId

func (x *UESSCreateInstanceResponse) GetInstanceId() string

func (*UESSCreateInstanceResponse) GetMsg

func (x *UESSCreateInstanceResponse) GetMsg() string

func (*UESSCreateInstanceResponse) GetStatus added in v0.1.31

func (*UESSCreateInstanceResponse) GetUeVersion added in v0.1.30

func (x *UESSCreateInstanceResponse) GetUeVersion() string

func (*UESSCreateInstanceResponse) GetWsUrl

func (x *UESSCreateInstanceResponse) GetWsUrl() string

func (*UESSCreateInstanceResponse) ProtoMessage

func (*UESSCreateInstanceResponse) ProtoMessage()

func (*UESSCreateInstanceResponse) ProtoReflect

func (*UESSCreateInstanceResponse) Reset

func (x *UESSCreateInstanceResponse) Reset()

func (*UESSCreateInstanceResponse) String

func (x *UESSCreateInstanceResponse) String() string

type UESSDelHostRequest added in v0.1.18

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

删除主机 POST token_option /api/v1/cluster/del_host

func (*UESSDelHostRequest) Descriptor deprecated added in v0.1.18

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

Deprecated: Use UESSDelHostRequest.ProtoReflect.Descriptor instead.

func (*UESSDelHostRequest) GetHostId added in v0.1.18

func (x *UESSDelHostRequest) GetHostId() string

func (*UESSDelHostRequest) ProtoMessage added in v0.1.18

func (*UESSDelHostRequest) ProtoMessage()

func (*UESSDelHostRequest) ProtoReflect added in v0.1.18

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

func (*UESSDelHostRequest) Reset added in v0.1.18

func (x *UESSDelHostRequest) Reset()

func (*UESSDelHostRequest) String added in v0.1.18

func (x *UESSDelHostRequest) String() string

type UESSDelHostResponse added in v0.1.18

type UESSDelHostResponse struct {
	Msg  string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code int32  `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSDelHostResponse) Descriptor deprecated added in v0.1.18

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

Deprecated: Use UESSDelHostResponse.ProtoReflect.Descriptor instead.

func (*UESSDelHostResponse) GetCode added in v0.1.18

func (x *UESSDelHostResponse) GetCode() int32

func (*UESSDelHostResponse) GetMsg added in v0.1.18

func (x *UESSDelHostResponse) GetMsg() string

func (*UESSDelHostResponse) ProtoMessage added in v0.1.18

func (*UESSDelHostResponse) ProtoMessage()

func (*UESSDelHostResponse) ProtoReflect added in v0.1.18

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

func (*UESSDelHostResponse) Reset added in v0.1.18

func (x *UESSDelHostResponse) Reset()

func (*UESSDelHostResponse) String added in v0.1.18

func (x *UESSDelHostResponse) String() string

type UESSGetDebugToolRequest added in v0.1.33

type UESSGetDebugToolRequest struct {
	// contains filtered or unexported fields
}

获取调试工具 GET token_option /api/v1/instance/devtool

func (*UESSGetDebugToolRequest) Descriptor deprecated added in v0.1.33

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

Deprecated: Use UESSGetDebugToolRequest.ProtoReflect.Descriptor instead.

func (*UESSGetDebugToolRequest) ProtoMessage added in v0.1.33

func (*UESSGetDebugToolRequest) ProtoMessage()

func (*UESSGetDebugToolRequest) ProtoReflect added in v0.1.33

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

func (*UESSGetDebugToolRequest) Reset added in v0.1.33

func (x *UESSGetDebugToolRequest) Reset()

func (*UESSGetDebugToolRequest) String added in v0.1.33

func (x *UESSGetDebugToolRequest) String() string

type UESSGetDebugToolResponse added in v0.1.33

type UESSGetDebugToolResponse struct {
	Msg          string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code         int32  `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	SlsId        string `protobuf:"bytes,3,opt,name=sls_id,json=slsId,proto3" json:"sls_id,omitempty"`
	HostIp       string `protobuf:"bytes,4,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
	StreamerPort uint32 `protobuf:"varint,5,opt,name=streamer_port,json=streamerPort,proto3" json:"streamer_port,omitempty"`
	PlayerPort   uint32 `protobuf:"varint,6,opt,name=player_port,json=playerPort,proto3" json:"player_port,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSGetDebugToolResponse) Descriptor deprecated added in v0.1.33

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

Deprecated: Use UESSGetDebugToolResponse.ProtoReflect.Descriptor instead.

func (*UESSGetDebugToolResponse) GetCode added in v0.1.33

func (x *UESSGetDebugToolResponse) GetCode() int32

func (*UESSGetDebugToolResponse) GetHostIp added in v0.1.33

func (x *UESSGetDebugToolResponse) GetHostIp() string

func (*UESSGetDebugToolResponse) GetMsg added in v0.1.33

func (x *UESSGetDebugToolResponse) GetMsg() string

func (*UESSGetDebugToolResponse) GetPlayerPort added in v0.1.33

func (x *UESSGetDebugToolResponse) GetPlayerPort() uint32

func (*UESSGetDebugToolResponse) GetSlsId added in v0.1.33

func (x *UESSGetDebugToolResponse) GetSlsId() string

func (*UESSGetDebugToolResponse) GetStreamerPort added in v0.1.33

func (x *UESSGetDebugToolResponse) GetStreamerPort() uint32

func (*UESSGetDebugToolResponse) ProtoMessage added in v0.1.33

func (*UESSGetDebugToolResponse) ProtoMessage()

func (*UESSGetDebugToolResponse) ProtoReflect added in v0.1.33

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

func (*UESSGetDebugToolResponse) Reset added in v0.1.33

func (x *UESSGetDebugToolResponse) Reset()

func (*UESSGetDebugToolResponse) String added in v0.1.33

func (x *UESSGetDebugToolResponse) String() string

type UESSHostDetailRequest added in v0.1.5

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

主机详情 POST token_option /api/v1/cluster/host_detail

func (*UESSHostDetailRequest) Descriptor deprecated added in v0.1.5

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

Deprecated: Use UESSHostDetailRequest.ProtoReflect.Descriptor instead.

func (*UESSHostDetailRequest) GetHostId added in v0.1.20

func (x *UESSHostDetailRequest) GetHostId() string

func (*UESSHostDetailRequest) ProtoMessage added in v0.1.5

func (*UESSHostDetailRequest) ProtoMessage()

func (*UESSHostDetailRequest) ProtoReflect added in v0.1.5

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

func (*UESSHostDetailRequest) Reset added in v0.1.5

func (x *UESSHostDetailRequest) Reset()

func (*UESSHostDetailRequest) String added in v0.1.5

func (x *UESSHostDetailRequest) String() string

type UESSHostDetailResponse added in v0.1.5

type UESSHostDetailResponse struct {
	Msg             string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code            int32  `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	HostIp          string `protobuf:"bytes,3,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
	RcPort          uint32 `protobuf:"varint,4,opt,name=rc_port,json=rcPort,proto3" json:"rc_port,omitempty"` // 远程连接端口(win32 winrm默认5985 linux ssh默认22)
	Os              string `protobuf:"bytes,5,opt,name=os,proto3" json:"os,omitempty"`                        // 操作系统(win32||linux)
	User            string `protobuf:"bytes,6,opt,name=user,proto3" json:"user,omitempty"`
	AgentPort       uint32 `protobuf:"varint,7,opt,name=agent_port,json=agentPort,proto3" json:"agent_port,omitempty"` // 启动代理器的端口默认8088
	ProjectPath     string `protobuf:"bytes,8,opt,name=project_path,json=projectPath,proto3" json:"project_path,omitempty"`
	HostName        string `protobuf:"bytes,9,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	Platform        string `protobuf:"bytes,10,opt,name=platform,proto3" json:"platform,omitempty"`
	PlatformVersion string `protobuf:"bytes,11,opt,name=platform_version,json=platformVersion,proto3" json:"platform_version,omitempty"`
	KernelVersion   string `protobuf:"bytes,12,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"`
	KernelArch      string `protobuf:"bytes,13,opt,name=kernel_arch,json=kernelArch,proto3" json:"kernel_arch,omitempty"`
	// CPU
	CpuList []*UESSHostDetailResponse_CPUItem `protobuf:"bytes,14,rep,name=cpu_list,json=cpuList,proto3" json:"cpu_list,omitempty"`
	// Memory
	TotalMemory       uint64  `protobuf:"varint,15,opt,name=total_memory,json=totalMemory,proto3" json:"total_memory,omitempty"`
	FreeMemory        uint64  `protobuf:"varint,16,opt,name=free_memory,json=freeMemory,proto3" json:"free_memory,omitempty"`
	MemoryUsedPercent float32 `protobuf:"fixed32,17,opt,name=memory_used_percent,json=memoryUsedPercent,proto3" json:"memory_used_percent,omitempty"`
	// GPU
	GpuList []*UESSHostDetailResponse_GPUItem `protobuf:"bytes,18,rep,name=gpu_list,json=gpuList,proto3" json:"gpu_list,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSHostDetailResponse) Descriptor deprecated added in v0.1.5

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

Deprecated: Use UESSHostDetailResponse.ProtoReflect.Descriptor instead.

func (*UESSHostDetailResponse) GetAgentPort added in v0.1.20

func (x *UESSHostDetailResponse) GetAgentPort() uint32

func (*UESSHostDetailResponse) GetCode added in v0.1.5

func (x *UESSHostDetailResponse) GetCode() int32

func (*UESSHostDetailResponse) GetCpuList added in v0.2.3

func (*UESSHostDetailResponse) GetFreeMemory added in v0.1.5

func (x *UESSHostDetailResponse) GetFreeMemory() uint64

func (*UESSHostDetailResponse) GetGpuList added in v0.2.3

func (*UESSHostDetailResponse) GetHostIp added in v0.1.20

func (x *UESSHostDetailResponse) GetHostIp() string

func (*UESSHostDetailResponse) GetHostName added in v0.2.3

func (x *UESSHostDetailResponse) GetHostName() string

func (*UESSHostDetailResponse) GetKernelArch added in v0.2.3

func (x *UESSHostDetailResponse) GetKernelArch() string

func (*UESSHostDetailResponse) GetKernelVersion added in v0.2.3

func (x *UESSHostDetailResponse) GetKernelVersion() string

func (*UESSHostDetailResponse) GetMemoryUsedPercent added in v0.2.3

func (x *UESSHostDetailResponse) GetMemoryUsedPercent() float32

func (*UESSHostDetailResponse) GetMsg added in v0.1.5

func (x *UESSHostDetailResponse) GetMsg() string

func (*UESSHostDetailResponse) GetOs added in v0.1.20

func (x *UESSHostDetailResponse) GetOs() string

func (*UESSHostDetailResponse) GetPlatform added in v0.2.3

func (x *UESSHostDetailResponse) GetPlatform() string

func (*UESSHostDetailResponse) GetPlatformVersion added in v0.2.3

func (x *UESSHostDetailResponse) GetPlatformVersion() string

func (*UESSHostDetailResponse) GetProjectPath added in v0.1.20

func (x *UESSHostDetailResponse) GetProjectPath() string

func (*UESSHostDetailResponse) GetRcPort added in v0.1.20

func (x *UESSHostDetailResponse) GetRcPort() uint32

func (*UESSHostDetailResponse) GetTotalMemory added in v0.2.3

func (x *UESSHostDetailResponse) GetTotalMemory() uint64

func (*UESSHostDetailResponse) GetUser added in v0.1.20

func (x *UESSHostDetailResponse) GetUser() string

func (*UESSHostDetailResponse) ProtoMessage added in v0.1.5

func (*UESSHostDetailResponse) ProtoMessage()

func (*UESSHostDetailResponse) ProtoReflect added in v0.1.5

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

func (*UESSHostDetailResponse) Reset added in v0.1.5

func (x *UESSHostDetailResponse) Reset()

func (*UESSHostDetailResponse) String added in v0.1.5

func (x *UESSHostDetailResponse) String() string

type UESSHostDetailResponse_CPUItem added in v0.2.3

type UESSHostDetailResponse_CPUItem struct {
	CpuId         string  `protobuf:"bytes,1,opt,name=cpu_id,json=cpuId,proto3" json:"cpu_id,omitempty"`
	CpuModelName  string  `protobuf:"bytes,2,opt,name=cpu_model_name,json=cpuModelName,proto3" json:"cpu_model_name,omitempty"`
	CpuCoreNumber int32   `protobuf:"varint,3,opt,name=cpu_core_number,json=cpuCoreNumber,proto3" json:"cpu_core_number,omitempty"`
	CpuClockSpeed float32 `protobuf:"fixed32,4,opt,name=cpu_clock_speed,json=cpuClockSpeed,proto3" json:"cpu_clock_speed,omitempty"`
	CpuPercent    float32 `protobuf:"fixed32,5,opt,name=cpu_percent,json=cpuPercent,proto3" json:"cpu_percent,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSHostDetailResponse_CPUItem) Descriptor deprecated added in v0.2.3

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

Deprecated: Use UESSHostDetailResponse_CPUItem.ProtoReflect.Descriptor instead.

func (*UESSHostDetailResponse_CPUItem) GetCpuClockSpeed added in v0.2.3

func (x *UESSHostDetailResponse_CPUItem) GetCpuClockSpeed() float32

func (*UESSHostDetailResponse_CPUItem) GetCpuCoreNumber added in v0.2.3

func (x *UESSHostDetailResponse_CPUItem) GetCpuCoreNumber() int32

func (*UESSHostDetailResponse_CPUItem) GetCpuId added in v0.2.3

func (x *UESSHostDetailResponse_CPUItem) GetCpuId() string

func (*UESSHostDetailResponse_CPUItem) GetCpuModelName added in v0.2.3

func (x *UESSHostDetailResponse_CPUItem) GetCpuModelName() string

func (*UESSHostDetailResponse_CPUItem) GetCpuPercent added in v0.2.3

func (x *UESSHostDetailResponse_CPUItem) GetCpuPercent() float32

func (*UESSHostDetailResponse_CPUItem) ProtoMessage added in v0.2.3

func (*UESSHostDetailResponse_CPUItem) ProtoMessage()

func (*UESSHostDetailResponse_CPUItem) ProtoReflect added in v0.2.3

func (*UESSHostDetailResponse_CPUItem) Reset added in v0.2.3

func (x *UESSHostDetailResponse_CPUItem) Reset()

func (*UESSHostDetailResponse_CPUItem) String added in v0.2.3

type UESSHostDetailResponse_GPUItem added in v0.2.3

type UESSHostDetailResponse_GPUItem struct {
	GpuId            string  `protobuf:"bytes,1,opt,name=gpu_id,json=gpuId,proto3" json:"gpu_id,omitempty"`
	GpuModelName     string  `protobuf:"bytes,2,opt,name=gpu_model_name,json=gpuModelName,proto3" json:"gpu_model_name,omitempty"`
	GpuCoreNumber    int32   `protobuf:"varint,3,opt,name=gpu_core_number,json=gpuCoreNumber,proto3" json:"gpu_core_number,omitempty"`
	GpuClockSpeed    float32 `protobuf:"fixed32,4,opt,name=gpu_clock_speed,json=gpuClockSpeed,proto3" json:"gpu_clock_speed,omitempty"`
	GpuTotalMemory   uint64  `protobuf:"varint,5,opt,name=gpu_total_memory,json=gpuTotalMemory,proto3" json:"gpu_total_memory,omitempty"`
	GpuFreeMemory    uint64  `protobuf:"varint,6,opt,name=gpu_free_memory,json=gpuFreeMemory,proto3" json:"gpu_free_memory,omitempty"`
	GpuMemoryPercent float32 `protobuf:"fixed32,7,opt,name=gpu_memory_percent,json=gpuMemoryPercent,proto3" json:"gpu_memory_percent,omitempty"`
	GpuType          string  `protobuf:"bytes,8,opt,name=gpu_type,json=gpuType,proto3" json:"gpu_type,omitempty"`
	Grade            uint32  `protobuf:"varint,9,opt,name=grade,proto3" json:"grade,omitempty"`
	GpuPercent       float32 `protobuf:"fixed32,10,opt,name=gpu_percent,json=gpuPercent,proto3" json:"gpu_percent,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSHostDetailResponse_GPUItem) Descriptor deprecated added in v0.2.3

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

Deprecated: Use UESSHostDetailResponse_GPUItem.ProtoReflect.Descriptor instead.

func (*UESSHostDetailResponse_GPUItem) GetGpuClockSpeed added in v0.2.3

func (x *UESSHostDetailResponse_GPUItem) GetGpuClockSpeed() float32

func (*UESSHostDetailResponse_GPUItem) GetGpuCoreNumber added in v0.2.3

func (x *UESSHostDetailResponse_GPUItem) GetGpuCoreNumber() int32

func (*UESSHostDetailResponse_GPUItem) GetGpuFreeMemory added in v0.2.3

func (x *UESSHostDetailResponse_GPUItem) GetGpuFreeMemory() uint64

func (*UESSHostDetailResponse_GPUItem) GetGpuId added in v0.2.3

func (x *UESSHostDetailResponse_GPUItem) GetGpuId() string

func (*UESSHostDetailResponse_GPUItem) GetGpuMemoryPercent added in v0.2.3

func (x *UESSHostDetailResponse_GPUItem) GetGpuMemoryPercent() float32

func (*UESSHostDetailResponse_GPUItem) GetGpuModelName added in v0.2.3

func (x *UESSHostDetailResponse_GPUItem) GetGpuModelName() string

func (*UESSHostDetailResponse_GPUItem) GetGpuPercent added in v0.2.3

func (x *UESSHostDetailResponse_GPUItem) GetGpuPercent() float32

func (*UESSHostDetailResponse_GPUItem) GetGpuTotalMemory added in v0.2.3

func (x *UESSHostDetailResponse_GPUItem) GetGpuTotalMemory() uint64

func (*UESSHostDetailResponse_GPUItem) GetGpuType added in v0.2.3

func (x *UESSHostDetailResponse_GPUItem) GetGpuType() string

func (*UESSHostDetailResponse_GPUItem) GetGrade added in v0.2.3

func (x *UESSHostDetailResponse_GPUItem) GetGrade() uint32

func (*UESSHostDetailResponse_GPUItem) ProtoMessage added in v0.2.3

func (*UESSHostDetailResponse_GPUItem) ProtoMessage()

func (*UESSHostDetailResponse_GPUItem) ProtoReflect added in v0.2.3

func (*UESSHostDetailResponse_GPUItem) Reset added in v0.2.3

func (x *UESSHostDetailResponse_GPUItem) Reset()

func (*UESSHostDetailResponse_GPUItem) String added in v0.2.3

type UESSHostListRequest added in v0.1.21

type UESSHostListRequest struct {
	HostIp string `protobuf:"bytes,1,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

主机列表 POST token_option /api/v1/cluster/host_list

func (*UESSHostListRequest) Descriptor deprecated added in v0.1.21

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

Deprecated: Use UESSHostListRequest.ProtoReflect.Descriptor instead.

func (*UESSHostListRequest) GetHostIp added in v0.1.22

func (x *UESSHostListRequest) GetHostIp() string

func (*UESSHostListRequest) GetStatus added in v0.1.22

func (x *UESSHostListRequest) GetStatus() string

func (*UESSHostListRequest) ProtoMessage added in v0.1.21

func (*UESSHostListRequest) ProtoMessage()

func (*UESSHostListRequest) ProtoReflect added in v0.1.21

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

func (*UESSHostListRequest) Reset added in v0.1.21

func (x *UESSHostListRequest) Reset()

func (*UESSHostListRequest) String added in v0.1.21

func (x *UESSHostListRequest) String() string

type UESSHostListResponse added in v0.1.21

type UESSHostListResponse struct {
	Msg      string                           `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code     int32                            `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	HostList []*UESSHostListResponse_HostItem `protobuf:"bytes,3,rep,name=host_list,json=hostList,proto3" json:"host_list,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSHostListResponse) Descriptor deprecated added in v0.1.21

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

Deprecated: Use UESSHostListResponse.ProtoReflect.Descriptor instead.

func (*UESSHostListResponse) GetCode added in v0.1.21

func (x *UESSHostListResponse) GetCode() int32

func (*UESSHostListResponse) GetHostList added in v0.1.21

func (*UESSHostListResponse) GetMsg added in v0.1.21

func (x *UESSHostListResponse) GetMsg() string

func (*UESSHostListResponse) ProtoMessage added in v0.1.21

func (*UESSHostListResponse) ProtoMessage()

func (*UESSHostListResponse) ProtoReflect added in v0.1.21

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

func (*UESSHostListResponse) Reset added in v0.1.21

func (x *UESSHostListResponse) Reset()

func (*UESSHostListResponse) String added in v0.1.21

func (x *UESSHostListResponse) String() string

type UESSHostListResponse_HostItem added in v0.1.21

type UESSHostListResponse_HostItem struct {
	Id          string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Ip          string  `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	Os          string  `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`
	User        string  `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"`
	Status      string  `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	ProjectPath string  `protobuf:"bytes,7,opt,name=project_path,json=projectPath,proto3" json:"project_path,omitempty"`
	Grade       float32 `protobuf:"fixed32,8,opt,name=grade,proto3" json:"grade,omitempty"`
	HeartTime   string  `protobuf:"bytes,9,opt,name=heart_time,json=heartTime,proto3" json:"heart_time,omitempty"`
	JoinTime    string  `protobuf:"bytes,10,opt,name=join_time,json=joinTime,proto3" json:"join_time,omitempty"` // 加入时间
	Role        string  `protobuf:"bytes,11,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSHostListResponse_HostItem) Descriptor deprecated added in v0.1.21

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

Deprecated: Use UESSHostListResponse_HostItem.ProtoReflect.Descriptor instead.

func (*UESSHostListResponse_HostItem) GetGrade added in v0.1.21

func (x *UESSHostListResponse_HostItem) GetGrade() float32

func (*UESSHostListResponse_HostItem) GetHeartTime added in v0.1.21

func (x *UESSHostListResponse_HostItem) GetHeartTime() string

func (*UESSHostListResponse_HostItem) GetId added in v0.1.22

func (*UESSHostListResponse_HostItem) GetIp added in v0.1.21

func (*UESSHostListResponse_HostItem) GetJoinTime added in v0.1.21

func (x *UESSHostListResponse_HostItem) GetJoinTime() string

func (*UESSHostListResponse_HostItem) GetOs added in v0.1.22

func (*UESSHostListResponse_HostItem) GetProjectPath added in v0.1.22

func (x *UESSHostListResponse_HostItem) GetProjectPath() string

func (*UESSHostListResponse_HostItem) GetRole added in v0.1.21

func (*UESSHostListResponse_HostItem) GetStatus added in v0.1.21

func (x *UESSHostListResponse_HostItem) GetStatus() string

func (*UESSHostListResponse_HostItem) GetUser added in v0.1.22

func (*UESSHostListResponse_HostItem) ProtoMessage added in v0.1.21

func (*UESSHostListResponse_HostItem) ProtoMessage()

func (*UESSHostListResponse_HostItem) ProtoReflect added in v0.1.21

func (*UESSHostListResponse_HostItem) Reset added in v0.1.21

func (x *UESSHostListResponse_HostItem) Reset()

func (*UESSHostListResponse_HostItem) String added in v0.1.21

type UESSHostRegisterRequest

type UESSHostRegisterRequest struct {
	HostIp string                             `protobuf:"bytes,1,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
	Port   uint32                             `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Apps   []*UESSHostRegisterRequest_AppInfo `protobuf:"bytes,3,rep,name=apps,proto3" json:"apps,omitempty"` // 本地应用
	// contains filtered or unexported fields
}

主机注册 POST token_option /api/v1/cluster/on_register

func (*UESSHostRegisterRequest) Descriptor deprecated

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

Deprecated: Use UESSHostRegisterRequest.ProtoReflect.Descriptor instead.

func (*UESSHostRegisterRequest) GetApps added in v0.1.26

func (*UESSHostRegisterRequest) GetHostIp

func (x *UESSHostRegisterRequest) GetHostIp() string

func (*UESSHostRegisterRequest) GetPort

func (x *UESSHostRegisterRequest) GetPort() uint32

func (*UESSHostRegisterRequest) ProtoMessage

func (*UESSHostRegisterRequest) ProtoMessage()

func (*UESSHostRegisterRequest) ProtoReflect

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

func (*UESSHostRegisterRequest) Reset

func (x *UESSHostRegisterRequest) Reset()

func (*UESSHostRegisterRequest) String

func (x *UESSHostRegisterRequest) String() string

type UESSHostRegisterRequest_AppInfo added in v0.1.27

type UESSHostRegisterRequest_AppInfo struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	UeVersion string `protobuf:"bytes,2,opt,name=ue_version,json=ueVersion,proto3" json:"ue_version,omitempty"`
	BuildTime string `protobuf:"bytes,3,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSHostRegisterRequest_AppInfo) Descriptor deprecated added in v0.1.27

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

Deprecated: Use UESSHostRegisterRequest_AppInfo.ProtoReflect.Descriptor instead.

func (*UESSHostRegisterRequest_AppInfo) GetBuildTime added in v0.1.28

func (x *UESSHostRegisterRequest_AppInfo) GetBuildTime() string

func (*UESSHostRegisterRequest_AppInfo) GetName added in v0.1.27

func (*UESSHostRegisterRequest_AppInfo) GetUeVersion added in v0.1.28

func (x *UESSHostRegisterRequest_AppInfo) GetUeVersion() string

func (*UESSHostRegisterRequest_AppInfo) ProtoMessage added in v0.1.27

func (*UESSHostRegisterRequest_AppInfo) ProtoMessage()

func (*UESSHostRegisterRequest_AppInfo) ProtoReflect added in v0.1.27

func (*UESSHostRegisterRequest_AppInfo) Reset added in v0.1.27

func (*UESSHostRegisterRequest_AppInfo) String added in v0.1.27

type UESSHostRegisterResponse

type UESSHostRegisterResponse struct {
	Msg  string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code int32  `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSHostRegisterResponse) Descriptor deprecated

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

Deprecated: Use UESSHostRegisterResponse.ProtoReflect.Descriptor instead.

func (*UESSHostRegisterResponse) GetCode

func (x *UESSHostRegisterResponse) GetCode() int32

func (*UESSHostRegisterResponse) GetMsg

func (x *UESSHostRegisterResponse) GetMsg() string

func (*UESSHostRegisterResponse) ProtoMessage

func (*UESSHostRegisterResponse) ProtoMessage()

func (*UESSHostRegisterResponse) ProtoReflect

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

func (*UESSHostRegisterResponse) Reset

func (x *UESSHostRegisterResponse) Reset()

func (*UESSHostRegisterResponse) String

func (x *UESSHostRegisterResponse) String() string

type UESSInstallAgentRequest added in v0.1.21

type UESSInstallAgentRequest struct {
	HostId      string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	AgentPort   uint32 `protobuf:"varint,2,opt,name=agent_port,json=agentPort,proto3" json:"agent_port,omitempty"` // 启动代理器的端口默认8088
	ProjectPath string `protobuf:"bytes,3,opt,name=project_path,json=projectPath,proto3" json:"project_path,omitempty"`
	// contains filtered or unexported fields
}

安装Agent POST token_option /api/v1/cluster/install_agent

func (*UESSInstallAgentRequest) Descriptor deprecated added in v0.1.21

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

Deprecated: Use UESSInstallAgentRequest.ProtoReflect.Descriptor instead.

func (*UESSInstallAgentRequest) GetAgentPort added in v0.1.21

func (x *UESSInstallAgentRequest) GetAgentPort() uint32

func (*UESSInstallAgentRequest) GetHostId added in v0.1.21

func (x *UESSInstallAgentRequest) GetHostId() string

func (*UESSInstallAgentRequest) GetProjectPath added in v0.1.21

func (x *UESSInstallAgentRequest) GetProjectPath() string

func (*UESSInstallAgentRequest) ProtoMessage added in v0.1.21

func (*UESSInstallAgentRequest) ProtoMessage()

func (*UESSInstallAgentRequest) ProtoReflect added in v0.1.21

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

func (*UESSInstallAgentRequest) Reset added in v0.1.21

func (x *UESSInstallAgentRequest) Reset()

func (*UESSInstallAgentRequest) String added in v0.1.21

func (x *UESSInstallAgentRequest) String() string

type UESSInstallAgentResponse added in v0.1.21

type UESSInstallAgentResponse struct {
	Msg  string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code int32  `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSInstallAgentResponse) Descriptor deprecated added in v0.1.21

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

Deprecated: Use UESSInstallAgentResponse.ProtoReflect.Descriptor instead.

func (*UESSInstallAgentResponse) GetCode added in v0.1.21

func (x *UESSInstallAgentResponse) GetCode() int32

func (*UESSInstallAgentResponse) GetMsg added in v0.1.21

func (x *UESSInstallAgentResponse) GetMsg() string

func (*UESSInstallAgentResponse) ProtoMessage added in v0.1.21

func (*UESSInstallAgentResponse) ProtoMessage()

func (*UESSInstallAgentResponse) ProtoReflect added in v0.1.21

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

func (*UESSInstallAgentResponse) Reset added in v0.1.21

func (x *UESSInstallAgentResponse) Reset()

func (*UESSInstallAgentResponse) String added in v0.1.21

func (x *UESSInstallAgentResponse) String() string

type UESSInstanceDetailRequest added in v0.1.16

type UESSInstanceDetailRequest struct {
	InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // 实例ID
	// contains filtered or unexported fields
}

移除实例 POST token_option /api/v1/instance/detail

func (*UESSInstanceDetailRequest) Descriptor deprecated added in v0.1.16

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

Deprecated: Use UESSInstanceDetailRequest.ProtoReflect.Descriptor instead.

func (*UESSInstanceDetailRequest) GetInstanceId added in v0.1.16

func (x *UESSInstanceDetailRequest) GetInstanceId() string

func (*UESSInstanceDetailRequest) ProtoMessage added in v0.1.16

func (*UESSInstanceDetailRequest) ProtoMessage()

func (*UESSInstanceDetailRequest) ProtoReflect added in v0.1.16

func (*UESSInstanceDetailRequest) Reset added in v0.1.16

func (x *UESSInstanceDetailRequest) Reset()

func (*UESSInstanceDetailRequest) String added in v0.1.16

func (x *UESSInstanceDetailRequest) String() string

type UESSInstanceDetailResponse added in v0.1.16

type UESSInstanceDetailResponse struct {
	Msg        string             `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code       int32              `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	InstanceId string             `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // 实例ID
	WsUrl      string             `protobuf:"bytes,4,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"`
	UeVersion  string             `protobuf:"bytes,5,opt,name=ue_version,json=ueVersion,proto3" json:"ue_version,omitempty"`
	Status     UESSInstanceStatus `protobuf:"varint,11,opt,name=status,proto3,enum=pb.UESSInstanceStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSInstanceDetailResponse) Descriptor deprecated added in v0.1.16

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

Deprecated: Use UESSInstanceDetailResponse.ProtoReflect.Descriptor instead.

func (*UESSInstanceDetailResponse) GetCode added in v0.1.16

func (x *UESSInstanceDetailResponse) GetCode() int32

func (*UESSInstanceDetailResponse) GetInstanceId added in v0.1.16

func (x *UESSInstanceDetailResponse) GetInstanceId() string

func (*UESSInstanceDetailResponse) GetMsg added in v0.1.16

func (x *UESSInstanceDetailResponse) GetMsg() string

func (*UESSInstanceDetailResponse) GetStatus added in v0.1.31

func (*UESSInstanceDetailResponse) GetUeVersion added in v0.1.30

func (x *UESSInstanceDetailResponse) GetUeVersion() string

func (*UESSInstanceDetailResponse) GetWsUrl added in v0.1.16

func (x *UESSInstanceDetailResponse) GetWsUrl() string

func (*UESSInstanceDetailResponse) ProtoMessage added in v0.1.16

func (*UESSInstanceDetailResponse) ProtoMessage()

func (*UESSInstanceDetailResponse) ProtoReflect added in v0.1.16

func (*UESSInstanceDetailResponse) Reset added in v0.1.16

func (x *UESSInstanceDetailResponse) Reset()

func (*UESSInstanceDetailResponse) String added in v0.1.16

func (x *UESSInstanceDetailResponse) String() string

type UESSInstanceListRequest

type UESSInstanceListRequest struct {
	Status  UESSInstanceStatus `protobuf:"varint,1,opt,name=status,proto3,enum=pb.UESSInstanceStatus" json:"status,omitempty"`
	HostIp  string             `protobuf:"bytes,2,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"` // 机器上的实例
	AppName string             `protobuf:"bytes,3,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
	// contains filtered or unexported fields
}

创建实例 POST token_option /api/v1/instance/list

func (*UESSInstanceListRequest) Descriptor deprecated

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

Deprecated: Use UESSInstanceListRequest.ProtoReflect.Descriptor instead.

func (*UESSInstanceListRequest) GetAppName added in v0.1.31

func (x *UESSInstanceListRequest) GetAppName() string

func (*UESSInstanceListRequest) GetHostIp added in v0.1.14

func (x *UESSInstanceListRequest) GetHostIp() string

func (*UESSInstanceListRequest) GetStatus

func (*UESSInstanceListRequest) ProtoMessage

func (*UESSInstanceListRequest) ProtoMessage()

func (*UESSInstanceListRequest) ProtoReflect

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

func (*UESSInstanceListRequest) Reset

func (x *UESSInstanceListRequest) Reset()

func (*UESSInstanceListRequest) String

func (x *UESSInstanceListRequest) String() string

type UESSInstanceListResponse

type UESSInstanceListResponse struct {
	Msg       string                               `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code      int32                                `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	Instances []*UESSInstanceListResponse_Instance `protobuf:"bytes,3,rep,name=instances,proto3" json:"instances,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSInstanceListResponse) Descriptor deprecated

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

Deprecated: Use UESSInstanceListResponse.ProtoReflect.Descriptor instead.

func (*UESSInstanceListResponse) GetCode

func (x *UESSInstanceListResponse) GetCode() int32

func (*UESSInstanceListResponse) GetInstances added in v0.1.14

func (*UESSInstanceListResponse) GetMsg

func (x *UESSInstanceListResponse) GetMsg() string

func (*UESSInstanceListResponse) ProtoMessage

func (*UESSInstanceListResponse) ProtoMessage()

func (*UESSInstanceListResponse) ProtoReflect

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

func (*UESSInstanceListResponse) Reset

func (x *UESSInstanceListResponse) Reset()

func (*UESSInstanceListResponse) String

func (x *UESSInstanceListResponse) String() string

type UESSInstanceListResponse_Instance added in v0.1.14

type UESSInstanceListResponse_Instance struct {
	InstanceId      string             `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	AppName         string             `protobuf:"bytes,2,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
	StartTime       string             `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	SlsId           string             `protobuf:"bytes,4,opt,name=sls_id,json=slsId,proto3" json:"sls_id,omitempty"`
	StreamerPort    uint32             `protobuf:"varint,5,opt,name=streamer_port,json=streamerPort,proto3" json:"streamer_port,omitempty"`
	PlayerPort      uint32             `protobuf:"varint,6,opt,name=player_port,json=playerPort,proto3" json:"player_port,omitempty"`
	SchedulerHostIp string             `protobuf:"bytes,7,opt,name=scheduler_host_ip,json=schedulerHostIp,proto3" json:"scheduler_host_ip,omitempty"`
	DeployHostIp    string             `protobuf:"bytes,8,opt,name=deploy_host_ip,json=deployHostIp,proto3" json:"deploy_host_ip,omitempty"`
	StreamerPid     uint32             `protobuf:"varint,9,opt,name=streamer_pid,json=streamerPid,proto3" json:"streamer_pid,omitempty"`
	HeartTime       string             `protobuf:"bytes,10,opt,name=heart_time,json=heartTime,proto3" json:"heart_time,omitempty"`
	Status          UESSInstanceStatus `protobuf:"varint,11,opt,name=status,proto3,enum=pb.UESSInstanceStatus" json:"status,omitempty"`
	InUse           bool               `protobuf:"varint,12,opt,name=in_use,json=inUse,proto3" json:"in_use,omitempty"`
	UeVersion       string             `protobuf:"bytes,13,opt,name=ue_version,json=ueVersion,proto3" json:"ue_version,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSInstanceListResponse_Instance) Descriptor deprecated added in v0.1.14

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

Deprecated: Use UESSInstanceListResponse_Instance.ProtoReflect.Descriptor instead.

func (*UESSInstanceListResponse_Instance) GetAppName added in v0.1.14

func (x *UESSInstanceListResponse_Instance) GetAppName() string

func (*UESSInstanceListResponse_Instance) GetDeployHostIp added in v0.1.14

func (x *UESSInstanceListResponse_Instance) GetDeployHostIp() string

func (*UESSInstanceListResponse_Instance) GetHeartTime added in v0.1.14

func (x *UESSInstanceListResponse_Instance) GetHeartTime() string

func (*UESSInstanceListResponse_Instance) GetInUse added in v0.1.15

func (*UESSInstanceListResponse_Instance) GetInstanceId added in v0.1.14

func (x *UESSInstanceListResponse_Instance) GetInstanceId() string

func (*UESSInstanceListResponse_Instance) GetPlayerPort added in v0.1.14

func (x *UESSInstanceListResponse_Instance) GetPlayerPort() uint32

func (*UESSInstanceListResponse_Instance) GetSchedulerHostIp added in v0.1.14

func (x *UESSInstanceListResponse_Instance) GetSchedulerHostIp() string

func (*UESSInstanceListResponse_Instance) GetSlsId added in v0.1.14

func (*UESSInstanceListResponse_Instance) GetStartTime added in v0.1.14

func (x *UESSInstanceListResponse_Instance) GetStartTime() string

func (*UESSInstanceListResponse_Instance) GetStatus added in v0.1.14

func (*UESSInstanceListResponse_Instance) GetStreamerPid added in v0.1.14

func (x *UESSInstanceListResponse_Instance) GetStreamerPid() uint32

func (*UESSInstanceListResponse_Instance) GetStreamerPort added in v0.1.14

func (x *UESSInstanceListResponse_Instance) GetStreamerPort() uint32

func (*UESSInstanceListResponse_Instance) GetUeVersion added in v0.1.30

func (x *UESSInstanceListResponse_Instance) GetUeVersion() string

func (*UESSInstanceListResponse_Instance) ProtoMessage added in v0.1.14

func (*UESSInstanceListResponse_Instance) ProtoMessage()

func (*UESSInstanceListResponse_Instance) ProtoReflect added in v0.1.14

func (*UESSInstanceListResponse_Instance) Reset added in v0.1.14

func (*UESSInstanceListResponse_Instance) String added in v0.1.14

type UESSInstanceReadyRequest added in v0.1.31

type UESSInstanceReadyRequest struct {
	InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // 实例ID
	// contains filtered or unexported fields
}

实例ready POST token_option /api/v1/instance/ready

func (*UESSInstanceReadyRequest) Descriptor deprecated added in v0.1.31

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

Deprecated: Use UESSInstanceReadyRequest.ProtoReflect.Descriptor instead.

func (*UESSInstanceReadyRequest) GetInstanceId added in v0.1.31

func (x *UESSInstanceReadyRequest) GetInstanceId() string

func (*UESSInstanceReadyRequest) ProtoMessage added in v0.1.31

func (*UESSInstanceReadyRequest) ProtoMessage()

func (*UESSInstanceReadyRequest) ProtoReflect added in v0.1.31

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

func (*UESSInstanceReadyRequest) Reset added in v0.1.31

func (x *UESSInstanceReadyRequest) Reset()

func (*UESSInstanceReadyRequest) String added in v0.1.31

func (x *UESSInstanceReadyRequest) String() string

type UESSInstanceReadyResponse added in v0.1.31

type UESSInstanceReadyResponse struct {
	Msg  string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code int32  `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSInstanceReadyResponse) Descriptor deprecated added in v0.1.31

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

Deprecated: Use UESSInstanceReadyResponse.ProtoReflect.Descriptor instead.

func (*UESSInstanceReadyResponse) GetCode added in v0.1.31

func (x *UESSInstanceReadyResponse) GetCode() int32

func (*UESSInstanceReadyResponse) GetMsg added in v0.1.31

func (x *UESSInstanceReadyResponse) GetMsg() string

func (*UESSInstanceReadyResponse) ProtoMessage added in v0.1.31

func (*UESSInstanceReadyResponse) ProtoMessage()

func (*UESSInstanceReadyResponse) ProtoReflect added in v0.1.31

func (*UESSInstanceReadyResponse) Reset added in v0.1.31

func (x *UESSInstanceReadyResponse) Reset()

func (*UESSInstanceReadyResponse) String added in v0.1.31

func (x *UESSInstanceReadyResponse) String() string

type UESSInstanceStatus

type UESSInstanceStatus int32
const (
	UESSInstanceStatus_UIS_Unknown     UESSInstanceStatus = 0 // 未知
	UESSInstanceStatus_UIS_Starting    UESSInstanceStatus = 1 // 启动中
	UESSInstanceStatus_UIS_WaitConnect UESSInstanceStatus = 2 // 待连接
	UESSInstanceStatus_UIS_Connected   UESSInstanceStatus = 3 // 已连接
	UESSInstanceStatus_USI_Restarting  UESSInstanceStatus = 4 // 重启中
	UESSInstanceStatus_USI_Dead        UESSInstanceStatus = 5 // 已删除
)

func (UESSInstanceStatus) Descriptor

func (UESSInstanceStatus) Enum

func (UESSInstanceStatus) EnumDescriptor deprecated

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

Deprecated: Use UESSInstanceStatus.Descriptor instead.

func (UESSInstanceStatus) Number

func (UESSInstanceStatus) String

func (x UESSInstanceStatus) String() string

func (UESSInstanceStatus) Type

type UESSRemoveInstanceRequest

type UESSRemoveInstanceRequest struct {
	InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // 实例ID
	// contains filtered or unexported fields
}

移除实例 POST token_option /api/v1/instance/remove

func (*UESSRemoveInstanceRequest) Descriptor deprecated

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

Deprecated: Use UESSRemoveInstanceRequest.ProtoReflect.Descriptor instead.

func (*UESSRemoveInstanceRequest) GetInstanceId

func (x *UESSRemoveInstanceRequest) GetInstanceId() string

func (*UESSRemoveInstanceRequest) ProtoMessage

func (*UESSRemoveInstanceRequest) ProtoMessage()

func (*UESSRemoveInstanceRequest) ProtoReflect

func (*UESSRemoveInstanceRequest) Reset

func (x *UESSRemoveInstanceRequest) Reset()

func (*UESSRemoveInstanceRequest) String

func (x *UESSRemoveInstanceRequest) String() string

type UESSRemoveInstanceResponse

type UESSRemoveInstanceResponse struct {
	Msg  string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code int32  `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSRemoveInstanceResponse) Descriptor deprecated

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

Deprecated: Use UESSRemoveInstanceResponse.ProtoReflect.Descriptor instead.

func (*UESSRemoveInstanceResponse) GetCode

func (x *UESSRemoveInstanceResponse) GetCode() int32

func (*UESSRemoveInstanceResponse) GetMsg

func (x *UESSRemoveInstanceResponse) GetMsg() string

func (*UESSRemoveInstanceResponse) ProtoMessage

func (*UESSRemoveInstanceResponse) ProtoMessage()

func (*UESSRemoveInstanceResponse) ProtoReflect

func (*UESSRemoveInstanceResponse) Reset

func (x *UESSRemoveInstanceResponse) Reset()

func (*UESSRemoveInstanceResponse) String

func (x *UESSRemoveInstanceResponse) String() string

type UESSRestartAgentRequest added in v0.1.27

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

服务重启 POST token_option /api/v1/cluster/restart_agent

func (*UESSRestartAgentRequest) Descriptor deprecated added in v0.1.27

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

Deprecated: Use UESSRestartAgentRequest.ProtoReflect.Descriptor instead.

func (*UESSRestartAgentRequest) GetHostId added in v0.1.27

func (x *UESSRestartAgentRequest) GetHostId() string

func (*UESSRestartAgentRequest) ProtoMessage added in v0.1.27

func (*UESSRestartAgentRequest) ProtoMessage()

func (*UESSRestartAgentRequest) ProtoReflect added in v0.1.27

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

func (*UESSRestartAgentRequest) Reset added in v0.1.27

func (x *UESSRestartAgentRequest) Reset()

func (*UESSRestartAgentRequest) String added in v0.1.27

func (x *UESSRestartAgentRequest) String() string

type UESSRestartAgentResponse added in v0.1.27

type UESSRestartAgentResponse struct {
	Msg  string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code int32  `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSRestartAgentResponse) Descriptor deprecated added in v0.1.27

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

Deprecated: Use UESSRestartAgentResponse.ProtoReflect.Descriptor instead.

func (*UESSRestartAgentResponse) GetCode added in v0.1.27

func (x *UESSRestartAgentResponse) GetCode() int32

func (*UESSRestartAgentResponse) GetMsg added in v0.1.27

func (x *UESSRestartAgentResponse) GetMsg() string

func (*UESSRestartAgentResponse) ProtoMessage added in v0.1.27

func (*UESSRestartAgentResponse) ProtoMessage()

func (*UESSRestartAgentResponse) ProtoReflect added in v0.1.27

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

func (*UESSRestartAgentResponse) Reset added in v0.1.27

func (x *UESSRestartAgentResponse) Reset()

func (*UESSRestartAgentResponse) String added in v0.1.27

func (x *UESSRestartAgentResponse) String() string

type UESSRpcPingRequest

type UESSRpcPingRequest struct {
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSRpcPingRequest) Descriptor deprecated

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

Deprecated: Use UESSRpcPingRequest.ProtoReflect.Descriptor instead.

func (*UESSRpcPingRequest) GetTimestamp added in v0.1.10

func (x *UESSRpcPingRequest) GetTimestamp() int64

func (*UESSRpcPingRequest) ProtoMessage

func (*UESSRpcPingRequest) ProtoMessage()

func (*UESSRpcPingRequest) ProtoReflect

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

func (*UESSRpcPingRequest) Reset

func (x *UESSRpcPingRequest) Reset()

func (*UESSRpcPingRequest) String

func (x *UESSRpcPingRequest) String() string

type UESSRpcPingResponse

type UESSRpcPingResponse struct {
	Code         int32                             `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg          string                            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	ResourceInfo *UESSRpcPingResponse_ResourceInfo `protobuf:"bytes,3,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"`
	ProcInfos    []*UESSRpcPingResponse_ProcInfo   `protobuf:"bytes,4,rep,name=proc_infos,json=procInfos,proto3" json:"proc_infos,omitempty"`
	HostIp       string                            `protobuf:"bytes,5,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSRpcPingResponse) Descriptor deprecated

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

Deprecated: Use UESSRpcPingResponse.ProtoReflect.Descriptor instead.

func (*UESSRpcPingResponse) GetCode added in v0.1.1

func (x *UESSRpcPingResponse) GetCode() int32

func (*UESSRpcPingResponse) GetHostIp added in v0.1.13

func (x *UESSRpcPingResponse) GetHostIp() string

func (*UESSRpcPingResponse) GetMsg added in v0.1.1

func (x *UESSRpcPingResponse) GetMsg() string

func (*UESSRpcPingResponse) GetProcInfos added in v0.1.12

func (*UESSRpcPingResponse) GetResourceInfo added in v0.1.11

func (*UESSRpcPingResponse) ProtoMessage

func (*UESSRpcPingResponse) ProtoMessage()

func (*UESSRpcPingResponse) ProtoReflect

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

func (*UESSRpcPingResponse) Reset

func (x *UESSRpcPingResponse) Reset()

func (*UESSRpcPingResponse) String

func (x *UESSRpcPingResponse) String() string

type UESSRpcPingResponse_CPUItem added in v0.2.3

type UESSRpcPingResponse_CPUItem struct {
	CpuId         string  `protobuf:"bytes,1,opt,name=cpu_id,json=cpuId,proto3" json:"cpu_id,omitempty"`
	CpuModelName  string  `protobuf:"bytes,2,opt,name=cpu_model_name,json=cpuModelName,proto3" json:"cpu_model_name,omitempty"`
	CpuCoreNumber int32   `protobuf:"varint,3,opt,name=cpu_core_number,json=cpuCoreNumber,proto3" json:"cpu_core_number,omitempty"`
	CpuClockSpeed float32 `protobuf:"fixed32,4,opt,name=cpu_clock_speed,json=cpuClockSpeed,proto3" json:"cpu_clock_speed,omitempty"`
	CpuPercent    float32 `protobuf:"fixed32,5,opt,name=cpu_percent,json=cpuPercent,proto3" json:"cpu_percent,omitempty"`
	// contains filtered or unexported fields
}

资源详情

func (*UESSRpcPingResponse_CPUItem) Descriptor deprecated added in v0.2.3

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

Deprecated: Use UESSRpcPingResponse_CPUItem.ProtoReflect.Descriptor instead.

func (*UESSRpcPingResponse_CPUItem) GetCpuClockSpeed added in v0.2.3

func (x *UESSRpcPingResponse_CPUItem) GetCpuClockSpeed() float32

func (*UESSRpcPingResponse_CPUItem) GetCpuCoreNumber added in v0.2.3

func (x *UESSRpcPingResponse_CPUItem) GetCpuCoreNumber() int32

func (*UESSRpcPingResponse_CPUItem) GetCpuId added in v0.2.3

func (x *UESSRpcPingResponse_CPUItem) GetCpuId() string

func (*UESSRpcPingResponse_CPUItem) GetCpuModelName added in v0.2.3

func (x *UESSRpcPingResponse_CPUItem) GetCpuModelName() string

func (*UESSRpcPingResponse_CPUItem) GetCpuPercent added in v0.2.3

func (x *UESSRpcPingResponse_CPUItem) GetCpuPercent() float32

func (*UESSRpcPingResponse_CPUItem) ProtoMessage added in v0.2.3

func (*UESSRpcPingResponse_CPUItem) ProtoMessage()

func (*UESSRpcPingResponse_CPUItem) ProtoReflect added in v0.2.3

func (*UESSRpcPingResponse_CPUItem) Reset added in v0.2.3

func (x *UESSRpcPingResponse_CPUItem) Reset()

func (*UESSRpcPingResponse_CPUItem) String added in v0.2.3

func (x *UESSRpcPingResponse_CPUItem) String() string

type UESSRpcPingResponse_GPUItem added in v0.2.3

type UESSRpcPingResponse_GPUItem struct {
	GpuId            string  `protobuf:"bytes,1,opt,name=gpu_id,json=gpuId,proto3" json:"gpu_id,omitempty"`
	GpuModelName     string  `protobuf:"bytes,2,opt,name=gpu_model_name,json=gpuModelName,proto3" json:"gpu_model_name,omitempty"`
	GpuCoreNumber    int32   `protobuf:"varint,3,opt,name=gpu_core_number,json=gpuCoreNumber,proto3" json:"gpu_core_number,omitempty"`
	GpuClockSpeed    float32 `protobuf:"fixed32,4,opt,name=gpu_clock_speed,json=gpuClockSpeed,proto3" json:"gpu_clock_speed,omitempty"`
	GpuTotalMemory   uint64  `protobuf:"varint,5,opt,name=gpu_total_memory,json=gpuTotalMemory,proto3" json:"gpu_total_memory,omitempty"`
	GpuFreeMemory    uint64  `protobuf:"varint,6,opt,name=gpu_free_memory,json=gpuFreeMemory,proto3" json:"gpu_free_memory,omitempty"`
	GpuMemoryPercent float32 `protobuf:"fixed32,7,opt,name=gpu_memory_percent,json=gpuMemoryPercent,proto3" json:"gpu_memory_percent,omitempty"`
	GpuType          string  `protobuf:"bytes,8,opt,name=gpu_type,json=gpuType,proto3" json:"gpu_type,omitempty"`
	Grade            uint32  `protobuf:"varint,9,opt,name=grade,proto3" json:"grade,omitempty"`
	GpuPercent       float32 `protobuf:"fixed32,10,opt,name=gpu_percent,json=gpuPercent,proto3" json:"gpu_percent,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSRpcPingResponse_GPUItem) Descriptor deprecated added in v0.2.3

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

Deprecated: Use UESSRpcPingResponse_GPUItem.ProtoReflect.Descriptor instead.

func (*UESSRpcPingResponse_GPUItem) GetGpuClockSpeed added in v0.2.3

func (x *UESSRpcPingResponse_GPUItem) GetGpuClockSpeed() float32

func (*UESSRpcPingResponse_GPUItem) GetGpuCoreNumber added in v0.2.3

func (x *UESSRpcPingResponse_GPUItem) GetGpuCoreNumber() int32

func (*UESSRpcPingResponse_GPUItem) GetGpuFreeMemory added in v0.2.3

func (x *UESSRpcPingResponse_GPUItem) GetGpuFreeMemory() uint64

func (*UESSRpcPingResponse_GPUItem) GetGpuId added in v0.2.3

func (x *UESSRpcPingResponse_GPUItem) GetGpuId() string

func (*UESSRpcPingResponse_GPUItem) GetGpuMemoryPercent added in v0.2.3

func (x *UESSRpcPingResponse_GPUItem) GetGpuMemoryPercent() float32

func (*UESSRpcPingResponse_GPUItem) GetGpuModelName added in v0.2.3

func (x *UESSRpcPingResponse_GPUItem) GetGpuModelName() string

func (*UESSRpcPingResponse_GPUItem) GetGpuPercent added in v0.2.3

func (x *UESSRpcPingResponse_GPUItem) GetGpuPercent() float32

func (*UESSRpcPingResponse_GPUItem) GetGpuTotalMemory added in v0.2.3

func (x *UESSRpcPingResponse_GPUItem) GetGpuTotalMemory() uint64

func (*UESSRpcPingResponse_GPUItem) GetGpuType added in v0.2.3

func (x *UESSRpcPingResponse_GPUItem) GetGpuType() string

func (*UESSRpcPingResponse_GPUItem) GetGrade added in v0.2.3

func (x *UESSRpcPingResponse_GPUItem) GetGrade() uint32

func (*UESSRpcPingResponse_GPUItem) ProtoMessage added in v0.2.3

func (*UESSRpcPingResponse_GPUItem) ProtoMessage()

func (*UESSRpcPingResponse_GPUItem) ProtoReflect added in v0.2.3

func (*UESSRpcPingResponse_GPUItem) Reset added in v0.2.3

func (x *UESSRpcPingResponse_GPUItem) Reset()

func (*UESSRpcPingResponse_GPUItem) String added in v0.2.3

func (x *UESSRpcPingResponse_GPUItem) String() string

type UESSRpcPingResponse_ProcInfo added in v0.1.12

type UESSRpcPingResponse_ProcInfo struct {
	UssId  string                                  `protobuf:"bytes,1,opt,name=uss_id,json=ussId,proto3" json:"uss_id,omitempty"`
	Status UESSRpcPingResponse_ProcInfo_ProcStatus `protobuf:"varint,2,opt,name=status,proto3,enum=pb.UESSRpcPingResponse_ProcInfo_ProcStatus" json:"status,omitempty"`
	Pid    uint32                                  `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"`
	// contains filtered or unexported fields
}

应用详情

func (*UESSRpcPingResponse_ProcInfo) Descriptor deprecated added in v0.1.12

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

Deprecated: Use UESSRpcPingResponse_ProcInfo.ProtoReflect.Descriptor instead.

func (*UESSRpcPingResponse_ProcInfo) GetPid added in v0.1.12

func (*UESSRpcPingResponse_ProcInfo) GetStatus added in v0.1.12

func (*UESSRpcPingResponse_ProcInfo) GetUssId added in v0.1.12

func (x *UESSRpcPingResponse_ProcInfo) GetUssId() string

func (*UESSRpcPingResponse_ProcInfo) ProtoMessage added in v0.1.12

func (*UESSRpcPingResponse_ProcInfo) ProtoMessage()

func (*UESSRpcPingResponse_ProcInfo) ProtoReflect added in v0.1.12

func (*UESSRpcPingResponse_ProcInfo) Reset added in v0.1.12

func (x *UESSRpcPingResponse_ProcInfo) Reset()

func (*UESSRpcPingResponse_ProcInfo) String added in v0.1.12

type UESSRpcPingResponse_ProcInfo_ProcStatus added in v0.1.12

type UESSRpcPingResponse_ProcInfo_ProcStatus int32
const (
	UESSRpcPingResponse_ProcInfo_Unknown UESSRpcPingResponse_ProcInfo_ProcStatus = 0
	UESSRpcPingResponse_ProcInfo_Running UESSRpcPingResponse_ProcInfo_ProcStatus = 1 // 正常
	UESSRpcPingResponse_ProcInfo_Dead    UESSRpcPingResponse_ProcInfo_ProcStatus = 2 // 没了
)

func (UESSRpcPingResponse_ProcInfo_ProcStatus) Descriptor added in v0.1.12

func (UESSRpcPingResponse_ProcInfo_ProcStatus) Enum added in v0.1.12

func (UESSRpcPingResponse_ProcInfo_ProcStatus) EnumDescriptor deprecated added in v0.1.12

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

Deprecated: Use UESSRpcPingResponse_ProcInfo_ProcStatus.Descriptor instead.

func (UESSRpcPingResponse_ProcInfo_ProcStatus) Number added in v0.1.12

func (UESSRpcPingResponse_ProcInfo_ProcStatus) String added in v0.1.12

func (UESSRpcPingResponse_ProcInfo_ProcStatus) Type added in v0.1.12

type UESSRpcPingResponse_ResourceInfo added in v0.1.11

type UESSRpcPingResponse_ResourceInfo struct {

	// 主机
	HostName        string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	Platform        string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	PlatformVersion string `protobuf:"bytes,3,opt,name=platform_version,json=platformVersion,proto3" json:"platform_version,omitempty"`
	KernelVersion   string `protobuf:"bytes,4,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"`
	KernelArch      string `protobuf:"bytes,5,opt,name=kernel_arch,json=kernelArch,proto3" json:"kernel_arch,omitempty"`
	// CPU
	CpuList []*UESSRpcPingResponse_CPUItem `protobuf:"bytes,6,rep,name=cpu_list,json=cpuList,proto3" json:"cpu_list,omitempty"`
	// Memory
	TotalMemory       uint64  `protobuf:"varint,7,opt,name=total_memory,json=totalMemory,proto3" json:"total_memory,omitempty"`
	FreeMemory        uint64  `protobuf:"varint,8,opt,name=free_memory,json=freeMemory,proto3" json:"free_memory,omitempty"`
	MemoryUsedPercent float32 `protobuf:"fixed32,9,opt,name=memory_used_percent,json=memoryUsedPercent,proto3" json:"memory_used_percent,omitempty"`
	// GPU
	GpuList []*UESSRpcPingResponse_GPUItem `protobuf:"bytes,10,rep,name=gpu_list,json=gpuList,proto3" json:"gpu_list,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSRpcPingResponse_ResourceInfo) Descriptor deprecated added in v0.1.11

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

Deprecated: Use UESSRpcPingResponse_ResourceInfo.ProtoReflect.Descriptor instead.

func (*UESSRpcPingResponse_ResourceInfo) GetCpuList added in v0.2.3

func (*UESSRpcPingResponse_ResourceInfo) GetFreeMemory added in v0.1.11

func (x *UESSRpcPingResponse_ResourceInfo) GetFreeMemory() uint64

func (*UESSRpcPingResponse_ResourceInfo) GetGpuList added in v0.2.3

func (*UESSRpcPingResponse_ResourceInfo) GetHostName added in v0.2.3

func (x *UESSRpcPingResponse_ResourceInfo) GetHostName() string

func (*UESSRpcPingResponse_ResourceInfo) GetKernelArch added in v0.2.3

func (x *UESSRpcPingResponse_ResourceInfo) GetKernelArch() string

func (*UESSRpcPingResponse_ResourceInfo) GetKernelVersion added in v0.2.3

func (x *UESSRpcPingResponse_ResourceInfo) GetKernelVersion() string

func (*UESSRpcPingResponse_ResourceInfo) GetMemoryUsedPercent added in v0.2.3

func (x *UESSRpcPingResponse_ResourceInfo) GetMemoryUsedPercent() float32

func (*UESSRpcPingResponse_ResourceInfo) GetPlatform added in v0.2.3

func (x *UESSRpcPingResponse_ResourceInfo) GetPlatform() string

func (*UESSRpcPingResponse_ResourceInfo) GetPlatformVersion added in v0.2.3

func (x *UESSRpcPingResponse_ResourceInfo) GetPlatformVersion() string

func (*UESSRpcPingResponse_ResourceInfo) GetTotalMemory added in v0.2.3

func (x *UESSRpcPingResponse_ResourceInfo) GetTotalMemory() uint64

func (*UESSRpcPingResponse_ResourceInfo) ProtoMessage added in v0.1.11

func (*UESSRpcPingResponse_ResourceInfo) ProtoMessage()

func (*UESSRpcPingResponse_ResourceInfo) ProtoReflect added in v0.1.11

func (*UESSRpcPingResponse_ResourceInfo) Reset added in v0.1.11

func (*UESSRpcPingResponse_ResourceInfo) String added in v0.1.11

type UESSStartAppRequest

type UESSStartAppRequest struct {
	AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
	SlsHost string `protobuf:"bytes,2,opt,name=sls_host,json=slsHost,proto3" json:"sls_host,omitempty"`
	Port    uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	UssId   string `protobuf:"bytes,4,opt,name=uss_id,json=ussId,proto3" json:"uss_id,omitempty"`
	// contains filtered or unexported fields
}

启动应用

func (*UESSStartAppRequest) Descriptor deprecated

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

Deprecated: Use UESSStartAppRequest.ProtoReflect.Descriptor instead.

func (*UESSStartAppRequest) GetAppName

func (x *UESSStartAppRequest) GetAppName() string

func (*UESSStartAppRequest) GetPort added in v0.1.2

func (x *UESSStartAppRequest) GetPort() uint32

func (*UESSStartAppRequest) GetSlsHost added in v0.1.2

func (x *UESSStartAppRequest) GetSlsHost() string

func (*UESSStartAppRequest) GetUssId added in v0.1.11

func (x *UESSStartAppRequest) GetUssId() string

func (*UESSStartAppRequest) ProtoMessage

func (*UESSStartAppRequest) ProtoMessage()

func (*UESSStartAppRequest) ProtoReflect

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

func (*UESSStartAppRequest) Reset

func (x *UESSStartAppRequest) Reset()

func (*UESSStartAppRequest) String

func (x *UESSStartAppRequest) String() string

type UESSStartAppResponse

type UESSStartAppResponse struct {
	Code int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Pid  uint32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSStartAppResponse) Descriptor deprecated

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

Deprecated: Use UESSStartAppResponse.ProtoReflect.Descriptor instead.

func (*UESSStartAppResponse) GetCode

func (x *UESSStartAppResponse) GetCode() int32

func (*UESSStartAppResponse) GetMsg

func (x *UESSStartAppResponse) GetMsg() string

func (*UESSStartAppResponse) GetPid added in v0.1.3

func (x *UESSStartAppResponse) GetPid() uint32

func (*UESSStartAppResponse) ProtoMessage

func (*UESSStartAppResponse) ProtoMessage()

func (*UESSStartAppResponse) ProtoReflect

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

func (*UESSStartAppResponse) Reset

func (x *UESSStartAppResponse) Reset()

func (*UESSStartAppResponse) String

func (x *UESSStartAppResponse) String() string

type UESSStopAppRequest

type UESSStopAppRequest struct {
	Pid uint32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
	// contains filtered or unexported fields
}

停止应用

func (*UESSStopAppRequest) Descriptor deprecated

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

Deprecated: Use UESSStopAppRequest.ProtoReflect.Descriptor instead.

func (*UESSStopAppRequest) GetPid

func (x *UESSStopAppRequest) GetPid() uint32

func (*UESSStopAppRequest) ProtoMessage

func (*UESSStopAppRequest) ProtoMessage()

func (*UESSStopAppRequest) ProtoReflect

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

func (*UESSStopAppRequest) Reset

func (x *UESSStopAppRequest) Reset()

func (*UESSStopAppRequest) String

func (x *UESSStopAppRequest) String() string

type UESSStopAppResponse

type UESSStopAppResponse struct {
	Code int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSStopAppResponse) Descriptor deprecated

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

Deprecated: Use UESSStopAppResponse.ProtoReflect.Descriptor instead.

func (*UESSStopAppResponse) GetCode

func (x *UESSStopAppResponse) GetCode() int32

func (*UESSStopAppResponse) GetMsg

func (x *UESSStopAppResponse) GetMsg() string

func (*UESSStopAppResponse) ProtoMessage

func (*UESSStopAppResponse) ProtoMessage()

func (*UESSStopAppResponse) ProtoReflect

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

func (*UESSStopAppResponse) Reset

func (x *UESSStopAppResponse) Reset()

func (*UESSStopAppResponse) String

func (x *UESSStopAppResponse) String() string

type UESSTestConnHostRequest added in v0.1.23

type UESSTestConnHostRequest struct {
	HostIp   string `protobuf:"bytes,1,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
	RcPort   uint32 `protobuf:"varint,2,opt,name=rc_port,json=rcPort,proto3" json:"rc_port,omitempty"` // 远程连接端口(win32 winrm默认5985 linux ssh默认22)
	Os       string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`                        // 操作系统(win32||linux)
	User     string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

测试连接 POST token_option /api/v1/cluster/test_conn_host

func (*UESSTestConnHostRequest) Descriptor deprecated added in v0.1.23

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

Deprecated: Use UESSTestConnHostRequest.ProtoReflect.Descriptor instead.

func (*UESSTestConnHostRequest) GetHostIp added in v0.1.23

func (x *UESSTestConnHostRequest) GetHostIp() string

func (*UESSTestConnHostRequest) GetOs added in v0.1.23

func (x *UESSTestConnHostRequest) GetOs() string

func (*UESSTestConnHostRequest) GetPassword added in v0.1.23

func (x *UESSTestConnHostRequest) GetPassword() string

func (*UESSTestConnHostRequest) GetRcPort added in v0.1.23

func (x *UESSTestConnHostRequest) GetRcPort() uint32

func (*UESSTestConnHostRequest) GetUser added in v0.1.23

func (x *UESSTestConnHostRequest) GetUser() string

func (*UESSTestConnHostRequest) ProtoMessage added in v0.1.23

func (*UESSTestConnHostRequest) ProtoMessage()

func (*UESSTestConnHostRequest) ProtoReflect added in v0.1.23

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

func (*UESSTestConnHostRequest) Reset added in v0.1.23

func (x *UESSTestConnHostRequest) Reset()

func (*UESSTestConnHostRequest) String added in v0.1.23

func (x *UESSTestConnHostRequest) String() string

type UESSTestConnHostResponse added in v0.1.23

type UESSTestConnHostResponse struct {
	Msg  string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Code int32  `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSTestConnHostResponse) Descriptor deprecated added in v0.1.23

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

Deprecated: Use UESSTestConnHostResponse.ProtoReflect.Descriptor instead.

func (*UESSTestConnHostResponse) GetCode added in v0.1.23

func (x *UESSTestConnHostResponse) GetCode() int32

func (*UESSTestConnHostResponse) GetMsg added in v0.1.23

func (x *UESSTestConnHostResponse) GetMsg() string

func (*UESSTestConnHostResponse) ProtoMessage added in v0.1.23

func (*UESSTestConnHostResponse) ProtoMessage()

func (*UESSTestConnHostResponse) ProtoReflect added in v0.1.23

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

func (*UESSTestConnHostResponse) Reset added in v0.1.23

func (x *UESSTestConnHostResponse) Reset()

func (*UESSTestConnHostResponse) String added in v0.1.23

func (x *UESSTestConnHostResponse) String() string

type UnimplementedAgentRpcServerServer

type UnimplementedAgentRpcServerServer struct {
}

UnimplementedAgentRpcServerServer must be embedded to have forward compatible implementations.

func (UnimplementedAgentRpcServerServer) Ping

func (UnimplementedAgentRpcServerServer) StartApp

func (UnimplementedAgentRpcServerServer) StopApp

type UnsafeAgentRpcServerServer

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

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

Jump to

Keyboard shortcuts

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