Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetAPI24SMISParams
- func (o *GetAPI24SMISParams) SetAuthorization(authorization *string)
- func (o *GetAPI24SMISParams) SetContext(ctx context.Context)
- func (o *GetAPI24SMISParams) SetFilter(filter *string)
- func (o *GetAPI24SMISParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24SMISParams) SetLimit(limit *int32)
- func (o *GetAPI24SMISParams) SetOffset(offset *int32)
- func (o *GetAPI24SMISParams) SetSort(sort []string)
- func (o *GetAPI24SMISParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24SMISParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24SMISParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24SMISParams) WithAuthorization(authorization *string) *GetAPI24SMISParams
- func (o *GetAPI24SMISParams) WithContext(ctx context.Context) *GetAPI24SMISParams
- func (o *GetAPI24SMISParams) WithFilter(filter *string) *GetAPI24SMISParams
- func (o *GetAPI24SMISParams) WithHTTPClient(client *http.Client) *GetAPI24SMISParams
- func (o *GetAPI24SMISParams) WithLimit(limit *int32) *GetAPI24SMISParams
- func (o *GetAPI24SMISParams) WithOffset(offset *int32) *GetAPI24SMISParams
- func (o *GetAPI24SMISParams) WithSort(sort []string) *GetAPI24SMISParams
- func (o *GetAPI24SMISParams) WithTimeout(timeout time.Duration) *GetAPI24SMISParams
- func (o *GetAPI24SMISParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SMISParams
- func (o *GetAPI24SMISParams) WithXRequestID(xRequestID *string) *GetAPI24SMISParams
- func (o *GetAPI24SMISParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24SMISReader
- type GetApi24SMISBadRequest
- type GetApi24SMISOK
- type PatchAPI24SMISParams
- func NewPatchAPI24SMISParams() *PatchAPI24SMISParams
- func NewPatchAPI24SMISParamsWithContext(ctx context.Context) *PatchAPI24SMISParams
- func NewPatchAPI24SMISParamsWithHTTPClient(client *http.Client) *PatchAPI24SMISParams
- func NewPatchAPI24SMISParamsWithTimeout(timeout time.Duration) *PatchAPI24SMISParams
- func (o *PatchAPI24SMISParams) SetAuthorization(authorization *string)
- func (o *PatchAPI24SMISParams) SetContext(ctx context.Context)
- func (o *PatchAPI24SMISParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPI24SMISParams) SetSMIs(sMIs *models.SMIS)
- func (o *PatchAPI24SMISParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPI24SMISParams) SetXRequestID(xRequestID *string)
- func (o *PatchAPI24SMISParams) WithAuthorization(authorization *string) *PatchAPI24SMISParams
- func (o *PatchAPI24SMISParams) WithContext(ctx context.Context) *PatchAPI24SMISParams
- func (o *PatchAPI24SMISParams) WithHTTPClient(client *http.Client) *PatchAPI24SMISParams
- func (o *PatchAPI24SMISParams) WithSMIs(sMIs *models.SMIS) *PatchAPI24SMISParams
- func (o *PatchAPI24SMISParams) WithTimeout(timeout time.Duration) *PatchAPI24SMISParams
- func (o *PatchAPI24SMISParams) WithXRequestID(xRequestID *string) *PatchAPI24SMISParams
- func (o *PatchAPI24SMISParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPI24SMISReader
- type PatchApi24SMISBadRequest
- type PatchApi24SMISOK
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 smi s API
func (*Client) GetAPI24SMIS ¶
func (a *Client) GetAPI24SMIS(params *GetAPI24SMISParams) (*GetApi24SMISOK, error)
GetAPI24SMIS lists SMI s settings
Displays the SMI-S settings, including the name of the array and whether SLP and WBEM-HTTPS are enabled.
func (*Client) PatchAPI24SMIS ¶
func (a *Client) PatchAPI24SMIS(params *PatchAPI24SMISParams) (*PatchApi24SMISOK, error)
PatchAPI24SMIS modifies s l p and SMI s
Modifies the Service Location Protocol (SLP) and the SMI-S provider, enabling or disabling them.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetAPI24SMIS(params *GetAPI24SMISParams) (*GetApi24SMISOK, error) PatchAPI24SMIS(params *PatchAPI24SMISParams) (*PatchApi24SMISOK, 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 smi s API client.
type GetAPI24SMISParams ¶
type GetAPI24SMISParams 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 /*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 /*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 }
GetAPI24SMISParams contains all the parameters to send to the API endpoint for the get API 24 SMIS operation typically these are written to a http.Request
func NewGetAPI24SMISParams ¶
func NewGetAPI24SMISParams() *GetAPI24SMISParams
NewGetAPI24SMISParams creates a new GetAPI24SMISParams object with the default values initialized.
func NewGetAPI24SMISParamsWithContext ¶
func NewGetAPI24SMISParamsWithContext(ctx context.Context) *GetAPI24SMISParams
NewGetAPI24SMISParamsWithContext creates a new GetAPI24SMISParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24SMISParamsWithHTTPClient ¶
func NewGetAPI24SMISParamsWithHTTPClient(client *http.Client) *GetAPI24SMISParams
NewGetAPI24SMISParamsWithHTTPClient creates a new GetAPI24SMISParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24SMISParamsWithTimeout ¶
func NewGetAPI24SMISParamsWithTimeout(timeout time.Duration) *GetAPI24SMISParams
NewGetAPI24SMISParamsWithTimeout creates a new GetAPI24SMISParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24SMISParams) SetAuthorization ¶
func (o *GetAPI24SMISParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 SMIS params
func (*GetAPI24SMISParams) SetContext ¶
func (o *GetAPI24SMISParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 SMIS params
func (*GetAPI24SMISParams) SetFilter ¶
func (o *GetAPI24SMISParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 SMIS params
func (*GetAPI24SMISParams) SetHTTPClient ¶
func (o *GetAPI24SMISParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 SMIS params
func (*GetAPI24SMISParams) SetLimit ¶
func (o *GetAPI24SMISParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 SMIS params
func (*GetAPI24SMISParams) SetOffset ¶
func (o *GetAPI24SMISParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 SMIS params
func (*GetAPI24SMISParams) SetSort ¶
func (o *GetAPI24SMISParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 SMIS params
func (*GetAPI24SMISParams) SetTimeout ¶
func (o *GetAPI24SMISParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 SMIS params
func (*GetAPI24SMISParams) SetTotalItemCount ¶
func (o *GetAPI24SMISParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 SMIS params
func (*GetAPI24SMISParams) SetXRequestID ¶
func (o *GetAPI24SMISParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 SMIS params
func (*GetAPI24SMISParams) WithAuthorization ¶
func (o *GetAPI24SMISParams) WithAuthorization(authorization *string) *GetAPI24SMISParams
WithAuthorization adds the authorization to the get API 24 SMIS params
func (*GetAPI24SMISParams) WithContext ¶
func (o *GetAPI24SMISParams) WithContext(ctx context.Context) *GetAPI24SMISParams
WithContext adds the context to the get API 24 SMIS params
func (*GetAPI24SMISParams) WithFilter ¶
func (o *GetAPI24SMISParams) WithFilter(filter *string) *GetAPI24SMISParams
WithFilter adds the filter to the get API 24 SMIS params
func (*GetAPI24SMISParams) WithHTTPClient ¶
func (o *GetAPI24SMISParams) WithHTTPClient(client *http.Client) *GetAPI24SMISParams
WithHTTPClient adds the HTTPClient to the get API 24 SMIS params
func (*GetAPI24SMISParams) WithLimit ¶
func (o *GetAPI24SMISParams) WithLimit(limit *int32) *GetAPI24SMISParams
WithLimit adds the limit to the get API 24 SMIS params
func (*GetAPI24SMISParams) WithOffset ¶
func (o *GetAPI24SMISParams) WithOffset(offset *int32) *GetAPI24SMISParams
WithOffset adds the offset to the get API 24 SMIS params
func (*GetAPI24SMISParams) WithSort ¶
func (o *GetAPI24SMISParams) WithSort(sort []string) *GetAPI24SMISParams
WithSort adds the sort to the get API 24 SMIS params
func (*GetAPI24SMISParams) WithTimeout ¶
func (o *GetAPI24SMISParams) WithTimeout(timeout time.Duration) *GetAPI24SMISParams
WithTimeout adds the timeout to the get API 24 SMIS params
func (*GetAPI24SMISParams) WithTotalItemCount ¶
func (o *GetAPI24SMISParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SMISParams
WithTotalItemCount adds the totalItemCount to the get API 24 SMIS params
func (*GetAPI24SMISParams) WithXRequestID ¶
func (o *GetAPI24SMISParams) WithXRequestID(xRequestID *string) *GetAPI24SMISParams
WithXRequestID adds the xRequestID to the get API 24 SMIS params
func (*GetAPI24SMISParams) WriteToRequest ¶
func (o *GetAPI24SMISParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24SMISReader ¶
type GetAPI24SMISReader struct {
// contains filtered or unexported fields
}
GetAPI24SMISReader is a Reader for the GetAPI24SMIS structure.
func (*GetAPI24SMISReader) ReadResponse ¶
func (o *GetAPI24SMISReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApi24SMISBadRequest ¶
GetApi24SMISBadRequest handles this case with default header values.
BadRequest
func NewGetApi24SMISBadRequest ¶
func NewGetApi24SMISBadRequest() *GetApi24SMISBadRequest
NewGetApi24SMISBadRequest creates a GetApi24SMISBadRequest with default headers values
func (*GetApi24SMISBadRequest) Error ¶
func (o *GetApi24SMISBadRequest) Error() string
func (*GetApi24SMISBadRequest) GetPayload ¶
func (o *GetApi24SMISBadRequest) GetPayload() *models.Error
type GetApi24SMISOK ¶
type GetApi24SMISOK struct {
Payload *models.SMISGetResponse
}
GetApi24SMISOK handles this case with default header values.
OK
func NewGetApi24SMISOK ¶
func NewGetApi24SMISOK() *GetApi24SMISOK
NewGetApi24SMISOK creates a GetApi24SMISOK with default headers values
func (*GetApi24SMISOK) Error ¶
func (o *GetApi24SMISOK) Error() string
func (*GetApi24SMISOK) GetPayload ¶
func (o *GetApi24SMISOK) GetPayload() *models.SMISGetResponse
type PatchAPI24SMISParams ¶
type PatchAPI24SMISParams 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 /*SMIs*/ SMIs *models.SMIS Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAPI24SMISParams contains all the parameters to send to the API endpoint for the patch API 24 SMIS operation typically these are written to a http.Request
func NewPatchAPI24SMISParams ¶
func NewPatchAPI24SMISParams() *PatchAPI24SMISParams
NewPatchAPI24SMISParams creates a new PatchAPI24SMISParams object with the default values initialized.
func NewPatchAPI24SMISParamsWithContext ¶
func NewPatchAPI24SMISParamsWithContext(ctx context.Context) *PatchAPI24SMISParams
NewPatchAPI24SMISParamsWithContext creates a new PatchAPI24SMISParams object with the default values initialized, and the ability to set a context for a request
func NewPatchAPI24SMISParamsWithHTTPClient ¶
func NewPatchAPI24SMISParamsWithHTTPClient(client *http.Client) *PatchAPI24SMISParams
NewPatchAPI24SMISParamsWithHTTPClient creates a new PatchAPI24SMISParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchAPI24SMISParamsWithTimeout ¶
func NewPatchAPI24SMISParamsWithTimeout(timeout time.Duration) *PatchAPI24SMISParams
NewPatchAPI24SMISParamsWithTimeout creates a new PatchAPI24SMISParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchAPI24SMISParams) SetAuthorization ¶
func (o *PatchAPI24SMISParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the patch API 24 SMIS params
func (*PatchAPI24SMISParams) SetContext ¶
func (o *PatchAPI24SMISParams) SetContext(ctx context.Context)
SetContext adds the context to the patch API 24 SMIS params
func (*PatchAPI24SMISParams) SetHTTPClient ¶
func (o *PatchAPI24SMISParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch API 24 SMIS params
func (*PatchAPI24SMISParams) SetSMIs ¶
func (o *PatchAPI24SMISParams) SetSMIs(sMIs *models.SMIS)
SetSMIs adds the smiS to the patch API 24 SMIS params
func (*PatchAPI24SMISParams) SetTimeout ¶
func (o *PatchAPI24SMISParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch API 24 SMIS params
func (*PatchAPI24SMISParams) SetXRequestID ¶
func (o *PatchAPI24SMISParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the patch API 24 SMIS params
func (*PatchAPI24SMISParams) WithAuthorization ¶
func (o *PatchAPI24SMISParams) WithAuthorization(authorization *string) *PatchAPI24SMISParams
WithAuthorization adds the authorization to the patch API 24 SMIS params
func (*PatchAPI24SMISParams) WithContext ¶
func (o *PatchAPI24SMISParams) WithContext(ctx context.Context) *PatchAPI24SMISParams
WithContext adds the context to the patch API 24 SMIS params
func (*PatchAPI24SMISParams) WithHTTPClient ¶
func (o *PatchAPI24SMISParams) WithHTTPClient(client *http.Client) *PatchAPI24SMISParams
WithHTTPClient adds the HTTPClient to the patch API 24 SMIS params
func (*PatchAPI24SMISParams) WithSMIs ¶
func (o *PatchAPI24SMISParams) WithSMIs(sMIs *models.SMIS) *PatchAPI24SMISParams
WithSMIs adds the sMIs to the patch API 24 SMIS params
func (*PatchAPI24SMISParams) WithTimeout ¶
func (o *PatchAPI24SMISParams) WithTimeout(timeout time.Duration) *PatchAPI24SMISParams
WithTimeout adds the timeout to the patch API 24 SMIS params
func (*PatchAPI24SMISParams) WithXRequestID ¶
func (o *PatchAPI24SMISParams) WithXRequestID(xRequestID *string) *PatchAPI24SMISParams
WithXRequestID adds the xRequestID to the patch API 24 SMIS params
func (*PatchAPI24SMISParams) WriteToRequest ¶
func (o *PatchAPI24SMISParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAPI24SMISReader ¶
type PatchAPI24SMISReader struct {
// contains filtered or unexported fields
}
PatchAPI24SMISReader is a Reader for the PatchAPI24SMIS structure.
func (*PatchAPI24SMISReader) ReadResponse ¶
func (o *PatchAPI24SMISReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchApi24SMISBadRequest ¶
PatchApi24SMISBadRequest handles this case with default header values.
BadRequest
func NewPatchApi24SMISBadRequest ¶
func NewPatchApi24SMISBadRequest() *PatchApi24SMISBadRequest
NewPatchApi24SMISBadRequest creates a PatchApi24SMISBadRequest with default headers values
func (*PatchApi24SMISBadRequest) Error ¶
func (o *PatchApi24SMISBadRequest) Error() string
func (*PatchApi24SMISBadRequest) GetPayload ¶
func (o *PatchApi24SMISBadRequest) GetPayload() *models.Error
type PatchApi24SMISOK ¶
type PatchApi24SMISOK struct {
Payload *models.SMISResponse
}
PatchApi24SMISOK handles this case with default header values.
OK
func NewPatchApi24SMISOK ¶
func NewPatchApi24SMISOK() *PatchApi24SMISOK
NewPatchApi24SMISOK creates a PatchApi24SMISOK with default headers values
func (*PatchApi24SMISOK) Error ¶
func (o *PatchApi24SMISOK) Error() string
func (*PatchApi24SMISOK) GetPayload ¶
func (o *PatchApi24SMISOK) GetPayload() *models.SMISResponse