package
Version:
v0.10.5
Opens a new window with list of versions in this module.
Published: Oct 23, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package regex provides regex validator for the Cloudprober's
validator framework.
type Validator struct {
}
Validator implements a regex validator.
Init initializes the regex validator.
It compiles the regex in the configuration and returns an error if regex
doesn't compile for some reason.
Validate the provided responseBody and return true if responseBody matches
the configured regex.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.