(t testing.TB, metadata agentsdk.Manifest, ptyTimeout time.Duration, opts ...func(*agenttest.Client, *agent.Options))
| 3793 | } |
| 3794 | |
| 3795 | func setupAgent(t testing.TB, metadata agentsdk.Manifest, ptyTimeout time.Duration, opts ...func(*agenttest.Client, *agent.Options)) ( |
| 3796 | workspacesdk.AgentConn, |
| 3797 | *agenttest.Client, |
| 3798 | <-chan *proto.Stats, |
| 3799 | afero.Fs, |
| 3800 | agent.Agent, |
| 3801 | ) { |
| 3802 | return setupAgentWithSecrets(t, metadata, nil, ptyTimeout, opts...) |
| 3803 | } |
| 3804 | |
| 3805 | // setupAgentWithSecrets is like setupAgent but also injects user |
| 3806 | // secrets into the agent's proto manifest. Separate from setupAgent |
no test coverage detected