Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(port int, version string, cs kubernetes.Interface, cvCS clientset.Interface, stopCh chan struct{})
NewServer creates and starts an http server to serve alive and deployment status endpoints if server fails to start then, stop channel is closed notifying all listeners to the channel
func StaticContentHandler ¶
func StaticContentHandler(content string) http.HandlerFunc
StaticContentHandler returns a HandlerFunc that writes the given content to the response.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.