nvmf_namespace

package
v2.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 10 Imported by: 0

Documentation

Index

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 (*CloneNvmfNamespaceFromSnapshotBadRequest) GetPayload

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 (*CloneNvmfNamespaceFromSnapshotInternalServerError) GetPayload

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 (*CloneNvmfNamespaceFromSnapshotNotFound) GetPayload

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 (*CloneNvmfNamespaceFromSnapshotOK) GetPayload

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

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

WithContext adds the context to the clone nvmf namespace from snapshot params

func (*CloneNvmfNamespaceFromSnapshotParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the clone nvmf namespace from snapshot params

func (*CloneNvmfNamespaceFromSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the clone nvmf namespace from snapshot params

func (*CloneNvmfNamespaceFromSnapshotParams) WithTimeout

WithTimeout adds the timeout to the clone nvmf namespace from snapshot params

func (*CloneNvmfNamespaceFromSnapshotParams) WriteToRequest

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

type CreateNvmfNamespaceBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*CreateNvmfNamespaceBadRequest) GetPayload

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 (*CreateNvmfNamespaceInternalServerError) GetPayload

type CreateNvmfNamespaceNotFound

type CreateNvmfNamespaceNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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

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

WithContext adds the context to the create nvmf namespace params

func (*CreateNvmfNamespaceParams) WithDefaults

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

WithRequestBody adds the requestBody to the create nvmf namespace params

func (*CreateNvmfNamespaceParams) WithTimeout

WithTimeout adds the timeout to the create nvmf namespace params

func (*CreateNvmfNamespaceParams) WriteToRequest

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

type DeleteNvmfNamespaceBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*DeleteNvmfNamespaceBadRequest) GetPayload

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 (*DeleteNvmfNamespaceInternalServerError) GetPayload

type DeleteNvmfNamespaceNotFound

type DeleteNvmfNamespaceNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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

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

WithContext adds the context to the delete nvmf namespace params

func (*DeleteNvmfNamespaceParams) WithDefaults

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

WithRequestBody adds the requestBody to the delete nvmf namespace params

func (*DeleteNvmfNamespaceParams) WithTimeout

WithTimeout adds the timeout to the delete nvmf namespace params

func (*DeleteNvmfNamespaceParams) WriteToRequest

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

type GetNvmfNamespacesBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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 (*GetNvmfNamespacesConnectionBadRequest) GetPayload

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 (*GetNvmfNamespacesConnectionInternalServerError) GetPayload

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 (*GetNvmfNamespacesConnectionNotFound) GetPayload

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 (*GetNvmfNamespacesConnectionOK) GetPayload

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

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

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

WithContext adds the context to the get nvmf namespaces connection params

func (*GetNvmfNamespacesConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get nvmf namespaces connection params

func (*GetNvmfNamespacesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get nvmf namespaces connection params

func (*GetNvmfNamespacesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get nvmf namespaces connection params

func (*GetNvmfNamespacesConnectionParams) WriteToRequest

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 (*GetNvmfNamespacesInternalServerError) GetPayload

type GetNvmfNamespacesNotFound

type GetNvmfNamespacesNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

WithContext adds the context to the get nvmf namespaces params

func (*GetNvmfNamespacesParams) WithDefaults

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

WithRequestBody adds the requestBody to the get nvmf namespaces params

func (*GetNvmfNamespacesParams) WithTimeout

WithTimeout adds the timeout to the get nvmf namespaces params

func (*GetNvmfNamespacesParams) WriteToRequest

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 (*RollbackNvmfNamespaceFromSnapshotBadRequest) GetPayload

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 (*RollbackNvmfNamespaceFromSnapshotInternalServerError) GetPayload

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 (*RollbackNvmfNamespaceFromSnapshotNotFound) GetPayload

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 (*RollbackNvmfNamespaceFromSnapshotOK) GetPayload

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

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

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

WithContentLanguage adds the contentLanguage to the rollback nvmf namespace from snapshot params

func (*RollbackNvmfNamespaceFromSnapshotParams) WithContext

WithContext adds the context to the rollback nvmf namespace from snapshot params

func (*RollbackNvmfNamespaceFromSnapshotParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the rollback nvmf namespace from snapshot params

func (*RollbackNvmfNamespaceFromSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the rollback nvmf namespace from snapshot params

func (*RollbackNvmfNamespaceFromSnapshotParams) WithTimeout

WithTimeout adds the timeout to the rollback nvmf namespace from snapshot params

func (*RollbackNvmfNamespaceFromSnapshotParams) WriteToRequest

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

type UpdateNvmfNamespaceBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*UpdateNvmfNamespaceBadRequest) GetPayload

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 (*UpdateNvmfNamespaceInternalServerError) GetPayload

type UpdateNvmfNamespaceNotFound

type UpdateNvmfNamespaceNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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

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

WithContext adds the context to the update nvmf namespace params

func (*UpdateNvmfNamespaceParams) WithDefaults

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

WithRequestBody adds the requestBody to the update nvmf namespace params

func (*UpdateNvmfNamespaceParams) WithTimeout

WithTimeout adds the timeout to the update nvmf namespace params

func (*UpdateNvmfNamespaceParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL