storage_eos

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opt *Options) (api.Storage, error)

Types

type Options

type Options struct {
	// Namespace for path operations
	Namespace string `json:"namespace"`

	Logger *zap.Logger

	// Location of the eos binary.
	// Default is /usr/bin/eos.
	EosBinary string `json:"eos_binary"`

	// Location of the xrdcopy binary.
	// Default is /usr/bin/xrdcopy.
	XrdcopyBinary string `json:"xrdcopy_binary"`

	// URL of the Master EOS MGM.
	// Default is root://eos-test.org
	MasterURL string `json:"master_url"`

	// URL of the Slave EOS MGM.
	// Default is root://eos-test.org
	SlaveURL string `json:"slave_url"`

	// Location on the local fs where to store reads.
	// Defaults to os.TempDir()
	CacheDirectory string `json:"cache_directory"`

	// Enables logging of the commands executed
	// Defaults to false
	EnableLogging bool `json:"enable_logging"`

	// ShowHiddenSysFiles shows internal EOS files like
	// .sys.v# and .sys.a# files.
	ShowHiddenSysFiles bool `json:"show_hidden_sys_files"`

	// ForceReadOnly does not allow writes into the storage.
	ForceReadOnly bool `json:"force_read_only"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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