nvmf_subsystem

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 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

type CreateNvmfSubsystemBadRequest struct {
	XTowerRequestID string

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

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

type CreateNvmfSubsystemNotFound

type CreateNvmfSubsystemNotFound struct {
	XTowerRequestID string

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

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

WithContext adds the context to the create nvmf subsystem params

func (*CreateNvmfSubsystemParams) WithDefaults

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

WithRequestBody adds the requestBody to the create nvmf subsystem params

func (*CreateNvmfSubsystemParams) WithTimeout

WithTimeout adds the timeout to the create nvmf subsystem params

func (*CreateNvmfSubsystemParams) WriteToRequest

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

type DeleteNvmfSubsystemBadRequest struct {
	XTowerRequestID string

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

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

type DeleteNvmfSubsystemNotFound

type DeleteNvmfSubsystemNotFound struct {
	XTowerRequestID string

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

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

WithContext adds the context to the delete nvmf subsystem params

func (*DeleteNvmfSubsystemParams) WithDefaults

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

WithRequestBody adds the requestBody to the delete nvmf subsystem params

func (*DeleteNvmfSubsystemParams) WithTimeout

WithTimeout adds the timeout to the delete nvmf subsystem params

func (*DeleteNvmfSubsystemParams) WriteToRequest

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

type GetNvmfSubsystemsBadRequest struct {
	XTowerRequestID string

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

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

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

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

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

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

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

WithContext adds the context to the get nvmf subsystems connection params

func (*GetNvmfSubsystemsConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get nvmf subsystems connection params

func (*GetNvmfSubsystemsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get nvmf subsystems connection params

func (*GetNvmfSubsystemsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get nvmf subsystems connection params

func (*GetNvmfSubsystemsConnectionParams) WriteToRequest

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

type GetNvmfSubsystemsNotFound

type GetNvmfSubsystemsNotFound struct {
	XTowerRequestID string

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

WithContext adds the context to the get nvmf subsystems params

func (*GetNvmfSubsystemsParams) WithDefaults

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

WithRequestBody adds the requestBody to the get nvmf subsystems params

func (*GetNvmfSubsystemsParams) WithTimeout

WithTimeout adds the timeout to the get nvmf subsystems params

func (*GetNvmfSubsystemsParams) WriteToRequest

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

type UpdateNvmfSubsystemBadRequest struct {
	XTowerRequestID string

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

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

type UpdateNvmfSubsystemNotFound

type UpdateNvmfSubsystemNotFound struct {
	XTowerRequestID string

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

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

WithContext adds the context to the update nvmf subsystem params

func (*UpdateNvmfSubsystemParams) WithDefaults

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

WithRequestBody adds the requestBody to the update nvmf subsystem params

func (*UpdateNvmfSubsystemParams) WithTimeout

WithTimeout adds the timeout to the update nvmf subsystem params

func (*UpdateNvmfSubsystemParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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