go-redfish/client/README.md
2019-09-09 16:08:02 +03:00

93 lines
3.8 KiB
Markdown

# Go API client for client
Partial Redfish OAPI specification for a limited client
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) 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:
```shell
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:
```golang
import "./client"
```
## Documentation for API Endpoints
All URIs are relative to *http://localhost*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**EjectVirtualMedia**](docs/DefaultApi.md#ejectvirtualmedia) | **Post** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia |
*DefaultApi* | [**GetManager**](docs/DefaultApi.md#getmanager) | **Get** /redfish/v1/Managers/{managerId} |
*DefaultApi* | [**GetManagerVirtualMedia**](docs/DefaultApi.md#getmanagervirtualmedia) | **Get** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId} |
*DefaultApi* | [**GetRoot**](docs/DefaultApi.md#getroot) | **Get** /redfish/v1 |
*DefaultApi* | [**GetSystem**](docs/DefaultApi.md#getsystem) | **Get** /redfish/v1/Systems/{systemId} |
*DefaultApi* | [**InsertVirtualMedia**](docs/DefaultApi.md#insertvirtualmedia) | **Post** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.InsertMedia |
*DefaultApi* | [**ListManagerVirtualMedia**](docs/DefaultApi.md#listmanagervirtualmedia) | **Get** /redfish/v1/Managers/{managerId}/VirtualMedia |
*DefaultApi* | [**ListManagers**](docs/DefaultApi.md#listmanagers) | **Get** /redfish/v1/Managers |
*DefaultApi* | [**ListSystems**](docs/DefaultApi.md#listsystems) | **Get** /redfish/v1/Systems |
*DefaultApi* | [**ResetSystem**](docs/DefaultApi.md#resetsystem) | **Post** /redfish/v1/Systems/{ComputerSystemId}/Actions/ComputerSystem.Reset |
*DefaultApi* | [**SetSystem**](docs/DefaultApi.md#setsystem) | **Patch** /redfish/v1/Systems/{systemId} |
## Documentation For Models
- [Boot](docs/Boot.md)
- [BootSource](docs/BootSource.md)
- [BootSourceOverrideEnabled](docs/BootSourceOverrideEnabled.md)
- [Collection](docs/Collection.md)
- [ComputerSystem](docs/ComputerSystem.md)
- [ComputerSystemActions](docs/ComputerSystemActions.md)
- [ComputerSystemReset](docs/ComputerSystemReset.md)
- [ConnectedVia](docs/ConnectedVia.md)
- [Health](docs/Health.md)
- [IdRef](docs/IdRef.md)
- [IndicatorLed](docs/IndicatorLed.md)
- [InsertMediaRequestBody](docs/InsertMediaRequestBody.md)
- [Manager](docs/Manager.md)
- [ManagerLinks](docs/ManagerLinks.md)
- [ManagerType](docs/ManagerType.md)
- [MemorySummary](docs/MemorySummary.md)
- [Message](docs/Message.md)
- [PowerState](docs/PowerState.md)
- [ProcessorSummary](docs/ProcessorSummary.md)
- [RedfishError](docs/RedfishError.md)
- [RedfishErrorError](docs/RedfishErrorError.md)
- [ResetRequestBody](docs/ResetRequestBody.md)
- [ResetType](docs/ResetType.md)
- [Root](docs/Root.md)
- [State](docs/State.md)
- [Status](docs/Status.md)
- [SystemLinks](docs/SystemLinks.md)
- [TransferMethod](docs/TransferMethod.md)
- [TransferProtocolType](docs/TransferProtocolType.md)
- [VirtualMedia](docs/VirtualMedia.md)
- [VirtualMediaActions](docs/VirtualMediaActions.md)
- [VirtualMediaActionsVirtualMediaEjectMedia](docs/VirtualMediaActionsVirtualMediaEjectMedia.md)
## Documentation For Authorization
Endpoints do not require authorization.
## Author