MCPcopy Index your code
hub / github.com/ContainerSSH/ContainerSSH / NewTestUser

Function NewTestUser

internal/sshserver/NewTestUser.go:4–9  ·  view source on GitHub ↗

NewTestUser creates a user that can be used with NewTestHandler and NewTestClient.

(username string)

Source from the content-addressed store, hash-verified

2
3// NewTestUser creates a user that can be used with NewTestHandler and NewTestClient.
4func NewTestUser(username string) *TestUser {
5 return &TestUser{
6 username: username,
7 keyboardInteractive: map[string]string{},
8 }
9}

Callers 11

createTestServerFunction · 0.92
TestAuthGSSAPIFunction · 0.92
TestKeepAliveFunction · 0.92
TestProperShutdownFunction · 0.92

Calls

no outgoing calls

Tested by 6

createTestServerFunction · 0.74
TestAuthGSSAPIFunction · 0.74
TestKeepAliveFunction · 0.74
TestProperShutdownFunction · 0.74