Documentation ¶
Index ¶
- func NewMux(config crcConfig.Storage, machine machine.Client, logger Logger, ...) http.Handler
- type AdaptedClient
- type Adapter
- func (a *Adapter) Delete() client.Result
- func (a *Adapter) GetConsoleURL() client.ConsoleResult
- func (a *Adapter) PowerOff() client.Result
- func (a *Adapter) Start(ctx context.Context, startConfig types.StartConfig) client.StartResult
- func (a *Adapter) Status() client.ClusterStatusResult
- func (a *Adapter) Stop() client.Result
- type Handler
- func (h *Handler) Delete() string
- func (h *Handler) GetConfig(args json.RawMessage) string
- func (h *Handler) GetVersion() string
- func (h *Handler) GetWebconsoleInfo() string
- func (h *Handler) Logs() string
- func (h *Handler) PowerOff() string
- func (h *Handler) SetConfig(args json.RawMessage) string
- func (h *Handler) Start(args json.RawMessage) string
- func (h *Handler) Status() string
- func (h *Handler) Stop() string
- func (h *Handler) UnsetConfig(args json.RawMessage) string
- func (h *Handler) UploadTelemetry(args json.RawMessage) string
- type Logger
- type Server
- type Telemetry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdaptedClient ¶ added in v1.20.0
type AdaptedClient interface { Delete() client.Result GetConsoleURL() client.ConsoleResult Start(ctx context.Context, startConfig types.StartConfig) client.StartResult Status() client.ClusterStatusResult Stop() client.Result PowerOff() client.Result }
type Adapter ¶ added in v1.20.0
func (*Adapter) GetConsoleURL ¶ added in v1.20.0
func (a *Adapter) GetConsoleURL() client.ConsoleResult
func (*Adapter) Start ¶ added in v1.20.0
func (a *Adapter) Start(ctx context.Context, startConfig types.StartConfig) client.StartResult
func (*Adapter) Status ¶ added in v1.20.0
func (a *Adapter) Status() client.ClusterStatusResult
type Handler ¶ added in v1.20.0
type Handler struct { Logger Logger MachineClient AdaptedClient Config crcConfig.Storage Telemetry Telemetry }
func NewHandler ¶ added in v1.24.0
func (*Handler) GetConfig ¶ added in v1.20.0
func (h *Handler) GetConfig(args json.RawMessage) string
func (*Handler) GetVersion ¶ added in v1.20.0
func (*Handler) GetWebconsoleInfo ¶ added in v1.20.0
func (*Handler) SetConfig ¶ added in v1.20.0
func (h *Handler) SetConfig(args json.RawMessage) string
func (*Handler) UnsetConfig ¶ added in v1.20.0
func (h *Handler) UnsetConfig(args json.RawMessage) string
func (*Handler) UploadTelemetry ¶ added in v1.26.0
func (h *Handler) UploadTelemetry(args json.RawMessage) string
type Server ¶ added in v1.23.0
type Server struct {
// contains filtered or unexported fields
}
func CreateServer ¶ added in v1.23.0
Click to show internal directories.
Click to hide internal directories.