services

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceClient

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

func NewClient

func NewClient(addr string, ctx context.Context) *ServiceClient

func (*ServiceClient) CheckpointContainer

func (c *ServiceClient) CheckpointContainer(args *task.ContainerDumpArgs) (*task.ContainerDumpResp, error)

func (*ServiceClient) CheckpointRunc

func (c *ServiceClient) CheckpointRunc(args *task.RuncDumpArgs) (*task.RuncDumpResp, error)

func (*ServiceClient) CheckpointTask

func (c *ServiceClient) CheckpointTask(args *task.DumpArgs) (*task.DumpResp, error)

func (*ServiceClient) Close

func (c *ServiceClient) Close()

func (*ServiceClient) GPUService

func (s *ServiceClient) GPUService() gpu.CedanaGPUClient

func (*ServiceClient) GpuCheckpoint

func (c *ServiceClient) GpuCheckpoint(args *gpu.CheckpointRequest) (*gpu.CheckpointResponse, error)

func (*ServiceClient) GpuRestore

func (c *ServiceClient) GpuRestore(args *gpu.RestoreRequest) (*gpu.RestoreResponse, error)

func (*ServiceClient) RestoreContainer

func (c *ServiceClient) RestoreContainer(args *task.ContainerRestoreArgs) (*task.ContainerRestoreResp, error)

func (*ServiceClient) RestoreTask

func (c *ServiceClient) RestoreTask(args *task.RestoreArgs) (*task.RestoreResp, error)

func (*ServiceClient) RuncRestore

func (c *ServiceClient) RuncRestore(args *task.RuncRestoreArgs) (*task.RuncRestoreResp, error)

func (*ServiceClient) StartTask

func (c *ServiceClient) StartTask(args *task.StartTaskArgs) (*task.StartTaskResp, error)

func (*ServiceClient) TaskService

func (s *ServiceClient) TaskService() task.TaskServiceClient

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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