remote_pods

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 11 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 remote pods API

func (*Client) GetAPI24RemotePods

func (a *Client) GetAPI24RemotePods(params *GetAPI24RemotePodsParams) (*GetApi24RemotePodsOK, error)

GetAPI24RemotePods lists remote pods

Returns a list of pods that that are on connected arrays but not stretched to this array.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetAPI24RemotePods(params *GetAPI24RemotePodsParams) (*GetApi24RemotePodsOK, 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 remote pods API client.

type GetAPI24RemotePodsParams

type GetAPI24RemotePodsParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*Ids
	  Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The `ids` and `names` parameters cannot be provided together.

	*/
	Ids []string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*On
	  Performs the operation on the target name specified. Enter multiple target names in comma-separated format. For example, `targetName01,targetName02`.

	*/
	On []string
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool

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

GetAPI24RemotePodsParams contains all the parameters to send to the API endpoint for the get API 24 remote pods operation typically these are written to a http.Request

func NewGetAPI24RemotePodsParams

func NewGetAPI24RemotePodsParams() *GetAPI24RemotePodsParams

NewGetAPI24RemotePodsParams creates a new GetAPI24RemotePodsParams object with the default values initialized.

func NewGetAPI24RemotePodsParamsWithContext

func NewGetAPI24RemotePodsParamsWithContext(ctx context.Context) *GetAPI24RemotePodsParams

NewGetAPI24RemotePodsParamsWithContext creates a new GetAPI24RemotePodsParams object with the default values initialized, and the ability to set a context for a request

func NewGetAPI24RemotePodsParamsWithHTTPClient

func NewGetAPI24RemotePodsParamsWithHTTPClient(client *http.Client) *GetAPI24RemotePodsParams

NewGetAPI24RemotePodsParamsWithHTTPClient creates a new GetAPI24RemotePodsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAPI24RemotePodsParamsWithTimeout

func NewGetAPI24RemotePodsParamsWithTimeout(timeout time.Duration) *GetAPI24RemotePodsParams

NewGetAPI24RemotePodsParamsWithTimeout creates a new GetAPI24RemotePodsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAPI24RemotePodsParams) SetAuthorization

func (o *GetAPI24RemotePodsParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) SetContext

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

SetContext adds the context to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) SetFilter

func (o *GetAPI24RemotePodsParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) SetIds

func (o *GetAPI24RemotePodsParams) SetIds(ids []string)

SetIds adds the ids to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) SetLimit

func (o *GetAPI24RemotePodsParams) SetLimit(limit *int32)

SetLimit adds the limit to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) SetNames

func (o *GetAPI24RemotePodsParams) SetNames(names []string)

SetNames adds the names to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) SetOffset

func (o *GetAPI24RemotePodsParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) SetOn

func (o *GetAPI24RemotePodsParams) SetOn(on []string)

SetOn adds the on to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) SetSort

func (o *GetAPI24RemotePodsParams) SetSort(sort []string)

SetSort adds the sort to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) SetTotalItemCount

func (o *GetAPI24RemotePodsParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) SetXRequestID

func (o *GetAPI24RemotePodsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) WithAuthorization

func (o *GetAPI24RemotePodsParams) WithAuthorization(authorization *string) *GetAPI24RemotePodsParams

WithAuthorization adds the authorization to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) WithContext

WithContext adds the context to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) WithFilter

WithFilter adds the filter to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) WithIds

WithIds adds the ids to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) WithLimit

WithLimit adds the limit to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) WithNames

WithNames adds the names to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) WithOffset

WithOffset adds the offset to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) WithOn

WithOn adds the on to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) WithSort

WithSort adds the sort to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) WithTimeout

WithTimeout adds the timeout to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) WithTotalItemCount

func (o *GetAPI24RemotePodsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24RemotePodsParams

WithTotalItemCount adds the totalItemCount to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) WithXRequestID

func (o *GetAPI24RemotePodsParams) WithXRequestID(xRequestID *string) *GetAPI24RemotePodsParams

WithXRequestID adds the xRequestID to the get API 24 remote pods params

func (*GetAPI24RemotePodsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24RemotePodsReader

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

GetAPI24RemotePodsReader is a Reader for the GetAPI24RemotePods structure.

func (*GetAPI24RemotePodsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApi24RemotePodsBadRequest

type GetApi24RemotePodsBadRequest struct {
	Payload *models.Error
}

GetApi24RemotePodsBadRequest handles this case with default header values.

BadRequest

func NewGetApi24RemotePodsBadRequest

func NewGetApi24RemotePodsBadRequest() *GetApi24RemotePodsBadRequest

NewGetApi24RemotePodsBadRequest creates a GetApi24RemotePodsBadRequest with default headers values

func (*GetApi24RemotePodsBadRequest) Error

func (*GetApi24RemotePodsBadRequest) GetPayload

func (o *GetApi24RemotePodsBadRequest) GetPayload() *models.Error

type GetApi24RemotePodsOK

type GetApi24RemotePodsOK struct {
	Payload *models.RemotePodsResponse
}

GetApi24RemotePodsOK handles this case with default header values.

OK

func NewGetApi24RemotePodsOK

func NewGetApi24RemotePodsOK() *GetApi24RemotePodsOK

NewGetApi24RemotePodsOK creates a GetApi24RemotePodsOK with default headers values

func (*GetApi24RemotePodsOK) Error

func (o *GetApi24RemotePodsOK) Error() string

func (*GetApi24RemotePodsOK) GetPayload

Jump to

Keyboard shortcuts

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