pmem_dimm

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 pmem dimm API

func (*Client) GetPmemDimms

func (a *Client) GetPmemDimms(params *GetPmemDimmsParams, opts ...ClientOption) (*GetPmemDimmsOK, error)

GetPmemDimms get pmem dimms API

func (*Client) GetPmemDimmsConnection

func (a *Client) GetPmemDimmsConnection(params *GetPmemDimmsConnectionParams, opts ...ClientOption) (*GetPmemDimmsConnectionOK, error)

GetPmemDimmsConnection get pmem dimms 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 {
	GetPmemDimms(params *GetPmemDimmsParams, opts ...ClientOption) (*GetPmemDimmsOK, error)

	GetPmemDimmsConnection(params *GetPmemDimmsConnectionParams, opts ...ClientOption) (*GetPmemDimmsConnectionOK, 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 pmem dimm API client.

type GetPmemDimmsBadRequest

type GetPmemDimmsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetPmemDimmsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetPmemDimmsBadRequest

func NewGetPmemDimmsBadRequest() *GetPmemDimmsBadRequest

NewGetPmemDimmsBadRequest creates a GetPmemDimmsBadRequest with default headers values

func (*GetPmemDimmsBadRequest) Error

func (o *GetPmemDimmsBadRequest) Error() string

func (*GetPmemDimmsBadRequest) GetPayload

func (o *GetPmemDimmsBadRequest) GetPayload() *models.ErrorBody

type GetPmemDimmsConnectionBadRequest

type GetPmemDimmsConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetPmemDimmsConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetPmemDimmsConnectionBadRequest

func NewGetPmemDimmsConnectionBadRequest() *GetPmemDimmsConnectionBadRequest

NewGetPmemDimmsConnectionBadRequest creates a GetPmemDimmsConnectionBadRequest with default headers values

func (*GetPmemDimmsConnectionBadRequest) Error

func (*GetPmemDimmsConnectionBadRequest) GetPayload

type GetPmemDimmsConnectionInternalServerError

type GetPmemDimmsConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetPmemDimmsConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetPmemDimmsConnectionInternalServerError

func NewGetPmemDimmsConnectionInternalServerError() *GetPmemDimmsConnectionInternalServerError

NewGetPmemDimmsConnectionInternalServerError creates a GetPmemDimmsConnectionInternalServerError with default headers values

func (*GetPmemDimmsConnectionInternalServerError) Error

func (*GetPmemDimmsConnectionInternalServerError) GetPayload

type GetPmemDimmsConnectionNotFound

type GetPmemDimmsConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetPmemDimmsConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetPmemDimmsConnectionNotFound

func NewGetPmemDimmsConnectionNotFound() *GetPmemDimmsConnectionNotFound

NewGetPmemDimmsConnectionNotFound creates a GetPmemDimmsConnectionNotFound with default headers values

func (*GetPmemDimmsConnectionNotFound) Error

func (*GetPmemDimmsConnectionNotFound) GetPayload

type GetPmemDimmsConnectionOK

type GetPmemDimmsConnectionOK struct {
	XTowerRequestID string

	Payload *models.PmemDimmConnection
}
GetPmemDimmsConnectionOK describes a response with status code 200, with default header values.

GetPmemDimmsConnectionOK get pmem dimms connection o k

func NewGetPmemDimmsConnectionOK

func NewGetPmemDimmsConnectionOK() *GetPmemDimmsConnectionOK

NewGetPmemDimmsConnectionOK creates a GetPmemDimmsConnectionOK with default headers values

func (*GetPmemDimmsConnectionOK) Error

func (o *GetPmemDimmsConnectionOK) Error() string

func (*GetPmemDimmsConnectionOK) GetPayload

type GetPmemDimmsConnectionParams

type GetPmemDimmsConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetPmemDimmsConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPmemDimmsConnectionParams contains all the parameters to send to the API endpoint

for the get pmem dimms connection operation.

Typically these are written to a http.Request.

func NewGetPmemDimmsConnectionParams

func NewGetPmemDimmsConnectionParams() *GetPmemDimmsConnectionParams

NewGetPmemDimmsConnectionParams creates a new GetPmemDimmsConnectionParams 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 NewGetPmemDimmsConnectionParamsWithContext

func NewGetPmemDimmsConnectionParamsWithContext(ctx context.Context) *GetPmemDimmsConnectionParams

NewGetPmemDimmsConnectionParamsWithContext creates a new GetPmemDimmsConnectionParams object with the ability to set a context for a request.

func NewGetPmemDimmsConnectionParamsWithHTTPClient

func NewGetPmemDimmsConnectionParamsWithHTTPClient(client *http.Client) *GetPmemDimmsConnectionParams

NewGetPmemDimmsConnectionParamsWithHTTPClient creates a new GetPmemDimmsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetPmemDimmsConnectionParamsWithTimeout

func NewGetPmemDimmsConnectionParamsWithTimeout(timeout time.Duration) *GetPmemDimmsConnectionParams

NewGetPmemDimmsConnectionParamsWithTimeout creates a new GetPmemDimmsConnectionParams object with the ability to set a timeout on a request.

func (*GetPmemDimmsConnectionParams) SetContentLanguage

func (o *GetPmemDimmsConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get pmem dimms connection params

func (*GetPmemDimmsConnectionParams) SetContext

func (o *GetPmemDimmsConnectionParams) SetContext(ctx context.Context)

SetContext adds the context to the get pmem dimms connection params

func (*GetPmemDimmsConnectionParams) SetDefaults

func (o *GetPmemDimmsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get pmem dimms connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetPmemDimmsConnectionParams) SetHTTPClient

func (o *GetPmemDimmsConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get pmem dimms connection params

func (*GetPmemDimmsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get pmem dimms connection params

func (*GetPmemDimmsConnectionParams) SetTimeout

func (o *GetPmemDimmsConnectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get pmem dimms connection params

func (*GetPmemDimmsConnectionParams) WithContentLanguage

func (o *GetPmemDimmsConnectionParams) WithContentLanguage(contentLanguage *string) *GetPmemDimmsConnectionParams

WithContentLanguage adds the contentLanguage to the get pmem dimms connection params

func (*GetPmemDimmsConnectionParams) WithContext

WithContext adds the context to the get pmem dimms connection params

func (*GetPmemDimmsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get pmem dimms connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetPmemDimmsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get pmem dimms connection params

func (*GetPmemDimmsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get pmem dimms connection params

func (*GetPmemDimmsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get pmem dimms connection params

func (*GetPmemDimmsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPmemDimmsConnectionReader

type GetPmemDimmsConnectionReader struct {
	// contains filtered or unexported fields
}

GetPmemDimmsConnectionReader is a Reader for the GetPmemDimmsConnection structure.

func (*GetPmemDimmsConnectionReader) ReadResponse

func (o *GetPmemDimmsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPmemDimmsInternalServerError

type GetPmemDimmsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetPmemDimmsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetPmemDimmsInternalServerError

func NewGetPmemDimmsInternalServerError() *GetPmemDimmsInternalServerError

NewGetPmemDimmsInternalServerError creates a GetPmemDimmsInternalServerError with default headers values

func (*GetPmemDimmsInternalServerError) Error

func (*GetPmemDimmsInternalServerError) GetPayload

type GetPmemDimmsNotFound

type GetPmemDimmsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetPmemDimmsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetPmemDimmsNotFound

func NewGetPmemDimmsNotFound() *GetPmemDimmsNotFound

NewGetPmemDimmsNotFound creates a GetPmemDimmsNotFound with default headers values

func (*GetPmemDimmsNotFound) Error

func (o *GetPmemDimmsNotFound) Error() string

func (*GetPmemDimmsNotFound) GetPayload

func (o *GetPmemDimmsNotFound) GetPayload() *models.ErrorBody

type GetPmemDimmsOK

type GetPmemDimmsOK struct {
	XTowerRequestID string

	Payload []*models.PmemDimm
}
GetPmemDimmsOK describes a response with status code 200, with default header values.

GetPmemDimmsOK get pmem dimms o k

func NewGetPmemDimmsOK

func NewGetPmemDimmsOK() *GetPmemDimmsOK

NewGetPmemDimmsOK creates a GetPmemDimmsOK with default headers values

func (*GetPmemDimmsOK) Error

func (o *GetPmemDimmsOK) Error() string

func (*GetPmemDimmsOK) GetPayload

func (o *GetPmemDimmsOK) GetPayload() []*models.PmemDimm

type GetPmemDimmsParams

type GetPmemDimmsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetPmemDimmsRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPmemDimmsParams contains all the parameters to send to the API endpoint

for the get pmem dimms operation.

Typically these are written to a http.Request.

func NewGetPmemDimmsParams

func NewGetPmemDimmsParams() *GetPmemDimmsParams

NewGetPmemDimmsParams creates a new GetPmemDimmsParams 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 NewGetPmemDimmsParamsWithContext

func NewGetPmemDimmsParamsWithContext(ctx context.Context) *GetPmemDimmsParams

NewGetPmemDimmsParamsWithContext creates a new GetPmemDimmsParams object with the ability to set a context for a request.

func NewGetPmemDimmsParamsWithHTTPClient

func NewGetPmemDimmsParamsWithHTTPClient(client *http.Client) *GetPmemDimmsParams

NewGetPmemDimmsParamsWithHTTPClient creates a new GetPmemDimmsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPmemDimmsParamsWithTimeout

func NewGetPmemDimmsParamsWithTimeout(timeout time.Duration) *GetPmemDimmsParams

NewGetPmemDimmsParamsWithTimeout creates a new GetPmemDimmsParams object with the ability to set a timeout on a request.

func (*GetPmemDimmsParams) SetContentLanguage

func (o *GetPmemDimmsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get pmem dimms params

func (*GetPmemDimmsParams) SetContext

func (o *GetPmemDimmsParams) SetContext(ctx context.Context)

SetContext adds the context to the get pmem dimms params

func (*GetPmemDimmsParams) SetDefaults

func (o *GetPmemDimmsParams) SetDefaults()

SetDefaults hydrates default values in the get pmem dimms params (not the query body).

All values with no default are reset to their zero value.

func (*GetPmemDimmsParams) SetHTTPClient

func (o *GetPmemDimmsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get pmem dimms params

func (*GetPmemDimmsParams) SetRequestBody

func (o *GetPmemDimmsParams) SetRequestBody(requestBody *models.GetPmemDimmsRequestBody)

SetRequestBody adds the requestBody to the get pmem dimms params

func (*GetPmemDimmsParams) SetTimeout

func (o *GetPmemDimmsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get pmem dimms params

func (*GetPmemDimmsParams) WithContentLanguage

func (o *GetPmemDimmsParams) WithContentLanguage(contentLanguage *string) *GetPmemDimmsParams

WithContentLanguage adds the contentLanguage to the get pmem dimms params

func (*GetPmemDimmsParams) WithContext

WithContext adds the context to the get pmem dimms params

func (*GetPmemDimmsParams) WithDefaults

func (o *GetPmemDimmsParams) WithDefaults() *GetPmemDimmsParams

WithDefaults hydrates default values in the get pmem dimms params (not the query body).

All values with no default are reset to their zero value.

func (*GetPmemDimmsParams) WithHTTPClient

func (o *GetPmemDimmsParams) WithHTTPClient(client *http.Client) *GetPmemDimmsParams

WithHTTPClient adds the HTTPClient to the get pmem dimms params

func (*GetPmemDimmsParams) WithRequestBody

func (o *GetPmemDimmsParams) WithRequestBody(requestBody *models.GetPmemDimmsRequestBody) *GetPmemDimmsParams

WithRequestBody adds the requestBody to the get pmem dimms params

func (*GetPmemDimmsParams) WithTimeout

func (o *GetPmemDimmsParams) WithTimeout(timeout time.Duration) *GetPmemDimmsParams

WithTimeout adds the timeout to the get pmem dimms params

func (*GetPmemDimmsParams) WriteToRequest

func (o *GetPmemDimmsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPmemDimmsReader

type GetPmemDimmsReader struct {
	// contains filtered or unexported fields
}

GetPmemDimmsReader is a Reader for the GetPmemDimms structure.

func (*GetPmemDimmsReader) ReadResponse

func (o *GetPmemDimmsReader) 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