Fix golint for pkg/probe

This change adds comments to exported things and renames the tcp,
http, and exec probe interfaces to just be Prober within their
namespace.

Issue #68026
This commit is contained in:
Jon Friesen
2018-09-12 14:13:19 -07:00
parent 426ef9d349
commit b971c3e200
7 changed files with 31 additions and 21 deletions

View File

@@ -16,10 +16,14 @@ limitations under the License.
package probe
// Result is a string used to handle the results for probing container readiness/livenss
type Result string
const (
// Success Result
Success Result = "success"
// Failure Result
Failure Result = "failure"
// Unknown Result
Unknown Result = "unknown"
)