mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
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:
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user