zhucan / smd-go-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go API client for smdclient

Resource for managing storage

Overview

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

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen For more information, please visit https://www.deeproute.ai/

Installation

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

import "./smdclient"

Documentation for API Endpoints

All URIs are relative to https://localhost

Class Method HTTP request Description
ActionLogsApi GetActionLog Get /action-logs/{log-id} get a action log
ActionLogsApi ListActionLogs Get /action-logs get all action logs
AddressPoolsApi CreateAddressPool Post /address-pools create an address pool
AddressPoolsApi DeleteAddressPool Delete /address-pools/{address-pool-id} delete an address pool
AddressPoolsApi GetAddressPool Get /address-pools/{address-pool-id} get an address pool
AddressPoolsApi ListAddressPools Get /address-pools list all address pools
BlockVolumeSnapshotsApi GetBlockVolumeSnapshot Get /block-volume-snapshots/{snapshot-id} get a snapshot of block volume
BlockVolumeSnapshotsApi ListBlockVolumeSnapshots Get /block-volume-snapshots list all snapshots of block volume
BlockVolumesApi GetVolume Get /block-volumes/{volume-id} get an volume
BlockVolumesApi ListVolumes Get /block-volumes get all volumes
CephClustersApi CreateCephCluster Post /ceph-clusters create ceph cluster
CephClustersApi DeleteCephCluster Delete /ceph-clusters/{ceph-cluster-id} delete ceph cluster
CephClustersApi GetCephCluster Get /ceph-clusters/{ceph-cluster-id} get ceph cluster
CephClustersApi ListCephClusters Get /ceph-clusters get all ceph cluster
CephFilesystemsApi CreateCephFilesystem Post /ceph-filesystems create a ceph filesystem
CephFilesystemsApi DeleteCephFilesystem Delete /ceph-filesystems/{cephfs-id} delete a ceph filesystem
CephFilesystemsApi GetCephFilesystem Get /ceph-filesystems/{cephfs-id} get a ceph filesystem
CephFilesystemsApi ListCephFilesystems Get /ceph-filesystems get all ceph filesystems
CephNfsApi CreateCephNFS Post /ceph-nfs create an ceph nfs
CephNfsApi DeleteCephNFS Delete /ceph-nfs/{ceph-nfs-id} delete an ceph nfs
CephNfsApi GetCephNFS Get /ceph-nfs/{ceph-nfs-id} get an ceph nfs
CephNfsApi ListCephNFSes Get /ceph-nfs get all ceph nfs
CephNfsExportsApi CreateCephNFSExport Post /ceph-nfs-exports create ceph nfs export
CephNfsExportsApi DeleteCephNFSExport Delete /ceph-nfs-exports/{ceph-nfs-export-id} delete a ceph nfs export
CephNfsExportsApi GetCephNFSExport Get /ceph-nfs-exports/{ceph-nfs-export-id} get a ceph nfs export
CephNfsExportsApi ListCephNFSExports Get /ceph-nfs-exports get all ceph nfs exports
CephfsSubvolumegroupsApi CreateCephfsSubvolumeGroup Post /cephfs-subvolumegroups create cephfs subvolumegroup
CephfsSubvolumegroupsApi DeleteCephfsSubvolumeGroup Delete /cephfs-subvolumegroups/{cephfs-subvolumegroup-id} delete a cephfs subvolumegroup
CephfsSubvolumegroupsApi GetCephfsSubvolumeGroup Get /cephfs-subvolumegroups/{cephfs-subvolumegroup-id} get a cephfs subvolumegroup
CephfsSubvolumegroupsApi ListCephfsSubvolumeGroups Get /cephfs-subvolumegroups get all cephfs subvolumegroups
CephfsSubvolumesApi CreateCephfsSubvolume Post /cephfs-subvolumes create cephfs subvolume
CephfsSubvolumesApi DeleteCephfsSubvolume Delete /cephfs-subvolumes/{cephfs-subvolume-id} delete a cephfs subvolume
CephfsSubvolumesApi GetCephfsSubvolume Get /cephfs-subvolumes/{cephfs-subvolume-id} get a cephfs subvolume
CephfsSubvolumesApi ListCephfsSubvolumes Get /cephfs-subvolumes get all cephfs subvolumes
CephfsSubvolumesApi ResizeCephfsSubvolume Post /cephfs-subvolumes/{cephfs-subvolume-id}:resize resize a cephfs subvolume
CrushRootsApi AddOsdsToCrushRoot Post /crush-roots/{crush-root-id}:addOsds add osds to crush root
CrushRootsApi CreateCrushRoot Post /crush-roots create crush root
CrushRootsApi DeleteCrushRoot Delete /crush-roots/{crush-root-id} delete a crush root
CrushRootsApi GetCrushRoot Get /crush-roots/{crush-root-id} get a crush root
CrushRootsApi ListCrushRoots Get /crush-roots get all crush roots
CrushRootsApi RemoveOsdsFromCrushRoot Post /crush-roots/:removeOsds remove osds from crush root
DisksApi GetDisk Get /disks/{disk-id} get a disk
DisksApi ListDisks Get /disks get all disks
HostsApi CreateHost Post /hosts create a host
HostsApi DeleteHost Delete /hosts/{host-id} delete a host
HostsApi GetHost Get /hosts/{host-id} get a host
HostsApi ListHosts Get /hosts get all hosts
NfsGatewaysApi GetNFSGateway Get /nfs-gateways/{nfs-gateway-id} get a nfs gateway
NfsGatewaysApi ListNFSGateways Get /nfs-gateways list all nfs gateways
ObjectBucketsApi CreateObjectBucket Post /object-buckets create an object bucket
ObjectBucketsApi DeleteObjectBucket Delete /object-buckets/{object-bucket-id} delete an object bucket
ObjectBucketsApi GetObjectBucket Get /object-buckets/{object-bucket-id} get an object bucket
ObjectBucketsApi ListObjectBuckets Get /object-buckets get all object buckets
ObjectGatewaysApi GetObjectGateway Get /object-gateways/{object-gateway-id} get an object gateway
ObjectGatewaysApi ListObjectGateways Get /object-gateways list all object gateways
ObjectStorageClassesApi CreateObjectStorageClass Post /object-storage-classes create an object storage class
ObjectStorageClassesApi DeleteObjectStorageClass Delete /object-storage-classes/{object-storage-class-id} delete an object storage class
ObjectStorageClassesApi GetObjectStorageClass Get /object-storage-classes/{object-storage-class-id} get an object storage classs
ObjectStorageClassesApi ListObjectStorageClasses Get /object-storage-classes get all object storage classes
ObjectStoresApi CreateObjectStore Post /object-stores create an object store
ObjectStoresApi DeleteObjectStore Delete /object-stores/{object-store-id} delete an object store
ObjectStoresApi GetObjectStore Get /object-stores/{object-store-id} get an object store
ObjectStoresApi ListObjectStores Get /object-stores get all object stores
ObjectStoresApi UpdateObjectStore Post /object-stores/{object-store-id} Update ceph object store
OsUserApi CreateOsUser Post /os-users create os user
OsUserApi DeleteOsUser Delete /os-users/{os-user-id} delete os user
OsUserApi GetOsUser Get /os-users/{os-user-id} get an os user
OsUserApi ListOsUsers Get /os-users list all kind of os users
OsUserApi UpdateOsUser Post /os-users/{os-user-id} update os user
OsdsApi CreateOsds Post /osds create osds
OsdsApi DeleteOsds Delete /osds delete osds from specific ceph cluster
OsdsApi GetOsd Get /osds/{osd-id} get a osd
OsdsApi ListOsds Get /osds get all osds
OsdsApi UpdateOsd Post /osds/{osd-id} Update osd
PoolsApi CreatePool Post /pools create a pool
PoolsApi DeletePool Delete /pools/{pool-id} delete a pool
PoolsApi GetPool Get /pools/{pool-id} get a pool
PoolsApi ListPools Get /pools get all pools

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

canzhu@deeproute.ai

About


Languages

Language:Go 99.5%Language:Shell 0.5%