kubernetes: k8s.io/kubernetes/test/images/agnhost/serve-hostname Index | Files

package servehostname

import "k8s.io/kubernetes/test/images/agnhost/serve-hostname"

Index

Package Files

serve_hostname.go

Variables

var CmdServeHostname = &cobra.Command{
    Use:   "serve-hostname",
    Short: "Serves the hostname",
    Long:  `Serves the hostname through HTTP / TCP / UDP on the given port.`,
    Args:  cobra.MaximumNArgs(0),
    Run:   main,
}

CmdServeHostname is used by agnhost Cobra.

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