Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPI ¶
func NewAPI(sigChan chan os.Signal, resetNamespaceFn func(namespaces *corev1.NamespaceList) error, isReadyFn func() bool, apply chan struct{}) *http.Server
NewAPI returns the API HTTP server
func ResetNamespace ¶ added in v0.3.0
Types ¶
type HandlerAPI ¶
type HandlerAPI struct {
// contains filtered or unexported fields
}
HandlerAPI handles the API calls
Click to show internal directories.
Click to hide internal directories.