go-redfish/client
Manoj Alva c8df18b526 Added GetTaskList API
Change-Id: Ic871d06b24c7a0cb26971f365fb4fe0d1056bf95
2020-06-25 12:34:56 -05:00
..
.openapi-generator Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
api Added GetTaskList API 2020-06-25 12:34:56 -05:00
docs Added GetTaskList API 2020-06-25 12:34:56 -05:00
.gitignore computerSystem api support 2019-09-08 23:55:37 +03:00
.openapi-generator-ignore computerSystem api support 2019-09-08 23:55:37 +03:00
.travis.yml computerSystem api support 2019-09-08 23:55:37 +03:00
api_default.go Added GetTaskList API 2020-06-25 12:34:56 -05:00
client.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
configuration.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
git_push.sh Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
go.mod Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
go.sum Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_boot_source_override_enabled.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_boot_source.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_boot.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_collection.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_computer_system_actions.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_computer_system_reset.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_computer_system.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_connected_via.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_create_virtual_disk_request_body.go Support for Additional Redfish APIs 2020-04-24 18:08:47 +00:00
model_firmware_inventory.go Support for Additional Redfish APIs 2020-04-24 18:08:47 +00:00
model_health.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_id_ref.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_indicator_led.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_inline_object.go Support for Additional Redfish APIs 2020-04-24 18:08:47 +00:00
model_insert_media_request_body.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_manager_links.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_manager_type.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_manager.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_memory_summary.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_message.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_payload.go Support for Additional Redfish APIs 2020-04-24 18:08:47 +00:00
model_power_state.go Wrap On/Off values with quotes 2020-03-18 14:37:38 +04:00
model_processor_summary.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_redfish_error_error.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_redfish_error.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_reset_request_body.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_reset_type.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_root.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_simple_update_request_body.go Support for Additional Redfish APIs 2020-04-24 18:08:47 +00:00
model_software_inventory.go Added GetTaskList API 2020-06-25 12:34:56 -05:00
model_state.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_status.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_system_links.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_task_state.go Support for Additional Redfish APIs 2020-04-24 18:08:47 +00:00
model_task.go Added GetTaskList API 2020-06-25 12:34:56 -05:00
model_transfer_method.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_transfer_protocol_type.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_update_service_actions.go Support for Additional Redfish APIs 2020-04-24 18:08:47 +00:00
model_update_service.go Support for Additional Redfish APIs 2020-04-24 18:08:47 +00:00
model_virtual_media_actions__virtual_media_eject_media.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_virtual_media_actions.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_virtual_media.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00
model_volume_type.go Support for Additional Redfish APIs 2020-04-24 18:08:47 +00:00
README.md Added GetTaskList API 2020-06-25 12:34:56 -05:00
response.go Regenerated code using openapi-generator 4.2.2 2020-01-10 18:53:05 +00:00

Go API client for client

Partial Redfish OAPI specification for a limited client

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 0.0.1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional

Put the package under your project folder and add the following in import:

import "./client"

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DefaultApi CreateVirtualDisk Post /redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageControllerId}/Volumes
DefaultApi DeleteVirtualdisk Delete /redfish/v1/Systems/{ComputerSystemId}/Storage/Volumes/{StorageId}
DefaultApi EjectVirtualMedia Post /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia
DefaultApi FirmwareInventory Get /redfish/v1/UpdateService/FirmwareInventory
DefaultApi FirmwareInventoryDownloadImage Post /redfish/v1/UpdateService/FirmwareInventory
DefaultApi GetManager Get /redfish/v1/Managers/{managerId}
DefaultApi GetManagerVirtualMedia Get /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}
DefaultApi GetRoot Get /redfish/v1
DefaultApi GetSoftwareInventory Get /redfish/v1/UpdateService/FirmwareInventory/{softwareId}
DefaultApi GetSystem Get /redfish/v1/Systems/{systemId}
DefaultApi GetTask Get /redfish/v1/TaskService/Tasks/{taskId}
DefaultApi GetTaskList Get /redfish/v1/TaskService/Tasks
DefaultApi GetVolumes Get /redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageControllerId}/Volumes
DefaultApi InsertVirtualMedia Post /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.InsertMedia
DefaultApi ListManagerVirtualMedia Get /redfish/v1/Managers/{managerId}/VirtualMedia
DefaultApi ListManagers Get /redfish/v1/Managers
DefaultApi ListSystems Get /redfish/v1/Systems
DefaultApi ResetSystem Post /redfish/v1/Systems/{ComputerSystemId}/Actions/ComputerSystem.Reset
DefaultApi SetSystem Patch /redfish/v1/Systems/{systemId}
DefaultApi UpdateService Get /redfish/v1/UpdateService
DefaultApi UpdateServiceSimpleUpdate Post /redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author