Skip to content

Commit

Permalink
initial commit: changes for v0.0.1
Browse files Browse the repository at this point in the history
- Added initial VBR SDK files

Signed-off-by: Chris Arceneaux <[email protected]>
  • Loading branch information
carceneaux committed Apr 16, 2021
1 parent d6f5726 commit eb34aae
Show file tree
Hide file tree
Showing 982 changed files with 265,079 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Please note we have a [Code of Conduct](#code-of-conduct). Please follow it in a

## Report Bugs/Feature Requests using the Github Issue Tracker

We use GitHub's Issue Tracker to track bugs/feature Requests. Report a bug or feature request by [opening a new issue](https://github.com/VeeamHub/{repo-name}/issues/new/choose). It's that easy!
We use GitHub's Issue Tracker to track bugs/feature Requests. Report a bug or feature request by [opening a new issue](https://github.com/VeeamHub/veeam-vbr-sdk-go/issues/new/choose). It's that easy!

## License

Expand Down
46 changes: 46 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
all: generate dependency

# Removes currently generated client files
cleanup:
@echo "Removing current client files"
rm -rf models client

# Validating Swagger spec
#
# https://goswagger.io/usage/validate.html
validate:
@echo "Validating Swagger spec"
swagger validate ./swagger.yml

# Generating API client
#
# https://goswagger.io/generate/server.html
# https://goswagger.io/generate/client.html
generate: cleanup validate
@echo "Generating API client"
# swagger generate server \
--skip-validation \
--exclude-main \
--target=./ \
--spec=./swagger.yml \
--name=veeam_vbr
swagger generate client \
--skip-validation \
--spec=./swagger.yml \
--name=veeam_vbr

# Adding new dependencies
dependency:
@echo "Adding new dependencies"
go mod tidy
go mod vendor

build:
@echo "Building Go module"
go build ./...

test:
@echo "Testing Go module"
go test ./...

.PHONY: all cleanup validate generate dependency build test
18 changes: 5 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
# VeeamHub Repository Template
# Unofficial Veeam Backup & Replication SDK for Go

Here are instructions on how to use this template:
This repository contains a Golang SDK for the new Veeam Backup & Replication v11 RESTful API. This SDK was generated using [go-swagger](https://github.com/go-swagger/go-swagger).

* Navigate to the [main page of this repository](https://github.com/VeeamHub/veeamhub-template)
* Follow instructions for [creating a repository from a template](https://help.github.com/en/articles/creating-a-repository-from-a-template)
* _Repository names **must** have the prefix:_ **veeam-**
* Example: _veeam-repo-name_
* Replace **all** repository-specific links
* `issues` link in _README.md_
* `create an issue` link in _README.md_
* `opening a new issue` link in _CONTRIBUTING.md_
* Remove the instructions from this section and replace it with information describing this repository.
As such, any API call in the [Veeam Backup & Replication v11 REST API](https://helpcenter.veeam.com/docs/backup/vbr_rest/overview.html?ver=110) is present in this SDK.

## 📗 Documentation

_Place documentation or links to documentation here._

## ✍ Contributions

We welcome contributions from the community! We encourage you to create [issues](https://github.com/VeeamHub/{repo-name}/issues/new/choose) for Bugs & Feature Requests and submit Pull Requests. For more detailed information, refer to our [Contributing Guide](CONTRIBUTING.md).
We welcome contributions from the community! We encourage you to create [issues](https://github.com/VeeamHub/veeam-vbr-sdk-go/issues/new/choose) for Bugs & Feature Requests and submit Pull Requests. For more detailed information, refer to our [Contributing Guide](CONTRIBUTING.md).

## 🤝🏾 License

* [MIT License](LICENSE)

## 🤔 Questions

If you have any questions or something is unclear, please don't hesitate to [create an issue](https://github.com/VeeamHub/{repo-name}/issues/new/choose) and let us know!
If you have any questions or something is unclear, please don't hesitate to [create an issue](https://github.com/VeeamHub/veeam-vbr-sdk-go/issues/new/choose) and let us know!
Loading

0 comments on commit eb34aae

Please sign in to comment.