Documentation ¶
Index ¶
- func NewDefaultStoragePoolProvider() api.OpenStoragePoolServer
- type UnsupportedPoolProvider
- func (n *UnsupportedPoolProvider) EnumerateRebalanceJobs(c context.Context, request *api.SdkEnumerateRebalanceJobsRequest) (*api.SdkEnumerateRebalanceJobsResponse, error)
- func (n *UnsupportedPoolProvider) GetRebalanceJobStatus(c context.Context, request *api.SdkGetRebalanceJobStatusRequest) (*api.SdkGetRebalanceJobStatusResponse, error)
- func (n *UnsupportedPoolProvider) Rebalance(c context.Context, request *api.SdkStorageRebalanceRequest) (*api.SdkStorageRebalanceResponse, error)
- func (n *UnsupportedPoolProvider) Resize(c context.Context, request *api.SdkStoragePoolResizeRequest) (*api.SdkStoragePoolResizeResponse, error)
- func (n *UnsupportedPoolProvider) UpdateRebalanceJobState(c context.Context, request *api.SdkUpdateRebalanceJobRequest) (*api.SdkUpdateRebalanceJobResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultStoragePoolProvider ¶
func NewDefaultStoragePoolProvider() api.OpenStoragePoolServer
NewDefaultStoragePoolProvider returns an implementation of the storage pool provider that returns a not supported error
Types ¶
type UnsupportedPoolProvider ¶
type UnsupportedPoolProvider struct { }
UnsupportedPoolProvider does not support any storage pool APIs
func (*UnsupportedPoolProvider) EnumerateRebalanceJobs ¶
func (n *UnsupportedPoolProvider) EnumerateRebalanceJobs( c context.Context, request *api.SdkEnumerateRebalanceJobsRequest) (*api.SdkEnumerateRebalanceJobsResponse, error)
func (*UnsupportedPoolProvider) GetRebalanceJobStatus ¶
func (n *UnsupportedPoolProvider) GetRebalanceJobStatus( c context.Context, request *api.SdkGetRebalanceJobStatusRequest) (*api.SdkGetRebalanceJobStatusResponse, error)
func (*UnsupportedPoolProvider) Rebalance ¶
func (n *UnsupportedPoolProvider) Rebalance( c context.Context, request *api.SdkStorageRebalanceRequest) (*api.SdkStorageRebalanceResponse, error)
func (*UnsupportedPoolProvider) Resize ¶
func (n *UnsupportedPoolProvider) Resize( c context.Context, request *api.SdkStoragePoolResizeRequest) (*api.SdkStoragePoolResizeResponse, error)
func (*UnsupportedPoolProvider) UpdateRebalanceJobState ¶
func (n *UnsupportedPoolProvider) UpdateRebalanceJobState( c context.Context, request *api.SdkUpdateRebalanceJobRequest) (*api.SdkUpdateRebalanceJobResponse, error)
Click to show internal directories.
Click to hide internal directories.