package checks

import "github.com/docker/distribution/health/checks"

Index

Functions

func FileChecker

func FileChecker(f string) health.Checker

FileChecker checks the existence of a file and returns and error if the file exists, taking the application out of rotation

func HTTPChecker

func HTTPChecker(r string) health.Checker

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

checks.go

Version
v2.0.1+incompatible
Published
May 6, 2015
Platform
windows/amd64
Imports
4 packages
Last checked
2 hours ago

Tools for package owners.