rest

package
v0.0.0-...-6ed6cfc Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleError

func HandleError(s *client.Schemas, t func(http.ResponseWriter, *http.Request) error) http.Handler

func NewRouter

func NewRouter() *mux.Router

Types

type BackupTarget

type BackupTarget struct {
	client.Resource
	UUID      string    `json:"uuid,omitempty"`
	Name      string    `json:"name,omitempty"`
	Type      string    `json:"type,omitempty"`
	NFSConfig NFSConfig `json:"nfsConfig,omitempty"`
}

type NFSConfig

type NFSConfig struct {
	Server       string `json:"server"`
	Share        string `json:"share"`
	MountOptions string `json:"mountOptions"`
}

Jump to

Keyboard shortcuts

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