Documentation ¶
Index ¶
- func NewService(repo repository.Node, workSvc service.Workflow, ...) service.Node
- type Service
- func (s *Service) Describe(ctx context.Context, id node.Identifier) (*node.Node, error)
- func (s *Service) List(ctx context.Context) ([]*node.Node, error)
- func (s *Service) Start(ctx context.Context, id node.Identifier) error
- func (s *Service) Status(ctx context.Context, id node.Identifier) (node.Status, error)
- func (s *Service) Stop(ctx context.Context, id node.Identifier) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.