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.0+incompatible
Published
Apr 16, 2015
Platform
js/wasm
Imports
4 packages
Last checked
5 minutes ago

Tools for package owners.