package
0.0.0-20240102114939-7365a310dcef
Repository: https://github.com/g-node/gin-valid.git
Documentation: pkg.go.dev

# Functions

DisableHook removes a hook from the server.
EnableHook creates a new hook on the server for the specific repository.
ListRepos queries the GIN server for a list of repositories owned (or accessible) by a given user and renders the page which displays the repositories and their validation status.
LoginGet renders the login form.
LoginPost logs in the user to the GIN server, storing a session token.
Logout logouts the current user.
PubValidateGet renders the one-time validation form, which allows the user to manually run a validator on a publicly accessible repository, without using a web hook.
PubValidatePost parses the POST data from the root form and calls the validator using the built-in ServiceWaiter.
Results returns the results of a previously run validation.
Root handles the root path of the service.
ShowRepo renders the repository information page where the user can enable or disable validator hooks.
Status returns the status of the latest BIDS validation for a provided gin user repository.
Validate temporarily clones a provided repository from a gin server and checks whether the content of the repository is a valid BIDS dataset.

# Structs

BidsMessages contains Errors, Warnings and Ignored messages.
BidsResultStruct is the struct to parse a full BIDS validation json.
BidsRoot contains only the root issues element.
Result is the struct containing info about a single validator run.
ResultsHistoryStruct is the struct containing references to all validations already performed.
Validationcfg is used to unmarshall a config file holding information specific for running the various validations.