pb

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

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

Enum value maps for ProcInfo_ProcStatus.

View Source
var (
	WorkerNodeType_name = map[int32]string{
		0: "worker_node_type_none",
		1: "worker_node_type_local",
		2: "worker_node_type_remote",
	}
	WorkerNodeType_value = map[string]int32{
		"worker_node_type_none":   0,
		"worker_node_type_local":  1,
		"worker_node_type_remote": 2,
	}
)

Enum value maps for WorkerNodeType.

View Source
var (
	WorkerNodeStatus_name = map[int32]string{
		0: "worker_node_status_none",
		1: "worker_node_status_active",
		2: "worker_node_status_dead",
		3: "worker_node_status_busy",
	}
	WorkerNodeStatus_value = map[string]int32{
		"worker_node_status_none":   0,
		"worker_node_status_active": 1,
		"worker_node_status_dead":   2,
		"worker_node_status_busy":   3,
	}
)

Enum value maps for WorkerNodeStatus.

View Source
var (
	WorkerNodeOS_name = map[int32]string{
		0: "worker_node_os_none",
		1: "worker_node_os_windows",
		2: "worker_node_os_linux",
		3: "worker_node_os_macos",
	}
	WorkerNodeOS_value = map[string]int32{
		"worker_node_os_none":    0,
		"worker_node_os_windows": 1,
		"worker_node_os_linux":   2,
		"worker_node_os_macos":   3,
	}
)

