dr

package
v0.0.0-...-3c86364 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const KeyFilesystem = int8(0)

Variables

This section is empty.

Functions

func NewAccount

func NewAccount(config Config) (*types.IRODSAccount, error)

func NewFileSystem

func NewFileSystem(appName string, config Config) (*fs.FileSystem, error)

func NewProxyAccount

func NewProxyAccount(config Config, user string) (*types.IRODSAccount, error)

Types

type Config

type Config struct {
	IrodsHost           string
	IrodsPort           int
	IrodsZone           string
	IrodsUser           string
	IrodsPass           string
	IrodsAuthScheme     string
	IrodsSslCacert      string
	IrodsSslKeysize     int
	IrodsSslAlgorithm   string
	IrodsSslSaltSize    int
	IrodsHashRounds     int
	OrganisationalUnits []ServiceAccount
}

func (Config) AuthSchemeType

func (c Config) AuthSchemeType() types.AuthScheme

type ServiceAccount

type ServiceAccount struct {
	Name      string
	IrodsUser string
	IrodsPass string
}

Jump to

Keyboard shortcuts

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