kubernetes: k8s.io/kubernetes/test/images/agnhost/liveness Index | Files

package liveness

import "k8s.io/kubernetes/test/images/agnhost/liveness"

Index

Package Files

server.go

Variables

var CmdLiveness = &cobra.Command{
    Use:   "liveness",
    Short: "Starts a server that is alive for 10 seconds",
    Long:  "A simple server that is alive for 10 seconds, then reports unhealthy for the rest of its (hopefully) short existence",
    Args:  cobra.MaximumNArgs(0),
    Run:   main,
}

CmdLiveness is used by agnhost Cobra.

Package liveness imports 6 packages (graph) and is imported by 2 packages. Updated 2019-07-17. Refresh now. Tools for package owners.