(host string)
| 9 | var ErrUnsupportedHost = errors.New("An unsupported host was detected. Note that gh attestation does not currently support GHES") |
| 10 | |
| 11 | func IsHostSupported(host string) error { |
| 12 | if ghauth.IsEnterprise(host) { |
| 13 | return ErrUnsupportedHost |
| 14 | } |
| 15 | return nil |
| 16 | } |
no outgoing calls