Documentation ¶
Index ¶
- type RuntimeServer
- func (r *RuntimeServer) GetAppPods(ctx context.Context, re *pb.ServiceRequest) (*pb.ServiceAppPodList, error)
- func (r *RuntimeServer) GetAppStatus(ctx context.Context, re *pb.ServicesRequest) (*pb.StatusMessage, error)
- func (r *RuntimeServer) GetDeployInfo(ctx context.Context, re *pb.ServiceRequest) (*pb.DeployInfo, error)
- func (r *RuntimeServer) GetTenantResource(ctx context.Context, re *pb.TenantRequest) (*pb.TenantResource, error)
- func (r *RuntimeServer) Start(errchan chan error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuntimeServer ¶
type RuntimeServer struct {
// contains filtered or unexported fields
}
RuntimeServer app runtime grpc server
func CreaterRuntimeServer ¶
func CreaterRuntimeServer(conf option.Config, store store.Storer) *RuntimeServer
CreaterRuntimeServer create a runtime grpc server
func (*RuntimeServer) GetAppPods ¶
func (r *RuntimeServer) GetAppPods(ctx context.Context, re *pb.ServiceRequest) (*pb.ServiceAppPodList, error)
GetAppPods get app pod list
func (*RuntimeServer) GetAppStatus ¶
func (r *RuntimeServer) GetAppStatus(ctx context.Context, re *pb.ServicesRequest) (*pb.StatusMessage, error)
GetAppStatus get app service status
func (*RuntimeServer) GetDeployInfo ¶
func (r *RuntimeServer) GetDeployInfo(ctx context.Context, re *pb.ServiceRequest) (*pb.DeployInfo, error)
GetDeployInfo get deploy info
func (*RuntimeServer) GetTenantResource ¶
func (r *RuntimeServer) GetTenantResource(ctx context.Context, re *pb.TenantRequest) (*pb.TenantResource, error)
GetTenantResource get tenant resource if TenantId is "" will return the sum of the all tenant
func (*RuntimeServer) Start ¶
func (r *RuntimeServer) Start(errchan chan error)
Start start runtime server
Click to show internal directories.
Click to hide internal directories.