Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServeCommand ¶
Types ¶
type Command ¶
type Command struct { LogLevel string TLS bool LogJSON bool DefaultImage string DefaultGitUsername string DefaultGitToken string // contains filtered or unexported fields }
func (*Command) ServeHealth ¶
func (c *Command) ServeHealth(w http.ResponseWriter, r *http.Request)
ServeHealth returns 200 when things are good
func (*Command) ServeMutatePods ¶
func (c *Command) ServeMutatePods(w http.ResponseWriter, r *http.Request)
ServeMutatePods returns an admission review with pod mutations as a json patch in the review response
Click to show internal directories.
Click to hide internal directories.