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

Method GetPlan

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

Source from the content-addressed store, hash-verified

4253}
4254
4255func (x *Request) GetPlan() *PlanRequest {
4256 if x, ok := x.GetType().(*Request_Plan); ok {
4257 return x.Plan
4258 }
4259 return nil
4260}
4261
4262func (x *Request) GetApply() *ApplyRequest {
4263 if x, ok := x.GetType().(*Request_Apply); ok {

Callers 10

TestProvisionerSDKFunction · 0.45
handleRequestsMethod · 0.45
TestEchoFunction · 0.45
PlanMethod · 0.45
TarWithOptionsFunction · 0.45
TestProvision_CancelFunction · 0.45
TestProvisionFunction · 0.45
TestProvision_ExtraEnvFunction · 0.45
TestTimingsFromProvisionFunction · 0.45

Calls 1

GetTypeMethod · 0.95

Tested by 7

TestProvisionerSDKFunction · 0.36
TestEchoFunction · 0.36
TestProvision_CancelFunction · 0.36
TestProvisionFunction · 0.36
TestProvision_ExtraEnvFunction · 0.36
TestTimingsFromProvisionFunction · 0.36