repoadm

package
v0.0.0-...-df9397a Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RepoRootPath defines the filesystem root path of the repository data collections.
	RepoRootPath = "/.repo"
	// RepoExportPath defines the filesystem root path of the exported repository data collections.
	RepoExportPath = "/cephfs/data/export"
	// RepoNamespace is the iRODS namespace in which organisation units of the repository are located.
	RepoNamespace = "/nl.ru.donders/di"
)

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute is the main entry point of the cluster command.

Types

type CollExport

type CollExport struct {
	Path        string   `json:"path"`
	OU          string   `json:"ou"`
	ViewersRepo []string `json:"viewersRepo"`
}

CollExport maintains a data structure for operating on a repository collection to be exported.

type Umap

type Umap struct {
	Email    string `json:"email"`
	UIDLocal string `json:"uidLocal"`
	UIDRepo  string `json:"uidRepo"`
}

Umap is the data structure maps repo username to local username. The link is the email.

Jump to

Keyboard shortcuts

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