Versions in this module Expand all Collapse all v0 v0.0.3 Jan 23, 2024 Changes in this version + type ReplicaSetService struct + func (rs *ReplicaSetService) CommitContainer(name string, spec models.ContainerCommit) (imageName string, err error) + func (rs *ReplicaSetService) DeleteContainer(name string) error + func (rs *ReplicaSetService) DeleteContainerForUpdate(name string) error + func (rs *ReplicaSetService) ExecuteContainer(name string, exec *models.ContainerExecute) (resp *string, err error) + func (rs *ReplicaSetService) GetContainerHistory(name string) ([]*models.ContainerHistoryItem, error) + func (rs *ReplicaSetService) GetContainerInfo(name string) (info models.EtcdContainerInfo, err error) + func (rs *ReplicaSetService) PatchContainer(name string, spec *models.PatchRequest) (id, newContainerName string, err error) + func (rs *ReplicaSetService) RestartContainer(name string) (id, newContainerName string, err error) + func (rs *ReplicaSetService) RollbackContainer(name string, spec *models.RollbackRequest) (string, error) + func (rs *ReplicaSetService) RunGpuContainer(spec *models.ContainerRun) (id, containerName string, err error) + func (rs *ReplicaSetService) StartupContainer(name string) error + func (rs *ReplicaSetService) StopContainer(name string, restoreGpu, restorePort, isLatest bool) error + type VolumeService struct + func (vs *VolumeService) CreateVolume(spec *models.VolumeCreate) (resp volume.Volume, err error) + func (vs *VolumeService) DeleteVolume(name string, isLatest, deleteRecord bool) error + func (vs *VolumeService) GetVolumeHistory(name string) ([]*models.VolumeHistoryItem, error) + func (vs *VolumeService) GetVolumeInfo(name string) (info models.EtcdVolumeInfo, err error) + func (vs *VolumeService) PatchVolumeSize(name string, spec *models.VolumeSize) (resp volume.Volume, err error)