mirror of
https://github.com/lorsanstand/HomeOps-Hub.git
synced 2026-06-21 17:35:16 +03:00
20 lines
531 B
Go
20 lines
531 B
Go
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",
|
|
}},
|
|
}
|
|
}
|