https://github.com/rettetdemdativ/folderauth
Go package for the Folder authorization plugin in Jenkins (https://plugins.jenkins.io/folder-auth/)
https://github.com/rettetdemdativ/folderauth
api authorization-strategy golang jenkins jenkins-plugin
Last synced: 3 months ago
JSON representation
Go package for the Folder authorization plugin in Jenkins (https://plugins.jenkins.io/folder-auth/)
- Host: GitHub
- URL: https://github.com/rettetdemdativ/folderauth
- Owner: rettetdemdativ
- Created: 2020-03-04T17:20:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-21T14:14:23.000Z (about 5 years ago)
- Last Synced: 2025-01-26T12:27:27.635Z (5 months ago)
- Topics: api, authorization-strategy, golang, jenkins, jenkins-plugin
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# folderauth
[](https://travis-ci.org/calmandniceperson/folderauth) [](https://goreportcard.com/report/github.com/calmandniceperson/folderauth) [](https://godoc.org/github.com/calmandniceperson/folderauth)
folderauth is a [Go](https://golang.org) package that wraps the [API](https://github.com/jenkinsci/folder-auth-plugin/blob/master/docs/rest-api.adoc) of the [Folder-based Authorization Strategy plugin](https://plugins.jenkins.io/folder-auth/) for Jenkins.
## How to install
`go get -u github.com/calmandniceperson/folderauth`
## Usage example
```go
c, err := folderauth.NewClient(hostname, username, token)
if err != nil {
return err
}// Use c here
```## License
This package is published under the [MIT License](https://opensource.org/licenses/MIT).