Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateNvmfSubsystem(params *CreateNvmfSubsystemParams, opts ...ClientOption) (*CreateNvmfSubsystemOK, error)
- func (a *Client) DeleteNvmfSubsystem(params *DeleteNvmfSubsystemParams, opts ...ClientOption) (*DeleteNvmfSubsystemOK, error)
- func (a *Client) GetNvmfSubsystems(params *GetNvmfSubsystemsParams, opts ...ClientOption) (*GetNvmfSubsystemsOK, error)
- func (a *Client) GetNvmfSubsystemsConnection(params *GetNvmfSubsystemsConnectionParams, opts ...ClientOption) (*GetNvmfSubsystemsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNvmfSubsystem(params *UpdateNvmfSubsystemParams, opts ...ClientOption) (*UpdateNvmfSubsystemOK, error)
- type ClientOption
- type ClientService
- type CreateNvmfSubsystemBadRequest
- type CreateNvmfSubsystemInternalServerError
- type CreateNvmfSubsystemNotFound
- type CreateNvmfSubsystemOK
- type CreateNvmfSubsystemParams
- func NewCreateNvmfSubsystemParams() *CreateNvmfSubsystemParams
- func NewCreateNvmfSubsystemParamsWithContext(ctx context.Context) *CreateNvmfSubsystemParams
- func NewCreateNvmfSubsystemParamsWithHTTPClient(client *http.Client) *CreateNvmfSubsystemParams
- func NewCreateNvmfSubsystemParamsWithTimeout(timeout time.Duration) *CreateNvmfSubsystemParams
- func (o *CreateNvmfSubsystemParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateNvmfSubsystemParams) SetContext(ctx context.Context)
- func (o *CreateNvmfSubsystemParams) SetDefaults()
- func (o *CreateNvmfSubsystemParams) SetHTTPClient(client *http.Client)
- func (o *CreateNvmfSubsystemParams) SetRequestBody(requestBody []*models.NvmfSubsystemCreationParams)
- func (o *CreateNvmfSubsystemParams) SetTimeout(timeout time.Duration)
- func (o *CreateNvmfSubsystemParams) WithContentLanguage(contentLanguage *string) *CreateNvmfSubsystemParams
- func (o *CreateNvmfSubsystemParams) WithContext(ctx context.Context) *CreateNvmfSubsystemParams
- func (o *CreateNvmfSubsystemParams) WithDefaults() *CreateNvmfSubsystemParams
- func (o *CreateNvmfSubsystemParams) WithHTTPClient(client *http.Client) *CreateNvmfSubsystemParams
- func (o *CreateNvmfSubsystemParams) WithRequestBody(requestBody []*models.NvmfSubsystemCreationParams) *CreateNvmfSubsystemParams
- func (o *CreateNvmfSubsystemParams) WithTimeout(timeout time.Duration) *CreateNvmfSubsystemParams
- func (o *CreateNvmfSubsystemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNvmfSubsystemReader
- type DeleteNvmfSubsystemBadRequest
- type DeleteNvmfSubsystemInternalServerError
- type DeleteNvmfSubsystemNotFound
- type DeleteNvmfSubsystemOK
- type DeleteNvmfSubsystemParams
- func NewDeleteNvmfSubsystemParams() *DeleteNvmfSubsystemParams
- func NewDeleteNvmfSubsystemParamsWithContext(ctx context.Context) *DeleteNvmfSubsystemParams
- func NewDeleteNvmfSubsystemParamsWithHTTPClient(client *http.Client) *DeleteNvmfSubsystemParams
- func NewDeleteNvmfSubsystemParamsWithTimeout(timeout time.Duration) *DeleteNvmfSubsystemParams
- func (o *DeleteNvmfSubsystemParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteNvmfSubsystemParams) SetContext(ctx context.Context)
- func (o *DeleteNvmfSubsystemParams) SetDefaults()
- func (o *DeleteNvmfSubsystemParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNvmfSubsystemParams) SetRequestBody(requestBody *models.NvmfSubsystemDeletionParams)
- func (o *DeleteNvmfSubsystemParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNvmfSubsystemParams) WithContentLanguage(contentLanguage *string) *DeleteNvmfSubsystemParams
- func (o *DeleteNvmfSubsystemParams) WithContext(ctx context.Context) *DeleteNvmfSubsystemParams
- func (o *DeleteNvmfSubsystemParams) WithDefaults() *DeleteNvmfSubsystemParams
- func (o *DeleteNvmfSubsystemParams) WithHTTPClient(client *http.Client) *DeleteNvmfSubsystemParams
- func (o *DeleteNvmfSubsystemParams) WithRequestBody(requestBody *models.NvmfSubsystemDeletionParams) *DeleteNvmfSubsystemParams
- func (o *DeleteNvmfSubsystemParams) WithTimeout(timeout time.Duration) *DeleteNvmfSubsystemParams
- func (o *DeleteNvmfSubsystemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNvmfSubsystemReader
- type GetNvmfSubsystemsBadRequest
- type GetNvmfSubsystemsConnectionBadRequest
- type GetNvmfSubsystemsConnectionInternalServerError
- type GetNvmfSubsystemsConnectionNotFound
- type GetNvmfSubsystemsConnectionOK
- type GetNvmfSubsystemsConnectionParams
- func NewGetNvmfSubsystemsConnectionParams() *GetNvmfSubsystemsConnectionParams
- func NewGetNvmfSubsystemsConnectionParamsWithContext(ctx context.Context) *GetNvmfSubsystemsConnectionParams
- func NewGetNvmfSubsystemsConnectionParamsWithHTTPClient(client *http.Client) *GetNvmfSubsystemsConnectionParams
- func NewGetNvmfSubsystemsConnectionParamsWithTimeout(timeout time.Duration) *GetNvmfSubsystemsConnectionParams
- func (o *GetNvmfSubsystemsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetNvmfSubsystemsConnectionParams) SetContext(ctx context.Context)
- func (o *GetNvmfSubsystemsConnectionParams) SetDefaults()
- func (o *GetNvmfSubsystemsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetNvmfSubsystemsConnectionParams) SetRequestBody(requestBody *models.GetNvmfSubsystemsConnectionRequestBody)
- func (o *GetNvmfSubsystemsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetNvmfSubsystemsConnectionParams) WithContentLanguage(contentLanguage *string) *GetNvmfSubsystemsConnectionParams
- func (o *GetNvmfSubsystemsConnectionParams) WithContext(ctx context.Context) *GetNvmfSubsystemsConnectionParams
- func (o *GetNvmfSubsystemsConnectionParams) WithDefaults() *GetNvmfSubsystemsConnectionParams
- func (o *GetNvmfSubsystemsConnectionParams) WithHTTPClient(client *http.Client) *GetNvmfSubsystemsConnectionParams
- func (o *GetNvmfSubsystemsConnectionParams) WithRequestBody(requestBody *models.GetNvmfSubsystemsConnectionRequestBody) *GetNvmfSubsystemsConnectionParams
- func (o *GetNvmfSubsystemsConnectionParams) WithTimeout(timeout time.Duration) *GetNvmfSubsystemsConnectionParams
- func (o *GetNvmfSubsystemsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNvmfSubsystemsConnectionReader
- type GetNvmfSubsystemsInternalServerError
- type GetNvmfSubsystemsNotFound
- type GetNvmfSubsystemsOK
- type GetNvmfSubsystemsParams
- func NewGetNvmfSubsystemsParams() *GetNvmfSubsystemsParams
- func NewGetNvmfSubsystemsParamsWithContext(ctx context.Context) *GetNvmfSubsystemsParams
- func NewGetNvmfSubsystemsParamsWithHTTPClient(client *http.Client) *GetNvmfSubsystemsParams
- func NewGetNvmfSubsystemsParamsWithTimeout(timeout time.Duration) *GetNvmfSubsystemsParams
- func (o *GetNvmfSubsystemsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetNvmfSubsystemsParams) SetContext(ctx context.Context)
- func (o *GetNvmfSubsystemsParams) SetDefaults()
- func (o *GetNvmfSubsystemsParams) SetHTTPClient(client *http.Client)
- func (o *GetNvmfSubsystemsParams) SetRequestBody(requestBody *models.GetNvmfSubsystemsRequestBody)
- func (o *GetNvmfSubsystemsParams) SetTimeout(timeout time.Duration)
- func (o *GetNvmfSubsystemsParams) WithContentLanguage(contentLanguage *string) *GetNvmfSubsystemsParams
- func (o *GetNvmfSubsystemsParams) WithContext(ctx context.Context) *GetNvmfSubsystemsParams
- func (o *GetNvmfSubsystemsParams) WithDefaults() *GetNvmfSubsystemsParams
- func (o *GetNvmfSubsystemsParams) WithHTTPClient(client *http.Client) *GetNvmfSubsystemsParams
- func (o *GetNvmfSubsystemsParams) WithRequestBody(requestBody *models.GetNvmfSubsystemsRequestBody) *GetNvmfSubsystemsParams
- func (o *GetNvmfSubsystemsParams) WithTimeout(timeout time.Duration) *GetNvmfSubsystemsParams
- func (o *GetNvmfSubsystemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNvmfSubsystemsReader
- type UpdateNvmfSubsystemBadRequest
- type UpdateNvmfSubsystemInternalServerError
- type UpdateNvmfSubsystemNotFound
- type UpdateNvmfSubsystemOK
- type UpdateNvmfSubsystemParams
- func NewUpdateNvmfSubsystemParams() *UpdateNvmfSubsystemParams
- func NewUpdateNvmfSubsystemParamsWithContext(ctx context.Context) *UpdateNvmfSubsystemParams
- func NewUpdateNvmfSubsystemParamsWithHTTPClient(client *http.Client) *UpdateNvmfSubsystemParams
- func NewUpdateNvmfSubsystemParamsWithTimeout(timeout time.Duration) *UpdateNvmfSubsystemParams
- func (o *UpdateNvmfSubsystemParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateNvmfSubsystemParams) SetContext(ctx context.Context)
- func (o *UpdateNvmfSubsystemParams) SetDefaults()
- func (o *UpdateNvmfSubsystemParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNvmfSubsystemParams) SetRequestBody(requestBody *models.NvmfSubsystemUpdationParams)
- func (o *UpdateNvmfSubsystemParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNvmfSubsystemParams) WithContentLanguage(contentLanguage *string) *UpdateNvmfSubsystemParams
- func (o *UpdateNvmfSubsystemParams) WithContext(ctx context.Context) *UpdateNvmfSubsystemParams
- func (o *UpdateNvmfSubsystemParams) WithDefaults() *UpdateNvmfSubsystemParams
- func (o *UpdateNvmfSubsystemParams) WithHTTPClient(client *http.Client) *UpdateNvmfSubsystemParams
- func (o *UpdateNvmfSubsystemParams) WithRequestBody(requestBody *models.NvmfSubsystemUpdationParams) *UpdateNvmfSubsystemParams
- func (o *UpdateNvmfSubsystemParams) WithTimeout(timeout time.Duration) *UpdateNvmfSubsystemParams
- func (o *UpdateNvmfSubsystemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNvmfSubsystemReader
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 subsystem API
func (*Client) CreateNvmfSubsystem ¶
func (a *Client) CreateNvmfSubsystem(params *CreateNvmfSubsystemParams, opts ...ClientOption) (*CreateNvmfSubsystemOK, error)
CreateNvmfSubsystem create nvmf subsystem API
func (*Client) DeleteNvmfSubsystem ¶
func (a *Client) DeleteNvmfSubsystem(params *DeleteNvmfSubsystemParams, opts ...ClientOption) (*DeleteNvmfSubsystemOK, error)
DeleteNvmfSubsystem delete nvmf subsystem API
func (*Client) GetNvmfSubsystems ¶
func (a *Client) GetNvmfSubsystems(params *GetNvmfSubsystemsParams, opts ...ClientOption) (*GetNvmfSubsystemsOK, error)
GetNvmfSubsystems get nvmf subsystems API
func (*Client) GetNvmfSubsystemsConnection ¶
func (a *Client) GetNvmfSubsystemsConnection(params *GetNvmfSubsystemsConnectionParams, opts ...ClientOption) (*GetNvmfSubsystemsConnectionOK, error)
GetNvmfSubsystemsConnection get nvmf subsystems connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNvmfSubsystem ¶
func (a *Client) UpdateNvmfSubsystem(params *UpdateNvmfSubsystemParams, opts ...ClientOption) (*UpdateNvmfSubsystemOK, error)
UpdateNvmfSubsystem update nvmf subsystem API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateNvmfSubsystem(params *CreateNvmfSubsystemParams, opts ...ClientOption) (*CreateNvmfSubsystemOK, error) DeleteNvmfSubsystem(params *DeleteNvmfSubsystemParams, opts ...ClientOption) (*DeleteNvmfSubsystemOK, error) GetNvmfSubsystems(params *GetNvmfSubsystemsParams, opts ...ClientOption) (*GetNvmfSubsystemsOK, error) GetNvmfSubsystemsConnection(params *GetNvmfSubsystemsConnectionParams, opts ...ClientOption) (*GetNvmfSubsystemsConnectionOK, error) UpdateNvmfSubsystem(params *UpdateNvmfSubsystemParams, opts ...ClientOption) (*UpdateNvmfSubsystemOK, 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 subsystem API client.
type CreateNvmfSubsystemBadRequest ¶
CreateNvmfSubsystemBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateNvmfSubsystemBadRequest ¶
func NewCreateNvmfSubsystemBadRequest() *CreateNvmfSubsystemBadRequest
NewCreateNvmfSubsystemBadRequest creates a CreateNvmfSubsystemBadRequest with default headers values
func (*CreateNvmfSubsystemBadRequest) Error ¶
func (o *CreateNvmfSubsystemBadRequest) Error() string
func (*CreateNvmfSubsystemBadRequest) GetPayload ¶
func (o *CreateNvmfSubsystemBadRequest) GetPayload() *models.ErrorBody
type CreateNvmfSubsystemInternalServerError ¶
type CreateNvmfSubsystemInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateNvmfSubsystemInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateNvmfSubsystemInternalServerError ¶
func NewCreateNvmfSubsystemInternalServerError() *CreateNvmfSubsystemInternalServerError
NewCreateNvmfSubsystemInternalServerError creates a CreateNvmfSubsystemInternalServerError with default headers values
func (*CreateNvmfSubsystemInternalServerError) Error ¶
func (o *CreateNvmfSubsystemInternalServerError) Error() string
func (*CreateNvmfSubsystemInternalServerError) GetPayload ¶
func (o *CreateNvmfSubsystemInternalServerError) GetPayload() *models.ErrorBody
type CreateNvmfSubsystemNotFound ¶
CreateNvmfSubsystemNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateNvmfSubsystemNotFound ¶
func NewCreateNvmfSubsystemNotFound() *CreateNvmfSubsystemNotFound
NewCreateNvmfSubsystemNotFound creates a CreateNvmfSubsystemNotFound with default headers values
func (*CreateNvmfSubsystemNotFound) Error ¶
func (o *CreateNvmfSubsystemNotFound) Error() string
func (*CreateNvmfSubsystemNotFound) GetPayload ¶
func (o *CreateNvmfSubsystemNotFound) GetPayload() *models.ErrorBody
type CreateNvmfSubsystemOK ¶
type CreateNvmfSubsystemOK struct { XTowerRequestID string Payload []*models.WithTaskNvmfSubsystem }
CreateNvmfSubsystemOK describes a response with status code 200, with default header values.
CreateNvmfSubsystemOK create nvmf subsystem o k
func NewCreateNvmfSubsystemOK ¶
func NewCreateNvmfSubsystemOK() *CreateNvmfSubsystemOK
NewCreateNvmfSubsystemOK creates a CreateNvmfSubsystemOK with default headers values
func (*CreateNvmfSubsystemOK) Error ¶
func (o *CreateNvmfSubsystemOK) Error() string
func (*CreateNvmfSubsystemOK) GetPayload ¶
func (o *CreateNvmfSubsystemOK) GetPayload() []*models.WithTaskNvmfSubsystem
type CreateNvmfSubsystemParams ¶
type CreateNvmfSubsystemParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.NvmfSubsystemCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNvmfSubsystemParams contains all the parameters to send to the API endpoint
for the create nvmf subsystem operation. Typically these are written to a http.Request.
func NewCreateNvmfSubsystemParams ¶
func NewCreateNvmfSubsystemParams() *CreateNvmfSubsystemParams
NewCreateNvmfSubsystemParams creates a new CreateNvmfSubsystemParams 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 NewCreateNvmfSubsystemParamsWithContext ¶
func NewCreateNvmfSubsystemParamsWithContext(ctx context.Context) *CreateNvmfSubsystemParams
NewCreateNvmfSubsystemParamsWithContext creates a new CreateNvmfSubsystemParams object with the ability to set a context for a request.
func NewCreateNvmfSubsystemParamsWithHTTPClient ¶
func NewCreateNvmfSubsystemParamsWithHTTPClient(client *http.Client) *CreateNvmfSubsystemParams
NewCreateNvmfSubsystemParamsWithHTTPClient creates a new CreateNvmfSubsystemParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNvmfSubsystemParamsWithTimeout ¶
func NewCreateNvmfSubsystemParamsWithTimeout(timeout time.Duration) *CreateNvmfSubsystemParams
NewCreateNvmfSubsystemParamsWithTimeout creates a new CreateNvmfSubsystemParams object with the ability to set a timeout on a request.
func (*CreateNvmfSubsystemParams) SetContentLanguage ¶
func (o *CreateNvmfSubsystemParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create nvmf subsystem params
func (*CreateNvmfSubsystemParams) SetContext ¶
func (o *CreateNvmfSubsystemParams) SetContext(ctx context.Context)
SetContext adds the context to the create nvmf subsystem params
func (*CreateNvmfSubsystemParams) SetDefaults ¶
func (o *CreateNvmfSubsystemParams) SetDefaults()
SetDefaults hydrates default values in the create nvmf subsystem params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNvmfSubsystemParams) SetHTTPClient ¶
func (o *CreateNvmfSubsystemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create nvmf subsystem params
func (*CreateNvmfSubsystemParams) SetRequestBody ¶
func (o *CreateNvmfSubsystemParams) SetRequestBody(requestBody []*models.NvmfSubsystemCreationParams)
SetRequestBody adds the requestBody to the create nvmf subsystem params
func (*CreateNvmfSubsystemParams) SetTimeout ¶
func (o *CreateNvmfSubsystemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create nvmf subsystem params
func (*CreateNvmfSubsystemParams) WithContentLanguage ¶
func (o *CreateNvmfSubsystemParams) WithContentLanguage(contentLanguage *string) *CreateNvmfSubsystemParams
WithContentLanguage adds the contentLanguage to the create nvmf subsystem params
func (*CreateNvmfSubsystemParams) WithContext ¶
func (o *CreateNvmfSubsystemParams) WithContext(ctx context.Context) *CreateNvmfSubsystemParams
WithContext adds the context to the create nvmf subsystem params
func (*CreateNvmfSubsystemParams) WithDefaults ¶
func (o *CreateNvmfSubsystemParams) WithDefaults() *CreateNvmfSubsystemParams
WithDefaults hydrates default values in the create nvmf subsystem params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNvmfSubsystemParams) WithHTTPClient ¶
func (o *CreateNvmfSubsystemParams) WithHTTPClient(client *http.Client) *CreateNvmfSubsystemParams
WithHTTPClient adds the HTTPClient to the create nvmf subsystem params
func (*CreateNvmfSubsystemParams) WithRequestBody ¶
func (o *CreateNvmfSubsystemParams) WithRequestBody(requestBody []*models.NvmfSubsystemCreationParams) *CreateNvmfSubsystemParams
WithRequestBody adds the requestBody to the create nvmf subsystem params
func (*CreateNvmfSubsystemParams) WithTimeout ¶
func (o *CreateNvmfSubsystemParams) WithTimeout(timeout time.Duration) *CreateNvmfSubsystemParams
WithTimeout adds the timeout to the create nvmf subsystem params
func (*CreateNvmfSubsystemParams) WriteToRequest ¶
func (o *CreateNvmfSubsystemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNvmfSubsystemReader ¶
type CreateNvmfSubsystemReader struct {
// contains filtered or unexported fields
}
CreateNvmfSubsystemReader is a Reader for the CreateNvmfSubsystem structure.
func (*CreateNvmfSubsystemReader) ReadResponse ¶
func (o *CreateNvmfSubsystemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNvmfSubsystemBadRequest ¶
DeleteNvmfSubsystemBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteNvmfSubsystemBadRequest ¶
func NewDeleteNvmfSubsystemBadRequest() *DeleteNvmfSubsystemBadRequest
NewDeleteNvmfSubsystemBadRequest creates a DeleteNvmfSubsystemBadRequest with default headers values
func (*DeleteNvmfSubsystemBadRequest) Error ¶
func (o *DeleteNvmfSubsystemBadRequest) Error() string
func (*DeleteNvmfSubsystemBadRequest) GetPayload ¶
func (o *DeleteNvmfSubsystemBadRequest) GetPayload() *models.ErrorBody
type DeleteNvmfSubsystemInternalServerError ¶
type DeleteNvmfSubsystemInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteNvmfSubsystemInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteNvmfSubsystemInternalServerError ¶
func NewDeleteNvmfSubsystemInternalServerError() *DeleteNvmfSubsystemInternalServerError
NewDeleteNvmfSubsystemInternalServerError creates a DeleteNvmfSubsystemInternalServerError with default headers values
func (*DeleteNvmfSubsystemInternalServerError) Error ¶
func (o *DeleteNvmfSubsystemInternalServerError) Error() string
func (*DeleteNvmfSubsystemInternalServerError) GetPayload ¶
func (o *DeleteNvmfSubsystemInternalServerError) GetPayload() *models.ErrorBody
type DeleteNvmfSubsystemNotFound ¶
DeleteNvmfSubsystemNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteNvmfSubsystemNotFound ¶
func NewDeleteNvmfSubsystemNotFound() *DeleteNvmfSubsystemNotFound
NewDeleteNvmfSubsystemNotFound creates a DeleteNvmfSubsystemNotFound with default headers values
func (*DeleteNvmfSubsystemNotFound) Error ¶
func (o *DeleteNvmfSubsystemNotFound) Error() string
func (*DeleteNvmfSubsystemNotFound) GetPayload ¶
func (o *DeleteNvmfSubsystemNotFound) GetPayload() *models.ErrorBody
type DeleteNvmfSubsystemOK ¶
type DeleteNvmfSubsystemOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteNvmfSubsystem }
DeleteNvmfSubsystemOK describes a response with status code 200, with default header values.
DeleteNvmfSubsystemOK delete nvmf subsystem o k
func NewDeleteNvmfSubsystemOK ¶
func NewDeleteNvmfSubsystemOK() *DeleteNvmfSubsystemOK
NewDeleteNvmfSubsystemOK creates a DeleteNvmfSubsystemOK with default headers values
func (*DeleteNvmfSubsystemOK) Error ¶
func (o *DeleteNvmfSubsystemOK) Error() string
func (*DeleteNvmfSubsystemOK) GetPayload ¶
func (o *DeleteNvmfSubsystemOK) GetPayload() []*models.WithTaskDeleteNvmfSubsystem
type DeleteNvmfSubsystemParams ¶
type DeleteNvmfSubsystemParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.NvmfSubsystemDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNvmfSubsystemParams contains all the parameters to send to the API endpoint
for the delete nvmf subsystem operation. Typically these are written to a http.Request.
func NewDeleteNvmfSubsystemParams ¶
func NewDeleteNvmfSubsystemParams() *DeleteNvmfSubsystemParams
NewDeleteNvmfSubsystemParams creates a new DeleteNvmfSubsystemParams 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 NewDeleteNvmfSubsystemParamsWithContext ¶
func NewDeleteNvmfSubsystemParamsWithContext(ctx context.Context) *DeleteNvmfSubsystemParams
NewDeleteNvmfSubsystemParamsWithContext creates a new DeleteNvmfSubsystemParams object with the ability to set a context for a request.
func NewDeleteNvmfSubsystemParamsWithHTTPClient ¶
func NewDeleteNvmfSubsystemParamsWithHTTPClient(client *http.Client) *DeleteNvmfSubsystemParams
NewDeleteNvmfSubsystemParamsWithHTTPClient creates a new DeleteNvmfSubsystemParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNvmfSubsystemParamsWithTimeout ¶
func NewDeleteNvmfSubsystemParamsWithTimeout(timeout time.Duration) *DeleteNvmfSubsystemParams
NewDeleteNvmfSubsystemParamsWithTimeout creates a new DeleteNvmfSubsystemParams object with the ability to set a timeout on a request.
func (*DeleteNvmfSubsystemParams) SetContentLanguage ¶
func (o *DeleteNvmfSubsystemParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete nvmf subsystem params
func (*DeleteNvmfSubsystemParams) SetContext ¶
func (o *DeleteNvmfSubsystemParams) SetContext(ctx context.Context)
SetContext adds the context to the delete nvmf subsystem params
func (*DeleteNvmfSubsystemParams) SetDefaults ¶
func (o *DeleteNvmfSubsystemParams) SetDefaults()
SetDefaults hydrates default values in the delete nvmf subsystem params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNvmfSubsystemParams) SetHTTPClient ¶
func (o *DeleteNvmfSubsystemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete nvmf subsystem params
func (*DeleteNvmfSubsystemParams) SetRequestBody ¶
func (o *DeleteNvmfSubsystemParams) SetRequestBody(requestBody *models.NvmfSubsystemDeletionParams)
SetRequestBody adds the requestBody to the delete nvmf subsystem params
func (*DeleteNvmfSubsystemParams) SetTimeout ¶
func (o *DeleteNvmfSubsystemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete nvmf subsystem params
func (*DeleteNvmfSubsystemParams) WithContentLanguage ¶
func (o *DeleteNvmfSubsystemParams) WithContentLanguage(contentLanguage *string) *DeleteNvmfSubsystemParams
WithContentLanguage adds the contentLanguage to the delete nvmf subsystem params
func (*DeleteNvmfSubsystemParams) WithContext ¶
func (o *DeleteNvmfSubsystemParams) WithContext(ctx context.Context) *DeleteNvmfSubsystemParams
WithContext adds the context to the delete nvmf subsystem params
func (*DeleteNvmfSubsystemParams) WithDefaults ¶
func (o *DeleteNvmfSubsystemParams) WithDefaults() *DeleteNvmfSubsystemParams
WithDefaults hydrates default values in the delete nvmf subsystem params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNvmfSubsystemParams) WithHTTPClient ¶
func (o *DeleteNvmfSubsystemParams) WithHTTPClient(client *http.Client) *DeleteNvmfSubsystemParams
WithHTTPClient adds the HTTPClient to the delete nvmf subsystem params
func (*DeleteNvmfSubsystemParams) WithRequestBody ¶
func (o *DeleteNvmfSubsystemParams) WithRequestBody(requestBody *models.NvmfSubsystemDeletionParams) *DeleteNvmfSubsystemParams
WithRequestBody adds the requestBody to the delete nvmf subsystem params
func (*DeleteNvmfSubsystemParams) WithTimeout ¶
func (o *DeleteNvmfSubsystemParams) WithTimeout(timeout time.Duration) *DeleteNvmfSubsystemParams
WithTimeout adds the timeout to the delete nvmf subsystem params
func (*DeleteNvmfSubsystemParams) WriteToRequest ¶
func (o *DeleteNvmfSubsystemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNvmfSubsystemReader ¶
type DeleteNvmfSubsystemReader struct {
// contains filtered or unexported fields
}
DeleteNvmfSubsystemReader is a Reader for the DeleteNvmfSubsystem structure.
func (*DeleteNvmfSubsystemReader) ReadResponse ¶
func (o *DeleteNvmfSubsystemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNvmfSubsystemsBadRequest ¶
GetNvmfSubsystemsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetNvmfSubsystemsBadRequest ¶
func NewGetNvmfSubsystemsBadRequest() *GetNvmfSubsystemsBadRequest
NewGetNvmfSubsystemsBadRequest creates a GetNvmfSubsystemsBadRequest with default headers values
func (*GetNvmfSubsystemsBadRequest) Error ¶
func (o *GetNvmfSubsystemsBadRequest) Error() string
func (*GetNvmfSubsystemsBadRequest) GetPayload ¶
func (o *GetNvmfSubsystemsBadRequest) GetPayload() *models.ErrorBody
type GetNvmfSubsystemsConnectionBadRequest ¶
type GetNvmfSubsystemsConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetNvmfSubsystemsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetNvmfSubsystemsConnectionBadRequest ¶
func NewGetNvmfSubsystemsConnectionBadRequest() *GetNvmfSubsystemsConnectionBadRequest
NewGetNvmfSubsystemsConnectionBadRequest creates a GetNvmfSubsystemsConnectionBadRequest with default headers values
func (*GetNvmfSubsystemsConnectionBadRequest) Error ¶
func (o *GetNvmfSubsystemsConnectionBadRequest) Error() string
func (*GetNvmfSubsystemsConnectionBadRequest) GetPayload ¶
func (o *GetNvmfSubsystemsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetNvmfSubsystemsConnectionInternalServerError ¶
type GetNvmfSubsystemsConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetNvmfSubsystemsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetNvmfSubsystemsConnectionInternalServerError ¶
func NewGetNvmfSubsystemsConnectionInternalServerError() *GetNvmfSubsystemsConnectionInternalServerError
NewGetNvmfSubsystemsConnectionInternalServerError creates a GetNvmfSubsystemsConnectionInternalServerError with default headers values
func (*GetNvmfSubsystemsConnectionInternalServerError) Error ¶
func (o *GetNvmfSubsystemsConnectionInternalServerError) Error() string
func (*GetNvmfSubsystemsConnectionInternalServerError) GetPayload ¶
func (o *GetNvmfSubsystemsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetNvmfSubsystemsConnectionNotFound ¶
type GetNvmfSubsystemsConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetNvmfSubsystemsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetNvmfSubsystemsConnectionNotFound ¶
func NewGetNvmfSubsystemsConnectionNotFound() *GetNvmfSubsystemsConnectionNotFound
NewGetNvmfSubsystemsConnectionNotFound creates a GetNvmfSubsystemsConnectionNotFound with default headers values
func (*GetNvmfSubsystemsConnectionNotFound) Error ¶
func (o *GetNvmfSubsystemsConnectionNotFound) Error() string
func (*GetNvmfSubsystemsConnectionNotFound) GetPayload ¶
func (o *GetNvmfSubsystemsConnectionNotFound) GetPayload() *models.ErrorBody
type GetNvmfSubsystemsConnectionOK ¶
type GetNvmfSubsystemsConnectionOK struct { XTowerRequestID string Payload *models.NvmfSubsystemConnection }
GetNvmfSubsystemsConnectionOK describes a response with status code 200, with default header values.
GetNvmfSubsystemsConnectionOK get nvmf subsystems connection o k
func NewGetNvmfSubsystemsConnectionOK ¶
func NewGetNvmfSubsystemsConnectionOK() *GetNvmfSubsystemsConnectionOK
NewGetNvmfSubsystemsConnectionOK creates a GetNvmfSubsystemsConnectionOK with default headers values
func (*GetNvmfSubsystemsConnectionOK) Error ¶
func (o *GetNvmfSubsystemsConnectionOK) Error() string
func (*GetNvmfSubsystemsConnectionOK) GetPayload ¶
func (o *GetNvmfSubsystemsConnectionOK) GetPayload() *models.NvmfSubsystemConnection
type GetNvmfSubsystemsConnectionParams ¶
type GetNvmfSubsystemsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetNvmfSubsystemsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNvmfSubsystemsConnectionParams contains all the parameters to send to the API endpoint
for the get nvmf subsystems connection operation. Typically these are written to a http.Request.
func NewGetNvmfSubsystemsConnectionParams ¶
func NewGetNvmfSubsystemsConnectionParams() *GetNvmfSubsystemsConnectionParams
NewGetNvmfSubsystemsConnectionParams creates a new GetNvmfSubsystemsConnectionParams 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 NewGetNvmfSubsystemsConnectionParamsWithContext ¶
func NewGetNvmfSubsystemsConnectionParamsWithContext(ctx context.Context) *GetNvmfSubsystemsConnectionParams
NewGetNvmfSubsystemsConnectionParamsWithContext creates a new GetNvmfSubsystemsConnectionParams object with the ability to set a context for a request.
func NewGetNvmfSubsystemsConnectionParamsWithHTTPClient ¶
func NewGetNvmfSubsystemsConnectionParamsWithHTTPClient(client *http.Client) *GetNvmfSubsystemsConnectionParams
NewGetNvmfSubsystemsConnectionParamsWithHTTPClient creates a new GetNvmfSubsystemsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetNvmfSubsystemsConnectionParamsWithTimeout ¶
func NewGetNvmfSubsystemsConnectionParamsWithTimeout(timeout time.Duration) *GetNvmfSubsystemsConnectionParams
NewGetNvmfSubsystemsConnectionParamsWithTimeout creates a new GetNvmfSubsystemsConnectionParams object with the ability to set a timeout on a request.
func (*GetNvmfSubsystemsConnectionParams) SetContentLanguage ¶
func (o *GetNvmfSubsystemsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) SetContext ¶
func (o *GetNvmfSubsystemsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) SetDefaults ¶
func (o *GetNvmfSubsystemsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get nvmf subsystems connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfSubsystemsConnectionParams) SetHTTPClient ¶
func (o *GetNvmfSubsystemsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) SetRequestBody ¶
func (o *GetNvmfSubsystemsConnectionParams) SetRequestBody(requestBody *models.GetNvmfSubsystemsConnectionRequestBody)
SetRequestBody adds the requestBody to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) SetTimeout ¶
func (o *GetNvmfSubsystemsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) WithContentLanguage ¶
func (o *GetNvmfSubsystemsConnectionParams) WithContentLanguage(contentLanguage *string) *GetNvmfSubsystemsConnectionParams
WithContentLanguage adds the contentLanguage to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) WithContext ¶
func (o *GetNvmfSubsystemsConnectionParams) WithContext(ctx context.Context) *GetNvmfSubsystemsConnectionParams
WithContext adds the context to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) WithDefaults ¶
func (o *GetNvmfSubsystemsConnectionParams) WithDefaults() *GetNvmfSubsystemsConnectionParams
WithDefaults hydrates default values in the get nvmf subsystems connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfSubsystemsConnectionParams) WithHTTPClient ¶
func (o *GetNvmfSubsystemsConnectionParams) WithHTTPClient(client *http.Client) *GetNvmfSubsystemsConnectionParams
WithHTTPClient adds the HTTPClient to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) WithRequestBody ¶
func (o *GetNvmfSubsystemsConnectionParams) WithRequestBody(requestBody *models.GetNvmfSubsystemsConnectionRequestBody) *GetNvmfSubsystemsConnectionParams
WithRequestBody adds the requestBody to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) WithTimeout ¶
func (o *GetNvmfSubsystemsConnectionParams) WithTimeout(timeout time.Duration) *GetNvmfSubsystemsConnectionParams
WithTimeout adds the timeout to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) WriteToRequest ¶
func (o *GetNvmfSubsystemsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNvmfSubsystemsConnectionReader ¶
type GetNvmfSubsystemsConnectionReader struct {
// contains filtered or unexported fields
}
GetNvmfSubsystemsConnectionReader is a Reader for the GetNvmfSubsystemsConnection structure.
func (*GetNvmfSubsystemsConnectionReader) ReadResponse ¶
func (o *GetNvmfSubsystemsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNvmfSubsystemsInternalServerError ¶
type GetNvmfSubsystemsInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetNvmfSubsystemsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetNvmfSubsystemsInternalServerError ¶
func NewGetNvmfSubsystemsInternalServerError() *GetNvmfSubsystemsInternalServerError
NewGetNvmfSubsystemsInternalServerError creates a GetNvmfSubsystemsInternalServerError with default headers values
func (*GetNvmfSubsystemsInternalServerError) Error ¶
func (o *GetNvmfSubsystemsInternalServerError) Error() string
func (*GetNvmfSubsystemsInternalServerError) GetPayload ¶
func (o *GetNvmfSubsystemsInternalServerError) GetPayload() *models.ErrorBody
type GetNvmfSubsystemsNotFound ¶
GetNvmfSubsystemsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetNvmfSubsystemsNotFound ¶
func NewGetNvmfSubsystemsNotFound() *GetNvmfSubsystemsNotFound
NewGetNvmfSubsystemsNotFound creates a GetNvmfSubsystemsNotFound with default headers values
func (*GetNvmfSubsystemsNotFound) Error ¶
func (o *GetNvmfSubsystemsNotFound) Error() string
func (*GetNvmfSubsystemsNotFound) GetPayload ¶
func (o *GetNvmfSubsystemsNotFound) GetPayload() *models.ErrorBody
type GetNvmfSubsystemsOK ¶
type GetNvmfSubsystemsOK struct { XTowerRequestID string Payload []*models.NvmfSubsystem }
GetNvmfSubsystemsOK describes a response with status code 200, with default header values.
GetNvmfSubsystemsOK get nvmf subsystems o k
func NewGetNvmfSubsystemsOK ¶
func NewGetNvmfSubsystemsOK() *GetNvmfSubsystemsOK
NewGetNvmfSubsystemsOK creates a GetNvmfSubsystemsOK with default headers values
func (*GetNvmfSubsystemsOK) Error ¶
func (o *GetNvmfSubsystemsOK) Error() string
func (*GetNvmfSubsystemsOK) GetPayload ¶
func (o *GetNvmfSubsystemsOK) GetPayload() []*models.NvmfSubsystem
type GetNvmfSubsystemsParams ¶
type GetNvmfSubsystemsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetNvmfSubsystemsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNvmfSubsystemsParams contains all the parameters to send to the API endpoint
for the get nvmf subsystems operation. Typically these are written to a http.Request.
func NewGetNvmfSubsystemsParams ¶
func NewGetNvmfSubsystemsParams() *GetNvmfSubsystemsParams
NewGetNvmfSubsystemsParams creates a new GetNvmfSubsystemsParams 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 NewGetNvmfSubsystemsParamsWithContext ¶
func NewGetNvmfSubsystemsParamsWithContext(ctx context.Context) *GetNvmfSubsystemsParams
NewGetNvmfSubsystemsParamsWithContext creates a new GetNvmfSubsystemsParams object with the ability to set a context for a request.
func NewGetNvmfSubsystemsParamsWithHTTPClient ¶
func NewGetNvmfSubsystemsParamsWithHTTPClient(client *http.Client) *GetNvmfSubsystemsParams
NewGetNvmfSubsystemsParamsWithHTTPClient creates a new GetNvmfSubsystemsParams object with the ability to set a custom HTTPClient for a request.
func NewGetNvmfSubsystemsParamsWithTimeout ¶
func NewGetNvmfSubsystemsParamsWithTimeout(timeout time.Duration) *GetNvmfSubsystemsParams
NewGetNvmfSubsystemsParamsWithTimeout creates a new GetNvmfSubsystemsParams object with the ability to set a timeout on a request.
func (*GetNvmfSubsystemsParams) SetContentLanguage ¶
func (o *GetNvmfSubsystemsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) SetContext ¶
func (o *GetNvmfSubsystemsParams) SetContext(ctx context.Context)
SetContext adds the context to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) SetDefaults ¶
func (o *GetNvmfSubsystemsParams) SetDefaults()
SetDefaults hydrates default values in the get nvmf subsystems params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfSubsystemsParams) SetHTTPClient ¶
func (o *GetNvmfSubsystemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) SetRequestBody ¶
func (o *GetNvmfSubsystemsParams) SetRequestBody(requestBody *models.GetNvmfSubsystemsRequestBody)
SetRequestBody adds the requestBody to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) SetTimeout ¶
func (o *GetNvmfSubsystemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) WithContentLanguage ¶
func (o *GetNvmfSubsystemsParams) WithContentLanguage(contentLanguage *string) *GetNvmfSubsystemsParams
WithContentLanguage adds the contentLanguage to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) WithContext ¶
func (o *GetNvmfSubsystemsParams) WithContext(ctx context.Context) *GetNvmfSubsystemsParams
WithContext adds the context to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) WithDefaults ¶
func (o *GetNvmfSubsystemsParams) WithDefaults() *GetNvmfSubsystemsParams
WithDefaults hydrates default values in the get nvmf subsystems params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfSubsystemsParams) WithHTTPClient ¶
func (o *GetNvmfSubsystemsParams) WithHTTPClient(client *http.Client) *GetNvmfSubsystemsParams
WithHTTPClient adds the HTTPClient to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) WithRequestBody ¶
func (o *GetNvmfSubsystemsParams) WithRequestBody(requestBody *models.GetNvmfSubsystemsRequestBody) *GetNvmfSubsystemsParams
WithRequestBody adds the requestBody to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) WithTimeout ¶
func (o *GetNvmfSubsystemsParams) WithTimeout(timeout time.Duration) *GetNvmfSubsystemsParams
WithTimeout adds the timeout to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) WriteToRequest ¶
func (o *GetNvmfSubsystemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNvmfSubsystemsReader ¶
type GetNvmfSubsystemsReader struct {
// contains filtered or unexported fields
}
GetNvmfSubsystemsReader is a Reader for the GetNvmfSubsystems structure.
func (*GetNvmfSubsystemsReader) ReadResponse ¶
func (o *GetNvmfSubsystemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNvmfSubsystemBadRequest ¶
UpdateNvmfSubsystemBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateNvmfSubsystemBadRequest ¶
func NewUpdateNvmfSubsystemBadRequest() *UpdateNvmfSubsystemBadRequest
NewUpdateNvmfSubsystemBadRequest creates a UpdateNvmfSubsystemBadRequest with default headers values
func (*UpdateNvmfSubsystemBadRequest) Error ¶
func (o *UpdateNvmfSubsystemBadRequest) Error() string
func (*UpdateNvmfSubsystemBadRequest) GetPayload ¶
func (o *UpdateNvmfSubsystemBadRequest) GetPayload() *models.ErrorBody
type UpdateNvmfSubsystemInternalServerError ¶
type UpdateNvmfSubsystemInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateNvmfSubsystemInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateNvmfSubsystemInternalServerError ¶
func NewUpdateNvmfSubsystemInternalServerError() *UpdateNvmfSubsystemInternalServerError
NewUpdateNvmfSubsystemInternalServerError creates a UpdateNvmfSubsystemInternalServerError with default headers values
func (*UpdateNvmfSubsystemInternalServerError) Error ¶
func (o *UpdateNvmfSubsystemInternalServerError) Error() string
func (*UpdateNvmfSubsystemInternalServerError) GetPayload ¶
func (o *UpdateNvmfSubsystemInternalServerError) GetPayload() *models.ErrorBody
type UpdateNvmfSubsystemNotFound ¶
UpdateNvmfSubsystemNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateNvmfSubsystemNotFound ¶
func NewUpdateNvmfSubsystemNotFound() *UpdateNvmfSubsystemNotFound
NewUpdateNvmfSubsystemNotFound creates a UpdateNvmfSubsystemNotFound with default headers values
func (*UpdateNvmfSubsystemNotFound) Error ¶
func (o *UpdateNvmfSubsystemNotFound) Error() string
func (*UpdateNvmfSubsystemNotFound) GetPayload ¶
func (o *UpdateNvmfSubsystemNotFound) GetPayload() *models.ErrorBody
type UpdateNvmfSubsystemOK ¶
type UpdateNvmfSubsystemOK struct { XTowerRequestID string Payload []*models.WithTaskNvmfSubsystem }
UpdateNvmfSubsystemOK describes a response with status code 200, with default header values.
UpdateNvmfSubsystemOK update nvmf subsystem o k
func NewUpdateNvmfSubsystemOK ¶
func NewUpdateNvmfSubsystemOK() *UpdateNvmfSubsystemOK
NewUpdateNvmfSubsystemOK creates a UpdateNvmfSubsystemOK with default headers values
func (*UpdateNvmfSubsystemOK) Error ¶
func (o *UpdateNvmfSubsystemOK) Error() string
func (*UpdateNvmfSubsystemOK) GetPayload ¶
func (o *UpdateNvmfSubsystemOK) GetPayload() []*models.WithTaskNvmfSubsystem
type UpdateNvmfSubsystemParams ¶
type UpdateNvmfSubsystemParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.NvmfSubsystemUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNvmfSubsystemParams contains all the parameters to send to the API endpoint
for the update nvmf subsystem operation. Typically these are written to a http.Request.
func NewUpdateNvmfSubsystemParams ¶
func NewUpdateNvmfSubsystemParams() *UpdateNvmfSubsystemParams
NewUpdateNvmfSubsystemParams creates a new UpdateNvmfSubsystemParams 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 NewUpdateNvmfSubsystemParamsWithContext ¶
func NewUpdateNvmfSubsystemParamsWithContext(ctx context.Context) *UpdateNvmfSubsystemParams
NewUpdateNvmfSubsystemParamsWithContext creates a new UpdateNvmfSubsystemParams object with the ability to set a context for a request.
func NewUpdateNvmfSubsystemParamsWithHTTPClient ¶
func NewUpdateNvmfSubsystemParamsWithHTTPClient(client *http.Client) *UpdateNvmfSubsystemParams
NewUpdateNvmfSubsystemParamsWithHTTPClient creates a new UpdateNvmfSubsystemParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNvmfSubsystemParamsWithTimeout ¶
func NewUpdateNvmfSubsystemParamsWithTimeout(timeout time.Duration) *UpdateNvmfSubsystemParams
NewUpdateNvmfSubsystemParamsWithTimeout creates a new UpdateNvmfSubsystemParams object with the ability to set a timeout on a request.
func (*UpdateNvmfSubsystemParams) SetContentLanguage ¶
func (o *UpdateNvmfSubsystemParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update nvmf subsystem params
func (*UpdateNvmfSubsystemParams) SetContext ¶
func (o *UpdateNvmfSubsystemParams) SetContext(ctx context.Context)
SetContext adds the context to the update nvmf subsystem params
func (*UpdateNvmfSubsystemParams) SetDefaults ¶
func (o *UpdateNvmfSubsystemParams) SetDefaults()
SetDefaults hydrates default values in the update nvmf subsystem params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNvmfSubsystemParams) SetHTTPClient ¶
func (o *UpdateNvmfSubsystemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update nvmf subsystem params
func (*UpdateNvmfSubsystemParams) SetRequestBody ¶
func (o *UpdateNvmfSubsystemParams) SetRequestBody(requestBody *models.NvmfSubsystemUpdationParams)
SetRequestBody adds the requestBody to the update nvmf subsystem params
func (*UpdateNvmfSubsystemParams) SetTimeout ¶
func (o *UpdateNvmfSubsystemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update nvmf subsystem params
func (*UpdateNvmfSubsystemParams) WithContentLanguage ¶
func (o *UpdateNvmfSubsystemParams) WithContentLanguage(contentLanguage *string) *UpdateNvmfSubsystemParams
WithContentLanguage adds the contentLanguage to the update nvmf subsystem params
func (*UpdateNvmfSubsystemParams) WithContext ¶
func (o *UpdateNvmfSubsystemParams) WithContext(ctx context.Context) *UpdateNvmfSubsystemParams
WithContext adds the context to the update nvmf subsystem params
func (*UpdateNvmfSubsystemParams) WithDefaults ¶
func (o *UpdateNvmfSubsystemParams) WithDefaults() *UpdateNvmfSubsystemParams
WithDefaults hydrates default values in the update nvmf subsystem params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNvmfSubsystemParams) WithHTTPClient ¶
func (o *UpdateNvmfSubsystemParams) WithHTTPClient(client *http.Client) *UpdateNvmfSubsystemParams
WithHTTPClient adds the HTTPClient to the update nvmf subsystem params
func (*UpdateNvmfSubsystemParams) WithRequestBody ¶
func (o *UpdateNvmfSubsystemParams) WithRequestBody(requestBody *models.NvmfSubsystemUpdationParams) *UpdateNvmfSubsystemParams
WithRequestBody adds the requestBody to the update nvmf subsystem params
func (*UpdateNvmfSubsystemParams) WithTimeout ¶
func (o *UpdateNvmfSubsystemParams) WithTimeout(timeout time.Duration) *UpdateNvmfSubsystemParams
WithTimeout adds the timeout to the update nvmf subsystem params
func (*UpdateNvmfSubsystemParams) WriteToRequest ¶
func (o *UpdateNvmfSubsystemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNvmfSubsystemReader ¶
type UpdateNvmfSubsystemReader struct {
// contains filtered or unexported fields
}
UpdateNvmfSubsystemReader is a Reader for the UpdateNvmfSubsystem structure.
func (*UpdateNvmfSubsystemReader) ReadResponse ¶
func (o *UpdateNvmfSubsystemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_nvmf_subsystem_parameters.go
- create_nvmf_subsystem_responses.go
- delete_nvmf_subsystem_parameters.go
- delete_nvmf_subsystem_responses.go
- get_nvmf_subsystems_connection_parameters.go
- get_nvmf_subsystems_connection_responses.go
- get_nvmf_subsystems_parameters.go
- get_nvmf_subsystems_responses.go
- nvmf_subsystem_client.go
- update_nvmf_subsystem_parameters.go
- update_nvmf_subsystem_responses.go