MCPcopy Create free account
hub / github.com/coder/coder / sendInit

Function sendInit

provisioner/terraform/provision_test.go:131–135  ·  view source on GitHub ↗
(sess proto.DRPCProvisioner_SessionClient, archive []byte)

Source from the content-addressed store, hash-verified

129}
130
131func sendInit(sess proto.DRPCProvisioner_SessionClient, archive []byte) error {
132 return sess.Send(&proto.Request{Type: &proto.Request_Init{Init: &proto.InitRequest{
133 TemplateSourceArchive: archive,
134 }}})
135}
136
137func sendPlan(sess proto.DRPCProvisioner_SessionClient, transition proto.WorkspaceTransition) error {
138 return sess.Send(&proto.Request{Type: &proto.Request_Plan{Plan: &proto.PlanRequest{

Callers 6

TestParseFunction · 0.85
sendInitAndGetRespFunction · 0.85
TestProvision_CancelFunction · 0.85
TestTimingsFromProvisionFunction · 0.85

Calls 1

SendMethod · 0.65

Tested by

no test coverage detected