Documentation
¶
Index ¶
- type BaseOperationService
- func (s *BaseOperationService) DeleteOperation(operation *types.Operation) error
- func (s *BaseOperationService) GetOperationByID(operationID string) (*types.Operation, error)
- func (s *BaseOperationService) GetOperations() (map[string]*types.Operation, error)
- func (s *BaseOperationService) PutOperation(operation *types.Operation) error
- type OperationService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseOperationService ¶
type BaseOperationService struct {
// contains filtered or unexported fields
}
func NewOperationService ¶
func NewOperationService(operationRepo operation.OperationRepo) *BaseOperationService
func (*BaseOperationService) DeleteOperation ¶
func (s *BaseOperationService) DeleteOperation(operation *types.Operation) error
func (*BaseOperationService) GetOperationByID ¶
func (s *BaseOperationService) GetOperationByID(operationID string) (*types.Operation, error)
func (*BaseOperationService) GetOperations ¶
func (s *BaseOperationService) GetOperations() (map[string]*types.Operation, error)
GetOperations returns available operations for current state
func (*BaseOperationService) PutOperation ¶
func (s *BaseOperationService) PutOperation(operation *types.Operation) error
Click to show internal directories.
Click to hide internal directories.