Documentation ¶
Index ¶
- func NewMux(config *crcConfig.Config, machine machine.Client, logger Logger, ...) http.Handler
- type Handler
- func (h *Handler) Delete(c *context) error
- func (h *Handler) GetConfig(c *context) error
- func (h *Handler) GetVersion(c *context) error
- func (h *Handler) GetWebconsoleInfo(c *context) error
- func (h *Handler) Logs(c *context) error
- func (h *Handler) PowerOff(c *context) error
- func (h *Handler) SetConfig(c *context) error
- func (h *Handler) Start(c *context) error
- func (h *Handler) Status(c *context) error
- func (h *Handler) Stop(c *context) error
- func (h *Handler) UnsetConfig(c *context) error
- func (h *Handler) UploadTelemetry(c *context) error
- type Logger
- type Telemetry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶ added in v1.20.0
type Handler struct { Logger Logger Client machine.Client Config *crcConfig.Config Telemetry Telemetry }
func NewHandler ¶ added in v1.24.0
func (*Handler) GetVersion ¶ added in v1.20.0
func (*Handler) GetWebconsoleInfo ¶ added in v1.20.0
func (*Handler) UnsetConfig ¶ added in v1.20.0
func (*Handler) UploadTelemetry ¶ added in v1.26.0
Click to show internal directories.
Click to hide internal directories.