Check if scheme is s3 or s3a or s3n
(scheme string)
| 117 | |
| 118 | // Check if scheme is s3 or s3a or s3n |
| 119 | func isValidScheme(scheme string) (bool, error) { |
| 120 | return regexp.MatchString(`^s3[an]?$`, scheme) |
| 121 | } |
| 122 | |
| 123 | // errUnsupportedURLScheme is the error indicating a path has an invalid or |
| 124 | // unsupported URL scheme for the S3Input. |
no outgoing calls
no test coverage detected