go-redfish/client
Kanwar Saad Bin Liaqat 1be688562a
rename github org
2019-09-19 00:06:55 +03:00
..
.openapi-generator computerSystem api support 2019-09-08 23:55:37 +03:00
api Fix eject media request object 2019-09-09 16:08:02 +03:00
docs Fix eject media request object 2019-09-09 16:08:02 +03: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 Fix eject media request object 2019-09-09 16:08:02 +03:00
client.go Update package name 2019-09-09 00:20:08 +03:00
configuration.go Update package name 2019-09-09 00:20:08 +03:00
git_push.sh rename github org 2019-09-19 00:06:55 +03:00
go.mod rename github org 2019-09-19 00:06:55 +03:00
go.sum computerSystem api support 2019-09-08 23:55:37 +03:00
model_boot_source_override_enabled.go Update package name 2019-09-09 00:20:08 +03:00
model_boot_source.go Update package name 2019-09-09 00:20:08 +03:00
model_boot.go Update package name 2019-09-09 00:20:08 +03:00
model_collection.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
model_computer_system_actions.go Update package name 2019-09-09 00:20:08 +03:00
model_computer_system_reset.go Update package name 2019-09-09 00:20:08 +03:00
model_computer_system.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
model_connected_via.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
model_health.go Update package name 2019-09-09 00:20:08 +03:00
model_id_ref.go Update package name 2019-09-09 00:20:08 +03:00
model_indicator_led.go Update package name 2019-09-09 00:20:08 +03:00
model_insert_media_request_body.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
model_manager_links.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
model_manager_type.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
model_manager.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
model_memory_summary.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
model_message.go Update package name 2019-09-09 00:20:08 +03:00
model_power_state.go Update package name 2019-09-09 00:20:08 +03:00
model_processor_summary.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
model_redfish_error_error.go Update package name 2019-09-09 00:20:08 +03:00
model_redfish_error.go Update package name 2019-09-09 00:20:08 +03:00
model_reset_request_body.go Update package name 2019-09-09 00:20:08 +03:00
model_reset_type.go Update package name 2019-09-09 00:20:08 +03:00
model_root.go Update package name 2019-09-09 00:20:08 +03:00
model_state.go Update package name 2019-09-09 00:20:08 +03:00
model_status.go Update package name 2019-09-09 00:20:08 +03:00
model_system_links.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
model_transfer_method.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
model_transfer_protocol_type.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
model_virtual_media_actions_virtual_media_eject_media.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
model_virtual_media_actions.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
model_virtual_media.go Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
README.md Fix eject media request object 2019-09-09 16:08:02 +03:00
response.go Update package name 2019-09-09 00:20:08 +03: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 EjectVirtualMedia Post /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia
DefaultApi GetManager Get /redfish/v1/Managers/{managerId}
DefaultApi GetManagerVirtualMedia Get /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}
DefaultApi GetRoot Get /redfish/v1
DefaultApi GetSystem Get /redfish/v1/Systems/{systemId}
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}

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author