c8df18b526
Change-Id: Ic871d06b24c7a0cb26971f365fb4fe0d1056bf95 |
||
---|---|---|
.. | ||
.openapi-generator | ||
api | ||
docs | ||
.gitignore | ||
.openapi-generator-ignore | ||
.travis.yml | ||
api_default.go | ||
client.go | ||
configuration.go | ||
git_push.sh | ||
go.mod | ||
go.sum | ||
model_boot_source_override_enabled.go | ||
model_boot_source.go | ||
model_boot.go | ||
model_collection.go | ||
model_computer_system_actions.go | ||
model_computer_system_reset.go | ||
model_computer_system.go | ||
model_connected_via.go | ||
model_create_virtual_disk_request_body.go | ||
model_firmware_inventory.go | ||
model_health.go | ||
model_id_ref.go | ||
model_indicator_led.go | ||
model_inline_object.go | ||
model_insert_media_request_body.go | ||
model_manager_links.go | ||
model_manager_type.go | ||
model_manager.go | ||
model_memory_summary.go | ||
model_message.go | ||
model_payload.go | ||
model_power_state.go | ||
model_processor_summary.go | ||
model_redfish_error_error.go | ||
model_redfish_error.go | ||
model_reset_request_body.go | ||
model_reset_type.go | ||
model_root.go | ||
model_simple_update_request_body.go | ||
model_software_inventory.go | ||
model_state.go | ||
model_status.go | ||
model_system_links.go | ||
model_task_state.go | ||
model_task.go | ||
model_transfer_method.go | ||
model_transfer_protocol_type.go | ||
model_update_service_actions.go | ||
model_update_service.go | ||
model_virtual_media_actions__virtual_media_eject_media.go | ||
model_virtual_media_actions.go | ||
model_virtual_media.go | ||
model_volume_type.go | ||
README.md | ||
response.go |
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
- Boot
- BootSource
- BootSourceOverrideEnabled
- Collection
- ComputerSystem
- ComputerSystemActions
- ComputerSystemReset
- ConnectedVia
- CreateVirtualDiskRequestBody
- FirmwareInventory
- Health
- IdRef
- IndicatorLed
- InlineObject
- InsertMediaRequestBody
- Manager
- ManagerLinks
- ManagerType
- MemorySummary
- Message
- Payload
- PowerState
- ProcessorSummary
- RedfishError
- RedfishErrorError
- ResetRequestBody
- ResetType
- Root
- SimpleUpdateRequestBody
- SoftwareInventory
- State
- Status
- SystemLinks
- Task
- TaskState
- TransferMethod
- TransferProtocolType
- UpdateService
- UpdateServiceActions
- VirtualMedia
- VirtualMediaActions
- VirtualMediaActionsVirtualMediaEjectMedia
- VolumeType
Documentation For Authorization
Endpoints do not require authorization.