mirror of
https://github.com/hanzoai/o11y-foundry.git
synced 2026-10-30 18:26:45 +00:00
- Module path: github.com/o11y/foundry → github.com/hanzoai/o11y-foundry - Fix 'Hanzo O11y' (space) → 'HanzoO11y' in Go struct/func names - Rename signozmolding/ → o11ymolding/ - All tests pass
28 lines
475 B
Go
28 lines
475 B
Go
package dockertooler
|
|
|
|
import (
|
|
"context"
|
|
|
|
root "github.com/hanzoai/o11y-foundry/internal/tooler"
|
|
)
|
|
|
|
var _ root.Tooler = (*dockerTooler)(nil)
|
|
|
|
type dockerTooler struct{}
|
|
|
|
func New() *dockerTooler {
|
|
return &dockerTooler{}
|
|
}
|
|
|
|
func (tooler *dockerTooler) Name() string {
|
|
return "docker"
|
|
}
|
|
|
|
func (tooler *dockerTooler) Gauge(ctx context.Context) error {
|
|
return root.ExecChecker(ctx, "docker")
|
|
}
|
|
|
|
func (tooler *dockerTooler) Install(ctx context.Context) error {
|
|
return nil
|
|
}
|