kubernetesk8s.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

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.

Source Files

test-webserver.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
3 hours ago

Tools for package owners.