kubernetes/staging/src/k8s.io/component-base/configz/configz.go

const DefaultConfigzPath

var configsGuard

var configs

type Config

// InstallHandler adds an HTTP handler on the given mux for the "/configz"
// endpoint which serves all registered ComponentConfigs in JSON format.
func InstallHandler(m mux) {}

type mux

// New creates a Config object with the given name. Each Config is registered
// with this package's "/configz" handler.
func New(name string) (*Config, error) {}

// Delete removes the named ComponentConfig from this package's "/configz"
// handler.
func Delete(name string) {}

// Set sets the ComponentConfig for this Config.
func (v *Config) Set(val interface{}

// MarshalJSON marshals the ComponentConfig as JSON data.
func (v *Config) MarshalJSON() ([]byte, error) {}

func handle(w http.ResponseWriter, r *http.Request) {}

func write(w http.ResponseWriter) error {}