Documentation ¶
Index ¶
- type ContainerServer
- func (c *ContainerServer) Inspect(ctx context.Context, in *proto.ReqContainerInspect) (*proto.RespContainerInspect, error)
- func (c *ContainerServer) List(ctx context.Context, _ *proto.ReqContainerList) (*proto.RespContainerList, error)
- func (c *ContainerServer) Logs(ctx context.Context, in *proto.ReqContainerLogs) (*proto.RespContainerLogs, error)
- func (c *ContainerServer) Stats(ctx context.Context, in *proto.ReqContainerStats) (*proto.RespContainerStats, error)
- func (c *ContainerServer) StatsAll(ctx context.Context, _ *proto.ReqContainerStatsAll) (*proto.RespContainerStatsAll, error)
- type ImageServer
- func (i *ImageServer) List(ctx context.Context, _ *proto.ReqImageList) (*proto.RespImageList, error)
- func (i *ImageServer) Pull(ctx context.Context, in *proto.ReqImagePull) (*proto.RespImagePull, error)
- func (i *ImageServer) Remove(ctx context.Context, in *proto.ReqImageRemove) (*proto.RespImageRemove, error)
- func (i *ImageServer) Tag(ctx context.Context, in *proto.ReqImageTag) (*proto.RespImageTag, error)
- type ProcServer
- type ProjectServer
- func (p *ProjectServer) Deploy(ctx context.Context, in *proto.ReqProject) (*proto.Response, error)
- func (p *ProjectServer) Remove(ctx context.Context, in *proto.ReqProjectRemove) (*proto.Response, error)
- func (p *ProjectServer) ServiceState(ctx context.Context, in *proto.ServiceCompare) (*proto.ServiceCompare, error)
- func (p *ProjectServer) Update(ctx context.Context, in *proto.ReqProjectUpdate) (*proto.Response, error)
- type ResourceServer
- type ServiceServer
- func (s *ServiceServer) Inspect(ctx context.Context, in *proto.ReqServiceInspect) (*proto.RespServiceInspect, error)
- func (s *ServiceServer) List(ctx context.Context, _ *proto.ReqServiceList) (*proto.RespServiceList, error)
- func (s *ServiceServer) Logs(ctx context.Context, in *proto.ReqServiceLogs) (*proto.RespServiceLogs, error)
- func (s *ServiceServer) Resource(ctx context.Context, in *proto.ReqServiceResources) (*proto.RespServiceResources, error)
- func (s *ServiceServer) ResourceAll(ctx context.Context, _ *proto.ReqServiceResourcesAll) (*proto.RespServiceResourcesAll, error)
- type StackServer
- func (s *StackServer) Deploy(_ context.Context, in *proto.ReqCompose) (*proto.Response, error)
- func (s *StackServer) List(_ context.Context, _ *proto.Request) (*proto.RespStackList, error)
- func (s *StackServer) Process(_ context.Context, in *proto.ReqStack) (*proto.RespStackProcesses, error)
- func (s *StackServer) Remove(_ context.Context, in *proto.ReqStack) (*proto.Response, error)
- func (s *StackServer) Services(_ context.Context, in *proto.ReqStack) (*proto.RespStackServices, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerServer ¶
type ContainerServer struct { }
func (*ContainerServer) Inspect ¶
func (c *ContainerServer) Inspect(ctx context.Context, in *proto.ReqContainerInspect) (*proto.RespContainerInspect, error)
func (*ContainerServer) List ¶
func (c *ContainerServer) List(ctx context.Context, _ *proto.ReqContainerList) (*proto.RespContainerList, error)
func (*ContainerServer) Logs ¶
func (c *ContainerServer) Logs(ctx context.Context, in *proto.ReqContainerLogs) (*proto.RespContainerLogs, error)
func (*ContainerServer) Stats ¶
func (c *ContainerServer) Stats(ctx context.Context, in *proto.ReqContainerStats) (*proto.RespContainerStats, error)
func (*ContainerServer) StatsAll ¶
func (c *ContainerServer) StatsAll(ctx context.Context, _ *proto.ReqContainerStatsAll) (*proto.RespContainerStatsAll, error)
type ImageServer ¶
type ImageServer struct { }
func (*ImageServer) List ¶
func (i *ImageServer) List(ctx context.Context, _ *proto.ReqImageList) (*proto.RespImageList, error)
func (*ImageServer) Pull ¶
func (i *ImageServer) Pull(ctx context.Context, in *proto.ReqImagePull) (*proto.RespImagePull, error)
func (*ImageServer) Remove ¶
func (i *ImageServer) Remove(ctx context.Context, in *proto.ReqImageRemove) (*proto.RespImageRemove, error)
func (*ImageServer) Tag ¶
func (i *ImageServer) Tag(ctx context.Context, in *proto.ReqImageTag) (*proto.RespImageTag, error)
type ProcServer ¶
type ProcServer struct { }
func (*ProcServer) Resources ¶
func (p *ProcServer) Resources(_ context.Context, _ *proto.ReqResources) (*proto.RespResources, error)
type ProjectServer ¶
type ProjectServer struct { }
System 区块链中系统相关操作服务
func (*ProjectServer) Deploy ¶
func (p *ProjectServer) Deploy(ctx context.Context, in *proto.ReqProject) (*proto.Response, error)
Deploy 部署新的堆栈或更新现有堆栈
tail 代表是否实时输出命令执行的日志信息
func (*ProjectServer) Remove ¶
func (p *ProjectServer) Remove(ctx context.Context, in *proto.ReqProjectRemove) (*proto.Response, error)
func (*ProjectServer) ServiceState ¶
func (p *ProjectServer) ServiceState(ctx context.Context, in *proto.ServiceCompare) (*proto.ServiceCompare, error)
func (*ProjectServer) Update ¶
func (p *ProjectServer) Update(ctx context.Context, in *proto.ReqProjectUpdate) (*proto.Response, error)
type ResourceServer ¶
type ResourceServer struct { }
func (*ResourceServer) ContainersSync ¶
func (r *ResourceServer) ContainersSync(ctx context.Context, req *proto.ReqContainerSync) (*proto.Response, error)
func (*ResourceServer) Info ¶
func (r *ResourceServer) Info(ctx context.Context, _ *proto.Request) (*proto.ResourceInfo, error)
type ServiceServer ¶
type ServiceServer struct { }
func (*ServiceServer) Inspect ¶
func (s *ServiceServer) Inspect(ctx context.Context, in *proto.ReqServiceInspect) (*proto.RespServiceInspect, error)
func (*ServiceServer) List ¶
func (s *ServiceServer) List(ctx context.Context, _ *proto.ReqServiceList) (*proto.RespServiceList, error)
func (*ServiceServer) Logs ¶
func (s *ServiceServer) Logs(ctx context.Context, in *proto.ReqServiceLogs) (*proto.RespServiceLogs, error)
func (*ServiceServer) Resource ¶
func (s *ServiceServer) Resource(ctx context.Context, in *proto.ReqServiceResources) (*proto.RespServiceResources, error)
func (*ServiceServer) ResourceAll ¶
func (s *ServiceServer) ResourceAll(ctx context.Context, _ *proto.ReqServiceResourcesAll) (*proto.RespServiceResourcesAll, error)
type StackServer ¶
type StackServer struct { }
System 区块链中系统相关操作服务
func (*StackServer) Deploy ¶
func (s *StackServer) Deploy(_ context.Context, in *proto.ReqCompose) (*proto.Response, error)
Deploy 部署新的堆栈或更新现有堆栈
tail 代表是否实时输出命令执行的日志信息
func (*StackServer) List ¶
func (s *StackServer) List(_ context.Context, _ *proto.Request) (*proto.RespStackList, error)
List 列出现有堆栈
func (*StackServer) Process ¶
func (s *StackServer) Process(_ context.Context, in *proto.ReqStack) (*proto.RespStackProcesses, error)
Process 列出堆栈中的任务
func (*StackServer) Services ¶
func (s *StackServer) Services(_ context.Context, in *proto.ReqStack) (*proto.RespStackServices, error)
Services 列出堆栈中的服务
Click to show internal directories.
Click to hide internal directories.