common

package
v0.9.10 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigDataRootPath

func GetConfigDataRootPath(configs map[string]string, volID string) string

GetConfigDataRootPath returns a data root path

func GetConfigEnforceProxyAccess

func GetConfigEnforceProxyAccess(configs map[string]string) bool

GetConfigEnforceProxyAccess checks if proxy access is enforced via driver config

func GetConfigMountPathWhitelist

func GetConfigMountPathWhitelist(configs map[string]string) []string

GetConfigMountPathWhitelist returns a whitelist of collections that users can mount

func IsValidClientType

func IsValidClientType(client string) bool

IsValidClientType checks if given client string is valid

Types

type ClientType

type ClientType string

ClientType is a mount client type

const (
	// IrodsFuseClientType is for iRODS FUSE
	IrodsFuseClientType ClientType = "irodsfuse"
	// WebdavClientType is for WebDav client (Davfs2)
	WebdavClientType ClientType = "webdav"
	// NfsClientType is for NFS client
	NfsClientType ClientType = "nfs"
)

mount driver (iRODS Client) types

func GetClientType

func GetClientType(params map[string]string) ClientType

GetClientType returns iRODS Client value from param map

func GetValidClientType

func GetValidClientType(client string) ClientType

GetValidClientType checks if given client string is valid

Jump to

Keyboard shortcuts

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