Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MountRoutes = utils.Routes{ utils.Route{ Name: "ProcessMount", Method: "GET", Pattern: "/rest/mounts/{name}", HandlerFunc: processMount, }, }
MountRoutes lists the route for testing via REST
Functions ¶
This section is empty.
Types ¶
type CreateRequest ¶
type CreateRequest struct { Description string What string Where string Options string Lazy string }
CreateRequest ...
type Service ¶
type Service int
Service ...
func (*Service) CreateMount ¶
func (s *Service) CreateMount(req CreateRequest, resp *Response) error
CreateMount creates a systemd mount unit
Click to show internal directories.
Click to hide internal directories.