Enum value maps for WorkerNodeOS.

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: "Ping",
			Handler:    _AgentRpcServer_Ping_Handler,
		},
		{
			MethodName: "StartApp",
			Handler:    _AgentRpcServer_StartApp_Handler,
		},
		{
			MethodName: "StopApp",
			Handler:    _AgentRpcServer_StopApp_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Heartbeat",
			Handler:       _AgentRpcServer_Heartbeat_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_common_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) (*UESSRpcPingResponse, error)
	// 心跳
	Heartbeat(ctx context.Context, in *UESSHeartbeatRequest, opts ...grpc.CallOption) (AgentRpcServer_HeartbeatClient, 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(context.Context, *UESSRpcPingRequest) (*UESSRpcPingResponse, error)
	// 心跳
	Heartbeat(*UESSHeartbeatRequest, AgentRpcServer_HeartbeatServer) 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_HeartbeatClient added in v0.2.0

type AgentRpcServer_HeartbeatClient interface {
	Recv() (*UESSHeartbeatResponse, error)
	grpc.ClientStream
}

type AgentRpcServer_HeartbeatServer added in v0.2.0

type AgentRpcServer_HeartbeatServer interface {
	Send(*UESSHeartbeatResponse) error
	grpc.ServerStream
}

type CPUItem added in v0.2.7

type 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 (*CPUItem) Descriptor deprecated added in v0.2.7

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

Deprecated: Use CPUItem.ProtoReflect.Descriptor instead.

func (*CPUItem) GetCpuClockSpeed added in v0.2.7

func (x *CPUItem) GetCpuClockSpeed() float32

func (*CPUItem) GetCpuCoreNumber added in v0.2.7

func (x *CPUItem) GetCpuCoreNumber() int32

func (*CPUItem) GetCpuId added in v0.2.7

func (x *CPUItem) GetCpuId() string

func (*CPUItem) GetCpuModelName added in v0.2.7

func (x *CPUItem) GetCpuModelName() string

func (*CPUItem) GetCpuPercent added in v0.2.7

func (x *CPUItem) GetCpuPercent() float32

func (*CPUItem) ProtoMessage added in v0.2.7

func (*CPUItem) ProtoMessage()

func (*CPUItem) ProtoReflect added in v0.2.7

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

func (*CPUItem) Reset added in v0.2.7

func (x *CPUItem) Reset()

func (*CPUItem) String added in v0.2.7

func (x *CPUItem) String() string

type GPUItem added in v0.2.7

type 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 (*GPUItem) Descriptor deprecated added in v0.2.7

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

Deprecated: Use GPUItem.ProtoReflect.Descriptor instead.

func (*GPUItem) GetGpuClockSpeed added in v0.2.7

func (x *GPUItem) GetGpuClockSpeed() float32

func (*GPUItem) GetGpuCoreNumber added in v0.2.7

func (x *GPUItem) GetGpuCoreNumber() int32

func (*GPUItem) GetGpuFreeMemory added in v0.2.7

func (x *GPUItem) GetGpuFreeMemory() uint64

func (*GPUItem) GetGpuId added in v0.2.7

func (x *GPUItem) GetGpuId() string

func (*GPUItem) GetGpuMemoryPercent added in v0.2.7

func (x *GPUItem) GetGpuMemoryPercent() float32

func (*GPUItem) GetGpuModelName added in v0.2.7

func (x *GPUItem) GetGpuModelName() string

func (*GPUItem) GetGpuPercent added in v0.2.7

func (x *GPUItem) GetGpuPercent() float32

func (*GPUItem) GetGpuTotalMemory added in v0.2.7

func (x *GPUItem) GetGpuTotalMemory() uint64

func (*GPUItem) GetGpuType added in v0.2.7

func (x *GPUItem) GetGpuType() string

func (*GPUItem) GetGrade added in v0.2.7

func (x *GPUItem) GetGrade() uint32

func (*GPUItem) ProtoMessage added in v0.2.7

func (*GPUItem) ProtoMessage()

func (*GPUItem) ProtoReflect added in v0.2.7

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

func (*GPUItem) Reset added in v0.2.7

func (x *GPUItem) Reset()

func (*GPUItem) String added in v0.2.7

func (x *GPUItem) String() string

type ProcInfo added in v0.2.7

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

应用详情

func (*ProcInfo) Descriptor deprecated added in v0.2.7

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

Deprecated: Use ProcInfo.ProtoReflect.Descriptor instead.

func (*ProcInfo) GetPid added in v0.2.7

func (x *ProcInfo) GetPid() uint32

func (*ProcInfo) GetStatus added in v0.2.7

func (x *ProcInfo) GetStatus() ProcInfo_ProcStatus

func (*ProcInfo) GetUssId added in v0.2.7

func (x *ProcInfo) GetUssId() string

func (*ProcInfo) ProtoMessage added in v0.2.7

func (*ProcInfo) ProtoMessage()

func (*ProcInfo) ProtoReflect added in v0.2.7

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

func (*ProcInfo) Reset added in v0.2.7

func (x *ProcInfo) Reset()

func (*ProcInfo) String added in v0.2.7

func (x *ProcInfo) String() string

type ProcInfo_ProcStatus added in v0.2.7

type ProcInfo_ProcStatus int32
const (
	ProcInfo_Unknown ProcInfo_ProcStatus = 0
	ProcInfo_Running ProcInfo_ProcStatus = 1 // 正常
	ProcInfo_Dead    ProcInfo_ProcStatus = 2 // 没了
)

func (ProcInfo_ProcStatus) Descriptor added in v0.2.7

func (ProcInfo_ProcStatus) Enum added in v0.2.7

func (ProcInfo_ProcStatus) EnumDescriptor deprecated added in v0.2.7

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

Deprecated: Use ProcInfo_ProcStatus.Descriptor instead.

func (ProcInfo_ProcStatus) Number added in v0.2.7

func (ProcInfo_ProcStatus) String added in v0.2.7

func (x ProcInfo_ProcStatus) String() string

func (ProcInfo_ProcStatus) Type added in v0.2.7

type ResourceInfo added in v0.2.7

type ResourceInfo struct {

	// 主机
	WorkerNodeName  string `protobuf:"bytes,1,opt,name=worker_node_name,json=workerNodeName,proto3" json:"worker_node_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 []*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 []*GPUItem `protobuf:"bytes,10,rep,name=gpu_list,json=gpuList,proto3" json:"gpu_list,omitempty"`
	// contains filtered or unexported fields
}

资源详情

func (*ResourceInfo) Descriptor deprecated added in v0.2.7

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

Deprecated: Use ResourceInfo.ProtoReflect.Descriptor instead.

func (*ResourceInfo) GetCpuList added in v0.2.7

func (x *ResourceInfo) GetCpuList() []*CPUItem

func (*ResourceInfo) GetFreeMemory added in v0.2.7

func (x *ResourceInfo) GetFreeMemory() uint64

func (*ResourceInfo) GetGpuList added in v0.2.7

func (x *ResourceInfo) GetGpuList() []*GPUItem

func (*ResourceInfo) GetKernelArch added in v0.2.7

func (x *ResourceInfo) GetKernelArch() string

func (*ResourceInfo) GetKernelVersion added in v0.2.7

func (x *ResourceInfo) GetKernelVersion() string

func (*ResourceInfo) GetMemoryUsedPercent added in v0.2.7

func (x *ResourceInfo) GetMemoryUsedPercent() float32

func (*ResourceInfo) GetPlatform added in v0.2.7

func (x *ResourceInfo) GetPlatform() string

func (*ResourceInfo) GetPlatformVersion added in v0.2.7

func (x *ResourceInfo) GetPlatformVersion() string

func (*ResourceInfo) GetTotalMemory added in v0.2.7

func (x *ResourceInfo) GetTotalMemory() uint64

func (*ResourceInfo) GetWorkerNodeName added in v0.3.0

func (x *ResourceInfo) GetWorkerNodeName() string

func (*ResourceInfo) ProtoMessage added in v0.2.7

func (*ResourceInfo) ProtoMessage()

func (*ResourceInfo) ProtoReflect added in v0.2.7

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

func (*ResourceInfo) Reset added in v0.2.7

func (x *ResourceInfo) Reset()

func (*ResourceInfo) String added in v0.2.7

func (x *ResourceInfo) String() string

type UEAppInfo added in v0.3.0

type UEAppInfo 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
}

UE程序信息

func (*UEAppInfo) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UEAppInfo.ProtoReflect.Descriptor instead.

func (*UEAppInfo) GetBuildTime added in v0.3.0

func (x *UEAppInfo) GetBuildTime() string

func (*UEAppInfo) GetName added in v0.3.0

func (x *UEAppInfo) GetName() string

func (*UEAppInfo) GetUeVersion added in v0.3.0

func (x *UEAppInfo) GetUeVersion() string

func (*UEAppInfo) ProtoMessage added in v0.3.0

func (*UEAppInfo) ProtoMessage()

func (*UEAppInfo) ProtoReflect added in v0.3.0

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

func (*UEAppInfo) Reset added in v0.3.0

func (x *UEAppInfo) Reset()

func (*UEAppInfo) String added in v0.3.0

func (x *UEAppInfo) 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 UESSClusterAgentInstallRequest added in v0.3.0

type UESSClusterAgentInstallRequest struct {
	HostIp      string `protobuf:"bytes,1,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,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
}

安装代理 POST token_option /api/v1/cluster/agent/install

func (*UESSClusterAgentInstallRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterAgentInstallRequest.ProtoReflect.Descriptor instead.

func (*UESSClusterAgentInstallRequest) GetAgentPort added in v0.3.0

func (x *UESSClusterAgentInstallRequest) GetAgentPort() uint32

func (*UESSClusterAgentInstallRequest) GetHostIp added in v0.3.0

func (x *UESSClusterAgentInstallRequest) GetHostIp() string

func (*UESSClusterAgentInstallRequest) GetProjectPath added in v0.3.0

func (x *UESSClusterAgentInstallRequest) GetProjectPath() string

func (*UESSClusterAgentInstallRequest) ProtoMessage added in v0.3.0

func (*UESSClusterAgentInstallRequest) ProtoMessage()

func (*UESSClusterAgentInstallRequest) ProtoReflect added in v0.3.0

func (*UESSClusterAgentInstallRequest) Reset added in v0.3.0

func (x *UESSClusterAgentInstallRequest) Reset()

func (*UESSClusterAgentInstallRequest) String added in v0.3.0

type UESSClusterAgentInstallResponse added in v0.3.0

type UESSClusterAgentInstallResponse 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 (*UESSClusterAgentInstallResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterAgentInstallResponse.ProtoReflect.Descriptor instead.

func (*UESSClusterAgentInstallResponse) GetCode added in v0.3.0

func (*UESSClusterAgentInstallResponse) GetMsg added in v0.3.0

func (*UESSClusterAgentInstallResponse) ProtoMessage added in v0.3.0

func (*UESSClusterAgentInstallResponse) ProtoMessage()

func (*UESSClusterAgentInstallResponse) ProtoReflect added in v0.3.0

func (*UESSClusterAgentInstallResponse) Reset added in v0.3.0

func (*UESSClusterAgentInstallResponse) String added in v0.3.0

type UESSClusterAgentRegisterRequest added in v0.3.0

type UESSClusterAgentRegisterRequest 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   []*UEAppInfo `protobuf:"bytes,3,rep,name=apps,proto3" json:"apps,omitempty"` // 本地应用
	// contains filtered or unexported fields
}

主机注册 POST token_option /api/v1/cluster/agent/register

func (*UESSClusterAgentRegisterRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterAgentRegisterRequest.ProtoReflect.Descriptor instead.

func (*UESSClusterAgentRegisterRequest) GetApps added in v0.3.0

func (*UESSClusterAgentRegisterRequest) GetHostIp added in v0.3.0

func (x *UESSClusterAgentRegisterRequest) GetHostIp() string

func (*UESSClusterAgentRegisterRequest) GetPort added in v0.3.0

func (*UESSClusterAgentRegisterRequest) ProtoMessage added in v0.3.0

func (*UESSClusterAgentRegisterRequest) ProtoMessage()

func (*UESSClusterAgentRegisterRequest) ProtoReflect added in v0.3.0

func (*UESSClusterAgentRegisterRequest) Reset added in v0.3.0

func (*UESSClusterAgentRegisterRequest) String added in v0.3.0

type UESSClusterAgentRegisterResponse added in v0.3.0

type UESSClusterAgentRegisterResponse 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 (*UESSClusterAgentRegisterResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterAgentRegisterResponse.ProtoReflect.Descriptor instead.

func (*UESSClusterAgentRegisterResponse) GetCode added in v0.3.0

func (*UESSClusterAgentRegisterResponse) GetMsg added in v0.3.0

func (*UESSClusterAgentRegisterResponse) ProtoMessage added in v0.3.0

func (*UESSClusterAgentRegisterResponse) ProtoMessage()

func (*UESSClusterAgentRegisterResponse) ProtoReflect added in v0.3.0

func (*UESSClusterAgentRegisterResponse) Reset added in v0.3.0

func (*UESSClusterAgentRegisterResponse) String added in v0.3.0

type UESSClusterAgentTestConnRequest added in v0.3.0

type UESSClusterAgentTestConnRequest 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       WorkerNodeOS `protobuf:"varint,3,opt,name=os,proto3,enum=pb.WorkerNodeOS" json:"os,omitempty"`  // 操作系统
	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/agent/test_conn

func (*UESSClusterAgentTestConnRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterAgentTestConnRequest.ProtoReflect.Descriptor instead.

func (*UESSClusterAgentTestConnRequest) GetHostIp added in v0.3.0

func (x *UESSClusterAgentTestConnRequest) GetHostIp() string

func (*UESSClusterAgentTestConnRequest) GetOs added in v0.3.0

func (*UESSClusterAgentTestConnRequest) GetPassword added in v0.3.0

func (x *UESSClusterAgentTestConnRequest) GetPassword() string

func (*UESSClusterAgentTestConnRequest) GetRcPort added in v0.3.0

func (x *UESSClusterAgentTestConnRequest) GetRcPort() uint32

func (*UESSClusterAgentTestConnRequest) GetUser added in v0.3.0

func (*UESSClusterAgentTestConnRequest) ProtoMessage added in v0.3.0

func (*UESSClusterAgentTestConnRequest) ProtoMessage()

func (*UESSClusterAgentTestConnRequest) ProtoReflect added in v0.3.0

func (*UESSClusterAgentTestConnRequest) Reset added in v0.3.0

func (*UESSClusterAgentTestConnRequest) String added in v0.3.0

type UESSClusterAgentTestConnResponse added in v0.3.0

type UESSClusterAgentTestConnResponse 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 (*UESSClusterAgentTestConnResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterAgentTestConnResponse.ProtoReflect.Descriptor instead.

func (*UESSClusterAgentTestConnResponse) GetCode added in v0.3.0

func (*UESSClusterAgentTestConnResponse) GetMsg added in v0.3.0

func (*UESSClusterAgentTestConnResponse) ProtoMessage added in v0.3.0

func (*UESSClusterAgentTestConnResponse) ProtoMessage()

func (*UESSClusterAgentTestConnResponse) ProtoReflect added in v0.3.0

func (*UESSClusterAgentTestConnResponse) Reset added in v0.3.0

func (*UESSClusterAgentTestConnResponse) String added in v0.3.0

type UESSClusterWorkerNodeDelRequest added in v0.3.0

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

删除负载节点 POST token_option /api/v1/cluster/worker_node/del

func (*UESSClusterWorkerNodeDelRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterWorkerNodeDelRequest.ProtoReflect.Descriptor instead.

func (*UESSClusterWorkerNodeDelRequest) GetHostIp added in v0.3.0

func (x *UESSClusterWorkerNodeDelRequest) GetHostIp() string

func (*UESSClusterWorkerNodeDelRequest) ProtoMessage added in v0.3.0

func (*UESSClusterWorkerNodeDelRequest) ProtoMessage()

func (*UESSClusterWorkerNodeDelRequest) ProtoReflect added in v0.3.0

func (*UESSClusterWorkerNodeDelRequest) Reset added in v0.3.0

func (*UESSClusterWorkerNodeDelRequest) String added in v0.3.0

type UESSClusterWorkerNodeDelResponse added in v0.3.0

type UESSClusterWorkerNodeDelResponse 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 (*UESSClusterWorkerNodeDelResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterWorkerNodeDelResponse.ProtoReflect.Descriptor instead.

func (*UESSClusterWorkerNodeDelResponse) GetCode added in v0.3.0

func (*UESSClusterWorkerNodeDelResponse) GetMsg added in v0.3.0

func (*UESSClusterWorkerNodeDelResponse) ProtoMessage added in v0.3.0

func (*UESSClusterWorkerNodeDelResponse) ProtoMessage()

func (*UESSClusterWorkerNodeDelResponse) ProtoReflect added in v0.3.0

func (*UESSClusterWorkerNodeDelResponse) Reset added in v0.3.0

func (*UESSClusterWorkerNodeDelResponse) String added in v0.3.0

type UESSClusterWorkerNodeDetailRequest added in v0.3.0

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

负载节点详情 POST token_option /api/v1/cluster/worker_node/detail

func (*UESSClusterWorkerNodeDetailRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterWorkerNodeDetailRequest.ProtoReflect.Descriptor instead.

func (*UESSClusterWorkerNodeDetailRequest) GetHostIp added in v0.3.0

func (*UESSClusterWorkerNodeDetailRequest) ProtoMessage added in v0.3.0

func (*UESSClusterWorkerNodeDetailRequest) ProtoMessage()

func (*UESSClusterWorkerNodeDetailRequest) ProtoReflect added in v0.3.0

func (*UESSClusterWorkerNodeDetailRequest) Reset added in v0.3.0

func (*UESSClusterWorkerNodeDetailRequest) String added in v0.3.0

type UESSClusterWorkerNodeDetailResponse added in v0.3.0

type UESSClusterWorkerNodeDetailResponse 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"`
	ResourceInfo *ResourceInfo `protobuf:"bytes,3,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSClusterWorkerNodeDetailResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterWorkerNodeDetailResponse.ProtoReflect.Descriptor instead.

func (*UESSClusterWorkerNodeDetailResponse) GetCode added in v0.3.0

func (*UESSClusterWorkerNodeDetailResponse) GetMsg added in v0.3.0

func (*UESSClusterWorkerNodeDetailResponse) GetResourceInfo added in v0.3.0

func (x *UESSClusterWorkerNodeDetailResponse) GetResourceInfo() *ResourceInfo

func (*UESSClusterWorkerNodeDetailResponse) ProtoMessage added in v0.3.0

func (*UESSClusterWorkerNodeDetailResponse) ProtoMessage()

func (*UESSClusterWorkerNodeDetailResponse) ProtoReflect added in v0.3.0

func (*UESSClusterWorkerNodeDetailResponse) Reset added in v0.3.0

func (*UESSClusterWorkerNodeDetailResponse) String added in v0.3.0

type UESSClusterWorkerNodeListRequest added in v0.3.0

type UESSClusterWorkerNodeListRequest struct {
	Status WorkerNodeStatus `protobuf:"varint,1,opt,name=status,proto3,enum=pb.WorkerNodeStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

负载节点列表 POST token_option /api/v1/cluster/worker_node/list

func (*UESSClusterWorkerNodeListRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterWorkerNodeListRequest.ProtoReflect.Descriptor instead.

func (*UESSClusterWorkerNodeListRequest) GetStatus added in v0.3.0

func (*UESSClusterWorkerNodeListRequest) ProtoMessage added in v0.3.0

func (*UESSClusterWorkerNodeListRequest) ProtoMessage()

func (*UESSClusterWorkerNodeListRequest) ProtoReflect added in v0.3.0

func (*UESSClusterWorkerNodeListRequest) Reset added in v0.3.0

func (*UESSClusterWorkerNodeListRequest) String added in v0.3.0

type UESSClusterWorkerNodeListResponse added in v0.3.0

type UESSClusterWorkerNodeListResponse 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"`
	NodeList []*WorkerNodeInfo `protobuf:"bytes,3,rep,name=node_list,json=nodeList,proto3" json:"node_list,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSClusterWorkerNodeListResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterWorkerNodeListResponse.ProtoReflect.Descriptor instead.

func (*UESSClusterWorkerNodeListResponse) GetCode added in v0.3.0

func (*UESSClusterWorkerNodeListResponse) GetMsg added in v0.3.0

func (*UESSClusterWorkerNodeListResponse) GetNodeList added in v0.3.0

func (*UESSClusterWorkerNodeListResponse) ProtoMessage added in v0.3.0

func (*UESSClusterWorkerNodeListResponse) ProtoMessage()

func (*UESSClusterWorkerNodeListResponse) ProtoReflect added in v0.3.0

func (*UESSClusterWorkerNodeListResponse) Reset added in v0.3.0

func (*UESSClusterWorkerNodeListResponse) String added in v0.3.0

type UESSClusterWorkerNodeSaveRequest added in v0.3.0

type UESSClusterWorkerNodeSaveRequest struct {
	NodeType    WorkerNodeType `protobuf:"varint,1,opt,name=node_type,json=nodeType,proto3,enum=pb.WorkerNodeType" json:"node_type,omitempty"`
	Ip          string         `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	Os          WorkerNodeOS   `protobuf:"varint,3,opt,name=os,proto3,enum=pb.WorkerNodeOS" json:"os,omitempty"`
	User        string         `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	ProjectPath string         `protobuf:"bytes,5,opt,name=project_path,json=projectPath,proto3" json:"project_path,omitempty"`
	AgentPort   uint32         `protobuf:"varint,6,opt,name=agent_port,json=agentPort,proto3" json:"agent_port,omitempty"`
	RcPort      uint32         `protobuf:"varint,7,opt,name=rc_port,json=rcPort,proto3" json:"rc_port,omitempty"`
	// contains filtered or unexported fields
}

保存负载节点 POST token_option /api/v1/cluster/worker_node/save

func (*UESSClusterWorkerNodeSaveRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterWorkerNodeSaveRequest.ProtoReflect.Descriptor instead.

func (*UESSClusterWorkerNodeSaveRequest) GetAgentPort added in v0.3.0

func (x *UESSClusterWorkerNodeSaveRequest) GetAgentPort() uint32

func (*UESSClusterWorkerNodeSaveRequest) GetIp added in v0.3.0

func (*UESSClusterWorkerNodeSaveRequest) GetNodeType added in v0.3.0

func (*UESSClusterWorkerNodeSaveRequest) GetOs added in v0.3.0

func (*UESSClusterWorkerNodeSaveRequest) GetProjectPath added in v0.3.0

func (x *UESSClusterWorkerNodeSaveRequest) GetProjectPath() string

func (*UESSClusterWorkerNodeSaveRequest) GetRcPort added in v0.3.0

func (*UESSClusterWorkerNodeSaveRequest) GetUser added in v0.3.0

func (*UESSClusterWorkerNodeSaveRequest) ProtoMessage added in v0.3.0

func (*UESSClusterWorkerNodeSaveRequest) ProtoMessage()

func (*UESSClusterWorkerNodeSaveRequest) ProtoReflect added in v0.3.0

func (*UESSClusterWorkerNodeSaveRequest) Reset added in v0.3.0

func (*UESSClusterWorkerNodeSaveRequest) String added in v0.3.0

type UESSClusterWorkerNodeSaveResponse added in v0.3.0

type UESSClusterWorkerNodeSaveResponse 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 (*UESSClusterWorkerNodeSaveResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterWorkerNodeSaveResponse.ProtoReflect.Descriptor instead.

func (*UESSClusterWorkerNodeSaveResponse) GetCode added in v0.3.0

func (*UESSClusterWorkerNodeSaveResponse) GetMsg added in v0.3.0

func (*UESSClusterWorkerNodeSaveResponse) ProtoMessage added in v0.3.0

func (*UESSClusterWorkerNodeSaveResponse) ProtoMessage()

func (*UESSClusterWorkerNodeSaveResponse) ProtoReflect added in v0.3.0

func (*UESSClusterWorkerNodeSaveResponse) Reset added in v0.3.0

func (*UESSClusterWorkerNodeSaveResponse) String added in v0.3.0

type UESSClusterWorkerNodeStartRequest added in v0.3.0

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

启动负载节点 POST token_option /api/v1/cluster/worker_node/start

func (*UESSClusterWorkerNodeStartRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterWorkerNodeStartRequest.ProtoReflect.Descriptor instead.

func (*UESSClusterWorkerNodeStartRequest) GetHostIp added in v0.3.0

func (*UESSClusterWorkerNodeStartRequest) ProtoMessage added in v0.3.0

func (*UESSClusterWorkerNodeStartRequest) ProtoMessage()

func (*UESSClusterWorkerNodeStartRequest) ProtoReflect added in v0.3.0

func (*UESSClusterWorkerNodeStartRequest) Reset added in v0.3.0

func (*UESSClusterWorkerNodeStartRequest) String added in v0.3.0

type UESSClusterWorkerNodeStartResponse added in v0.3.0

type UESSClusterWorkerNodeStartResponse 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 (*UESSClusterWorkerNodeStartResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UESSClusterWorkerNodeStartResponse.ProtoReflect.Descriptor instead.

func (*UESSClusterWorkerNodeStartResponse) GetCode added in v0.3.0

func (*UESSClusterWorkerNodeStartResponse) GetMsg added in v0.3.0

func (*UESSClusterWorkerNodeStartResponse) ProtoMessage added in v0.3.0

func (*UESSClusterWorkerNodeStartResponse) ProtoMessage()

func (*UESSClusterWorkerNodeStartResponse) ProtoReflect added in v0.3.0

func (*UESSClusterWorkerNodeStartResponse) Reset added in v0.3.0

func (*UESSClusterWorkerNodeStartResponse) String added in v0.3.0

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 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 UESSHeartbeatRequest added in v0.2.0

type UESSHeartbeatRequest struct {
	Timestamp int64  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Token     string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*UESSHeartbeatRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use UESSHeartbeatRequest.ProtoReflect.Descriptor instead.

func (*UESSHeartbeatRequest) GetTimestamp added in v0.2.0

func (x *UESSHeartbeatRequest) GetTimestamp() int64

func (*UESSHeartbeatRequest) GetToken added in v0.2.0

func (x *UESSHeartbeatRequest) GetToken() string

func (*UESSHeartbeatRequest) ProtoMessage added in v0.2.0

func (*UESSHeartbeatRequest) ProtoMessage()

func (*UESSHeartbeatRequest) ProtoReflect added in v0.2.0

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

func (*UESSHeartbeatRequest) Reset added in v0.2.0

func (x *UESSHeartbeatRequest) Reset()

func (*UESSHeartbeatRequest) String added in v0.2.0

func (x *UESSHeartbeatRequest) String() string

type UESSHeartbeatResponse added in v0.2.0

type UESSHeartbeatResponse 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 *ResourceInfo `protobuf:"bytes,3,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"`
	ProcInfos    []*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 (*UESSHeartbeatResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use UESSHeartbeatResponse.ProtoReflect.Descriptor instead.

func (*UESSHeartbeatResponse) GetCode added in v0.2.0

func (x *UESSHeartbeatResponse) GetCode() int32

func (*UESSHeartbeatResponse) GetHostIp added in v0.2.0

func (x *UESSHeartbeatResponse) GetHostIp() string

func (*UESSHeartbeatResponse) GetMsg added in v0.2.0

func (x *UESSHeartbeatResponse) GetMsg() string

func (*UESSHeartbeatResponse) GetProcInfos added in v0.2.0

func (x *UESSHeartbeatResponse) GetProcInfos() []*ProcInfo

func (*UESSHeartbeatResponse) GetResourceInfo added in v0.2.0

func (x *UESSHeartbeatResponse) GetResourceInfo() *ResourceInfo

func (*UESSHeartbeatResponse) ProtoMessage added in v0.2.0

func (*UESSHeartbeatResponse) ProtoMessage()

func (*UESSHeartbeatResponse) ProtoReflect added in v0.2.0

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

func (*UESSHeartbeatResponse) Reset added in v0.2.0

func (x *UESSHeartbeatResponse) Reset()

func (*UESSHeartbeatResponse) String added in v0.2.0

func (x *UESSHeartbeatResponse) 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 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 *ResourceInfo `protobuf:"bytes,3,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"`
	HostIp       string        `protobuf:"bytes,4,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) GetResourceInfo added in v0.1.11

func (x *UESSRpcPingResponse) GetResourceInfo() *ResourceInfo

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 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 UnimplementedAgentRpcServerServer

type UnimplementedAgentRpcServerServer struct {
}

UnimplementedAgentRpcServerServer must be embedded to have forward compatible implementations.

func (UnimplementedAgentRpcServerServer) Heartbeat added in v0.2.0

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.

type WorkerNodeInfo added in v0.3.0

type WorkerNodeInfo struct {
	NodeType    WorkerNodeType   `protobuf:"varint,1,opt,name=node_type,json=nodeType,proto3,enum=pb.WorkerNodeType" json:"node_type,omitempty"`
	Ip          string           `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	Os          WorkerNodeOS     `protobuf:"varint,3,opt,name=os,proto3,enum=pb.WorkerNodeOS" json:"os,omitempty"`
	User        string           `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"`
	Status      WorkerNodeStatus `protobuf:"varint,6,opt,name=status,proto3,enum=pb.WorkerNodeStatus" 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"` // 加入时间
	AgentPort   uint32           `protobuf:"varint,11,opt,name=agent_port,json=agentPort,proto3" json:"agent_port,omitempty"`
	RcPort      uint32           `protobuf:"varint,12,opt,name=rc_port,json=rcPort,proto3" json:"rc_port,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkerNodeInfo) Descriptor deprecated added in v0.3.0

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

Deprecated: Use WorkerNodeInfo.ProtoReflect.Descriptor instead.

func (*WorkerNodeInfo) GetAgentPort added in v0.3.0

func (x *WorkerNodeInfo) GetAgentPort() uint32

func (*WorkerNodeInfo) GetGrade added in v0.3.0

func (x *WorkerNodeInfo) GetGrade() float32

func (*WorkerNodeInfo) GetHeartTime added in v0.3.0

func (x *WorkerNodeInfo) GetHeartTime() string

func (*WorkerNodeInfo) GetIp added in v0.3.0

func (x *WorkerNodeInfo) GetIp() string

func (*WorkerNodeInfo) GetJoinTime added in v0.3.0

func (x *WorkerNodeInfo) GetJoinTime() string

func (*WorkerNodeInfo) GetNodeType added in v0.3.0

func (x *WorkerNodeInfo) GetNodeType() WorkerNodeType

func (*WorkerNodeInfo) GetOs added in v0.3.0

func (x *WorkerNodeInfo) GetOs() WorkerNodeOS

func (*WorkerNodeInfo) GetProjectPath added in v0.3.0

func (x *WorkerNodeInfo) GetProjectPath() string

func (*WorkerNodeInfo) GetRcPort added in v0.3.0

func (x *WorkerNodeInfo) GetRcPort() uint32

func (*WorkerNodeInfo) GetStatus added in v0.3.0

func (x *WorkerNodeInfo) GetStatus() WorkerNodeStatus

func (*WorkerNodeInfo) GetUser added in v0.3.0

func (x *WorkerNodeInfo) GetUser() string

func (*WorkerNodeInfo) ProtoMessage added in v0.3.0

func (*WorkerNodeInfo) ProtoMessage()

func (*WorkerNodeInfo) ProtoReflect added in v0.3.0

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

func (*WorkerNodeInfo) Reset added in v0.3.0

func (x *WorkerNodeInfo) Reset()

func (*WorkerNodeInfo) String added in v0.3.0

func (x *WorkerNodeInfo) String() string

type WorkerNodeOS added in v0.3.0

type WorkerNodeOS int32
const (
	WorkerNodeOS_worker_node_os_none    WorkerNodeOS = 0
	WorkerNodeOS_worker_node_os_windows WorkerNodeOS = 1
	WorkerNodeOS_worker_node_os_linux   WorkerNodeOS = 2
	WorkerNodeOS_worker_node_os_macos   WorkerNodeOS = 3
)

func (WorkerNodeOS) Descriptor added in v0.3.0

func (WorkerNodeOS) Enum added in v0.3.0

func (x WorkerNodeOS) Enum() *WorkerNodeOS

func (WorkerNodeOS) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use WorkerNodeOS.Descriptor instead.

func (WorkerNodeOS) Number added in v0.3.0

func (WorkerNodeOS) String added in v0.3.0

func (x WorkerNodeOS) String() string

func (WorkerNodeOS) Type added in v0.3.0

type WorkerNodeStatus added in v0.3.0

type WorkerNodeStatus int32

主机类型

const (
	WorkerNodeStatus_worker_node_status_none   WorkerNodeStatus = 0
	WorkerNodeStatus_worker_node_status_active WorkerNodeStatus = 1
	WorkerNodeStatus_worker_node_status_dead   WorkerNodeStatus = 2
	WorkerNodeStatus_worker_node_status_busy   WorkerNodeStatus = 3
)

func (WorkerNodeStatus) Descriptor added in v0.3.0

func (WorkerNodeStatus) Enum added in v0.3.0

func (WorkerNodeStatus) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use WorkerNodeStatus.Descriptor instead.

func (WorkerNodeStatus) Number added in v0.3.0

func (WorkerNodeStatus) String added in v0.3.0

func (x WorkerNodeStatus) String() string

func (WorkerNodeStatus) Type added in v0.3.0

type WorkerNodeType added in v0.3.0

type WorkerNodeType int32

主机类型

const (
	WorkerNodeType_worker_node_type_none   WorkerNodeType = 0
	WorkerNodeType_worker_node_type_local  WorkerNodeType = 1 // 本地
	WorkerNodeType_worker_node_type_remote WorkerNodeType = 2 // 远程
)

func (WorkerNodeType) Descriptor added in v0.3.0

func (WorkerNodeType) Enum added in v0.3.0

func (x WorkerNodeType) Enum() *WorkerNodeType

func (WorkerNodeType) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use WorkerNodeType.Descriptor instead.

func (WorkerNodeType) Number added in v0.3.0

func (WorkerNodeType) String added in v0.3.0

func (x WorkerNodeType) String() string

func (WorkerNodeType) Type added in v0.3.0

Jump to

Keyboard shortcuts

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