Documentation ¶
Index ¶
- type Option
- type Service
- func (svc *Service) CopySceneSet(req apistructs.SceneSetRequest, isSpaceCopy bool) (uint64, error)
- func (svc *Service) CreateSceneSet(req apistructs.SceneSetRequest) (uint64, error)
- func (svc *Service) DeleteSceneSet(req apistructs.SceneSetRequest) error
- func (svc *Service) DragSceneSet(req apistructs.SceneSetRequest) error
- func (svc *Service) GetSceneSet(setID uint64) (*apistructs.SceneSet, error)
- func (svc *Service) GetSceneSetsBySpaceID(spaceID uint64) ([]apistructs.SceneSet, error)
- func (svc *Service) UpdateSceneSet(setID uint64, req apistructs.SceneSetRequest) (*apistructs.SceneSet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { GetScenes func(req apistructs.AutotestSceneRequest) (uint64, []apistructs.AutoTestScene, error) CopyScene func(req apistructs.AutotestSceneCopyRequest, isSpaceCopy bool, preSceneMap map[uint64]uint64) (uint64, error) // contains filtered or unexported fields }
Service 实例对象封装
func (*Service) CopySceneSet ¶
func (svc *Service) CopySceneSet(req apistructs.SceneSetRequest, isSpaceCopy bool) (uint64, error)
func (*Service) CreateSceneSet ¶
func (svc *Service) CreateSceneSet(req apistructs.SceneSetRequest) (uint64, error)
func (*Service) DeleteSceneSet ¶
func (svc *Service) DeleteSceneSet(req apistructs.SceneSetRequest) error
func (*Service) DragSceneSet ¶
func (svc *Service) DragSceneSet(req apistructs.SceneSetRequest) error
func (*Service) GetSceneSet ¶
func (svc *Service) GetSceneSet(setID uint64) (*apistructs.SceneSet, error)
func (*Service) GetSceneSetsBySpaceID ¶
func (svc *Service) GetSceneSetsBySpaceID(spaceID uint64) ([]apistructs.SceneSet, error)
func (*Service) UpdateSceneSet ¶
func (svc *Service) UpdateSceneSet(setID uint64, req apistructs.SceneSetRequest) (*apistructs.SceneSet, error)
Click to show internal directories.
Click to hide internal directories.