mirror of
https://github.com/lorsanstand/HomeOps-Hub.git
synced 2026-09-18 17:28:27 +03:00
refactor: sync
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package docker_service
|
||||
|
||||
import (
|
||||
"github.com/lorsanstand/HomeOps-Hub/agent/internal/domain"
|
||||
domainHub "github.com/lorsanstand/HomeOps-Hub/shared/domain"
|
||||
)
|
||||
|
||||
func (d *DockerService) commands() []domain.Command {
|
||||
return []domain.Command{
|
||||
{Execute: d.CheckDockerDaemon, CapabilityCommand: domainHub.CapabilityCommand{
|
||||
Name: "check",
|
||||
OptionalArgs: []domainHub.CommandArgs{},
|
||||
RequiredArgs: []domainHub.CommandArgs{},
|
||||
Version: "0",
|
||||
Description: "Check docker daemon",
|
||||
TypeOutput: "string",
|
||||
}},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user