Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 11 days 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-21T14:14:23.000Z (almost 5 years ago)
- Last Synced: 2025-01-19T04:22:25.338Z (19 days 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
[![Build Status](https://travis-ci.org/calmandniceperson/folderauth.svg?branch=master)](https://travis-ci.org/calmandniceperson/folderauth) [![Go Report Card](https://goreportcard.com/badge/github.com/calmandniceperson/folderauth)](https://goreportcard.com/report/github.com/calmandniceperson/folderauth) [![GoDoc](https://godoc.org/github.com/calmandniceperson/folderauth?status.svg)](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).