package checks
import "github.com/docker/distribution/health/checks"
Index ¶
Functions ¶
func FileChecker ¶
FileChecker checks the existence of a file and returns and error if the file exists, taking the application out of rotation
func HTTPChecker ¶
HTTPChecker does a HEAD request and verifies if the HTTP status code return is a 200, taking the application out of rotation if otherwise
Source Files ¶
- Version
- v2.0.1+incompatible
- Published
- May 6, 2015
- Platform
- windows/amd64
- Imports
- 4 packages
- Last checked
- 2 hours ago –
Tools for package owners.