Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 2.17 KB

File metadata and controls

62 lines (46 loc) · 2.17 KB

conoha-api-go-client English

Build Status Coverage Status Go Documentation Go Report Card

conoha-api-go-client は ConoHa の API を使用するためのクライアントです。

ConoHa の API を簡単に使用するための CLI も同梱されています。

CLI

インストール

Releases から最新のバージョンをダウンロードしてください。

設定ファイルを設置

$ cat ~/.conoha-api-go-client.conf
service_url:
  identity: https://identity.xxxx.conoha.io
  account: https://account.xxxx.conoha.io
  compute: https://compute.xxxx.conoha.io
  block_storage: https://block-storage.xxxx.conoha.io
  image: https://image-service.xxxx.conoha.io
  network: https://networking.xxxx.conoha.io
  object_storage: https://object-storage.xxxx.conoha.io
  database: https://database-hosting.xxxx.conoha.io
  dns: https://dns-service.xxxx.conoha.io
  mail: https://mail-hosting.xxxx.conoha.io
user:
  username: YOUR_USERNAME
  password: YOUR_PASSWORD
  tenant_id: YOUR_TENANT_ID

アクセストークンの取得

$ conoha token
xxxxxtokenwillbeherexxxxx

ライブラリ

GoDoc を参照してください。

コントリビュート

CONTRIBUTING.md を参照してください。