package
Version:
v0.10.3
Opens a new window with list of versions in this module.
Published: Jul 17, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 2
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.