nfs_inode

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 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 nfs inode API

func (*Client) GetNfsInodes

func (a *Client) GetNfsInodes(params *GetNfsInodesParams, opts ...ClientOption) (*GetNfsInodesOK, error)

GetNfsInodes get nfs inodes API

func (*Client) GetNfsInodesConnection

func (a *Client) GetNfsInodesConnection(params *GetNfsInodesConnectionParams, opts ...ClientOption) (*GetNfsInodesConnectionOK, error)

GetNfsInodesConnection get nfs inodes 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 {
	GetNfsInodes(params *GetNfsInodesParams, opts ...ClientOption) (*GetNfsInodesOK, error)

	GetNfsInodesConnection(params *GetNfsInodesConnectionParams, opts ...ClientOption) (*GetNfsInodesConnectionOK, 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 nfs inode API client.

type GetNfsInodesBadRequest

type GetNfsInodesBadRequest struct {
	Payload *models.ErrorBody
}
GetNfsInodesBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetNfsInodesBadRequest

func NewGetNfsInodesBadRequest() *GetNfsInodesBadRequest

NewGetNfsInodesBadRequest creates a GetNfsInodesBadRequest with default headers values

func (*GetNfsInodesBadRequest) Error

func (o *GetNfsInodesBadRequest) Error() string

func (*GetNfsInodesBadRequest) GetPayload

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

type GetNfsInodesConnectionBadRequest

type GetNfsInodesConnectionBadRequest struct {
	Payload *models.ErrorBody
}
GetNfsInodesConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetNfsInodesConnectionBadRequest

func NewGetNfsInodesConnectionBadRequest() *GetNfsInodesConnectionBadRequest

NewGetNfsInodesConnectionBadRequest creates a GetNfsInodesConnectionBadRequest with default headers values

func (*GetNfsInodesConnectionBadRequest) Error

func (*GetNfsInodesConnectionBadRequest) GetPayload

type GetNfsInodesConnectionInternalServerError added in v1.10.0

type GetNfsInodesConnectionInternalServerError struct {
	Payload *models.ErrorBody
}
GetNfsInodesConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetNfsInodesConnectionInternalServerError added in v1.10.0

func NewGetNfsInodesConnectionInternalServerError() *GetNfsInodesConnectionInternalServerError

NewGetNfsInodesConnectionInternalServerError creates a GetNfsInodesConnectionInternalServerError with default headers values

func (*GetNfsInodesConnectionInternalServerError) Error added in v1.10.0

func (*GetNfsInodesConnectionInternalServerError) GetPayload added in v1.10.0

type GetNfsInodesConnectionNotFound added in v1.10.0

type GetNfsInodesConnectionNotFound struct {
	Payload *models.ErrorBody
}
GetNfsInodesConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetNfsInodesConnectionNotFound added in v1.10.0

func NewGetNfsInodesConnectionNotFound() *GetNfsInodesConnectionNotFound

NewGetNfsInodesConnectionNotFound creates a GetNfsInodesConnectionNotFound with default headers values

func (*GetNfsInodesConnectionNotFound) Error added in v1.10.0

func (*GetNfsInodesConnectionNotFound) GetPayload added in v1.10.0

type GetNfsInodesConnectionOK

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

Ok

func NewGetNfsInodesConnectionOK

func NewGetNfsInodesConnectionOK() *GetNfsInodesConnectionOK

NewGetNfsInodesConnectionOK creates a GetNfsInodesConnectionOK with default headers values

func (*GetNfsInodesConnectionOK) Error

func (o *GetNfsInodesConnectionOK) Error() string

func (*GetNfsInodesConnectionOK) GetPayload

type GetNfsInodesConnectionParams

type GetNfsInodesConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetNfsInodesConnectionRequestBody

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

GetNfsInodesConnectionParams contains all the parameters to send to the API endpoint

for the get nfs inodes connection operation.

Typically these are written to a http.Request.

func NewGetNfsInodesConnectionParams

func NewGetNfsInodesConnectionParams() *GetNfsInodesConnectionParams

NewGetNfsInodesConnectionParams creates a new GetNfsInodesConnectionParams 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 NewGetNfsInodesConnectionParamsWithContext

func NewGetNfsInodesConnectionParamsWithContext(ctx context.Context) *GetNfsInodesConnectionParams

NewGetNfsInodesConnectionParamsWithContext creates a new GetNfsInodesConnectionParams object with the ability to set a context for a request.

func NewGetNfsInodesConnectionParamsWithHTTPClient

func NewGetNfsInodesConnectionParamsWithHTTPClient(client *http.Client) *GetNfsInodesConnectionParams

NewGetNfsInodesConnectionParamsWithHTTPClient creates a new GetNfsInodesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetNfsInodesConnectionParamsWithTimeout

func NewGetNfsInodesConnectionParamsWithTimeout(timeout time.Duration) *GetNfsInodesConnectionParams

NewGetNfsInodesConnectionParamsWithTimeout creates a new GetNfsInodesConnectionParams object with the ability to set a timeout on a request.

func (*GetNfsInodesConnectionParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get nfs inodes connection params

func (*GetNfsInodesConnectionParams) SetContext

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

SetContext adds the context to the get nfs inodes connection params

func (*GetNfsInodesConnectionParams) SetDefaults

func (o *GetNfsInodesConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get nfs inodes connection params (not the query body).

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

func (*GetNfsInodesConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get nfs inodes connection params

func (*GetNfsInodesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get nfs inodes connection params

func (*GetNfsInodesConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get nfs inodes connection params

func (*GetNfsInodesConnectionParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get nfs inodes connection params

func (*GetNfsInodesConnectionParams) WithContext

WithContext adds the context to the get nfs inodes connection params

func (*GetNfsInodesConnectionParams) WithDefaults

WithDefaults hydrates default values in the get nfs inodes connection params (not the query body).

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

func (*GetNfsInodesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get nfs inodes connection params

func (*GetNfsInodesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get nfs inodes connection params

func (*GetNfsInodesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get nfs inodes connection params

func (*GetNfsInodesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNfsInodesConnectionReader

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

GetNfsInodesConnectionReader is a Reader for the GetNfsInodesConnection structure.

func (*GetNfsInodesConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNfsInodesInternalServerError added in v1.10.0

type GetNfsInodesInternalServerError struct {
	Payload *models.ErrorBody
}
GetNfsInodesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetNfsInodesInternalServerError added in v1.10.0

func NewGetNfsInodesInternalServerError() *GetNfsInodesInternalServerError

NewGetNfsInodesInternalServerError creates a GetNfsInodesInternalServerError with default headers values

func (*GetNfsInodesInternalServerError) Error added in v1.10.0

func (*GetNfsInodesInternalServerError) GetPayload added in v1.10.0

type GetNfsInodesNotFound added in v1.10.0

type GetNfsInodesNotFound struct {
	Payload *models.ErrorBody
}
GetNfsInodesNotFound describes a response with status code 404, with default header values.

Not found

func NewGetNfsInodesNotFound added in v1.10.0

func NewGetNfsInodesNotFound() *GetNfsInodesNotFound

NewGetNfsInodesNotFound creates a GetNfsInodesNotFound with default headers values

func (*GetNfsInodesNotFound) Error added in v1.10.0

func (o *GetNfsInodesNotFound) Error() string

func (*GetNfsInodesNotFound) GetPayload added in v1.10.0

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

type GetNfsInodesOK

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

Ok

func NewGetNfsInodesOK

func NewGetNfsInodesOK() *GetNfsInodesOK

NewGetNfsInodesOK creates a GetNfsInodesOK with default headers values

func (*GetNfsInodesOK) Error

func (o *GetNfsInodesOK) Error() string

func (*GetNfsInodesOK) GetPayload

func (o *GetNfsInodesOK) GetPayload() []*models.NfsInode

type GetNfsInodesParams

type GetNfsInodesParams struct {

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

	// RequestBody.
	RequestBody *models.GetNfsInodesRequestBody

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

GetNfsInodesParams contains all the parameters to send to the API endpoint

for the get nfs inodes operation.

Typically these are written to a http.Request.

func NewGetNfsInodesParams

func NewGetNfsInodesParams() *GetNfsInodesParams

NewGetNfsInodesParams creates a new GetNfsInodesParams 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 NewGetNfsInodesParamsWithContext

func NewGetNfsInodesParamsWithContext(ctx context.Context) *GetNfsInodesParams

NewGetNfsInodesParamsWithContext creates a new GetNfsInodesParams object with the ability to set a context for a request.

func NewGetNfsInodesParamsWithHTTPClient

func NewGetNfsInodesParamsWithHTTPClient(client *http.Client) *GetNfsInodesParams

NewGetNfsInodesParamsWithHTTPClient creates a new GetNfsInodesParams object with the ability to set a custom HTTPClient for a request.

func NewGetNfsInodesParamsWithTimeout

func NewGetNfsInodesParamsWithTimeout(timeout time.Duration) *GetNfsInodesParams

NewGetNfsInodesParamsWithTimeout creates a new GetNfsInodesParams object with the ability to set a timeout on a request.

func (*GetNfsInodesParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get nfs inodes params

func (*GetNfsInodesParams) SetContext

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

SetContext adds the context to the get nfs inodes params

func (*GetNfsInodesParams) SetDefaults

func (o *GetNfsInodesParams) SetDefaults()

SetDefaults hydrates default values in the get nfs inodes params (not the query body).

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

func (*GetNfsInodesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get nfs inodes params

func (*GetNfsInodesParams) SetRequestBody

func (o *GetNfsInodesParams) SetRequestBody(requestBody *models.GetNfsInodesRequestBody)

SetRequestBody adds the requestBody to the get nfs inodes params

func (*GetNfsInodesParams) SetTimeout

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

SetTimeout adds the timeout to the get nfs inodes params

func (*GetNfsInodesParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get nfs inodes params

func (*GetNfsInodesParams) WithContext

WithContext adds the context to the get nfs inodes params

func (*GetNfsInodesParams) WithDefaults

func (o *GetNfsInodesParams) WithDefaults() *GetNfsInodesParams

WithDefaults hydrates default values in the get nfs inodes params (not the query body).

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

func (*GetNfsInodesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get nfs inodes params

func (*GetNfsInodesParams) WithRequestBody

func (o *GetNfsInodesParams) WithRequestBody(requestBody *models.GetNfsInodesRequestBody) *GetNfsInodesParams

WithRequestBody adds the requestBody to the get nfs inodes params

func (*GetNfsInodesParams) WithTimeout

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

WithTimeout adds the timeout to the get nfs inodes params

func (*GetNfsInodesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetNfsInodesReader

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

GetNfsInodesReader is a Reader for the GetNfsInodes structure.

func (*GetNfsInodesReader) ReadResponse

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