Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

zededa/zedcloud-api

Open more actions menu

Repository files navigation

[DEPRECATED] github.com/zededa/zedcloud-api

This is no longer supported, please use https://github.com/zededa/terraform-provider-zedcloud instead.

zedcloud-api provides the open source API for zedcontrol (zedcloud). Currently, it provides a Go-Lang API. Support for API for Python and other languages can be added as needed.

API Swagger files are downloaded from zedcontrol. Go-Lang API is then generated using quay.io/goswagger/swagger generate client command. make in the root directory downloads the swagger files and generates the corresponding GO API - swagger_models and swagger_client.

  1. swagger_models
    • This directory has the generated Go structures for all API structs.
  2. swagger_client
    • This directory the corresponding generated Client wrapper.
  3. client.go
    • This file provides a wrapper Client object to interact with zedcloud. The Client has CSREF support.
  4. zedcloud_client
    • This has a sample Go-lang CLI client utility that uses the zedcloud-api. This is a tool mainly intended to serve as an example for using the API. Also used to manually test any changes to the API.
    • Do make client from zedcloud-api directory to build zedcloud_client
    • zedcloud_client/zedcloud_client -h for more info on using zedcloud_client.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

Morty Proxy This is a proxified and sanitized view of the page, visit original site.