controllers

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

func (*Client) GetAPI24Controllers

func (a *Client) GetAPI24Controllers(params *GetAPI24ControllersParams) (*GetApi24ControllersOK, error)

GetAPI24Controllers lists controller information and status

Displays the name, mode, FlashArray model, Purity//FA software version, and status of each controller in the array.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetAPI24Controllers(params *GetAPI24ControllersParams) (*GetApi24ControllersOK, 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 controllers API client.

type GetAPI24ControllersParams

type GetAPI24ControllersParams 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
	/*ContinuationToken
	  A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters.

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

	*/
	Filter *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
	/*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
}

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

func NewGetAPI24ControllersParams

func NewGetAPI24ControllersParams() *GetAPI24ControllersParams

NewGetAPI24ControllersParams creates a new GetAPI24ControllersParams object with the default values initialized.

func NewGetAPI24ControllersParamsWithContext

func NewGetAPI24ControllersParamsWithContext(ctx context.Context) *GetAPI24ControllersParams

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

func NewGetAPI24ControllersParamsWithHTTPClient

func NewGetAPI24ControllersParamsWithHTTPClient(client *http.Client) *GetAPI24ControllersParams

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

func NewGetAPI24ControllersParamsWithTimeout

func NewGetAPI24ControllersParamsWithTimeout(timeout time.Duration) *GetAPI24ControllersParams

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

func (*GetAPI24ControllersParams) SetAuthorization

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

SetAuthorization adds the authorization to the get API 24 controllers params

func (*GetAPI24ControllersParams) SetContext

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

SetContext adds the context to the get API 24 controllers params

func (*GetAPI24ControllersParams) SetContinuationToken

func (o *GetAPI24ControllersParams) SetContinuationToken(continuationToken *string)

SetContinuationToken adds the continuationToken to the get API 24 controllers params

func (*GetAPI24ControllersParams) SetFilter

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

SetFilter adds the filter to the get API 24 controllers params

func (*GetAPI24ControllersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 controllers params

func (*GetAPI24ControllersParams) SetLimit

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

SetLimit adds the limit to the get API 24 controllers params

func (*GetAPI24ControllersParams) SetNames

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

SetNames adds the names to the get API 24 controllers params

func (*GetAPI24ControllersParams) SetOffset

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

SetOffset adds the offset to the get API 24 controllers params

func (*GetAPI24ControllersParams) SetSort

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

SetSort adds the sort to the get API 24 controllers params

func (*GetAPI24ControllersParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 controllers params

func (*GetAPI24ControllersParams) SetTotalItemCount

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

SetTotalItemCount adds the totalItemCount to the get API 24 controllers params

func (*GetAPI24ControllersParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the get API 24 controllers params

func (*GetAPI24ControllersParams) WithAuthorization

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

WithAuthorization adds the authorization to the get API 24 controllers params

func (*GetAPI24ControllersParams) WithContext

WithContext adds the context to the get API 24 controllers params

func (*GetAPI24ControllersParams) WithContinuationToken

func (o *GetAPI24ControllersParams) WithContinuationToken(continuationToken *string) *GetAPI24ControllersParams

WithContinuationToken adds the continuationToken to the get API 24 controllers params

func (*GetAPI24ControllersParams) WithFilter

WithFilter adds the filter to the get API 24 controllers params

func (*GetAPI24ControllersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API 24 controllers params

func (*GetAPI24ControllersParams) WithLimit

WithLimit adds the limit to the get API 24 controllers params

func (*GetAPI24ControllersParams) WithNames

WithNames adds the names to the get API 24 controllers params

func (*GetAPI24ControllersParams) WithOffset

WithOffset adds the offset to the get API 24 controllers params

func (*GetAPI24ControllersParams) WithSort

WithSort adds the sort to the get API 24 controllers params

func (*GetAPI24ControllersParams) WithTimeout

WithTimeout adds the timeout to the get API 24 controllers params

func (*GetAPI24ControllersParams) WithTotalItemCount

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

WithTotalItemCount adds the totalItemCount to the get API 24 controllers params

func (*GetAPI24ControllersParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the get API 24 controllers params

func (*GetAPI24ControllersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24ControllersReader

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

GetAPI24ControllersReader is a Reader for the GetAPI24Controllers structure.

func (*GetAPI24ControllersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApi24ControllersBadRequest

type GetApi24ControllersBadRequest struct {
	Payload *models.Error
}

GetApi24ControllersBadRequest handles this case with default header values.

BadRequest

func NewGetApi24ControllersBadRequest

func NewGetApi24ControllersBadRequest() *GetApi24ControllersBadRequest

NewGetApi24ControllersBadRequest creates a GetApi24ControllersBadRequest with default headers values

func (*GetApi24ControllersBadRequest) Error

func (*GetApi24ControllersBadRequest) GetPayload

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

type GetApi24ControllersOK

type GetApi24ControllersOK struct {
	Payload *models.ControllerGetResponse
}

GetApi24ControllersOK handles this case with default header values.

OK

func NewGetApi24ControllersOK

func NewGetApi24ControllersOK() *GetApi24ControllersOK

NewGetApi24ControllersOK creates a GetApi24ControllersOK with default headers values

func (*GetApi24ControllersOK) Error

func (o *GetApi24ControllersOK) Error() string

func (*GetApi24ControllersOK) GetPayload

Jump to

Keyboard shortcuts

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