MCPcopy Index your code
hub / github.com/coder/coder / GetInit

Method GetInit

provisionersdk/proto/provisioner.pb.go:4248–4253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4246}
4247
4248func (x *Request) GetInit() *InitRequest {
4249 if x, ok := x.GetType().(*Request_Init); ok {
4250 return x.Init
4251 }
4252 return nil
4253}
4254
4255func (x *Request) GetPlan() *PlanRequest {
4256 if x, ok := x.GetType().(*Request_Plan); ok {

Callers 6

handleRequestsMethod · 0.45
InitMethod · 0.45
sendInitAndGetRespFunction · 0.45
TestProvision_CancelFunction · 0.45
TestTimingsFromProvisionFunction · 0.45

Calls 1

GetTypeMethod · 0.95

Tested by 4

sendInitAndGetRespFunction · 0.36
TestProvision_CancelFunction · 0.36
TestTimingsFromProvisionFunction · 0.36