()
| 19 | } |
| 20 | |
| 21 | func (o Action) String() string { |
| 22 | if o.Subresource != "" { |
| 23 | return fmt.Sprintf("%s:%s:%s", o.Service, o.Verb, o.Subresource) |
| 24 | } |
| 25 | |
| 26 | return o.IntegrationVerbString() |
| 27 | } |
| 28 | |
| 29 | func (o Action) IntegrationVerbString() string { |
| 30 | return fmt.Sprintf("%s:%s", o.Service, o.Verb) |