Documentation ¶
Index ¶
- type Client
- func (a *Client) CloneNvmfNamespaceFromSnapshot(params *CloneNvmfNamespaceFromSnapshotParams, opts ...ClientOption) (*CloneNvmfNamespaceFromSnapshotOK, error)
- func (a *Client) CreateNvmfNamespace(params *CreateNvmfNamespaceParams, opts ...ClientOption) (*CreateNvmfNamespaceOK, error)
- func (a *Client) DeleteNvmfNamespace(params *DeleteNvmfNamespaceParams, opts ...ClientOption) (*DeleteNvmfNamespaceOK, error)
- func (a *Client) GetNvmfNamespaces(params *GetNvmfNamespacesParams, opts ...ClientOption) (*GetNvmfNamespacesOK, error)
- func (a *Client) GetNvmfNamespacesConnection(params *GetNvmfNamespacesConnectionParams, opts ...ClientOption) (*GetNvmfNamespacesConnectionOK, error)
- func (a *Client) RollbackNvmfNamespaceFromSnapshot(params *RollbackNvmfNamespaceFromSnapshotParams, opts ...ClientOption) (*RollbackNvmfNamespaceFromSnapshotOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNvmfNamespace(params *UpdateNvmfNamespaceParams, opts ...ClientOption) (*UpdateNvmfNamespaceOK, error)
- type ClientOption
- type ClientService
- type CloneNvmfNamespaceFromSnapshotBadRequest
- type CloneNvmfNamespaceFromSnapshotInternalServerError
- type CloneNvmfNamespaceFromSnapshotNotFound
- type CloneNvmfNamespaceFromSnapshotOK
- type CloneNvmfNamespaceFromSnapshotParams
- func NewCloneNvmfNamespaceFromSnapshotParams() *CloneNvmfNamespaceFromSnapshotParams
- func NewCloneNvmfNamespaceFromSnapshotParamsWithContext(ctx context.Context) *CloneNvmfNamespaceFromSnapshotParams
- func NewCloneNvmfNamespaceFromSnapshotParamsWithHTTPClient(client *http.Client) *CloneNvmfNamespaceFromSnapshotParams
- func NewCloneNvmfNamespaceFromSnapshotParamsWithTimeout(timeout time.Duration) *CloneNvmfNamespaceFromSnapshotParams
- func (o *CloneNvmfNamespaceFromSnapshotParams) SetContentLanguage(contentLanguage *string)
- func (o *CloneNvmfNamespaceFromSnapshotParams) SetContext(ctx context.Context)
- func (o *CloneNvmfNamespaceFromSnapshotParams) SetDefaults()
- func (o *CloneNvmfNamespaceFromSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *CloneNvmfNamespaceFromSnapshotParams) SetRequestBody(requestBody []*models.NvmfNamespaceCloneParams)
- func (o *CloneNvmfNamespaceFromSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *CloneNvmfNamespaceFromSnapshotParams) WithContentLanguage(contentLanguage *string) *CloneNvmfNamespaceFromSnapshotParams
- func (o *CloneNvmfNamespaceFromSnapshotParams) WithContext(ctx context.Context) *CloneNvmfNamespaceFromSnapshotParams
- func (o *CloneNvmfNamespaceFromSnapshotParams) WithDefaults() *CloneNvmfNamespaceFromSnapshotParams
- func (o *CloneNvmfNamespaceFromSnapshotParams) WithHTTPClient(client *http.Client) *CloneNvmfNamespaceFromSnapshotParams
- func (o *CloneNvmfNamespaceFromSnapshotParams) WithRequestBody(requestBody []*models.NvmfNamespaceCloneParams) *CloneNvmfNamespaceFromSnapshotParams
- func (o *CloneNvmfNamespaceFromSnapshotParams) WithTimeout(timeout time.Duration) *CloneNvmfNamespaceFromSnapshotParams
- func (o *CloneNvmfNamespaceFromSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloneNvmfNamespaceFromSnapshotReader
- type CreateNvmfNamespaceBadRequest
- type CreateNvmfNamespaceInternalServerError
- type CreateNvmfNamespaceNotFound
- type CreateNvmfNamespaceOK
- type CreateNvmfNamespaceParams
- func NewCreateNvmfNamespaceParams() *CreateNvmfNamespaceParams
- func NewCreateNvmfNamespaceParamsWithContext(ctx context.Context) *CreateNvmfNamespaceParams
- func NewCreateNvmfNamespaceParamsWithHTTPClient(client *http.Client) *CreateNvmfNamespaceParams
- func NewCreateNvmfNamespaceParamsWithTimeout(timeout time.Duration) *CreateNvmfNamespaceParams
- func (o *CreateNvmfNamespaceParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateNvmfNamespaceParams) SetContext(ctx context.Context)
- func (o *CreateNvmfNamespaceParams) SetDefaults()
- func (o *CreateNvmfNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *CreateNvmfNamespaceParams) SetRequestBody(requestBody []*models.NvmfNamespaceCreationParams)
- func (o *CreateNvmfNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *CreateNvmfNamespaceParams) WithContentLanguage(contentLanguage *string) *CreateNvmfNamespaceParams
- func (o *CreateNvmfNamespaceParams) WithContext(ctx context.Context) *CreateNvmfNamespaceParams
- func (o *CreateNvmfNamespaceParams) WithDefaults() *CreateNvmfNamespaceParams
- func (o *CreateNvmfNamespaceParams) WithHTTPClient(client *http.Client) *CreateNvmfNamespaceParams
- func (o *CreateNvmfNamespaceParams) WithRequestBody(requestBody []*models.NvmfNamespaceCreationParams) *CreateNvmfNamespaceParams
- func (o *CreateNvmfNamespaceParams) WithTimeout(timeout time.Duration) *CreateNvmfNamespaceParams
- func (o *CreateNvmfNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNvmfNamespaceReader
- type DeleteNvmfNamespaceBadRequest
- type DeleteNvmfNamespaceInternalServerError
- type DeleteNvmfNamespaceNotFound
- type DeleteNvmfNamespaceOK
- type DeleteNvmfNamespaceParams
- func NewDeleteNvmfNamespaceParams() *DeleteNvmfNamespaceParams
- func NewDeleteNvmfNamespaceParamsWithContext(ctx context.Context) *DeleteNvmfNamespaceParams
- func NewDeleteNvmfNamespaceParamsWithHTTPClient(client *http.Client) *DeleteNvmfNamespaceParams
- func NewDeleteNvmfNamespaceParamsWithTimeout(timeout time.Duration) *DeleteNvmfNamespaceParams
- func (o *DeleteNvmfNamespaceParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteNvmfNamespaceParams) SetContext(ctx context.Context)
- func (o *DeleteNvmfNamespaceParams) SetDefaults()
- func (o *DeleteNvmfNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNvmfNamespaceParams) SetRequestBody(requestBody *models.NvmfNamespaceDeletionParams)
- func (o *DeleteNvmfNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNvmfNamespaceParams) WithContentLanguage(contentLanguage *string) *DeleteNvmfNamespaceParams
- func (o *DeleteNvmfNamespaceParams) WithContext(ctx context.Context) *DeleteNvmfNamespaceParams
- func (o *DeleteNvmfNamespaceParams) WithDefaults() *DeleteNvmfNamespaceParams
- func (o *DeleteNvmfNamespaceParams) WithHTTPClient(client *http.Client) *DeleteNvmfNamespaceParams
- func (o *DeleteNvmfNamespaceParams) WithRequestBody(requestBody *models.NvmfNamespaceDeletionParams) *DeleteNvmfNamespaceParams
- func (o *DeleteNvmfNamespaceParams) WithTimeout(timeout time.Duration) *DeleteNvmfNamespaceParams
- func (o *DeleteNvmfNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNvmfNamespaceReader
- type GetNvmfNamespacesBadRequest
- type GetNvmfNamespacesConnectionBadRequest
- type GetNvmfNamespacesConnectionInternalServerError
- type GetNvmfNamespacesConnectionNotFound
- type GetNvmfNamespacesConnectionOK
- type GetNvmfNamespacesConnectionParams
- func NewGetNvmfNamespacesConnectionParams() *GetNvmfNamespacesConnectionParams
- func NewGetNvmfNamespacesConnectionParamsWithContext(ctx context.Context) *GetNvmfNamespacesConnectionParams
- func NewGetNvmfNamespacesConnectionParamsWithHTTPClient(client *http.Client) *GetNvmfNamespacesConnectionParams
- func NewGetNvmfNamespacesConnectionParamsWithTimeout(timeout time.Duration) *GetNvmfNamespacesConnectionParams
- func (o *GetNvmfNamespacesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetNvmfNamespacesConnectionParams) SetContext(ctx context.Context)
- func (o *GetNvmfNamespacesConnectionParams) SetDefaults()
- func (o *GetNvmfNamespacesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetNvmfNamespacesConnectionParams) SetRequestBody(requestBody *models.GetNvmfNamespacesConnectionRequestBody)
- func (o *GetNvmfNamespacesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetNvmfNamespacesConnectionParams) WithContentLanguage(contentLanguage *string) *GetNvmfNamespacesConnectionParams
- func (o *GetNvmfNamespacesConnectionParams) WithContext(ctx context.Context) *GetNvmfNamespacesConnectionParams
- func (o *GetNvmfNamespacesConnectionParams) WithDefaults() *GetNvmfNamespacesConnectionParams
- func (o *GetNvmfNamespacesConnectionParams) WithHTTPClient(client *http.Client) *GetNvmfNamespacesConnectionParams
- func (o *GetNvmfNamespacesConnectionParams) WithRequestBody(requestBody *models.GetNvmfNamespacesConnectionRequestBody) *GetNvmfNamespacesConnectionParams
- func (o *GetNvmfNamespacesConnectionParams) WithTimeout(timeout time.Duration) *GetNvmfNamespacesConnectionParams
- func (o *GetNvmfNamespacesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNvmfNamespacesConnectionReader
- type GetNvmfNamespacesInternalServerError
- type GetNvmfNamespacesNotFound
- type GetNvmfNamespacesOK
- type GetNvmfNamespacesParams
- func NewGetNvmfNamespacesParams() *GetNvmfNamespacesParams
- func NewGetNvmfNamespacesParamsWithContext(ctx context.Context) *GetNvmfNamespacesParams
- func NewGetNvmfNamespacesParamsWithHTTPClient(client *http.Client) *GetNvmfNamespacesParams
- func NewGetNvmfNamespacesParamsWithTimeout(timeout time.Duration) *GetNvmfNamespacesParams
- func (o *GetNvmfNamespacesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetNvmfNamespacesParams) SetContext(ctx context.Context)
- func (o *GetNvmfNamespacesParams) SetDefaults()
- func (o *GetNvmfNamespacesParams) SetHTTPClient(client *http.Client)
- func (o *GetNvmfNamespacesParams) SetRequestBody(requestBody *models.GetNvmfNamespacesRequestBody)
- func (o *GetNvmfNamespacesParams) SetTimeout(timeout time.Duration)
- func (o *GetNvmfNamespacesParams) WithContentLanguage(contentLanguage *string) *GetNvmfNamespacesParams
- func (o *GetNvmfNamespacesParams) WithContext(ctx context.Context) *GetNvmfNamespacesParams
- func (o *GetNvmfNamespacesParams) WithDefaults() *GetNvmfNamespacesParams
- func (o *GetNvmfNamespacesParams) WithHTTPClient(client *http.Client) *GetNvmfNamespacesParams
- func (o *GetNvmfNamespacesParams) WithRequestBody(requestBody *models.GetNvmfNamespacesRequestBody) *GetNvmfNamespacesParams
- func (o *GetNvmfNamespacesParams) WithTimeout(timeout time.Duration) *GetNvmfNamespacesParams
- func (o *GetNvmfNamespacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNvmfNamespacesReader
- type RollbackNvmfNamespaceFromSnapshotBadRequest
- type RollbackNvmfNamespaceFromSnapshotInternalServerError
- type RollbackNvmfNamespaceFromSnapshotNotFound
- type RollbackNvmfNamespaceFromSnapshotOK
- type RollbackNvmfNamespaceFromSnapshotParams
- func NewRollbackNvmfNamespaceFromSnapshotParams() *RollbackNvmfNamespaceFromSnapshotParams
- func NewRollbackNvmfNamespaceFromSnapshotParamsWithContext(ctx context.Context) *RollbackNvmfNamespaceFromSnapshotParams
- func NewRollbackNvmfNamespaceFromSnapshotParamsWithHTTPClient(client *http.Client) *RollbackNvmfNamespaceFromSnapshotParams
- func NewRollbackNvmfNamespaceFromSnapshotParamsWithTimeout(timeout time.Duration) *RollbackNvmfNamespaceFromSnapshotParams
- func (o *RollbackNvmfNamespaceFromSnapshotParams) SetContentLanguage(contentLanguage *string)
- func (o *RollbackNvmfNamespaceFromSnapshotParams) SetContext(ctx context.Context)
- func (o *RollbackNvmfNamespaceFromSnapshotParams) SetDefaults()
- func (o *RollbackNvmfNamespaceFromSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *RollbackNvmfNamespaceFromSnapshotParams) SetRequestBody(requestBody []*models.NvmfNamespaceRollbackParams)
- func (o *RollbackNvmfNamespaceFromSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *RollbackNvmfNamespaceFromSnapshotParams) WithContentLanguage(contentLanguage *string) *RollbackNvmfNamespaceFromSnapshotParams
- func (o *RollbackNvmfNamespaceFromSnapshotParams) WithContext(ctx context.Context) *RollbackNvmfNamespaceFromSnapshotParams
- func (o *RollbackNvmfNamespaceFromSnapshotParams) WithDefaults() *RollbackNvmfNamespaceFromSnapshotParams
- func (o *RollbackNvmfNamespaceFromSnapshotParams) WithHTTPClient(client *http.Client) *RollbackNvmfNamespaceFromSnapshotParams
- func (o *RollbackNvmfNamespaceFromSnapshotParams) WithRequestBody(requestBody []*models.NvmfNamespaceRollbackParams) *RollbackNvmfNamespaceFromSnapshotParams
- func (o *RollbackNvmfNamespaceFromSnapshotParams) WithTimeout(timeout time.Duration) *RollbackNvmfNamespaceFromSnapshotParams
- func (o *RollbackNvmfNamespaceFromSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RollbackNvmfNamespaceFromSnapshotReader
- type UpdateNvmfNamespaceBadRequest
- type UpdateNvmfNamespaceInternalServerError
- type UpdateNvmfNamespaceNotFound
- type UpdateNvmfNamespaceOK
- type UpdateNvmfNamespaceParams
- func NewUpdateNvmfNamespaceParams() *UpdateNvmfNamespaceParams
- func NewUpdateNvmfNamespaceParamsWithContext(ctx context.Context) *UpdateNvmfNamespaceParams
- func NewUpdateNvmfNamespaceParamsWithHTTPClient(client *http.Client) *UpdateNvmfNamespaceParams
- func NewUpdateNvmfNamespaceParamsWithTimeout(timeout time.Duration) *UpdateNvmfNamespaceParams
- func (o *UpdateNvmfNamespaceParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateNvmfNamespaceParams) SetContext(ctx context.Context)
- func (o *UpdateNvmfNamespaceParams) SetDefaults()
- func (o *UpdateNvmfNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNvmfNamespaceParams) SetRequestBody(requestBody *models.NvmfNamespaceUpdationParams)
- func (o *UpdateNvmfNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNvmfNamespaceParams) WithContentLanguage(contentLanguage *string) *UpdateNvmfNamespaceParams
- func (o *UpdateNvmfNamespaceParams) WithContext(ctx context.Context) *UpdateNvmfNamespaceParams
- func (o *UpdateNvmfNamespaceParams) WithDefaults() *UpdateNvmfNamespaceParams
- func (o *UpdateNvmfNamespaceParams) WithHTTPClient(client *http.Client) *UpdateNvmfNamespaceParams
- func (o *UpdateNvmfNamespaceParams) WithRequestBody(requestBody *models.NvmfNamespaceUpdationParams) *UpdateNvmfNamespaceParams
- func (o *UpdateNvmfNamespaceParams) WithTimeout(timeout time.Duration) *UpdateNvmfNamespaceParams
- func (o *UpdateNvmfNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNvmfNamespaceReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for nvmf namespace API
func (*Client) CloneNvmfNamespaceFromSnapshot ¶
func (a *Client) CloneNvmfNamespaceFromSnapshot(params *CloneNvmfNamespaceFromSnapshotParams, opts ...ClientOption) (*CloneNvmfNamespaceFromSnapshotOK, error)
CloneNvmfNamespaceFromSnapshot clone nvmf namespace from snapshot API
func (*Client) CreateNvmfNamespace ¶
func (a *Client) CreateNvmfNamespace(params *CreateNvmfNamespaceParams, opts ...ClientOption) (*CreateNvmfNamespaceOK, error)
CreateNvmfNamespace create nvmf namespace API
func (*Client) DeleteNvmfNamespace ¶
func (a *Client) DeleteNvmfNamespace(params *DeleteNvmfNamespaceParams, opts ...ClientOption) (*DeleteNvmfNamespaceOK, error)
DeleteNvmfNamespace delete nvmf namespace API
func (*Client) GetNvmfNamespaces ¶
func (a *Client) GetNvmfNamespaces(params *GetNvmfNamespacesParams, opts ...ClientOption) (*GetNvmfNamespacesOK, error)
GetNvmfNamespaces get nvmf namespaces API
func (*Client) GetNvmfNamespacesConnection ¶
func (a *Client) GetNvmfNamespacesConnection(params *GetNvmfNamespacesConnectionParams, opts ...ClientOption) (*GetNvmfNamespacesConnectionOK, error)
GetNvmfNamespacesConnection get nvmf namespaces connection API
func (*Client) RollbackNvmfNamespaceFromSnapshot ¶
func (a *Client) RollbackNvmfNamespaceFromSnapshot(params *RollbackNvmfNamespaceFromSnapshotParams, opts ...ClientOption) (*RollbackNvmfNamespaceFromSnapshotOK, error)
RollbackNvmfNamespaceFromSnapshot rollback nvmf namespace from snapshot API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNvmfNamespace ¶
func (a *Client) UpdateNvmfNamespace(params *UpdateNvmfNamespaceParams, opts ...ClientOption) (*UpdateNvmfNamespaceOK, error)
UpdateNvmfNamespace update nvmf namespace API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CloneNvmfNamespaceFromSnapshot(params *CloneNvmfNamespaceFromSnapshotParams, opts ...ClientOption) (*CloneNvmfNamespaceFromSnapshotOK, error) CreateNvmfNamespace(params *CreateNvmfNamespaceParams, opts ...ClientOption) (*CreateNvmfNamespaceOK, error) DeleteNvmfNamespace(params *DeleteNvmfNamespaceParams, opts ...ClientOption) (*DeleteNvmfNamespaceOK, error) GetNvmfNamespaces(params *GetNvmfNamespacesParams, opts ...ClientOption) (*GetNvmfNamespacesOK, error) GetNvmfNamespacesConnection(params *GetNvmfNamespacesConnectionParams, opts ...ClientOption) (*GetNvmfNamespacesConnectionOK, error) RollbackNvmfNamespaceFromSnapshot(params *RollbackNvmfNamespaceFromSnapshotParams, opts ...ClientOption) (*RollbackNvmfNamespaceFromSnapshotOK, error) UpdateNvmfNamespace(params *UpdateNvmfNamespaceParams, opts ...ClientOption) (*UpdateNvmfNamespaceOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new nvmf namespace API client.
type CloneNvmfNamespaceFromSnapshotBadRequest ¶
type CloneNvmfNamespaceFromSnapshotBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
CloneNvmfNamespaceFromSnapshotBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCloneNvmfNamespaceFromSnapshotBadRequest ¶
func NewCloneNvmfNamespaceFromSnapshotBadRequest() *CloneNvmfNamespaceFromSnapshotBadRequest
NewCloneNvmfNamespaceFromSnapshotBadRequest creates a CloneNvmfNamespaceFromSnapshotBadRequest with default headers values
func (*CloneNvmfNamespaceFromSnapshotBadRequest) Error ¶
func (o *CloneNvmfNamespaceFromSnapshotBadRequest) Error() string
func (*CloneNvmfNamespaceFromSnapshotBadRequest) GetPayload ¶
func (o *CloneNvmfNamespaceFromSnapshotBadRequest) GetPayload() *models.ErrorBody
type CloneNvmfNamespaceFromSnapshotInternalServerError ¶
type CloneNvmfNamespaceFromSnapshotInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CloneNvmfNamespaceFromSnapshotInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCloneNvmfNamespaceFromSnapshotInternalServerError ¶
func NewCloneNvmfNamespaceFromSnapshotInternalServerError() *CloneNvmfNamespaceFromSnapshotInternalServerError
NewCloneNvmfNamespaceFromSnapshotInternalServerError creates a CloneNvmfNamespaceFromSnapshotInternalServerError with default headers values
func (*CloneNvmfNamespaceFromSnapshotInternalServerError) Error ¶
func (o *CloneNvmfNamespaceFromSnapshotInternalServerError) Error() string
func (*CloneNvmfNamespaceFromSnapshotInternalServerError) GetPayload ¶
func (o *CloneNvmfNamespaceFromSnapshotInternalServerError) GetPayload() *models.ErrorBody
type CloneNvmfNamespaceFromSnapshotNotFound ¶
type CloneNvmfNamespaceFromSnapshotNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
CloneNvmfNamespaceFromSnapshotNotFound describes a response with status code 404, with default header values.
Not found
func NewCloneNvmfNamespaceFromSnapshotNotFound ¶
func NewCloneNvmfNamespaceFromSnapshotNotFound() *CloneNvmfNamespaceFromSnapshotNotFound
NewCloneNvmfNamespaceFromSnapshotNotFound creates a CloneNvmfNamespaceFromSnapshotNotFound with default headers values
func (*CloneNvmfNamespaceFromSnapshotNotFound) Error ¶
func (o *CloneNvmfNamespaceFromSnapshotNotFound) Error() string
func (*CloneNvmfNamespaceFromSnapshotNotFound) GetPayload ¶
func (o *CloneNvmfNamespaceFromSnapshotNotFound) GetPayload() *models.ErrorBody
type CloneNvmfNamespaceFromSnapshotOK ¶
type CloneNvmfNamespaceFromSnapshotOK struct { XTowerRequestID string Payload []*models.WithTaskNvmfNamespace }
CloneNvmfNamespaceFromSnapshotOK describes a response with status code 200, with default header values.
CloneNvmfNamespaceFromSnapshotOK clone nvmf namespace from snapshot o k
func NewCloneNvmfNamespaceFromSnapshotOK ¶
func NewCloneNvmfNamespaceFromSnapshotOK() *CloneNvmfNamespaceFromSnapshotOK
NewCloneNvmfNamespaceFromSnapshotOK creates a CloneNvmfNamespaceFromSnapshotOK with default headers values
func (*CloneNvmfNamespaceFromSnapshotOK) Error ¶
func (o *CloneNvmfNamespaceFromSnapshotOK) Error() string
func (*CloneNvmfNamespaceFromSnapshotOK) GetPayload ¶
func (o *CloneNvmfNamespaceFromSnapshotOK) GetPayload() []*models.WithTaskNvmfNamespace
type CloneNvmfNamespaceFromSnapshotParams ¶
type CloneNvmfNamespaceFromSnapshotParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.NvmfNamespaceCloneParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloneNvmfNamespaceFromSnapshotParams contains all the parameters to send to the API endpoint
for the clone nvmf namespace from snapshot operation. Typically these are written to a http.Request.
func NewCloneNvmfNamespaceFromSnapshotParams ¶
func NewCloneNvmfNamespaceFromSnapshotParams() *CloneNvmfNamespaceFromSnapshotParams
NewCloneNvmfNamespaceFromSnapshotParams creates a new CloneNvmfNamespaceFromSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCloneNvmfNamespaceFromSnapshotParamsWithContext ¶
func NewCloneNvmfNamespaceFromSnapshotParamsWithContext(ctx context.Context) *CloneNvmfNamespaceFromSnapshotParams
NewCloneNvmfNamespaceFromSnapshotParamsWithContext creates a new CloneNvmfNamespaceFromSnapshotParams object with the ability to set a context for a request.
func NewCloneNvmfNamespaceFromSnapshotParamsWithHTTPClient ¶
func NewCloneNvmfNamespaceFromSnapshotParamsWithHTTPClient(client *http.Client) *CloneNvmfNamespaceFromSnapshotParams
NewCloneNvmfNamespaceFromSnapshotParamsWithHTTPClient creates a new CloneNvmfNamespaceFromSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewCloneNvmfNamespaceFromSnapshotParamsWithTimeout ¶
func NewCloneNvmfNamespaceFromSnapshotParamsWithTimeout(timeout time.Duration) *CloneNvmfNamespaceFromSnapshotParams
NewCloneNvmfNamespaceFromSnapshotParamsWithTimeout creates a new CloneNvmfNamespaceFromSnapshotParams object with the ability to set a timeout on a request.
func (*CloneNvmfNamespaceFromSnapshotParams) SetContentLanguage ¶
func (o *CloneNvmfNamespaceFromSnapshotParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the clone nvmf namespace from snapshot params
func (*CloneNvmfNamespaceFromSnapshotParams) SetContext ¶
func (o *CloneNvmfNamespaceFromSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the clone nvmf namespace from snapshot params
func (*CloneNvmfNamespaceFromSnapshotParams) SetDefaults ¶
func (o *CloneNvmfNamespaceFromSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the clone nvmf namespace from snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CloneNvmfNamespaceFromSnapshotParams) SetHTTPClient ¶
func (o *CloneNvmfNamespaceFromSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the clone nvmf namespace from snapshot params
func (*CloneNvmfNamespaceFromSnapshotParams) SetRequestBody ¶
func (o *CloneNvmfNamespaceFromSnapshotParams) SetRequestBody(requestBody []*models.NvmfNamespaceCloneParams)
SetRequestBody adds the requestBody to the clone nvmf namespace from snapshot params
func (*CloneNvmfNamespaceFromSnapshotParams) SetTimeout ¶
func (o *CloneNvmfNamespaceFromSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the clone nvmf namespace from snapshot params
func (*CloneNvmfNamespaceFromSnapshotParams) WithContentLanguage ¶
func (o *CloneNvmfNamespaceFromSnapshotParams) WithContentLanguage(contentLanguage *string) *CloneNvmfNamespaceFromSnapshotParams
WithContentLanguage adds the contentLanguage to the clone nvmf namespace from snapshot params
func (*CloneNvmfNamespaceFromSnapshotParams) WithContext ¶
func (o *CloneNvmfNamespaceFromSnapshotParams) WithContext(ctx context.Context) *CloneNvmfNamespaceFromSnapshotParams
WithContext adds the context to the clone nvmf namespace from snapshot params
func (*CloneNvmfNamespaceFromSnapshotParams) WithDefaults ¶
func (o *CloneNvmfNamespaceFromSnapshotParams) WithDefaults() *CloneNvmfNamespaceFromSnapshotParams
WithDefaults hydrates default values in the clone nvmf namespace from snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CloneNvmfNamespaceFromSnapshotParams) WithHTTPClient ¶
func (o *CloneNvmfNamespaceFromSnapshotParams) WithHTTPClient(client *http.Client) *CloneNvmfNamespaceFromSnapshotParams
WithHTTPClient adds the HTTPClient to the clone nvmf namespace from snapshot params
func (*CloneNvmfNamespaceFromSnapshotParams) WithRequestBody ¶
func (o *CloneNvmfNamespaceFromSnapshotParams) WithRequestBody(requestBody []*models.NvmfNamespaceCloneParams) *CloneNvmfNamespaceFromSnapshotParams
WithRequestBody adds the requestBody to the clone nvmf namespace from snapshot params
func (*CloneNvmfNamespaceFromSnapshotParams) WithTimeout ¶
func (o *CloneNvmfNamespaceFromSnapshotParams) WithTimeout(timeout time.Duration) *CloneNvmfNamespaceFromSnapshotParams
WithTimeout adds the timeout to the clone nvmf namespace from snapshot params
func (*CloneNvmfNamespaceFromSnapshotParams) WriteToRequest ¶
func (o *CloneNvmfNamespaceFromSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CloneNvmfNamespaceFromSnapshotReader ¶
type CloneNvmfNamespaceFromSnapshotReader struct {
// contains filtered or unexported fields
}
CloneNvmfNamespaceFromSnapshotReader is a Reader for the CloneNvmfNamespaceFromSnapshot structure.
func (*CloneNvmfNamespaceFromSnapshotReader) ReadResponse ¶
func (o *CloneNvmfNamespaceFromSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateNvmfNamespaceBadRequest ¶
CreateNvmfNamespaceBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateNvmfNamespaceBadRequest ¶
func NewCreateNvmfNamespaceBadRequest() *CreateNvmfNamespaceBadRequest
NewCreateNvmfNamespaceBadRequest creates a CreateNvmfNamespaceBadRequest with default headers values
func (*CreateNvmfNamespaceBadRequest) Error ¶
func (o *CreateNvmfNamespaceBadRequest) Error() string
func (*CreateNvmfNamespaceBadRequest) GetPayload ¶
func (o *CreateNvmfNamespaceBadRequest) GetPayload() *models.ErrorBody
type CreateNvmfNamespaceInternalServerError ¶
type CreateNvmfNamespaceInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateNvmfNamespaceInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateNvmfNamespaceInternalServerError ¶
func NewCreateNvmfNamespaceInternalServerError() *CreateNvmfNamespaceInternalServerError
NewCreateNvmfNamespaceInternalServerError creates a CreateNvmfNamespaceInternalServerError with default headers values
func (*CreateNvmfNamespaceInternalServerError) Error ¶
func (o *CreateNvmfNamespaceInternalServerError) Error() string
func (*CreateNvmfNamespaceInternalServerError) GetPayload ¶
func (o *CreateNvmfNamespaceInternalServerError) GetPayload() *models.ErrorBody
type CreateNvmfNamespaceNotFound ¶
CreateNvmfNamespaceNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateNvmfNamespaceNotFound ¶
func NewCreateNvmfNamespaceNotFound() *CreateNvmfNamespaceNotFound
NewCreateNvmfNamespaceNotFound creates a CreateNvmfNamespaceNotFound with default headers values
func (*CreateNvmfNamespaceNotFound) Error ¶
func (o *CreateNvmfNamespaceNotFound) Error() string
func (*CreateNvmfNamespaceNotFound) GetPayload ¶
func (o *CreateNvmfNamespaceNotFound) GetPayload() *models.ErrorBody
type CreateNvmfNamespaceOK ¶
type CreateNvmfNamespaceOK struct { XTowerRequestID string Payload []*models.WithTaskNvmfNamespace }
CreateNvmfNamespaceOK describes a response with status code 200, with default header values.
CreateNvmfNamespaceOK create nvmf namespace o k
func NewCreateNvmfNamespaceOK ¶
func NewCreateNvmfNamespaceOK() *CreateNvmfNamespaceOK
NewCreateNvmfNamespaceOK creates a CreateNvmfNamespaceOK with default headers values
func (*CreateNvmfNamespaceOK) Error ¶
func (o *CreateNvmfNamespaceOK) Error() string
func (*CreateNvmfNamespaceOK) GetPayload ¶
func (o *CreateNvmfNamespaceOK) GetPayload() []*models.WithTaskNvmfNamespace
type CreateNvmfNamespaceParams ¶
type CreateNvmfNamespaceParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.NvmfNamespaceCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNvmfNamespaceParams contains all the parameters to send to the API endpoint
for the create nvmf namespace operation. Typically these are written to a http.Request.
func NewCreateNvmfNamespaceParams ¶
func NewCreateNvmfNamespaceParams() *CreateNvmfNamespaceParams
NewCreateNvmfNamespaceParams creates a new CreateNvmfNamespaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateNvmfNamespaceParamsWithContext ¶
func NewCreateNvmfNamespaceParamsWithContext(ctx context.Context) *CreateNvmfNamespaceParams
NewCreateNvmfNamespaceParamsWithContext creates a new CreateNvmfNamespaceParams object with the ability to set a context for a request.
func NewCreateNvmfNamespaceParamsWithHTTPClient ¶
func NewCreateNvmfNamespaceParamsWithHTTPClient(client *http.Client) *CreateNvmfNamespaceParams
NewCreateNvmfNamespaceParamsWithHTTPClient creates a new CreateNvmfNamespaceParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNvmfNamespaceParamsWithTimeout ¶
func NewCreateNvmfNamespaceParamsWithTimeout(timeout time.Duration) *CreateNvmfNamespaceParams
NewCreateNvmfNamespaceParamsWithTimeout creates a new CreateNvmfNamespaceParams object with the ability to set a timeout on a request.
func (*CreateNvmfNamespaceParams) SetContentLanguage ¶
func (o *CreateNvmfNamespaceParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create nvmf namespace params
func (*CreateNvmfNamespaceParams) SetContext ¶
func (o *CreateNvmfNamespaceParams) SetContext(ctx context.Context)
SetContext adds the context to the create nvmf namespace params
func (*CreateNvmfNamespaceParams) SetDefaults ¶
func (o *CreateNvmfNamespaceParams) SetDefaults()
SetDefaults hydrates default values in the create nvmf namespace params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNvmfNamespaceParams) SetHTTPClient ¶
func (o *CreateNvmfNamespaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create nvmf namespace params
func (*CreateNvmfNamespaceParams) SetRequestBody ¶
func (o *CreateNvmfNamespaceParams) SetRequestBody(requestBody []*models.NvmfNamespaceCreationParams)
SetRequestBody adds the requestBody to the create nvmf namespace params
func (*CreateNvmfNamespaceParams) SetTimeout ¶
func (o *CreateNvmfNamespaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create nvmf namespace params
func (*CreateNvmfNamespaceParams) WithContentLanguage ¶
func (o *CreateNvmfNamespaceParams) WithContentLanguage(contentLanguage *string) *CreateNvmfNamespaceParams
WithContentLanguage adds the contentLanguage to the create nvmf namespace params
func (*CreateNvmfNamespaceParams) WithContext ¶
func (o *CreateNvmfNamespaceParams) WithContext(ctx context.Context) *CreateNvmfNamespaceParams
WithContext adds the context to the create nvmf namespace params
func (*CreateNvmfNamespaceParams) WithDefaults ¶
func (o *CreateNvmfNamespaceParams) WithDefaults() *CreateNvmfNamespaceParams
WithDefaults hydrates default values in the create nvmf namespace params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNvmfNamespaceParams) WithHTTPClient ¶
func (o *CreateNvmfNamespaceParams) WithHTTPClient(client *http.Client) *CreateNvmfNamespaceParams
WithHTTPClient adds the HTTPClient to the create nvmf namespace params
func (*CreateNvmfNamespaceParams) WithRequestBody ¶
func (o *CreateNvmfNamespaceParams) WithRequestBody(requestBody []*models.NvmfNamespaceCreationParams) *CreateNvmfNamespaceParams
WithRequestBody adds the requestBody to the create nvmf namespace params
func (*CreateNvmfNamespaceParams) WithTimeout ¶
func (o *CreateNvmfNamespaceParams) WithTimeout(timeout time.Duration) *CreateNvmfNamespaceParams
WithTimeout adds the timeout to the create nvmf namespace params
func (*CreateNvmfNamespaceParams) WriteToRequest ¶
func (o *CreateNvmfNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNvmfNamespaceReader ¶
type CreateNvmfNamespaceReader struct {
// contains filtered or unexported fields
}
CreateNvmfNamespaceReader is a Reader for the CreateNvmfNamespace structure.
func (*CreateNvmfNamespaceReader) ReadResponse ¶
func (o *CreateNvmfNamespaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNvmfNamespaceBadRequest ¶
DeleteNvmfNamespaceBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteNvmfNamespaceBadRequest ¶
func NewDeleteNvmfNamespaceBadRequest() *DeleteNvmfNamespaceBadRequest
NewDeleteNvmfNamespaceBadRequest creates a DeleteNvmfNamespaceBadRequest with default headers values
func (*DeleteNvmfNamespaceBadRequest) Error ¶
func (o *DeleteNvmfNamespaceBadRequest) Error() string
func (*DeleteNvmfNamespaceBadRequest) GetPayload ¶
func (o *DeleteNvmfNamespaceBadRequest) GetPayload() *models.ErrorBody
type DeleteNvmfNamespaceInternalServerError ¶
type DeleteNvmfNamespaceInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteNvmfNamespaceInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteNvmfNamespaceInternalServerError ¶
func NewDeleteNvmfNamespaceInternalServerError() *DeleteNvmfNamespaceInternalServerError
NewDeleteNvmfNamespaceInternalServerError creates a DeleteNvmfNamespaceInternalServerError with default headers values
func (*DeleteNvmfNamespaceInternalServerError) Error ¶
func (o *DeleteNvmfNamespaceInternalServerError) Error() string
func (*DeleteNvmfNamespaceInternalServerError) GetPayload ¶
func (o *DeleteNvmfNamespaceInternalServerError) GetPayload() *models.ErrorBody
type DeleteNvmfNamespaceNotFound ¶
DeleteNvmfNamespaceNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteNvmfNamespaceNotFound ¶
func NewDeleteNvmfNamespaceNotFound() *DeleteNvmfNamespaceNotFound
NewDeleteNvmfNamespaceNotFound creates a DeleteNvmfNamespaceNotFound with default headers values
func (*DeleteNvmfNamespaceNotFound) Error ¶
func (o *DeleteNvmfNamespaceNotFound) Error() string
func (*DeleteNvmfNamespaceNotFound) GetPayload ¶
func (o *DeleteNvmfNamespaceNotFound) GetPayload() *models.ErrorBody
type DeleteNvmfNamespaceOK ¶
type DeleteNvmfNamespaceOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteNvmfNamespace }
DeleteNvmfNamespaceOK describes a response with status code 200, with default header values.
DeleteNvmfNamespaceOK delete nvmf namespace o k
func NewDeleteNvmfNamespaceOK ¶
func NewDeleteNvmfNamespaceOK() *DeleteNvmfNamespaceOK
NewDeleteNvmfNamespaceOK creates a DeleteNvmfNamespaceOK with default headers values
func (*DeleteNvmfNamespaceOK) Error ¶
func (o *DeleteNvmfNamespaceOK) Error() string
func (*DeleteNvmfNamespaceOK) GetPayload ¶
func (o *DeleteNvmfNamespaceOK) GetPayload() []*models.WithTaskDeleteNvmfNamespace
type DeleteNvmfNamespaceParams ¶
type DeleteNvmfNamespaceParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.NvmfNamespaceDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNvmfNamespaceParams contains all the parameters to send to the API endpoint
for the delete nvmf namespace operation. Typically these are written to a http.Request.
func NewDeleteNvmfNamespaceParams ¶
func NewDeleteNvmfNamespaceParams() *DeleteNvmfNamespaceParams
NewDeleteNvmfNamespaceParams creates a new DeleteNvmfNamespaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteNvmfNamespaceParamsWithContext ¶
func NewDeleteNvmfNamespaceParamsWithContext(ctx context.Context) *DeleteNvmfNamespaceParams
NewDeleteNvmfNamespaceParamsWithContext creates a new DeleteNvmfNamespaceParams object with the ability to set a context for a request.
func NewDeleteNvmfNamespaceParamsWithHTTPClient ¶
func NewDeleteNvmfNamespaceParamsWithHTTPClient(client *http.Client) *DeleteNvmfNamespaceParams
NewDeleteNvmfNamespaceParamsWithHTTPClient creates a new DeleteNvmfNamespaceParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNvmfNamespaceParamsWithTimeout ¶
func NewDeleteNvmfNamespaceParamsWithTimeout(timeout time.Duration) *DeleteNvmfNamespaceParams
NewDeleteNvmfNamespaceParamsWithTimeout creates a new DeleteNvmfNamespaceParams object with the ability to set a timeout on a request.
func (*DeleteNvmfNamespaceParams) SetContentLanguage ¶
func (o *DeleteNvmfNamespaceParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete nvmf namespace params
func (*DeleteNvmfNamespaceParams) SetContext ¶
func (o *DeleteNvmfNamespaceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete nvmf namespace params
func (*DeleteNvmfNamespaceParams) SetDefaults ¶
func (o *DeleteNvmfNamespaceParams) SetDefaults()
SetDefaults hydrates default values in the delete nvmf namespace params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNvmfNamespaceParams) SetHTTPClient ¶
func (o *DeleteNvmfNamespaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete nvmf namespace params
func (*DeleteNvmfNamespaceParams) SetRequestBody ¶
func (o *DeleteNvmfNamespaceParams) SetRequestBody(requestBody *models.NvmfNamespaceDeletionParams)
SetRequestBody adds the requestBody to the delete nvmf namespace params
func (*DeleteNvmfNamespaceParams) SetTimeout ¶
func (o *DeleteNvmfNamespaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete nvmf namespace params
func (*DeleteNvmfNamespaceParams) WithContentLanguage ¶
func (o *DeleteNvmfNamespaceParams) WithContentLanguage(contentLanguage *string) *DeleteNvmfNamespaceParams
WithContentLanguage adds the contentLanguage to the delete nvmf namespace params
func (*DeleteNvmfNamespaceParams) WithContext ¶
func (o *DeleteNvmfNamespaceParams) WithContext(ctx context.Context) *DeleteNvmfNamespaceParams
WithContext adds the context to the delete nvmf namespace params
func (*DeleteNvmfNamespaceParams) WithDefaults ¶
func (o *DeleteNvmfNamespaceParams) WithDefaults() *DeleteNvmfNamespaceParams
WithDefaults hydrates default values in the delete nvmf namespace params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNvmfNamespaceParams) WithHTTPClient ¶
func (o *DeleteNvmfNamespaceParams) WithHTTPClient(client *http.Client) *DeleteNvmfNamespaceParams
WithHTTPClient adds the HTTPClient to the delete nvmf namespace params
func (*DeleteNvmfNamespaceParams) WithRequestBody ¶
func (o *DeleteNvmfNamespaceParams) WithRequestBody(requestBody *models.NvmfNamespaceDeletionParams) *DeleteNvmfNamespaceParams
WithRequestBody adds the requestBody to the delete nvmf namespace params
func (*DeleteNvmfNamespaceParams) WithTimeout ¶
func (o *DeleteNvmfNamespaceParams) WithTimeout(timeout time.Duration) *DeleteNvmfNamespaceParams
WithTimeout adds the timeout to the delete nvmf namespace params
func (*DeleteNvmfNamespaceParams) WriteToRequest ¶
func (o *DeleteNvmfNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNvmfNamespaceReader ¶
type DeleteNvmfNamespaceReader struct {
// contains filtered or unexported fields
}
DeleteNvmfNamespaceReader is a Reader for the DeleteNvmfNamespace structure.
func (*DeleteNvmfNamespaceReader) ReadResponse ¶
func (o *DeleteNvmfNamespaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNvmfNamespacesBadRequest ¶
GetNvmfNamespacesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetNvmfNamespacesBadRequest ¶
func NewGetNvmfNamespacesBadRequest() *GetNvmfNamespacesBadRequest
NewGetNvmfNamespacesBadRequest creates a GetNvmfNamespacesBadRequest with default headers values
func (*GetNvmfNamespacesBadRequest) Error ¶
func (o *GetNvmfNamespacesBadRequest) Error() string
func (*GetNvmfNamespacesBadRequest) GetPayload ¶
func (o *GetNvmfNamespacesBadRequest) GetPayload() *models.ErrorBody
type GetNvmfNamespacesConnectionBadRequest ¶
type GetNvmfNamespacesConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetNvmfNamespacesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetNvmfNamespacesConnectionBadRequest ¶
func NewGetNvmfNamespacesConnectionBadRequest() *GetNvmfNamespacesConnectionBadRequest
NewGetNvmfNamespacesConnectionBadRequest creates a GetNvmfNamespacesConnectionBadRequest with default headers values
func (*GetNvmfNamespacesConnectionBadRequest) Error ¶
func (o *GetNvmfNamespacesConnectionBadRequest) Error() string
func (*GetNvmfNamespacesConnectionBadRequest) GetPayload ¶
func (o *GetNvmfNamespacesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetNvmfNamespacesConnectionInternalServerError ¶
type GetNvmfNamespacesConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetNvmfNamespacesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetNvmfNamespacesConnectionInternalServerError ¶
func NewGetNvmfNamespacesConnectionInternalServerError() *GetNvmfNamespacesConnectionInternalServerError
NewGetNvmfNamespacesConnectionInternalServerError creates a GetNvmfNamespacesConnectionInternalServerError with default headers values
func (*GetNvmfNamespacesConnectionInternalServerError) Error ¶
func (o *GetNvmfNamespacesConnectionInternalServerError) Error() string
func (*GetNvmfNamespacesConnectionInternalServerError) GetPayload ¶
func (o *GetNvmfNamespacesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetNvmfNamespacesConnectionNotFound ¶
type GetNvmfNamespacesConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetNvmfNamespacesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetNvmfNamespacesConnectionNotFound ¶
func NewGetNvmfNamespacesConnectionNotFound() *GetNvmfNamespacesConnectionNotFound
NewGetNvmfNamespacesConnectionNotFound creates a GetNvmfNamespacesConnectionNotFound with default headers values
func (*GetNvmfNamespacesConnectionNotFound) Error ¶
func (o *GetNvmfNamespacesConnectionNotFound) Error() string
func (*GetNvmfNamespacesConnectionNotFound) GetPayload ¶
func (o *GetNvmfNamespacesConnectionNotFound) GetPayload() *models.ErrorBody
type GetNvmfNamespacesConnectionOK ¶
type GetNvmfNamespacesConnectionOK struct { XTowerRequestID string Payload *models.NvmfNamespaceConnection }
GetNvmfNamespacesConnectionOK describes a response with status code 200, with default header values.
GetNvmfNamespacesConnectionOK get nvmf namespaces connection o k
func NewGetNvmfNamespacesConnectionOK ¶
func NewGetNvmfNamespacesConnectionOK() *GetNvmfNamespacesConnectionOK
NewGetNvmfNamespacesConnectionOK creates a GetNvmfNamespacesConnectionOK with default headers values
func (*GetNvmfNamespacesConnectionOK) Error ¶
func (o *GetNvmfNamespacesConnectionOK) Error() string
func (*GetNvmfNamespacesConnectionOK) GetPayload ¶
func (o *GetNvmfNamespacesConnectionOK) GetPayload() *models.NvmfNamespaceConnection
type GetNvmfNamespacesConnectionParams ¶
type GetNvmfNamespacesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetNvmfNamespacesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNvmfNamespacesConnectionParams contains all the parameters to send to the API endpoint
for the get nvmf namespaces connection operation. Typically these are written to a http.Request.
func NewGetNvmfNamespacesConnectionParams ¶
func NewGetNvmfNamespacesConnectionParams() *GetNvmfNamespacesConnectionParams
NewGetNvmfNamespacesConnectionParams creates a new GetNvmfNamespacesConnectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNvmfNamespacesConnectionParamsWithContext ¶
func NewGetNvmfNamespacesConnectionParamsWithContext(ctx context.Context) *GetNvmfNamespacesConnectionParams
NewGetNvmfNamespacesConnectionParamsWithContext creates a new GetNvmfNamespacesConnectionParams object with the ability to set a context for a request.
func NewGetNvmfNamespacesConnectionParamsWithHTTPClient ¶
func NewGetNvmfNamespacesConnectionParamsWithHTTPClient(client *http.Client) *GetNvmfNamespacesConnectionParams
NewGetNvmfNamespacesConnectionParamsWithHTTPClient creates a new GetNvmfNamespacesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetNvmfNamespacesConnectionParamsWithTimeout ¶
func NewGetNvmfNamespacesConnectionParamsWithTimeout(timeout time.Duration) *GetNvmfNamespacesConnectionParams
NewGetNvmfNamespacesConnectionParamsWithTimeout creates a new GetNvmfNamespacesConnectionParams object with the ability to set a timeout on a request.
func (*GetNvmfNamespacesConnectionParams) SetContentLanguage ¶
func (o *GetNvmfNamespacesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get nvmf namespaces connection params
func (*GetNvmfNamespacesConnectionParams) SetContext ¶
func (o *GetNvmfNamespacesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get nvmf namespaces connection params
func (*GetNvmfNamespacesConnectionParams) SetDefaults ¶
func (o *GetNvmfNamespacesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get nvmf namespaces connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfNamespacesConnectionParams) SetHTTPClient ¶
func (o *GetNvmfNamespacesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nvmf namespaces connection params
func (*GetNvmfNamespacesConnectionParams) SetRequestBody ¶
func (o *GetNvmfNamespacesConnectionParams) SetRequestBody(requestBody *models.GetNvmfNamespacesConnectionRequestBody)
SetRequestBody adds the requestBody to the get nvmf namespaces connection params
func (*GetNvmfNamespacesConnectionParams) SetTimeout ¶
func (o *GetNvmfNamespacesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nvmf namespaces connection params
func (*GetNvmfNamespacesConnectionParams) WithContentLanguage ¶
func (o *GetNvmfNamespacesConnectionParams) WithContentLanguage(contentLanguage *string) *GetNvmfNamespacesConnectionParams
WithContentLanguage adds the contentLanguage to the get nvmf namespaces connection params
func (*GetNvmfNamespacesConnectionParams) WithContext ¶
func (o *GetNvmfNamespacesConnectionParams) WithContext(ctx context.Context) *GetNvmfNamespacesConnectionParams
WithContext adds the context to the get nvmf namespaces connection params
func (*GetNvmfNamespacesConnectionParams) WithDefaults ¶
func (o *GetNvmfNamespacesConnectionParams) WithDefaults() *GetNvmfNamespacesConnectionParams
WithDefaults hydrates default values in the get nvmf namespaces connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfNamespacesConnectionParams) WithHTTPClient ¶
func (o *GetNvmfNamespacesConnectionParams) WithHTTPClient(client *http.Client) *GetNvmfNamespacesConnectionParams
WithHTTPClient adds the HTTPClient to the get nvmf namespaces connection params
func (*GetNvmfNamespacesConnectionParams) WithRequestBody ¶
func (o *GetNvmfNamespacesConnectionParams) WithRequestBody(requestBody *models.GetNvmfNamespacesConnectionRequestBody) *GetNvmfNamespacesConnectionParams
WithRequestBody adds the requestBody to the get nvmf namespaces connection params
func (*GetNvmfNamespacesConnectionParams) WithTimeout ¶
func (o *GetNvmfNamespacesConnectionParams) WithTimeout(timeout time.Duration) *GetNvmfNamespacesConnectionParams
WithTimeout adds the timeout to the get nvmf namespaces connection params
func (*GetNvmfNamespacesConnectionParams) WriteToRequest ¶
func (o *GetNvmfNamespacesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNvmfNamespacesConnectionReader ¶
type GetNvmfNamespacesConnectionReader struct {
// contains filtered or unexported fields
}
GetNvmfNamespacesConnectionReader is a Reader for the GetNvmfNamespacesConnection structure.
func (*GetNvmfNamespacesConnectionReader) ReadResponse ¶
func (o *GetNvmfNamespacesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNvmfNamespacesInternalServerError ¶
type GetNvmfNamespacesInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetNvmfNamespacesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetNvmfNamespacesInternalServerError ¶
func NewGetNvmfNamespacesInternalServerError() *GetNvmfNamespacesInternalServerError
NewGetNvmfNamespacesInternalServerError creates a GetNvmfNamespacesInternalServerError with default headers values
func (*GetNvmfNamespacesInternalServerError) Error ¶
func (o *GetNvmfNamespacesInternalServerError) Error() string
func (*GetNvmfNamespacesInternalServerError) GetPayload ¶
func (o *GetNvmfNamespacesInternalServerError) GetPayload() *models.ErrorBody
type GetNvmfNamespacesNotFound ¶
GetNvmfNamespacesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetNvmfNamespacesNotFound ¶
func NewGetNvmfNamespacesNotFound() *GetNvmfNamespacesNotFound
NewGetNvmfNamespacesNotFound creates a GetNvmfNamespacesNotFound with default headers values
func (*GetNvmfNamespacesNotFound) Error ¶
func (o *GetNvmfNamespacesNotFound) Error() string
func (*GetNvmfNamespacesNotFound) GetPayload ¶
func (o *GetNvmfNamespacesNotFound) GetPayload() *models.ErrorBody
type GetNvmfNamespacesOK ¶
type GetNvmfNamespacesOK struct { XTowerRequestID string Payload []*models.NvmfNamespace }
GetNvmfNamespacesOK describes a response with status code 200, with default header values.
GetNvmfNamespacesOK get nvmf namespaces o k
func NewGetNvmfNamespacesOK ¶
func NewGetNvmfNamespacesOK() *GetNvmfNamespacesOK
NewGetNvmfNamespacesOK creates a GetNvmfNamespacesOK with default headers values
func (*GetNvmfNamespacesOK) Error ¶
func (o *GetNvmfNamespacesOK) Error() string
func (*GetNvmfNamespacesOK) GetPayload ¶
func (o *GetNvmfNamespacesOK) GetPayload() []*models.NvmfNamespace
type GetNvmfNamespacesParams ¶
type GetNvmfNamespacesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetNvmfNamespacesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNvmfNamespacesParams contains all the parameters to send to the API endpoint
for the get nvmf namespaces operation. Typically these are written to a http.Request.
func NewGetNvmfNamespacesParams ¶
func NewGetNvmfNamespacesParams() *GetNvmfNamespacesParams
NewGetNvmfNamespacesParams creates a new GetNvmfNamespacesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNvmfNamespacesParamsWithContext ¶
func NewGetNvmfNamespacesParamsWithContext(ctx context.Context) *GetNvmfNamespacesParams
NewGetNvmfNamespacesParamsWithContext creates a new GetNvmfNamespacesParams object with the ability to set a context for a request.
func NewGetNvmfNamespacesParamsWithHTTPClient ¶
func NewGetNvmfNamespacesParamsWithHTTPClient(client *http.Client) *GetNvmfNamespacesParams
NewGetNvmfNamespacesParamsWithHTTPClient creates a new GetNvmfNamespacesParams object with the ability to set a custom HTTPClient for a request.
func NewGetNvmfNamespacesParamsWithTimeout ¶
func NewGetNvmfNamespacesParamsWithTimeout(timeout time.Duration) *GetNvmfNamespacesParams
NewGetNvmfNamespacesParamsWithTimeout creates a new GetNvmfNamespacesParams object with the ability to set a timeout on a request.
func (*GetNvmfNamespacesParams) SetContentLanguage ¶
func (o *GetNvmfNamespacesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get nvmf namespaces params
func (*GetNvmfNamespacesParams) SetContext ¶
func (o *GetNvmfNamespacesParams) SetContext(ctx context.Context)
SetContext adds the context to the get nvmf namespaces params
func (*GetNvmfNamespacesParams) SetDefaults ¶
func (o *GetNvmfNamespacesParams) SetDefaults()
SetDefaults hydrates default values in the get nvmf namespaces params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfNamespacesParams) SetHTTPClient ¶
func (o *GetNvmfNamespacesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nvmf namespaces params
func (*GetNvmfNamespacesParams) SetRequestBody ¶
func (o *GetNvmfNamespacesParams) SetRequestBody(requestBody *models.GetNvmfNamespacesRequestBody)
SetRequestBody adds the requestBody to the get nvmf namespaces params
func (*GetNvmfNamespacesParams) SetTimeout ¶
func (o *GetNvmfNamespacesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nvmf namespaces params
func (*GetNvmfNamespacesParams) WithContentLanguage ¶
func (o *GetNvmfNamespacesParams) WithContentLanguage(contentLanguage *string) *GetNvmfNamespacesParams
WithContentLanguage adds the contentLanguage to the get nvmf namespaces params
func (*GetNvmfNamespacesParams) WithContext ¶
func (o *GetNvmfNamespacesParams) WithContext(ctx context.Context) *GetNvmfNamespacesParams
WithContext adds the context to the get nvmf namespaces params
func (*GetNvmfNamespacesParams) WithDefaults ¶
func (o *GetNvmfNamespacesParams) WithDefaults() *GetNvmfNamespacesParams
WithDefaults hydrates default values in the get nvmf namespaces params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfNamespacesParams) WithHTTPClient ¶
func (o *GetNvmfNamespacesParams) WithHTTPClient(client *http.Client) *GetNvmfNamespacesParams
WithHTTPClient adds the HTTPClient to the get nvmf namespaces params
func (*GetNvmfNamespacesParams) WithRequestBody ¶
func (o *GetNvmfNamespacesParams) WithRequestBody(requestBody *models.GetNvmfNamespacesRequestBody) *GetNvmfNamespacesParams
WithRequestBody adds the requestBody to the get nvmf namespaces params
func (*GetNvmfNamespacesParams) WithTimeout ¶
func (o *GetNvmfNamespacesParams) WithTimeout(timeout time.Duration) *GetNvmfNamespacesParams
WithTimeout adds the timeout to the get nvmf namespaces params
func (*GetNvmfNamespacesParams) WriteToRequest ¶
func (o *GetNvmfNamespacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNvmfNamespacesReader ¶
type GetNvmfNamespacesReader struct {
// contains filtered or unexported fields
}
GetNvmfNamespacesReader is a Reader for the GetNvmfNamespaces structure.
func (*GetNvmfNamespacesReader) ReadResponse ¶
func (o *GetNvmfNamespacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RollbackNvmfNamespaceFromSnapshotBadRequest ¶
type RollbackNvmfNamespaceFromSnapshotBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
RollbackNvmfNamespaceFromSnapshotBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRollbackNvmfNamespaceFromSnapshotBadRequest ¶
func NewRollbackNvmfNamespaceFromSnapshotBadRequest() *RollbackNvmfNamespaceFromSnapshotBadRequest
NewRollbackNvmfNamespaceFromSnapshotBadRequest creates a RollbackNvmfNamespaceFromSnapshotBadRequest with default headers values
func (*RollbackNvmfNamespaceFromSnapshotBadRequest) Error ¶
func (o *RollbackNvmfNamespaceFromSnapshotBadRequest) Error() string
func (*RollbackNvmfNamespaceFromSnapshotBadRequest) GetPayload ¶
func (o *RollbackNvmfNamespaceFromSnapshotBadRequest) GetPayload() *models.ErrorBody
type RollbackNvmfNamespaceFromSnapshotInternalServerError ¶
type RollbackNvmfNamespaceFromSnapshotInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
RollbackNvmfNamespaceFromSnapshotInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRollbackNvmfNamespaceFromSnapshotInternalServerError ¶
func NewRollbackNvmfNamespaceFromSnapshotInternalServerError() *RollbackNvmfNamespaceFromSnapshotInternalServerError
NewRollbackNvmfNamespaceFromSnapshotInternalServerError creates a RollbackNvmfNamespaceFromSnapshotInternalServerError with default headers values
func (*RollbackNvmfNamespaceFromSnapshotInternalServerError) Error ¶
func (o *RollbackNvmfNamespaceFromSnapshotInternalServerError) Error() string
func (*RollbackNvmfNamespaceFromSnapshotInternalServerError) GetPayload ¶
func (o *RollbackNvmfNamespaceFromSnapshotInternalServerError) GetPayload() *models.ErrorBody
type RollbackNvmfNamespaceFromSnapshotNotFound ¶
type RollbackNvmfNamespaceFromSnapshotNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
RollbackNvmfNamespaceFromSnapshotNotFound describes a response with status code 404, with default header values.
Not found
func NewRollbackNvmfNamespaceFromSnapshotNotFound ¶
func NewRollbackNvmfNamespaceFromSnapshotNotFound() *RollbackNvmfNamespaceFromSnapshotNotFound
NewRollbackNvmfNamespaceFromSnapshotNotFound creates a RollbackNvmfNamespaceFromSnapshotNotFound with default headers values
func (*RollbackNvmfNamespaceFromSnapshotNotFound) Error ¶
func (o *RollbackNvmfNamespaceFromSnapshotNotFound) Error() string
func (*RollbackNvmfNamespaceFromSnapshotNotFound) GetPayload ¶
func (o *RollbackNvmfNamespaceFromSnapshotNotFound) GetPayload() *models.ErrorBody
type RollbackNvmfNamespaceFromSnapshotOK ¶
type RollbackNvmfNamespaceFromSnapshotOK struct { XTowerRequestID string Payload []*models.WithTaskNvmfNamespace }
RollbackNvmfNamespaceFromSnapshotOK describes a response with status code 200, with default header values.
RollbackNvmfNamespaceFromSnapshotOK rollback nvmf namespace from snapshot o k
func NewRollbackNvmfNamespaceFromSnapshotOK ¶
func NewRollbackNvmfNamespaceFromSnapshotOK() *RollbackNvmfNamespaceFromSnapshotOK
NewRollbackNvmfNamespaceFromSnapshotOK creates a RollbackNvmfNamespaceFromSnapshotOK with default headers values
func (*RollbackNvmfNamespaceFromSnapshotOK) Error ¶
func (o *RollbackNvmfNamespaceFromSnapshotOK) Error() string
func (*RollbackNvmfNamespaceFromSnapshotOK) GetPayload ¶
func (o *RollbackNvmfNamespaceFromSnapshotOK) GetPayload() []*models.WithTaskNvmfNamespace
type RollbackNvmfNamespaceFromSnapshotParams ¶
type RollbackNvmfNamespaceFromSnapshotParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.NvmfNamespaceRollbackParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RollbackNvmfNamespaceFromSnapshotParams contains all the parameters to send to the API endpoint
for the rollback nvmf namespace from snapshot operation. Typically these are written to a http.Request.
func NewRollbackNvmfNamespaceFromSnapshotParams ¶
func NewRollbackNvmfNamespaceFromSnapshotParams() *RollbackNvmfNamespaceFromSnapshotParams
NewRollbackNvmfNamespaceFromSnapshotParams creates a new RollbackNvmfNamespaceFromSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRollbackNvmfNamespaceFromSnapshotParamsWithContext ¶
func NewRollbackNvmfNamespaceFromSnapshotParamsWithContext(ctx context.Context) *RollbackNvmfNamespaceFromSnapshotParams
NewRollbackNvmfNamespaceFromSnapshotParamsWithContext creates a new RollbackNvmfNamespaceFromSnapshotParams object with the ability to set a context for a request.
func NewRollbackNvmfNamespaceFromSnapshotParamsWithHTTPClient ¶
func NewRollbackNvmfNamespaceFromSnapshotParamsWithHTTPClient(client *http.Client) *RollbackNvmfNamespaceFromSnapshotParams
NewRollbackNvmfNamespaceFromSnapshotParamsWithHTTPClient creates a new RollbackNvmfNamespaceFromSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewRollbackNvmfNamespaceFromSnapshotParamsWithTimeout ¶
func NewRollbackNvmfNamespaceFromSnapshotParamsWithTimeout(timeout time.Duration) *RollbackNvmfNamespaceFromSnapshotParams
NewRollbackNvmfNamespaceFromSnapshotParamsWithTimeout creates a new RollbackNvmfNamespaceFromSnapshotParams object with the ability to set a timeout on a request.
func (*RollbackNvmfNamespaceFromSnapshotParams) SetContentLanguage ¶
func (o *RollbackNvmfNamespaceFromSnapshotParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the rollback nvmf namespace from snapshot params
func (*RollbackNvmfNamespaceFromSnapshotParams) SetContext ¶
func (o *RollbackNvmfNamespaceFromSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the rollback nvmf namespace from snapshot params
func (*RollbackNvmfNamespaceFromSnapshotParams) SetDefaults ¶
func (o *RollbackNvmfNamespaceFromSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the rollback nvmf namespace from snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*RollbackNvmfNamespaceFromSnapshotParams) SetHTTPClient ¶
func (o *RollbackNvmfNamespaceFromSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rollback nvmf namespace from snapshot params
func (*RollbackNvmfNamespaceFromSnapshotParams) SetRequestBody ¶
func (o *RollbackNvmfNamespaceFromSnapshotParams) SetRequestBody(requestBody []*models.NvmfNamespaceRollbackParams)
SetRequestBody adds the requestBody to the rollback nvmf namespace from snapshot params
func (*RollbackNvmfNamespaceFromSnapshotParams) SetTimeout ¶
func (o *RollbackNvmfNamespaceFromSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rollback nvmf namespace from snapshot params
func (*RollbackNvmfNamespaceFromSnapshotParams) WithContentLanguage ¶
func (o *RollbackNvmfNamespaceFromSnapshotParams) WithContentLanguage(contentLanguage *string) *RollbackNvmfNamespaceFromSnapshotParams
WithContentLanguage adds the contentLanguage to the rollback nvmf namespace from snapshot params
func (*RollbackNvmfNamespaceFromSnapshotParams) WithContext ¶
func (o *RollbackNvmfNamespaceFromSnapshotParams) WithContext(ctx context.Context) *RollbackNvmfNamespaceFromSnapshotParams
WithContext adds the context to the rollback nvmf namespace from snapshot params
func (*RollbackNvmfNamespaceFromSnapshotParams) WithDefaults ¶
func (o *RollbackNvmfNamespaceFromSnapshotParams) WithDefaults() *RollbackNvmfNamespaceFromSnapshotParams
WithDefaults hydrates default values in the rollback nvmf namespace from snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*RollbackNvmfNamespaceFromSnapshotParams) WithHTTPClient ¶
func (o *RollbackNvmfNamespaceFromSnapshotParams) WithHTTPClient(client *http.Client) *RollbackNvmfNamespaceFromSnapshotParams
WithHTTPClient adds the HTTPClient to the rollback nvmf namespace from snapshot params
func (*RollbackNvmfNamespaceFromSnapshotParams) WithRequestBody ¶
func (o *RollbackNvmfNamespaceFromSnapshotParams) WithRequestBody(requestBody []*models.NvmfNamespaceRollbackParams) *RollbackNvmfNamespaceFromSnapshotParams
WithRequestBody adds the requestBody to the rollback nvmf namespace from snapshot params
func (*RollbackNvmfNamespaceFromSnapshotParams) WithTimeout ¶
func (o *RollbackNvmfNamespaceFromSnapshotParams) WithTimeout(timeout time.Duration) *RollbackNvmfNamespaceFromSnapshotParams
WithTimeout adds the timeout to the rollback nvmf namespace from snapshot params
func (*RollbackNvmfNamespaceFromSnapshotParams) WriteToRequest ¶
func (o *RollbackNvmfNamespaceFromSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RollbackNvmfNamespaceFromSnapshotReader ¶
type RollbackNvmfNamespaceFromSnapshotReader struct {
// contains filtered or unexported fields
}
RollbackNvmfNamespaceFromSnapshotReader is a Reader for the RollbackNvmfNamespaceFromSnapshot structure.
func (*RollbackNvmfNamespaceFromSnapshotReader) ReadResponse ¶
func (o *RollbackNvmfNamespaceFromSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNvmfNamespaceBadRequest ¶
UpdateNvmfNamespaceBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateNvmfNamespaceBadRequest ¶
func NewUpdateNvmfNamespaceBadRequest() *UpdateNvmfNamespaceBadRequest
NewUpdateNvmfNamespaceBadRequest creates a UpdateNvmfNamespaceBadRequest with default headers values
func (*UpdateNvmfNamespaceBadRequest) Error ¶
func (o *UpdateNvmfNamespaceBadRequest) Error() string
func (*UpdateNvmfNamespaceBadRequest) GetPayload ¶
func (o *UpdateNvmfNamespaceBadRequest) GetPayload() *models.ErrorBody
type UpdateNvmfNamespaceInternalServerError ¶
type UpdateNvmfNamespaceInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateNvmfNamespaceInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateNvmfNamespaceInternalServerError ¶
func NewUpdateNvmfNamespaceInternalServerError() *UpdateNvmfNamespaceInternalServerError
NewUpdateNvmfNamespaceInternalServerError creates a UpdateNvmfNamespaceInternalServerError with default headers values
func (*UpdateNvmfNamespaceInternalServerError) Error ¶
func (o *UpdateNvmfNamespaceInternalServerError) Error() string
func (*UpdateNvmfNamespaceInternalServerError) GetPayload ¶
func (o *UpdateNvmfNamespaceInternalServerError) GetPayload() *models.ErrorBody
type UpdateNvmfNamespaceNotFound ¶
UpdateNvmfNamespaceNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateNvmfNamespaceNotFound ¶
func NewUpdateNvmfNamespaceNotFound() *UpdateNvmfNamespaceNotFound
NewUpdateNvmfNamespaceNotFound creates a UpdateNvmfNamespaceNotFound with default headers values
func (*UpdateNvmfNamespaceNotFound) Error ¶
func (o *UpdateNvmfNamespaceNotFound) Error() string
func (*UpdateNvmfNamespaceNotFound) GetPayload ¶
func (o *UpdateNvmfNamespaceNotFound) GetPayload() *models.ErrorBody
type UpdateNvmfNamespaceOK ¶
type UpdateNvmfNamespaceOK struct { XTowerRequestID string Payload []*models.WithTaskNvmfNamespace }
UpdateNvmfNamespaceOK describes a response with status code 200, with default header values.
UpdateNvmfNamespaceOK update nvmf namespace o k
func NewUpdateNvmfNamespaceOK ¶
func NewUpdateNvmfNamespaceOK() *UpdateNvmfNamespaceOK
NewUpdateNvmfNamespaceOK creates a UpdateNvmfNamespaceOK with default headers values
func (*UpdateNvmfNamespaceOK) Error ¶
func (o *UpdateNvmfNamespaceOK) Error() string
func (*UpdateNvmfNamespaceOK) GetPayload ¶
func (o *UpdateNvmfNamespaceOK) GetPayload() []*models.WithTaskNvmfNamespace
type UpdateNvmfNamespaceParams ¶
type UpdateNvmfNamespaceParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.NvmfNamespaceUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNvmfNamespaceParams contains all the parameters to send to the API endpoint
for the update nvmf namespace operation. Typically these are written to a http.Request.
func NewUpdateNvmfNamespaceParams ¶
func NewUpdateNvmfNamespaceParams() *UpdateNvmfNamespaceParams
NewUpdateNvmfNamespaceParams creates a new UpdateNvmfNamespaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNvmfNamespaceParamsWithContext ¶
func NewUpdateNvmfNamespaceParamsWithContext(ctx context.Context) *UpdateNvmfNamespaceParams
NewUpdateNvmfNamespaceParamsWithContext creates a new UpdateNvmfNamespaceParams object with the ability to set a context for a request.
func NewUpdateNvmfNamespaceParamsWithHTTPClient ¶
func NewUpdateNvmfNamespaceParamsWithHTTPClient(client *http.Client) *UpdateNvmfNamespaceParams
NewUpdateNvmfNamespaceParamsWithHTTPClient creates a new UpdateNvmfNamespaceParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNvmfNamespaceParamsWithTimeout ¶
func NewUpdateNvmfNamespaceParamsWithTimeout(timeout time.Duration) *UpdateNvmfNamespaceParams
NewUpdateNvmfNamespaceParamsWithTimeout creates a new UpdateNvmfNamespaceParams object with the ability to set a timeout on a request.
func (*UpdateNvmfNamespaceParams) SetContentLanguage ¶
func (o *UpdateNvmfNamespaceParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update nvmf namespace params
func (*UpdateNvmfNamespaceParams) SetContext ¶
func (o *UpdateNvmfNamespaceParams) SetContext(ctx context.Context)
SetContext adds the context to the update nvmf namespace params
func (*UpdateNvmfNamespaceParams) SetDefaults ¶
func (o *UpdateNvmfNamespaceParams) SetDefaults()
SetDefaults hydrates default values in the update nvmf namespace params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNvmfNamespaceParams) SetHTTPClient ¶
func (o *UpdateNvmfNamespaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update nvmf namespace params
func (*UpdateNvmfNamespaceParams) SetRequestBody ¶
func (o *UpdateNvmfNamespaceParams) SetRequestBody(requestBody *models.NvmfNamespaceUpdationParams)
SetRequestBody adds the requestBody to the update nvmf namespace params
func (*UpdateNvmfNamespaceParams) SetTimeout ¶
func (o *UpdateNvmfNamespaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update nvmf namespace params
func (*UpdateNvmfNamespaceParams) WithContentLanguage ¶
func (o *UpdateNvmfNamespaceParams) WithContentLanguage(contentLanguage *string) *UpdateNvmfNamespaceParams
WithContentLanguage adds the contentLanguage to the update nvmf namespace params
func (*UpdateNvmfNamespaceParams) WithContext ¶
func (o *UpdateNvmfNamespaceParams) WithContext(ctx context.Context) *UpdateNvmfNamespaceParams
WithContext adds the context to the update nvmf namespace params
func (*UpdateNvmfNamespaceParams) WithDefaults ¶
func (o *UpdateNvmfNamespaceParams) WithDefaults() *UpdateNvmfNamespaceParams
WithDefaults hydrates default values in the update nvmf namespace params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNvmfNamespaceParams) WithHTTPClient ¶
func (o *UpdateNvmfNamespaceParams) WithHTTPClient(client *http.Client) *UpdateNvmfNamespaceParams
WithHTTPClient adds the HTTPClient to the update nvmf namespace params
func (*UpdateNvmfNamespaceParams) WithRequestBody ¶
func (o *UpdateNvmfNamespaceParams) WithRequestBody(requestBody *models.NvmfNamespaceUpdationParams) *UpdateNvmfNamespaceParams
WithRequestBody adds the requestBody to the update nvmf namespace params
func (*UpdateNvmfNamespaceParams) WithTimeout ¶
func (o *UpdateNvmfNamespaceParams) WithTimeout(timeout time.Duration) *UpdateNvmfNamespaceParams
WithTimeout adds the timeout to the update nvmf namespace params
func (*UpdateNvmfNamespaceParams) WriteToRequest ¶
func (o *UpdateNvmfNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNvmfNamespaceReader ¶
type UpdateNvmfNamespaceReader struct {
// contains filtered or unexported fields
}
UpdateNvmfNamespaceReader is a Reader for the UpdateNvmfNamespace structure.
func (*UpdateNvmfNamespaceReader) ReadResponse ¶
func (o *UpdateNvmfNamespaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- clone_nvmf_namespace_from_snapshot_parameters.go
- clone_nvmf_namespace_from_snapshot_responses.go
- create_nvmf_namespace_parameters.go
- create_nvmf_namespace_responses.go
- delete_nvmf_namespace_parameters.go
- delete_nvmf_namespace_responses.go
- get_nvmf_namespaces_connection_parameters.go
- get_nvmf_namespaces_connection_responses.go
- get_nvmf_namespaces_parameters.go
- get_nvmf_namespaces_responses.go
- nvmf_namespace_client.go
- rollback_nvmf_namespace_from_snapshot_parameters.go
- rollback_nvmf_namespace_from_snapshot_responses.go
- update_nvmf_namespace_parameters.go
- update_nvmf_namespace_responses.go