mount

package
v0.0.0-...-bb2520b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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 Response

type Response int

Response ...

type Service

type Service int

Service ...

func (*Service) CreateMount

func (s *Service) CreateMount(req CreateRequest, resp *Response) error

CreateMount creates a systemd mount unit

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL