summaryrefslogtreecommitdiff
path: root/internal/clients/args.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/clients/args.go')
-rw-r--r--internal/clients/args.go20
1 files changed, 12 insertions, 8 deletions
diff --git a/internal/clients/args.go b/internal/clients/args.go
index dea5a9e..f55ce90 100644
--- a/internal/clients/args.go
+++ b/internal/clients/args.go
@@ -2,16 +2,20 @@ package clients
import (
"github.com/mimecast/dtail/internal/omode"
+
+ gossh "golang.org/x/crypto/ssh"
)
// Args is a helper struct to summarize common client arguments.
type Args struct {
- Mode omode.Mode
- ServersStr string
- UserName string
- What string
- Regex string
- TrustAllHosts bool
- Discovery string
- ConnectionsPerCPU int
+ Mode omode.Mode
+ ServersStr string
+ UserName string
+ What string
+ Regex string
+ TrustAllHosts bool
+ Discovery string
+ ConnectionsPerCPU int
+ SSHAuthMethods []gossh.AuthMethod
+ SSHHostKeyCallback gossh.HostKeyCallback
}