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

package testwebserver

import "k8s.io/kubernetes/test/images/agnhost/test-webserver"

Package testwebserver offers a tiny web server that serves a static file.

Index

Package Files

test-webserver.go

Variables

var CmdTestWebserver = &cobra.Command{
    Use:   "test-webserver",
    Short: "Starts a simple HTTP fileserver",
    Long:  "Starts a simple HTTP fileserver on the given --port, which serves any file specified in the URL path, if it exists.",
    Args:  cobra.MaximumNArgs(0),
    Run:   main,
}

CmdTestWebserver is used by agnhost Cobra.

Package testwebserver imports 4 packages (graph) and is imported by 2 packages. Updated 2020-01-14. Refresh now. Tools for package owners.