nvmf_subsystem

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT 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) 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

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetNvmfSubsystems(params *GetNvmfSubsystemsParams, opts ...ClientOption) (*GetNvmfSubsystemsOK, error)

	GetNvmfSubsystemsConnection(params *GetNvmfSubsystemsConnectionParams, opts ...ClientOption) (*GetNvmfSubsystemsConnectionOK, 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 GetNvmfSubsystemsBadRequest

type GetNvmfSubsystemsBadRequest struct {
	Payload string
}
GetNvmfSubsystemsBadRequest describes a response with status code 400, with default header values.

GetNvmfSubsystemsBadRequest get nvmf subsystems 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() string

type GetNvmfSubsystemsConnectionBadRequest

type GetNvmfSubsystemsConnectionBadRequest struct {
	Payload string
}
GetNvmfSubsystemsConnectionBadRequest describes a response with status code 400, with default header values.

GetNvmfSubsystemsConnectionBadRequest get nvmf subsystems connection bad request

func NewGetNvmfSubsystemsConnectionBadRequest

func NewGetNvmfSubsystemsConnectionBadRequest() *GetNvmfSubsystemsConnectionBadRequest

NewGetNvmfSubsystemsConnectionBadRequest creates a GetNvmfSubsystemsConnectionBadRequest with default headers values

func (*GetNvmfSubsystemsConnectionBadRequest) Error

func (*GetNvmfSubsystemsConnectionBadRequest) GetPayload

type GetNvmfSubsystemsConnectionOK

type GetNvmfSubsystemsConnectionOK struct {
	Payload *models.NvmfSubsystemConnection
}
GetNvmfSubsystemsConnectionOK describes a response with status code 200, with default header values.

Ok

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 GetNvmfSubsystemsOK

type GetNvmfSubsystemsOK struct {
	Payload []*models.NvmfSubsystem
}
GetNvmfSubsystemsOK describes a response with status code 200, with default header values.

Ok

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.

Jump to

Keyboard shortcuts

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