Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetStorageAPIGroupOK
- type GetStorageAPIGroupParams
- func NewGetStorageAPIGroupParams() *GetStorageAPIGroupParams
- func NewGetStorageAPIGroupParamsWithContext(ctx context.Context) *GetStorageAPIGroupParams
- func NewGetStorageAPIGroupParamsWithHTTPClient(client *http.Client) *GetStorageAPIGroupParams
- func NewGetStorageAPIGroupParamsWithTimeout(timeout time.Duration) *GetStorageAPIGroupParams
- func (o *GetStorageAPIGroupParams) SetContext(ctx context.Context)
- func (o *GetStorageAPIGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetStorageAPIGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetStorageAPIGroupParams) WithContext(ctx context.Context) *GetStorageAPIGroupParams
- func (o *GetStorageAPIGroupParams) WithHTTPClient(client *http.Client) *GetStorageAPIGroupParams
- func (o *GetStorageAPIGroupParams) WithTimeout(timeout time.Duration) *GetStorageAPIGroupParams
- func (o *GetStorageAPIGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStorageAPIGroupReader
- type GetStorageAPIGroupUnauthorized
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 storage API
func (*Client) GetStorageAPIGroup ¶
func (a *Client) GetStorageAPIGroup(params *GetStorageAPIGroupParams) (*GetStorageAPIGroupOK, error)
GetStorageAPIGroup get information of a group
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetStorageAPIGroup(params *GetStorageAPIGroupParams) (*GetStorageAPIGroupOK, 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 storage API client.
type GetStorageAPIGroupOK ¶
type GetStorageAPIGroupOK struct {
Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup
}
GetStorageAPIGroupOK handles this case with default header values.
OK
func NewGetStorageAPIGroupOK ¶
func NewGetStorageAPIGroupOK() *GetStorageAPIGroupOK
NewGetStorageAPIGroupOK creates a GetStorageAPIGroupOK with default headers values
func (*GetStorageAPIGroupOK) Error ¶
func (o *GetStorageAPIGroupOK) Error() string
func (*GetStorageAPIGroupOK) GetPayload ¶
func (o *GetStorageAPIGroupOK) GetPayload() *models.IoK8sApimachineryPkgApisMetaV1APIGroup
type GetStorageAPIGroupParams ¶
type GetStorageAPIGroupParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStorageAPIGroupParams contains all the parameters to send to the API endpoint for the get storage API group operation typically these are written to a http.Request
func NewGetStorageAPIGroupParams ¶
func NewGetStorageAPIGroupParams() *GetStorageAPIGroupParams
NewGetStorageAPIGroupParams creates a new GetStorageAPIGroupParams object with the default values initialized.
func NewGetStorageAPIGroupParamsWithContext ¶
func NewGetStorageAPIGroupParamsWithContext(ctx context.Context) *GetStorageAPIGroupParams
NewGetStorageAPIGroupParamsWithContext creates a new GetStorageAPIGroupParams object with the default values initialized, and the ability to set a context for a request
func NewGetStorageAPIGroupParamsWithHTTPClient ¶
func NewGetStorageAPIGroupParamsWithHTTPClient(client *http.Client) *GetStorageAPIGroupParams
NewGetStorageAPIGroupParamsWithHTTPClient creates a new GetStorageAPIGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetStorageAPIGroupParamsWithTimeout ¶
func NewGetStorageAPIGroupParamsWithTimeout(timeout time.Duration) *GetStorageAPIGroupParams
NewGetStorageAPIGroupParamsWithTimeout creates a new GetStorageAPIGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetStorageAPIGroupParams) SetContext ¶
func (o *GetStorageAPIGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the get storage API group params
func (*GetStorageAPIGroupParams) SetHTTPClient ¶
func (o *GetStorageAPIGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get storage API group params
func (*GetStorageAPIGroupParams) SetTimeout ¶
func (o *GetStorageAPIGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get storage API group params
func (*GetStorageAPIGroupParams) WithContext ¶
func (o *GetStorageAPIGroupParams) WithContext(ctx context.Context) *GetStorageAPIGroupParams
WithContext adds the context to the get storage API group params
func (*GetStorageAPIGroupParams) WithHTTPClient ¶
func (o *GetStorageAPIGroupParams) WithHTTPClient(client *http.Client) *GetStorageAPIGroupParams
WithHTTPClient adds the HTTPClient to the get storage API group params
func (*GetStorageAPIGroupParams) WithTimeout ¶
func (o *GetStorageAPIGroupParams) WithTimeout(timeout time.Duration) *GetStorageAPIGroupParams
WithTimeout adds the timeout to the get storage API group params
func (*GetStorageAPIGroupParams) WriteToRequest ¶
func (o *GetStorageAPIGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStorageAPIGroupReader ¶
type GetStorageAPIGroupReader struct {
// contains filtered or unexported fields
}
GetStorageAPIGroupReader is a Reader for the GetStorageAPIGroup structure.
func (*GetStorageAPIGroupReader) ReadResponse ¶
func (o *GetStorageAPIGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStorageAPIGroupUnauthorized ¶
type GetStorageAPIGroupUnauthorized struct { }
GetStorageAPIGroupUnauthorized handles this case with default header values.
Unauthorized
func NewGetStorageAPIGroupUnauthorized ¶
func NewGetStorageAPIGroupUnauthorized() *GetStorageAPIGroupUnauthorized
NewGetStorageAPIGroupUnauthorized creates a GetStorageAPIGroupUnauthorized with default headers values
func (*GetStorageAPIGroupUnauthorized) Error ¶
func (o *GetStorageAPIGroupUnauthorized) Error() string