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

Method GetType

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

Source from the content-addressed store, hash-verified

4225}
4226
4227func (m *Request) GetType() isRequest_Type {
4228 if m != nil {
4229 return m.Type
4230 }
4231 return nil
4232}
4233
4234func (x *Request) GetConfig() *Config {
4235 if x, ok := x.GetType().(*Request_Config); ok {

Callers 8

GetConfigMethod · 0.95
GetParseMethod · 0.95
GetInitMethod · 0.95
GetPlanMethod · 0.95
GetApplyMethod · 0.95
GetGraphMethod · 0.95
GetCancelMethod · 0.95
GetFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected