package
0.0.0-20250110162955-03939050ab24
Repository: https://github.com/boyvinall/go-ceph.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Go API client for ceph Go Reference

This is the official Ceph REST API

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: v1
  • Package version: 0.0.1
  • Generator version: 7.9.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/net/context

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

import ceph "github.com/boyvinall/go-ceph/api"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value ceph.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), ceph.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value ceph.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), ceph.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using ceph.ContextOperationServerIndices and ceph.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), ceph.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), ceph.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://ceph.example.com

ClassMethodHTTP requestDescription
AuthAPIApiAuthCheckPostPost /api/auth/checkCheck token Authentication
AuthAPIApiAuthLogoutPostPost /api/auth/logout
AuthAPIApiAuthPostPost /api/authDashboard Authentication
CephFSSnapshotScheduleAPIApiCephfsSnapshotScheduleFsGetGet /api/cephfs/snapshot/schedule/{fs}
CephFSSnapshotScheduleAPIApiCephfsSnapshotScheduleFsPathActivatePostPost /api/cephfs/snapshot/schedule/{fs}/{path}/activate
CephFSSnapshotScheduleAPIApiCephfsSnapshotScheduleFsPathDeactivatePostPost /api/cephfs/snapshot/schedule/{fs}/{path}/deactivate
CephFSSnapshotScheduleAPIApiCephfsSnapshotScheduleFsPathDeleteSnapshotDeleteDelete /api/cephfs/snapshot/schedule/{fs}/{path}/delete_snapshot
CephFSSnapshotScheduleAPIApiCephfsSnapshotScheduleFsPathPutPut /api/cephfs/snapshot/schedule/{fs}/{path}
CephFSSnapshotScheduleAPIApiCephfsSnapshotSchedulePostPost /api/cephfs/snapshot/schedule
CephFSSubvolumeAPIApiCephfsSubvolumePostPost /api/cephfs/subvolume
CephFSSubvolumeAPIApiCephfsSubvolumeVolNameDeleteDelete /api/cephfs/subvolume/{vol_name}
CephFSSubvolumeAPIApiCephfsSubvolumeVolNameExistsGetGet /api/cephfs/subvolume/{vol_name}/exists
CephFSSubvolumeAPIApiCephfsSubvolumeVolNameGetGet /api/cephfs/subvolume/{vol_name}
CephFSSubvolumeAPIApiCephfsSubvolumeVolNameInfoGetGet /api/cephfs/subvolume/{vol_name}/info
CephFSSubvolumeAPIApiCephfsSubvolumeVolNamePutPut /api/cephfs/subvolume/{vol_name}
CephfsAPIApiCephfsAuthPutPut /api/cephfs/authSet Ceph authentication capabilities for the specified user ID in the given path
CephfsAPIApiCephfsFsIdClientClientIdDeleteDelete /api/cephfs/{fs_id}/client/{client_id}
CephfsAPIApiCephfsFsIdClientsGetGet /api/cephfs/{fs_id}/clients
CephfsAPIApiCephfsFsIdGetGet /api/cephfs/{fs_id}
CephfsAPIApiCephfsFsIdGetRootDirectoryGetGet /api/cephfs/{fs_id}/get_root_directory
CephfsAPIApiCephfsFsIdLsDirGetGet /api/cephfs/{fs_id}/ls_dir
CephfsAPIApiCephfsFsIdMdsCountersGetGet /api/cephfs/{fs_id}/mds_counters
CephfsAPIApiCephfsFsIdQuotaGetGet /api/cephfs/{fs_id}/quotaGet Cephfs Quotas of the specified path
CephfsAPIApiCephfsFsIdQuotaPutPut /api/cephfs/{fs_id}/quota
CephfsAPIApiCephfsFsIdRenamePathPutPut /api/cephfs/{fs_id}/rename-path
CephfsAPIApiCephfsFsIdSnapshotDeleteDelete /api/cephfs/{fs_id}/snapshot
CephfsAPIApiCephfsFsIdSnapshotPostPost /api/cephfs/{fs_id}/snapshot
CephfsAPIApiCephfsFsIdStatfsGetGet /api/cephfs/{fs_id}/statfsGet Cephfs statfs of the specified path
CephfsAPIApiCephfsFsIdTreeDeleteDelete /api/cephfs/{fs_id}/tree
CephfsAPIApiCephfsFsIdTreePostPost /api/cephfs/{fs_id}/tree
CephfsAPIApiCephfsFsIdUnlinkDeleteDelete /api/cephfs/{fs_id}/unlink
CephfsAPIApiCephfsFsIdWriteToFilePostPost /api/cephfs/{fs_id}/write_to_file
CephfsAPIApiCephfsGetGet /api/cephfs
CephfsAPIApiCephfsPostPost /api/cephfs
CephfsAPIApiCephfsRemoveNameDeleteDelete /api/cephfs/remove/{name}Remove CephFS Volume
CephfsAPIApiCephfsRenamePutPut /api/cephfs/renameRename CephFS Volume
CephfsSnapshotCloneAPIApiCephfsSubvolumeSnapshotClonePostPost /api/cephfs/subvolume/snapshot/cloneCreate a clone of a subvolume snapshot
CephfsSubvolumeGroupAPIApiCephfsSubvolumeGroupPostPost /api/cephfs/subvolume/group
CephfsSubvolumeGroupAPIApiCephfsSubvolumeGroupVolNameDeleteDelete /api/cephfs/subvolume/group/{vol_name}
CephfsSubvolumeGroupAPIApiCephfsSubvolumeGroupVolNameGetGet /api/cephfs/subvolume/group/{vol_name}
CephfsSubvolumeGroupAPIApiCephfsSubvolumeGroupVolNameInfoGetGet /api/cephfs/subvolume/group/{vol_name}/info
CephfsSubvolumeGroupAPIApiCephfsSubvolumeGroupVolNamePutPut /api/cephfs/subvolume/group/{vol_name}
CephfsSubvolumeSnapshotAPIApiCephfsSubvolumeSnapshotPostPost /api/cephfs/subvolume/snapshot
CephfsSubvolumeSnapshotAPIApiCephfsSubvolumeSnapshotVolNameSubvolNameDeleteDelete /api/cephfs/subvolume/snapshot/{vol_name}/{subvol_name}
CephfsSubvolumeSnapshotAPIApiCephfsSubvolumeSnapshotVolNameSubvolNameGetGet /api/cephfs/subvolume/snapshot/{vol_name}/{subvol_name}
CephfsSubvolumeSnapshotAPIApiCephfsSubvolumeSnapshotVolNameSubvolNameInfoGetGet /api/cephfs/subvolume/snapshot/{vol_name}/{subvol_name}/info
ClusterAPIApiClusterGetGet /api/clusterGet the cluster status
ClusterAPIApiClusterPutPut /api/clusterUpdate the cluster status
ClusterAPIApiClusterUserExportPostPost /api/cluster/user/exportExport Ceph Users
ClusterAPIApiClusterUserGetGet /api/cluster/userGet list of ceph users
ClusterAPIApiClusterUserPostPost /api/cluster/userCreate Ceph User
ClusterAPIApiClusterUserPutPut /api/cluster/userEdit Ceph User Capabilities
ClusterAPIApiClusterUserUserEntityDeleteDelete /api/cluster/user/{user_entity}Delete Ceph User
ClusterConfigurationAPIApiClusterConfFilterGetGet /api/cluster_conf/filterGet Cluster Configuration by name
ClusterConfigurationAPIApiClusterConfGetGet /api/cluster_conf
ClusterConfigurationAPIApiClusterConfNameDeleteDelete /api/cluster_conf/{name}
ClusterConfigurationAPIApiClusterConfNameGetGet /api/cluster_conf/{name}
ClusterConfigurationAPIApiClusterConfPostPost /api/cluster_conf
ClusterConfigurationAPIApiClusterConfPutPut /api/cluster_conf
CrushRuleAPIApiCrushRuleGetGet /api/crush_ruleList Crush Rule Configuration
CrushRuleAPIApiCrushRuleNameDeleteDelete /api/crush_rule/{name}
CrushRuleAPIApiCrushRuleNameGetGet /api/crush_rule/{name}
CrushRuleAPIApiCrushRulePostPost /api/crush_rule
DaemonAPIApiDaemonDaemonNamePutPut /api/daemon/{daemon_name}
DaemonAPIApiDaemonGetGet /api/daemon
ErasureCodeProfileAPIApiErasureCodeProfileGetGet /api/erasure_code_profileList Erasure Code Profile Information
ErasureCodeProfileAPIApiErasureCodeProfileNameDeleteDelete /api/erasure_code_profile/{name}
ErasureCodeProfileAPIApiErasureCodeProfileNameGetGet /api/erasure_code_profile/{name}
ErasureCodeProfileAPIApiErasureCodeProfilePostPost /api/erasure_code_profile
FeatureTogglesEndpointAPIApiFeatureTogglesGetGet /api/feature_togglesGet List Of Features
GrafanaAPIApiGrafanaDashboardsPostPost /api/grafana/dashboards
GrafanaAPIApiGrafanaUrlGetGet /api/grafana/urlList Grafana URL Instance
GrafanaAPIApiGrafanaValidationParamsGetGet /api/grafana/validation/{params}
HardwareAPIApiHardwareSummaryGetGet /api/hardware/summaryRetrieve a summary of the hardware health status
HealthAPIApiHealthFullGetGet /api/health/full
HealthAPIApiHealthGetClusterCapacityGetGet /api/health/get_cluster_capacity
HealthAPIApiHealthGetClusterFsidGetGet /api/health/get_cluster_fsid
HealthAPIApiHealthGetTelemetryStatusGetGet /api/health/get_telemetry_status
HealthAPIApiHealthMinimalGetGet /api/health/minimalGet Cluster's minimal health report
HostAPIApiHostGetGet /api/hostList Host Specifications
HostAPIApiHostHostnameDaemonsGetGet /api/host/{hostname}/daemons
HostAPIApiHostHostnameDeleteDelete /api/host/{hostname}
HostAPIApiHostHostnameDevicesGetGet /api/host/{hostname}/devices
HostAPIApiHostHostnameGetGet /api/host/{hostname}
HostAPIApiHostHostnameIdentifyDevicePostPost /api/host/{hostname}/identify_device
HostAPIApiHostHostnameInventoryGetGet /api/host/{hostname}/inventoryGet inventory of a host
HostAPIApiHostHostnamePutPut /api/host/{hostname}
HostAPIApiHostHostnameSmartGetGet /api/host/{hostname}/smart
HostAPIApiHostPostPost /api/host
IscsiAPIApiIscsiDiscoveryauthGetGet /api/iscsi/discoveryauthGet Iscsi discoveryauth Details
IscsiAPIApiIscsiDiscoveryauthPutPut /api/iscsi/discoveryauthSet Iscsi discoveryauth
IscsiTargetAPIApiIscsiTargetGetGet /api/iscsi/target
IscsiTargetAPIApiIscsiTargetPostPost /api/iscsi/target
IscsiTargetAPIApiIscsiTargetTargetIqnDeleteDelete /api/iscsi/target/{target_iqn}
IscsiTargetAPIApiIscsiTargetTargetIqnGetGet /api/iscsi/target/{target_iqn}
IscsiTargetAPIApiIscsiTargetTargetIqnPutPut /api/iscsi/target/{target_iqn}
LogsAPIApiLogsAllGetGet /api/logs/allDisplay Logs Configuration
MdsPerfCounterAPIApiPerfCountersMdsServiceIdGetGet /api/perf_counters/mds/{service_id}
MgrModuleAPIApiMgrModuleGetGet /api/mgr/moduleList Mgr modules
MgrModuleAPIApiMgrModuleModuleNameDisablePostPost /api/mgr/module/{module_name}/disable
MgrModuleAPIApiMgrModuleModuleNameEnablePostPost /api/mgr/module/{module_name}/enable
MgrModuleAPIApiMgrModuleModuleNameGetGet /api/mgr/module/{module_name}
MgrModuleAPIApiMgrModuleModuleNameOptionsGetGet /api/mgr/module/{module_name}/options
MgrModuleAPIApiMgrModuleModuleNamePutPut /api/mgr/module/{module_name}
MgrPerfCounterAPIApiPerfCountersMgrServiceIdGetGet /api/perf_counters/mgr/{service_id}
MonPerfCounterAPIApiPerfCountersMonServiceIdGetGet /api/perf_counters/mon/{service_id}
MonitorAPIApiMonitorGetGet /api/monitorGet Monitor Details
MultiClusterAPIApiMultiClusterAuthPostPost /api/multi-cluster/authAuthenticate to a remote cluster
MultiClusterAPIApiMultiClusterCheckTokenStatusGetGet /api/multi-cluster/check_token_status
MultiClusterAPIApiMultiClusterDeleteClusterClusterNameClusterUserDeleteDelete /api/multi-cluster/delete_cluster/{cluster_name}/{cluster_user}
MultiClusterAPIApiMultiClusterEditClusterPutPut /api/multi-cluster/edit_cluster
MultiClusterAPIApiMultiClusterGetConfigGetGet /api/multi-cluster/get_config
MultiClusterAPIApiMultiClusterGetPrometheusApiUrlGetGet /api/multi-cluster/get_prometheus_api_url
MultiClusterAPIApiMultiClusterReconnectClusterPutPut /api/multi-cluster/reconnect_cluster
MultiClusterAPIApiMultiClusterSecurityConfigGetGet /api/multi-cluster/security_config
MultiClusterAPIApiMultiClusterSetConfigPutPut /api/multi-cluster/set_config
NFSGaneshaAPIApiNfsGaneshaClusterGetGet /api/nfs-ganesha/cluster
NFSGaneshaAPIApiNfsGaneshaExportClusterIdExportIdDeleteDelete /api/nfs-ganesha/export/{cluster_id}/{export_id}Deletes an NFS-Ganesha export
NFSGaneshaAPIApiNfsGaneshaExportClusterIdExportIdGetGet /api/nfs-ganesha/export/{cluster_id}/{export_id}Get an NFS-Ganesha export
NFSGaneshaAPIApiNfsGaneshaExportClusterIdExportIdPutPut /api/nfs-ganesha/export/{cluster_id}/{export_id}Updates an NFS-Ganesha export
NFSGaneshaAPIApiNfsGaneshaExportGetGet /api/nfs-ganesha/exportList all NFS-Ganesha exports
NFSGaneshaAPIApiNfsGaneshaExportPostPost /api/nfs-ganesha/exportCreates a new NFS-Ganesha export
NVMeOFGatewayAPIApiNvmeofGatewayGetGet /api/nvmeof/gatewayGet information about the NVMeoF gateway
NVMeOFGatewayAPIApiNvmeofGatewayGroupGetGet /api/nvmeof/gateway/group
NVMeOFSubsystemAPIApiNvmeofSubsystemGetGet /api/nvmeof/subsystemList all NVMeoF subsystems
NVMeOFSubsystemAPIApiNvmeofSubsystemNqnDeleteDelete /api/nvmeof/subsystem/{nqn}Delete an existing NVMeoF subsystem
NVMeOFSubsystemAPIApiNvmeofSubsystemNqnGetGet /api/nvmeof/subsystem/{nqn}Get information from a specific NVMeoF subsystem
NVMeOFSubsystemAPIApiNvmeofSubsystemPostPost /api/nvmeof/subsystemCreate a new NVMeoF subsystem
NVMeOFSubsystemConnectionAPIApiNvmeofSubsystemNqnConnectionGetGet /api/nvmeof/subsystem/{nqn}/connectionList all NVMeoF Subsystem Connections
NVMeOFSubsystemHostAllowlistAPIApiNvmeofSubsystemNqnHostGetGet /api/nvmeof/subsystem/{nqn}/hostList all allowed hosts for an NVMeoF subsystem
NVMeOFSubsystemHostAllowlistAPIApiNvmeofSubsystemNqnHostHostNqnDeleteDelete /api/nvmeof/subsystem/{nqn}/host/{host_nqn}Disallow hosts from accessing an NVMeoF subsystem
NVMeOFSubsystemHostAllowlistAPIApiNvmeofSubsystemNqnHostPostPost /api/nvmeof/subsystem/{nqn}/hostAllow hosts to access an NVMeoF subsystem
NVMeOFSubsystemListenerAPIApiNvmeofSubsystemNqnListenerGetGet /api/nvmeof/subsystem/{nqn}/listenerList all NVMeoF listeners
NVMeOFSubsystemListenerAPIApiNvmeofSubsystemNqnListenerHostNameTraddrDeleteDelete /api/nvmeof/subsystem/{nqn}/listener/{host_name}/{traddr}Delete an existing NVMeoF listener
NVMeOFSubsystemListenerAPIApiNvmeofSubsystemNqnListenerPostPost /api/nvmeof/subsystem/{nqn}/listenerCreate a new NVMeoF listener
NVMeOFSubsystemNamespaceAPIApiNvmeofSubsystemNqnNamespaceGetGet /api/nvmeof/subsystem/{nqn}/namespaceList all NVMeoF namespaces in a subsystem
NVMeOFSubsystemNamespaceAPIApiNvmeofSubsystemNqnNamespaceNsidDeleteDelete /api/nvmeof/subsystem/{nqn}/namespace/{nsid}Delete an existing NVMeoF namespace
NVMeOFSubsystemNamespaceAPIApiNvmeofSubsystemNqnNamespaceNsidGetGet /api/nvmeof/subsystem/{nqn}/namespace/{nsid}Get info from specified NVMeoF namespace
NVMeOFSubsystemNamespaceAPIApiNvmeofSubsystemNqnNamespaceNsidIoStatsGetGet /api/nvmeof/subsystem/{nqn}/namespace/{nsid}/io_statsGet IO stats from specified NVMeoF namespace
NVMeOFSubsystemNamespaceAPIApiNvmeofSubsystemNqnNamespaceNsidPatchPatch /api/nvmeof/subsystem/{nqn}/namespace/{nsid}Update an existing NVMeoF namespace
NVMeOFSubsystemNamespaceAPIApiNvmeofSubsystemNqnNamespacePostPost /api/nvmeof/subsystem/{nqn}/namespaceCreate a new NVMeoF namespace
OSDAPIApiOsdFlagsGetGet /api/osd/flagsDisplay OSD Flags
OSDAPIApiOsdFlagsIndividualGetGet /api/osd/flags/individualDisplays individual OSD flags
OSDAPIApiOsdFlagsIndividualPutPut /api/osd/flags/individualSets OSD flags for a subset of individual OSDs.
OSDAPIApiOsdFlagsPutPut /api/osd/flagsSets OSD flags for the entire cluster.
OSDAPIApiOsdGetGet /api/osd
OSDAPIApiOsdPostPost /api/osd
OSDAPIApiOsdSafeToDeleteGetGet /api/osd/safe_to_delete
OSDAPIApiOsdSafeToDestroyGetGet /api/osd/safe_to_destroyCheck If OSD is Safe to Destroy
OSDAPIApiOsdSettingsGetGet /api/osd/settings
OSDAPIApiOsdSvcIdDeleteDelete /api/osd/{svc_id}
OSDAPIApiOsdSvcIdDestroyPostPost /api/osd/{svc_id}/destroy
OSDAPIApiOsdSvcIdDevicesGetGet /api/osd/{svc_id}/devices
OSDAPIApiOsdSvcIdGetGet /api/osd/{svc_id}
OSDAPIApiOsdSvcIdHistogramGetGet /api/osd/{svc_id}/histogram
OSDAPIApiOsdSvcIdMarkPutPut /api/osd/{svc_id}/markMark OSD flags (out, in, down, lost, ...)
OSDAPIApiOsdSvcIdPurgePostPost /api/osd/{svc_id}/purge
OSDAPIApiOsdSvcIdPutPut /api/osd/{svc_id}
OSDAPIApiOsdSvcIdReweightPostPost /api/osd/{svc_id}/reweight
OSDAPIApiOsdSvcIdScrubPostPost /api/osd/{svc_id}/scrub
OSDAPIApiOsdSvcIdSmartGetGet /api/osd/{svc_id}/smart
OsdPerfCounterAPIApiPerfCountersOsdServiceIdGetGet /api/perf_counters/osd/{service_id}
PerfCountersAPIApiPerfCountersGetGet /api/perf_countersDisplay Perf Counters
PoolAPIApiPoolGetGet /api/poolDisplay Pool List
PoolAPIApiPoolPoolNameConfigurationGetGet /api/pool/{pool_name}/configuration
PoolAPIApiPoolPoolNameDeleteDelete /api/pool/{pool_name}
PoolAPIApiPoolPoolNameGetGet /api/pool/{pool_name}
PoolAPIApiPoolPoolNamePutPut /api/pool/{pool_name}
PoolAPIApiPoolPostPost /api/pool
PrometheusAPIApiPrometheusAlertgroupGetGet /api/prometheus/alertgroup
PrometheusAPIApiPrometheusDataGetGet /api/prometheus/data
PrometheusAPIApiPrometheusGetGet /api/prometheus
PrometheusAPIApiPrometheusPrometheusQueryDataGetGet /api/prometheus/prometheus_query_data
PrometheusAPIApiPrometheusRulesGetGet /api/prometheus/rules
PrometheusAPIApiPrometheusSilencePostPost /api/prometheus/silence
PrometheusAPIApiPrometheusSilenceSIdDeleteDelete /api/prometheus/silence/{s_id}
PrometheusAPIApiPrometheusSilencesGetGet /api/prometheus/silences
PrometheusNotificationsAPIApiPrometheusNotificationsGetGet /api/prometheus/notifications
RGWAPIApiRgwRolesGetGet /api/rgw/rolesList RGW roles
RGWAPIApiRgwRolesPostPost /api/rgw/rolesCreate RGW role
RGWAPIApiRgwRolesPutPut /api/rgw/rolesEdit RGW role
RGWAPIApiRgwRolesRoleNameDeleteDelete /api/rgw/roles/{role_name}Delete RGW role
RbdAPIApiBlockImageCloneFormatVersionGetGet /api/block/image/clone_format_version
RbdAPIApiBlockImageDefaultFeaturesGetGet /api/block/image/default_features
RbdAPIApiBlockImageGetGet /api/block/imageDisplay Rbd Images
RbdAPIApiBlockImageImageSpecCopyPostPost /api/block/image/{image_spec}/copy
RbdAPIApiBlockImageImageSpecDeleteDelete /api/block/image/{image_spec}
RbdAPIApiBlockImageImageSpecFlattenPostPost /api/block/image/{image_spec}/flatten
RbdAPIApiBlockImageImageSpecGetGet /api/block/image/{image_spec}Get Rbd Image Info
RbdAPIApiBlockImageImageSpecMoveTrashPostPost /api/block/image/{image_spec}/move_trash
RbdAPIApiBlockImageImageSpecPutPut /api/block/image/{image_spec}
RbdAPIApiBlockImagePostPost /api/block/image
RbdMirroringAPIApiBlockMirroringSiteNameGetGet /api/block/mirroring/site_nameDisplay Rbd Mirroring sitename
RbdMirroringAPIApiBlockMirroringSiteNamePutPut /api/block/mirroring/site_name
RbdMirroringPoolBootstrapAPIApiBlockMirroringPoolPoolNameBootstrapPeerPostPost /api/block/mirroring/pool/{pool_name}/bootstrap/peer
RbdMirroringPoolBootstrapAPIApiBlockMirroringPoolPoolNameBootstrapTokenPostPost /api/block/mirroring/pool/{pool_name}/bootstrap/token
RbdMirroringPoolModeAPIApiBlockMirroringPoolPoolNameGetGet /api/block/mirroring/pool/{pool_name}Display Rbd Mirroring Summary
RbdMirroringPoolModeAPIApiBlockMirroringPoolPoolNamePutPut /api/block/mirroring/pool/{pool_name}
RbdMirroringPoolPeerAPIApiBlockMirroringPoolPoolNamePeerGetGet /api/block/mirroring/pool/{pool_name}/peer
RbdMirroringPoolPeerAPIApiBlockMirroringPoolPoolNamePeerPeerUuidDeleteDelete /api/block/mirroring/pool/{pool_name}/peer/{peer_uuid}
RbdMirroringPoolPeerAPIApiBlockMirroringPoolPoolNamePeerPeerUuidGetGet /api/block/mirroring/pool/{pool_name}/peer/{peer_uuid}
RbdMirroringPoolPeerAPIApiBlockMirroringPoolPoolNamePeerPeerUuidPutPut /api/block/mirroring/pool/{pool_name}/peer/{peer_uuid}
RbdMirroringPoolPeerAPIApiBlockMirroringPoolPoolNamePeerPostPost /api/block/mirroring/pool/{pool_name}/peer
RbdMirroringSummaryAPIApiBlockMirroringSummaryGetGet /api/block/mirroring/summaryDisplay Rbd Mirroring Summary
RbdNamespaceAPIApiBlockPoolPoolNameNamespaceGetGet /api/block/pool/{pool_name}/namespace
RbdNamespaceAPIApiBlockPoolPoolNameNamespaceNamespaceDeleteDelete /api/block/pool/{pool_name}/namespace/{namespace}
RbdNamespaceAPIApiBlockPoolPoolNameNamespacePostPost /api/block/pool/{pool_name}/namespace
RbdSnapshotAPIApiBlockImageImageSpecSnapPostPost /api/block/image/{image_spec}/snap
RbdSnapshotAPIApiBlockImageImageSpecSnapSnapshotNameClonePostPost /api/block/image/{image_spec}/snap/{snapshot_name}/clone
RbdSnapshotAPIApiBlockImageImageSpecSnapSnapshotNameDeleteDelete /api/block/image/{image_spec}/snap/{snapshot_name}
RbdSnapshotAPIApiBlockImageImageSpecSnapSnapshotNamePutPut /api/block/image/{image_spec}/snap/{snapshot_name}
RbdSnapshotAPIApiBlockImageImageSpecSnapSnapshotNameRollbackPostPost /api/block/image/{image_spec}/snap/{snapshot_name}/rollback
RbdTrashAPIApiBlockImageTrashGetGet /api/block/image/trashGet RBD Trash Details by pool name
RbdTrashAPIApiBlockImageTrashImageIdSpecDeleteDelete /api/block/image/trash/{image_id_spec}
RbdTrashAPIApiBlockImageTrashImageIdSpecRestorePostPost /api/block/image/trash/{image_id_spec}/restore
RbdTrashAPIApiBlockImageTrashPurgePostPost /api/block/image/trash/purge
ReportAPIApiFeedbackApiKeyDeleteDelete /api/feedback/api_key
ReportAPIApiFeedbackApiKeyGetGet /api/feedback/api_key
ReportAPIApiFeedbackApiKeyPostPost /api/feedback/api_key
ReportAPIApiFeedbackGetGet /api/feedback
ReportAPIApiFeedbackPostPost /api/feedback
RgwBucketAPIApiRgwBucketBucketDeleteDelete /api/rgw/bucket/{bucket}
RgwBucketAPIApiRgwBucketBucketGetGet /api/rgw/bucket/{bucket}
RgwBucketAPIApiRgwBucketBucketPutPut /api/rgw/bucket/{bucket}
RgwBucketAPIApiRgwBucketDeleteEncryptionDeleteDelete /api/rgw/bucket/deleteEncryption
RgwBucketAPIApiRgwBucketGetGet /api/rgw/bucket
RgwBucketAPIApiRgwBucketGetEncryptionConfigGetGet /api/rgw/bucket/getEncryptionConfig
RgwBucketAPIApiRgwBucketGetEncryptionGetGet /api/rgw/bucket/getEncryption
RgwBucketAPIApiRgwBucketPostPost /api/rgw/bucket
RgwBucketAPIApiRgwBucketSetEncryptionConfigPutPut /api/rgw/bucket/setEncryptionConfig
RgwDaemonAPIApiRgwDaemonGetGet /api/rgw/daemonDisplay RGW Daemons
RgwDaemonAPIApiRgwDaemonSetMultisiteConfigPutPut /api/rgw/daemon/set_multisite_config
RgwDaemonAPIApiRgwDaemonSvcIdGetGet /api/rgw/daemon/{svc_id}
RgwMirrorPerfCounterAPIApiPerfCountersRbdMirrorServiceIdGetGet /api/perf_counters/rbd-mirror/{service_id}
RgwMultisiteAPIApiRgwMultisiteSyncFlowFlowIdFlowTypeGroupIdDeleteDelete /api/rgw/multisite/sync-flow/{flow_id}/{flow_type}/{group_id}Remove the sync flow
RgwMultisiteAPIApiRgwMultisiteSyncFlowPutPut /api/rgw/multisite/sync-flowCreate or update the sync flow
RgwMultisiteAPIApiRgwMultisiteSyncPipeGroupIdPipeIdDeleteDelete /api/rgw/multisite/sync-pipe/{group_id}/{pipe_id}Remove the sync pipe
RgwMultisiteAPIApiRgwMultisiteSyncPipePutPut /api/rgw/multisite/sync-pipeCreate or update the sync pipe
RgwMultisiteAPIApiRgwMultisiteSyncPolicyGetGet /api/rgw/multisite/sync-policyGet the sync policy
RgwMultisiteAPIApiRgwMultisiteSyncPolicyGroupGroupIdDeleteDelete /api/rgw/multisite/sync-policy-group/{group_id}Remove the sync policy group
RgwMultisiteAPIApiRgwMultisiteSyncPolicyGroupGroupIdGetGet /api/rgw/multisite/sync-policy-group/{group_id}Get the sync policy group
RgwMultisiteAPIApiRgwMultisiteSyncPolicyGroupPostPost /api/rgw/multisite/sync-policy-groupCreate the sync policy group
RgwMultisiteAPIApiRgwMultisiteSyncPolicyGroupPutPut /api/rgw/multisite/sync-policy-groupUpdate the sync policy group
RgwMultisiteAPIApiRgwMultisiteSyncStatusGetGet /api/rgw/multisite/sync_statusGet the sync status
RgwPerfCounterAPIApiPerfCountersRgwServiceIdGetGet /api/perf_counters/rgw/{service_id}
RgwRealmAPIApiRgwRealmGetGet /api/rgw/realm
RgwRealmAPIApiRgwRealmGetAllRealmsInfoGetGet /api/rgw/realm/get_all_realms_info
RgwRealmAPIApiRgwRealmGetRealmTokensGetGet /api/rgw/realm/get_realm_tokens
RgwRealmAPIApiRgwRealmImportRealmTokenPostPost /api/rgw/realm/import_realm_token
RgwRealmAPIApiRgwRealmPostPost /api/rgw/realm
RgwRealmAPIApiRgwRealmRealmNameDeleteDelete /api/rgw/realm/{realm_name}
RgwRealmAPIApiRgwRealmRealmNameGetGet /api/rgw/realm/{realm_name}
RgwRealmAPIApiRgwRealmRealmNamePutPut /api/rgw/realm/{realm_name}
RgwSiteAPIApiRgwSiteGetGet /api/rgw/site
RgwUserAPIApiRgwUserGetGet /api/rgw/userDisplay RGW Users
RgwUserAPIApiRgwUserGetEmailsGetGet /api/rgw/user/get_emails
RgwUserAPIApiRgwUserPostPost /api/rgw/user
RgwUserAPIApiRgwUserUidCapabilityDeleteDelete /api/rgw/user/{uid}/capability
RgwUserAPIApiRgwUserUidCapabilityPostPost /api/rgw/user/{uid}/capability
RgwUserAPIApiRgwUserUidDeleteDelete /api/rgw/user/{uid}
RgwUserAPIApiRgwUserUidGetGet /api/rgw/user/{uid}
RgwUserAPIApiRgwUserUidKeyDeleteDelete /api/rgw/user/{uid}/key
RgwUserAPIApiRgwUserUidKeyPostPost /api/rgw/user/{uid}/key
RgwUserAPIApiRgwUserUidPutPut /api/rgw/user/{uid}
RgwUserAPIApiRgwUserUidQuotaGetGet /api/rgw/user/{uid}/quota
RgwUserAPIApiRgwUserUidQuotaPutPut /api/rgw/user/{uid}/quota
RgwUserAPIApiRgwUserUidSubuserPostPost /api/rgw/user/{uid}/subuser
RgwUserAPIApiRgwUserUidSubuserSubuserDeleteDelete /api/rgw/user/{uid}/subuser/{subuser}
RgwZoneAPIApiRgwZoneCreateSystemUserPutPut /api/rgw/zone/create_system_user
RgwZoneAPIApiRgwZoneGetGet /api/rgw/zone
RgwZoneAPIApiRgwZoneGetAllZonesInfoGetGet /api/rgw/zone/get_all_zones_info
RgwZoneAPIApiRgwZoneGetPoolNamesGetGet /api/rgw/zone/get_pool_names
RgwZoneAPIApiRgwZoneGetUserListGetGet /api/rgw/zone/get_user_list
RgwZoneAPIApiRgwZonePostPost /api/rgw/zone
RgwZoneAPIApiRgwZoneZoneNameDeleteDelete /api/rgw/zone/{zone_name}
RgwZoneAPIApiRgwZoneZoneNameGetGet /api/rgw/zone/{zone_name}
RgwZoneAPIApiRgwZoneZoneNamePutPut /api/rgw/zone/{zone_name}
RgwZonegroupAPIApiRgwZonegroupGetGet /api/rgw/zonegroup
RgwZonegroupAPIApiRgwZonegroupGetAllZonegroupsInfoGetGet /api/rgw/zonegroup/get_all_zonegroups_info
RgwZonegroupAPIApiRgwZonegroupPostPost /api/rgw/zonegroup
RgwZonegroupAPIApiRgwZonegroupZonegroupNameDeleteDelete /api/rgw/zonegroup/{zonegroup_name}
RgwZonegroupAPIApiRgwZonegroupZonegroupNameGetGet /api/rgw/zonegroup/{zonegroup_name}
RgwZonegroupAPIApiRgwZonegroupZonegroupNamePutPut /api/rgw/zonegroup/{zonegroup_name}
RoleAPIApiRoleGetGet /api/roleDisplay Role list
RoleAPIApiRoleNameClonePostPost /api/role/{name}/clone
RoleAPIApiRoleNameDeleteDelete /api/role/{name}
RoleAPIApiRoleNameGetGet /api/role/{name}
RoleAPIApiRoleNamePutPut /api/role/{name}
RoleAPIApiRolePostPost /api/role
ServiceAPIApiServiceGetGet /api/service
ServiceAPIApiServiceKnownTypesGetGet /api/service/known_types
ServiceAPIApiServicePostPost /api/service
ServiceAPIApiServiceServiceNameDaemonsGetGet /api/service/{service_name}/daemons
ServiceAPIApiServiceServiceNameDeleteDelete /api/service/{service_name}
ServiceAPIApiServiceServiceNameGetGet /api/service/{service_name}
ServiceAPIApiServiceServiceNamePutPut /api/service/{service_name}
SettingsAPIApiSettingsGetGet /api/settingsDisplay Settings Information
SettingsAPIApiSettingsNameDeleteDelete /api/settings/{name}
SettingsAPIApiSettingsNameGetGet /api/settings/{name}
SettingsAPIApiSettingsNamePutPut /api/settings/{name}
SettingsAPIApiSettingsPutPut /api/settings
SummaryAPIApiSummaryGetGet /api/summaryDisplay Summary
TaskAPIApiTaskGetGet /api/taskDisplay Tasks
TcmuRunnerPerfCounterAPIApiPerfCountersTcmuRunnerServiceIdGetGet /api/perf_counters/tcmu-runner/{service_id}
TelemetryAPIApiTelemetryPutPut /api/telemetry
TelemetryAPIApiTelemetryReportGetGet /api/telemetry/reportGet Detailed Telemetry report
UpgradeAPIApiClusterUpgradeGetGet /api/cluster/upgradeGet the available versions to upgrade
UpgradeAPIApiClusterUpgradePausePutPut /api/cluster/upgrade/pausePause the cluster upgrade
UpgradeAPIApiClusterUpgradeResumePutPut /api/cluster/upgrade/resumeResume the cluster upgrade
UpgradeAPIApiClusterUpgradeStartPostPost /api/cluster/upgrade/startStart the cluster upgrade
UpgradeAPIApiClusterUpgradeStatusGetGet /api/cluster/upgrade/statusGet the cluster upgrade status
UpgradeAPIApiClusterUpgradeStopPutPut /api/cluster/upgrade/stopStop the cluster upgrade
UserAPIApiUserGetGet /api/userGet List Of Users
UserAPIApiUserPostPost /api/user
UserAPIApiUserUsernameDeleteDelete /api/user/{username}
UserAPIApiUserUsernameGetGet /api/user/{username}
UserAPIApiUserUsernamePutPut /api/user/{username}
UserChangePasswordAPIApiUserUsernameChangePasswordPostPost /api/user/{username}/change_password
UserPasswordPolicyAPIApiUserValidatePasswordPostPost /api/user/validate_password

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

jwt

  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), ceph.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author