pouch

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

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ConfigFile represents the config file of pouchd
	ConfigFile = "/etc/pouch/config.json"
	// SocketAddr represents the socket address of pouchd
	SocketAddr = "/var/run/pouchd.sock"
)

Functions

func ChangeHomeDir

func ChangeHomeDir(homeDir string) error

ChangeHomeDir change home directory of pouchd service.

func InstallPouchService

func InstallPouchService(pouchRpmPath string) error

InstallPouchService install pouch rpm and wait the poucd to serve

func NewPouchClient

func NewPouchClient(host string) (client.CommonAPIClient, error)

NewPouchClient create a client of pouchd.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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