Documentation
¶
Index ¶
- Variables
- func Home(client linode.Client, services *systemd.ServiceFactory, log *slog.Logger) echo.HandlerFunc
- type Linode
- type LinodeParams
- type Systemd
- func (controller *Systemd) Disable(c echo.Context) error
- func (controller *Systemd) Enable(c echo.Context) error
- func (controller *Systemd) Restart(c echo.Context) error
- func (controller *Systemd) SSE(c echo.Context) error
- func (controller *Systemd) Start(c echo.Context) error
- func (controller *Systemd) Stop(c echo.Context) error
- type SystemdParams
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInstanceNotFound = errors.New("systemd unit instance not found")
)
Functions ¶
Types ¶
type Linode ¶
type Linode struct {
// contains filtered or unexported fields
}
func NewLinode ¶
func NewLinode(p LinodeParams) *Linode
type LinodeParams ¶
type Systemd ¶
type Systemd struct {
// contains filtered or unexported fields
}
func NewSystemd ¶
func NewSystemd(p SystemdParams) *Systemd
type SystemdParams ¶
Click to show internal directories.
Click to hide internal directories.