IsDetached returns 'true' when this hostname is logically "detached"
()
| 88 | |
| 89 | // IsDetached returns 'true' when this hostname is logically "detached" |
| 90 | func (ik *InstanceKey) IsDetached() bool { |
| 91 | return strings.HasPrefix(ik.Hostname, detachHint) |
| 92 | } |
| 93 | |
| 94 | // IsValid uses simple heuristics to see whether this key represents an actual instance |
| 95 | func (ik *InstanceKey) IsValid() bool { |
no outgoing calls
no test coverage detected