Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type InspectOK
- type InspectParams
- func (o *InspectParams) SetContext(ctx context.Context)
- func (o *InspectParams) SetDefaults()
- func (o *InspectParams) SetHTTPClient(client *http.Client)
- func (o *InspectParams) SetRequest(request *rest_model.InspectRequest)
- func (o *InspectParams) SetTimeout(timeout time.Duration)
- func (o *InspectParams) WithContext(ctx context.Context) *InspectParams
- func (o *InspectParams) WithDefaults() *InspectParams
- func (o *InspectParams) WithHTTPClient(client *http.Client) *InspectParams
- func (o *InspectParams) WithRequest(request *rest_model.InspectRequest) *InspectParams
- func (o *InspectParams) WithTimeout(timeout time.Duration) *InspectParams
- func (o *InspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InspectReader
- type InspectTooManyRequests
- type InspectUnauthorized
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 inspect API
func (*Client) Inspect ¶
func (a *Client) Inspect(params *InspectParams, opts ...ClientOption) (*InspectOK, error)
Inspect inspects system values
Requests system information, such as stack dumps or information about capabilities. Requires admin access.
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 { Inspect(params *InspectParams, opts ...ClientOption) (*InspectOK, 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 inspect API client.
type InspectOK ¶
type InspectOK struct {
Payload *rest_model.InspectResponse
}
InspectOK describes a response with status code 200, with default header values.
A response to an inspect request
func NewInspectOK ¶
func NewInspectOK() *InspectOK
NewInspectOK creates a InspectOK with default headers values
func (*InspectOK) GetPayload ¶
func (o *InspectOK) GetPayload() *rest_model.InspectResponse
type InspectParams ¶
type InspectParams struct { /* Request. An inspect request */ Request *rest_model.InspectRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InspectParams contains all the parameters to send to the API endpoint
for the inspect operation. Typically these are written to a http.Request.
func NewInspectParams ¶
func NewInspectParams() *InspectParams
NewInspectParams creates a new InspectParams 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 NewInspectParamsWithContext ¶
func NewInspectParamsWithContext(ctx context.Context) *InspectParams
NewInspectParamsWithContext creates a new InspectParams object with the ability to set a context for a request.
func NewInspectParamsWithHTTPClient ¶
func NewInspectParamsWithHTTPClient(client *http.Client) *InspectParams
NewInspectParamsWithHTTPClient creates a new InspectParams object with the ability to set a custom HTTPClient for a request.
func NewInspectParamsWithTimeout ¶
func NewInspectParamsWithTimeout(timeout time.Duration) *InspectParams
NewInspectParamsWithTimeout creates a new InspectParams object with the ability to set a timeout on a request.
func (*InspectParams) SetContext ¶
func (o *InspectParams) SetContext(ctx context.Context)
SetContext adds the context to the inspect params
func (*InspectParams) SetDefaults ¶
func (o *InspectParams) SetDefaults()
SetDefaults hydrates default values in the inspect params (not the query body).
All values with no default are reset to their zero value.
func (*InspectParams) SetHTTPClient ¶
func (o *InspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inspect params
func (*InspectParams) SetRequest ¶
func (o *InspectParams) SetRequest(request *rest_model.InspectRequest)
SetRequest adds the request to the inspect params
func (*InspectParams) SetTimeout ¶
func (o *InspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inspect params
func (*InspectParams) WithContext ¶
func (o *InspectParams) WithContext(ctx context.Context) *InspectParams
WithContext adds the context to the inspect params
func (*InspectParams) WithDefaults ¶
func (o *InspectParams) WithDefaults() *InspectParams
WithDefaults hydrates default values in the inspect params (not the query body).
All values with no default are reset to their zero value.
func (*InspectParams) WithHTTPClient ¶
func (o *InspectParams) WithHTTPClient(client *http.Client) *InspectParams
WithHTTPClient adds the HTTPClient to the inspect params
func (*InspectParams) WithRequest ¶
func (o *InspectParams) WithRequest(request *rest_model.InspectRequest) *InspectParams
WithRequest adds the request to the inspect params
func (*InspectParams) WithTimeout ¶
func (o *InspectParams) WithTimeout(timeout time.Duration) *InspectParams
WithTimeout adds the timeout to the inspect params
func (*InspectParams) WriteToRequest ¶
func (o *InspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InspectReader ¶
type InspectReader struct {
// contains filtered or unexported fields
}
InspectReader is a Reader for the Inspect structure.
func (*InspectReader) ReadResponse ¶
func (o *InspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InspectTooManyRequests ¶ added in v0.31.0
type InspectTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
InspectTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewInspectTooManyRequests ¶ added in v0.31.0
func NewInspectTooManyRequests() *InspectTooManyRequests
NewInspectTooManyRequests creates a InspectTooManyRequests with default headers values
func (*InspectTooManyRequests) Error ¶ added in v0.31.0
func (o *InspectTooManyRequests) Error() string
func (*InspectTooManyRequests) GetPayload ¶ added in v0.31.0
func (o *InspectTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type InspectUnauthorized ¶
type InspectUnauthorized struct {
}InspectUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewInspectUnauthorized ¶
func NewInspectUnauthorized() *InspectUnauthorized
NewInspectUnauthorized creates a InspectUnauthorized with default headers values
func (*InspectUnauthorized) Error ¶
func (o *InspectUnauthorized) Error() string
func (*InspectUnauthorized) GetPayload ¶
func (o *InspectUnauthorized) GetPayload() *rest_model.APIErrorEnvelope