Documentation ¶
Index ¶
- type Client
- type StatusInspectInternalServerError
- type StatusInspectOK
- type StatusInspectParams
- func (o *StatusInspectParams) SetContext(ctx context.Context)
- func (o *StatusInspectParams) SetHTTPClient(client *http.Client)
- func (o *StatusInspectParams) SetTimeout(timeout time.Duration)
- func (o *StatusInspectParams) WithContext(ctx context.Context) *StatusInspectParams
- func (o *StatusInspectParams) WithHTTPClient(client *http.Client) *StatusInspectParams
- func (o *StatusInspectParams) WithTimeout(timeout time.Duration) *StatusInspectParams
- func (o *StatusInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusInspectReader
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 status API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new status API client.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StatusInspect ¶
func (a *Client) StatusInspect(params *StatusInspectParams, authInfo runtime.ClientAuthInfoWriter) (*StatusInspectOK, error)
StatusInspect checks portainer status
Retrieve Portainer status. **Access policy**: public
type StatusInspectInternalServerError ¶
type StatusInspectInternalServerError struct {
Payload *models.GenericError
}
StatusInspectInternalServerError handles this case with default header values.
Server error
func NewStatusInspectInternalServerError ¶
func NewStatusInspectInternalServerError() *StatusInspectInternalServerError
NewStatusInspectInternalServerError creates a StatusInspectInternalServerError with default headers values
func (*StatusInspectInternalServerError) Error ¶
func (o *StatusInspectInternalServerError) Error() string
type StatusInspectOK ¶
StatusInspectOK handles this case with default header values.
Success
func NewStatusInspectOK ¶
func NewStatusInspectOK() *StatusInspectOK
NewStatusInspectOK creates a StatusInspectOK with default headers values
func (*StatusInspectOK) Error ¶
func (o *StatusInspectOK) Error() string
type StatusInspectParams ¶
type StatusInspectParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StatusInspectParams contains all the parameters to send to the API endpoint for the status inspect operation typically these are written to a http.Request
func NewStatusInspectParams ¶
func NewStatusInspectParams() *StatusInspectParams
NewStatusInspectParams creates a new StatusInspectParams object with the default values initialized.
func NewStatusInspectParamsWithContext ¶
func NewStatusInspectParamsWithContext(ctx context.Context) *StatusInspectParams
NewStatusInspectParamsWithContext creates a new StatusInspectParams object with the default values initialized, and the ability to set a context for a request
func NewStatusInspectParamsWithHTTPClient ¶
func NewStatusInspectParamsWithHTTPClient(client *http.Client) *StatusInspectParams
NewStatusInspectParamsWithHTTPClient creates a new StatusInspectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStatusInspectParamsWithTimeout ¶
func NewStatusInspectParamsWithTimeout(timeout time.Duration) *StatusInspectParams
NewStatusInspectParamsWithTimeout creates a new StatusInspectParams object with the default values initialized, and the ability to set a timeout on a request
func (*StatusInspectParams) SetContext ¶
func (o *StatusInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the status inspect params
func (*StatusInspectParams) SetHTTPClient ¶
func (o *StatusInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the status inspect params
func (*StatusInspectParams) SetTimeout ¶
func (o *StatusInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the status inspect params
func (*StatusInspectParams) WithContext ¶
func (o *StatusInspectParams) WithContext(ctx context.Context) *StatusInspectParams
WithContext adds the context to the status inspect params
func (*StatusInspectParams) WithHTTPClient ¶
func (o *StatusInspectParams) WithHTTPClient(client *http.Client) *StatusInspectParams
WithHTTPClient adds the HTTPClient to the status inspect params
func (*StatusInspectParams) WithTimeout ¶
func (o *StatusInspectParams) WithTimeout(timeout time.Duration) *StatusInspectParams
WithTimeout adds the timeout to the status inspect params
func (*StatusInspectParams) WriteToRequest ¶
func (o *StatusInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StatusInspectReader ¶
type StatusInspectReader struct {
// contains filtered or unexported fields
}
StatusInspectReader is a Reader for the StatusInspect structure.
func (*StatusInspectReader) ReadResponse ¶
func (o *StatusInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.