(ctx context.Context, t *testing.T, client proto.DRPCProvisionerClient, config *proto.Config)
| 101 | } |
| 102 | |
| 103 | func configure(ctx context.Context, t *testing.T, client proto.DRPCProvisionerClient, config *proto.Config) proto.DRPCProvisioner_SessionClient { |
| 104 | t.Helper() |
| 105 | sess, err := client.Session(ctx) |
| 106 | require.NoError(t, err) |
| 107 | err = sess.Send(&proto.Request{Type: &proto.Request_Config{Config: config}}) |
| 108 | require.NoError(t, err) |
| 109 | return sess |
| 110 | } |
| 111 | |
| 112 | func readProvisionLog(t *testing.T, response proto.DRPCProvisioner_SessionClient) (string, *proto.Response) { |
| 113 | var last *proto.Response |
no test coverage detected