Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SystemAuth(params *SystemAuthParams, opts ...ClientOption) (*SystemAuthOK, error)
- func (a *Client) SystemDataUsage(params *SystemDataUsageParams, opts ...ClientOption) (*SystemDataUsageOK, error)
- func (a *Client) SystemEvents(params *SystemEventsParams, opts ...ClientOption) (*SystemEventsOK, error)
- func (a *Client) SystemInfo(params *SystemInfoParams, opts ...ClientOption) (*SystemInfoOK, error)
- func (a *Client) SystemPing(params *SystemPingParams, opts ...ClientOption) (*SystemPingOK, error)
- func (a *Client) SystemVersion(params *SystemVersionParams, opts ...ClientOption) (*SystemVersionOK, error)
- type ClientOption
- type ClientService
- type SystemAuthInternalServerError
- func (o *SystemAuthInternalServerError) Error() string
- func (o *SystemAuthInternalServerError) GetPayload() *SystemAuthInternalServerErrorBody
- func (o *SystemAuthInternalServerError) IsClientError() bool
- func (o *SystemAuthInternalServerError) IsCode(code int) bool
- func (o *SystemAuthInternalServerError) IsRedirect() bool
- func (o *SystemAuthInternalServerError) IsServerError() bool
- func (o *SystemAuthInternalServerError) IsSuccess() bool
- func (o *SystemAuthInternalServerError) String() string
- type SystemAuthInternalServerErrorBody
- func (o *SystemAuthInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SystemAuthInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *SystemAuthInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *SystemAuthInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type SystemAuthOK
- func (o *SystemAuthOK) Error() string
- func (o *SystemAuthOK) GetPayload() *SystemAuthOKBody
- func (o *SystemAuthOK) IsClientError() bool
- func (o *SystemAuthOK) IsCode(code int) bool
- func (o *SystemAuthOK) IsRedirect() bool
- func (o *SystemAuthOK) IsServerError() bool
- func (o *SystemAuthOK) IsSuccess() bool
- func (o *SystemAuthOK) String() string
- type SystemAuthOKBody
- type SystemAuthParams
- func (o *SystemAuthParams) SetAuthConfig(authConfig *models.AuthConfig)
- func (o *SystemAuthParams) SetContext(ctx context.Context)
- func (o *SystemAuthParams) SetDefaults()
- func (o *SystemAuthParams) SetHTTPClient(client *http.Client)
- func (o *SystemAuthParams) SetTimeout(timeout time.Duration)
- func (o *SystemAuthParams) WithAuthConfig(authConfig *models.AuthConfig) *SystemAuthParams
- func (o *SystemAuthParams) WithContext(ctx context.Context) *SystemAuthParams
- func (o *SystemAuthParams) WithDefaults() *SystemAuthParams
- func (o *SystemAuthParams) WithHTTPClient(client *http.Client) *SystemAuthParams
- func (o *SystemAuthParams) WithTimeout(timeout time.Duration) *SystemAuthParams
- func (o *SystemAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemAuthReader
- type SystemDataUsageInternalServerError
- func (o *SystemDataUsageInternalServerError) Error() string
- func (o *SystemDataUsageInternalServerError) GetPayload() *SystemDataUsageInternalServerErrorBody
- func (o *SystemDataUsageInternalServerError) IsClientError() bool
- func (o *SystemDataUsageInternalServerError) IsCode(code int) bool
- func (o *SystemDataUsageInternalServerError) IsRedirect() bool
- func (o *SystemDataUsageInternalServerError) IsServerError() bool
- func (o *SystemDataUsageInternalServerError) IsSuccess() bool
- func (o *SystemDataUsageInternalServerError) String() string
- type SystemDataUsageInternalServerErrorBody
- func (o *SystemDataUsageInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SystemDataUsageInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *SystemDataUsageInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *SystemDataUsageInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type SystemDataUsageOK
- func (o *SystemDataUsageOK) Error() string
- func (o *SystemDataUsageOK) GetPayload() *SystemDataUsageOKBody
- func (o *SystemDataUsageOK) IsClientError() bool
- func (o *SystemDataUsageOK) IsCode(code int) bool
- func (o *SystemDataUsageOK) IsRedirect() bool
- func (o *SystemDataUsageOK) IsServerError() bool
- func (o *SystemDataUsageOK) IsSuccess() bool
- func (o *SystemDataUsageOK) String() string
- type SystemDataUsageOKBody
- type SystemDataUsageParams
- func NewSystemDataUsageParams() *SystemDataUsageParams
- func NewSystemDataUsageParamsWithContext(ctx context.Context) *SystemDataUsageParams
- func NewSystemDataUsageParamsWithHTTPClient(client *http.Client) *SystemDataUsageParams
- func NewSystemDataUsageParamsWithTimeout(timeout time.Duration) *SystemDataUsageParams
- func (o *SystemDataUsageParams) SetContext(ctx context.Context)
- func (o *SystemDataUsageParams) SetDefaults()
- func (o *SystemDataUsageParams) SetHTTPClient(client *http.Client)
- func (o *SystemDataUsageParams) SetTimeout(timeout time.Duration)
- func (o *SystemDataUsageParams) WithContext(ctx context.Context) *SystemDataUsageParams
- func (o *SystemDataUsageParams) WithDefaults() *SystemDataUsageParams
- func (o *SystemDataUsageParams) WithHTTPClient(client *http.Client) *SystemDataUsageParams
- func (o *SystemDataUsageParams) WithTimeout(timeout time.Duration) *SystemDataUsageParams
- func (o *SystemDataUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemDataUsageReader
- type SystemEventsInternalServerError
- func (o *SystemEventsInternalServerError) Error() string
- func (o *SystemEventsInternalServerError) GetPayload() *SystemEventsInternalServerErrorBody
- func (o *SystemEventsInternalServerError) IsClientError() bool
- func (o *SystemEventsInternalServerError) IsCode(code int) bool
- func (o *SystemEventsInternalServerError) IsRedirect() bool
- func (o *SystemEventsInternalServerError) IsServerError() bool
- func (o *SystemEventsInternalServerError) IsSuccess() bool
- func (o *SystemEventsInternalServerError) String() string
- type SystemEventsInternalServerErrorBody
- func (o *SystemEventsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SystemEventsInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *SystemEventsInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *SystemEventsInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type SystemEventsOK
- func (o *SystemEventsOK) Error() string
- func (o *SystemEventsOK) IsClientError() bool
- func (o *SystemEventsOK) IsCode(code int) bool
- func (o *SystemEventsOK) IsRedirect() bool
- func (o *SystemEventsOK) IsServerError() bool
- func (o *SystemEventsOK) IsSuccess() bool
- func (o *SystemEventsOK) String() string
- type SystemEventsParams
- func (o *SystemEventsParams) SetContext(ctx context.Context)
- func (o *SystemEventsParams) SetDefaults()
- func (o *SystemEventsParams) SetFilters(filters *string)
- func (o *SystemEventsParams) SetHTTPClient(client *http.Client)
- func (o *SystemEventsParams) SetSince(since *string)
- func (o *SystemEventsParams) SetTimeout(timeout time.Duration)
- func (o *SystemEventsParams) SetUntil(until *string)
- func (o *SystemEventsParams) WithContext(ctx context.Context) *SystemEventsParams
- func (o *SystemEventsParams) WithDefaults() *SystemEventsParams
- func (o *SystemEventsParams) WithFilters(filters *string) *SystemEventsParams
- func (o *SystemEventsParams) WithHTTPClient(client *http.Client) *SystemEventsParams
- func (o *SystemEventsParams) WithSince(since *string) *SystemEventsParams
- func (o *SystemEventsParams) WithTimeout(timeout time.Duration) *SystemEventsParams
- func (o *SystemEventsParams) WithUntil(until *string) *SystemEventsParams
- func (o *SystemEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemEventsReader
- type SystemInfoInternalServerError
- func (o *SystemInfoInternalServerError) Error() string
- func (o *SystemInfoInternalServerError) GetPayload() *SystemInfoInternalServerErrorBody
- func (o *SystemInfoInternalServerError) IsClientError() bool
- func (o *SystemInfoInternalServerError) IsCode(code int) bool
- func (o *SystemInfoInternalServerError) IsRedirect() bool
- func (o *SystemInfoInternalServerError) IsServerError() bool
- func (o *SystemInfoInternalServerError) IsSuccess() bool
- func (o *SystemInfoInternalServerError) String() string
- type SystemInfoInternalServerErrorBody
- func (o *SystemInfoInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SystemInfoInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *SystemInfoInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *SystemInfoInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type SystemInfoOK
- type SystemInfoParams
- func (o *SystemInfoParams) SetContext(ctx context.Context)
- func (o *SystemInfoParams) SetDefaults()
- func (o *SystemInfoParams) SetHTTPClient(client *http.Client)
- func (o *SystemInfoParams) SetTimeout(timeout time.Duration)
- func (o *SystemInfoParams) WithContext(ctx context.Context) *SystemInfoParams
- func (o *SystemInfoParams) WithDefaults() *SystemInfoParams
- func (o *SystemInfoParams) WithHTTPClient(client *http.Client) *SystemInfoParams
- func (o *SystemInfoParams) WithTimeout(timeout time.Duration) *SystemInfoParams
- func (o *SystemInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemInfoReader
- type SystemPingInternalServerError
- func (o *SystemPingInternalServerError) Error() string
- func (o *SystemPingInternalServerError) GetPayload() *SystemPingInternalServerErrorBody
- func (o *SystemPingInternalServerError) IsClientError() bool
- func (o *SystemPingInternalServerError) IsCode(code int) bool
- func (o *SystemPingInternalServerError) IsRedirect() bool
- func (o *SystemPingInternalServerError) IsServerError() bool
- func (o *SystemPingInternalServerError) IsSuccess() bool
- func (o *SystemPingInternalServerError) String() string
- type SystemPingInternalServerErrorBody
- func (o *SystemPingInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SystemPingInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *SystemPingInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *SystemPingInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type SystemPingOK
- func (o *SystemPingOK) Error() string
- func (o *SystemPingOK) GetPayload() string
- func (o *SystemPingOK) IsClientError() bool
- func (o *SystemPingOK) IsCode(code int) bool
- func (o *SystemPingOK) IsRedirect() bool
- func (o *SystemPingOK) IsServerError() bool
- func (o *SystemPingOK) IsSuccess() bool
- func (o *SystemPingOK) String() string
- type SystemPingParams
- func (o *SystemPingParams) SetContext(ctx context.Context)
- func (o *SystemPingParams) SetDefaults()
- func (o *SystemPingParams) SetHTTPClient(client *http.Client)
- func (o *SystemPingParams) SetTimeout(timeout time.Duration)
- func (o *SystemPingParams) WithContext(ctx context.Context) *SystemPingParams
- func (o *SystemPingParams) WithDefaults() *SystemPingParams
- func (o *SystemPingParams) WithHTTPClient(client *http.Client) *SystemPingParams
- func (o *SystemPingParams) WithTimeout(timeout time.Duration) *SystemPingParams
- func (o *SystemPingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemPingReader
- type SystemVersionOK
- func (o *SystemVersionOK) Error() string
- func (o *SystemVersionOK) GetPayload() *SystemVersionOKBody
- func (o *SystemVersionOK) IsClientError() bool
- func (o *SystemVersionOK) IsCode(code int) bool
- func (o *SystemVersionOK) IsRedirect() bool
- func (o *SystemVersionOK) IsServerError() bool
- func (o *SystemVersionOK) IsSuccess() bool
- func (o *SystemVersionOK) String() string
- type SystemVersionOKBody
- type SystemVersionParams
- func (o *SystemVersionParams) SetContext(ctx context.Context)
- func (o *SystemVersionParams) SetDefaults()
- func (o *SystemVersionParams) SetHTTPClient(client *http.Client)
- func (o *SystemVersionParams) SetTimeout(timeout time.Duration)
- func (o *SystemVersionParams) WithContext(ctx context.Context) *SystemVersionParams
- func (o *SystemVersionParams) WithDefaults() *SystemVersionParams
- func (o *SystemVersionParams) WithHTTPClient(client *http.Client) *SystemVersionParams
- func (o *SystemVersionParams) WithTimeout(timeout time.Duration) *SystemVersionParams
- func (o *SystemVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemVersionReader
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 system compat API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SystemAuth ¶
func (a *Client) SystemAuth(params *SystemAuthParams, opts ...ClientOption) (*SystemAuthOK, error)
SystemAuth checks auth configuration
func (*Client) SystemDataUsage ¶
func (a *Client) SystemDataUsage(params *SystemDataUsageParams, opts ...ClientOption) (*SystemDataUsageOK, error)
SystemDataUsage shows disk usage
Return information about disk usage for containers, images, and volumes
func (*Client) SystemEvents ¶
func (a *Client) SystemEvents(params *SystemEventsParams, opts ...ClientOption) (*SystemEventsOK, error)
SystemEvents gets events
Returns events filtered on query parameters
func (*Client) SystemInfo ¶
func (a *Client) SystemInfo(params *SystemInfoParams, opts ...ClientOption) (*SystemInfoOK, error)
SystemInfo gets info
Returns information on the system and libpod configuration
func (*Client) SystemPing ¶
func (a *Client) SystemPing(params *SystemPingParams, opts ...ClientOption) (*SystemPingOK, error)
SystemPing pings service Return protocol information in response headers.
`HEAD /libpod/_ping` is also supported. `/_ping` is available for compatibility with other engines. The '_ping' endpoints are not versioned.
func (*Client) SystemVersion ¶
func (a *Client) SystemVersion(params *SystemVersionParams, opts ...ClientOption) (*SystemVersionOK, error)
SystemVersion components version information
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { SystemAuth(params *SystemAuthParams, opts ...ClientOption) (*SystemAuthOK, error) SystemDataUsage(params *SystemDataUsageParams, opts ...ClientOption) (*SystemDataUsageOK, error) SystemEvents(params *SystemEventsParams, opts ...ClientOption) (*SystemEventsOK, error) SystemInfo(params *SystemInfoParams, opts ...ClientOption) (*SystemInfoOK, error) SystemPing(params *SystemPingParams, opts ...ClientOption) (*SystemPingOK, error) SystemVersion(params *SystemVersionParams, opts ...ClientOption) (*SystemVersionOK, 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 system compat API client.
type SystemAuthInternalServerError ¶
type SystemAuthInternalServerError struct {
Payload *SystemAuthInternalServerErrorBody
}
SystemAuthInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSystemAuthInternalServerError ¶
func NewSystemAuthInternalServerError() *SystemAuthInternalServerError
NewSystemAuthInternalServerError creates a SystemAuthInternalServerError with default headers values
func (*SystemAuthInternalServerError) Error ¶
func (o *SystemAuthInternalServerError) Error() string
func (*SystemAuthInternalServerError) GetPayload ¶
func (o *SystemAuthInternalServerError) GetPayload() *SystemAuthInternalServerErrorBody
func (*SystemAuthInternalServerError) IsClientError ¶
func (o *SystemAuthInternalServerError) IsClientError() bool
IsClientError returns true when this system auth internal server error response has a 4xx status code
func (*SystemAuthInternalServerError) IsCode ¶
func (o *SystemAuthInternalServerError) IsCode(code int) bool
IsCode returns true when this system auth internal server error response a status code equal to that given
func (*SystemAuthInternalServerError) IsRedirect ¶
func (o *SystemAuthInternalServerError) IsRedirect() bool
IsRedirect returns true when this system auth internal server error response has a 3xx status code
func (*SystemAuthInternalServerError) IsServerError ¶
func (o *SystemAuthInternalServerError) IsServerError() bool
IsServerError returns true when this system auth internal server error response has a 5xx status code
func (*SystemAuthInternalServerError) IsSuccess ¶
func (o *SystemAuthInternalServerError) IsSuccess() bool
IsSuccess returns true when this system auth internal server error response has a 2xx status code
func (*SystemAuthInternalServerError) String ¶
func (o *SystemAuthInternalServerError) String() string
type SystemAuthInternalServerErrorBody ¶
type SystemAuthInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
SystemAuthInternalServerErrorBody system auth internal server error body swagger:model SystemAuthInternalServerErrorBody
func (*SystemAuthInternalServerErrorBody) ContextValidate ¶
func (o *SystemAuthInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this system auth internal server error body based on context it is used
func (*SystemAuthInternalServerErrorBody) MarshalBinary ¶
func (o *SystemAuthInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemAuthInternalServerErrorBody) UnmarshalBinary ¶
func (o *SystemAuthInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemAuthOK ¶
type SystemAuthOK struct {
Payload *SystemAuthOKBody
}
SystemAuthOK describes a response with status code 200, with default header values.
Auth response
func NewSystemAuthOK ¶
func NewSystemAuthOK() *SystemAuthOK
NewSystemAuthOK creates a SystemAuthOK with default headers values
func (*SystemAuthOK) Error ¶
func (o *SystemAuthOK) Error() string
func (*SystemAuthOK) GetPayload ¶
func (o *SystemAuthOK) GetPayload() *SystemAuthOKBody
func (*SystemAuthOK) IsClientError ¶
func (o *SystemAuthOK) IsClientError() bool
IsClientError returns true when this system auth o k response has a 4xx status code
func (*SystemAuthOK) IsCode ¶
func (o *SystemAuthOK) IsCode(code int) bool
IsCode returns true when this system auth o k response a status code equal to that given
func (*SystemAuthOK) IsRedirect ¶
func (o *SystemAuthOK) IsRedirect() bool
IsRedirect returns true when this system auth o k response has a 3xx status code
func (*SystemAuthOK) IsServerError ¶
func (o *SystemAuthOK) IsServerError() bool
IsServerError returns true when this system auth o k response has a 5xx status code
func (*SystemAuthOK) IsSuccess ¶
func (o *SystemAuthOK) IsSuccess() bool
IsSuccess returns true when this system auth o k response has a 2xx status code
func (*SystemAuthOK) String ¶
func (o *SystemAuthOK) String() string
type SystemAuthOKBody ¶
type SystemAuthOKBody struct { // identity token IdentityToken string `json:"IdentityToken,omitempty"` // status Status string `json:"Status,omitempty"` }
SystemAuthOKBody system auth o k body swagger:model SystemAuthOKBody
func (*SystemAuthOKBody) ContextValidate ¶
ContextValidate validates this system auth o k body based on context it is used
func (*SystemAuthOKBody) MarshalBinary ¶
func (o *SystemAuthOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemAuthOKBody) UnmarshalBinary ¶
func (o *SystemAuthOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemAuthParams ¶
type SystemAuthParams struct { /* AuthConfig. Authentication to check */ AuthConfig *models.AuthConfig Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SystemAuthParams contains all the parameters to send to the API endpoint
for the system auth operation. Typically these are written to a http.Request.
func NewSystemAuthParams ¶
func NewSystemAuthParams() *SystemAuthParams
NewSystemAuthParams creates a new SystemAuthParams 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 NewSystemAuthParamsWithContext ¶
func NewSystemAuthParamsWithContext(ctx context.Context) *SystemAuthParams
NewSystemAuthParamsWithContext creates a new SystemAuthParams object with the ability to set a context for a request.
func NewSystemAuthParamsWithHTTPClient ¶
func NewSystemAuthParamsWithHTTPClient(client *http.Client) *SystemAuthParams
NewSystemAuthParamsWithHTTPClient creates a new SystemAuthParams object with the ability to set a custom HTTPClient for a request.
func NewSystemAuthParamsWithTimeout ¶
func NewSystemAuthParamsWithTimeout(timeout time.Duration) *SystemAuthParams
NewSystemAuthParamsWithTimeout creates a new SystemAuthParams object with the ability to set a timeout on a request.
func (*SystemAuthParams) SetAuthConfig ¶
func (o *SystemAuthParams) SetAuthConfig(authConfig *models.AuthConfig)
SetAuthConfig adds the authConfig to the system auth params
func (*SystemAuthParams) SetContext ¶
func (o *SystemAuthParams) SetContext(ctx context.Context)
SetContext adds the context to the system auth params
func (*SystemAuthParams) SetDefaults ¶
func (o *SystemAuthParams) SetDefaults()
SetDefaults hydrates default values in the system auth params (not the query body).
All values with no default are reset to their zero value.
func (*SystemAuthParams) SetHTTPClient ¶
func (o *SystemAuthParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system auth params
func (*SystemAuthParams) SetTimeout ¶
func (o *SystemAuthParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system auth params
func (*SystemAuthParams) WithAuthConfig ¶
func (o *SystemAuthParams) WithAuthConfig(authConfig *models.AuthConfig) *SystemAuthParams
WithAuthConfig adds the authConfig to the system auth params
func (*SystemAuthParams) WithContext ¶
func (o *SystemAuthParams) WithContext(ctx context.Context) *SystemAuthParams
WithContext adds the context to the system auth params
func (*SystemAuthParams) WithDefaults ¶
func (o *SystemAuthParams) WithDefaults() *SystemAuthParams
WithDefaults hydrates default values in the system auth params (not the query body).
All values with no default are reset to their zero value.
func (*SystemAuthParams) WithHTTPClient ¶
func (o *SystemAuthParams) WithHTTPClient(client *http.Client) *SystemAuthParams
WithHTTPClient adds the HTTPClient to the system auth params
func (*SystemAuthParams) WithTimeout ¶
func (o *SystemAuthParams) WithTimeout(timeout time.Duration) *SystemAuthParams
WithTimeout adds the timeout to the system auth params
func (*SystemAuthParams) WriteToRequest ¶
func (o *SystemAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SystemAuthReader ¶
type SystemAuthReader struct {
// contains filtered or unexported fields
}
SystemAuthReader is a Reader for the SystemAuth structure.
func (*SystemAuthReader) ReadResponse ¶
func (o *SystemAuthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SystemDataUsageInternalServerError ¶
type SystemDataUsageInternalServerError struct {
Payload *SystemDataUsageInternalServerErrorBody
}
SystemDataUsageInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSystemDataUsageInternalServerError ¶
func NewSystemDataUsageInternalServerError() *SystemDataUsageInternalServerError
NewSystemDataUsageInternalServerError creates a SystemDataUsageInternalServerError with default headers values
func (*SystemDataUsageInternalServerError) Error ¶
func (o *SystemDataUsageInternalServerError) Error() string
func (*SystemDataUsageInternalServerError) GetPayload ¶
func (o *SystemDataUsageInternalServerError) GetPayload() *SystemDataUsageInternalServerErrorBody
func (*SystemDataUsageInternalServerError) IsClientError ¶
func (o *SystemDataUsageInternalServerError) IsClientError() bool
IsClientError returns true when this system data usage internal server error response has a 4xx status code
func (*SystemDataUsageInternalServerError) IsCode ¶
func (o *SystemDataUsageInternalServerError) IsCode(code int) bool
IsCode returns true when this system data usage internal server error response a status code equal to that given
func (*SystemDataUsageInternalServerError) IsRedirect ¶
func (o *SystemDataUsageInternalServerError) IsRedirect() bool
IsRedirect returns true when this system data usage internal server error response has a 3xx status code
func (*SystemDataUsageInternalServerError) IsServerError ¶
func (o *SystemDataUsageInternalServerError) IsServerError() bool
IsServerError returns true when this system data usage internal server error response has a 5xx status code
func (*SystemDataUsageInternalServerError) IsSuccess ¶
func (o *SystemDataUsageInternalServerError) IsSuccess() bool
IsSuccess returns true when this system data usage internal server error response has a 2xx status code
func (*SystemDataUsageInternalServerError) String ¶
func (o *SystemDataUsageInternalServerError) String() string
type SystemDataUsageInternalServerErrorBody ¶
type SystemDataUsageInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
SystemDataUsageInternalServerErrorBody system data usage internal server error body swagger:model SystemDataUsageInternalServerErrorBody
func (*SystemDataUsageInternalServerErrorBody) ContextValidate ¶
func (o *SystemDataUsageInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this system data usage internal server error body based on context it is used
func (*SystemDataUsageInternalServerErrorBody) MarshalBinary ¶
func (o *SystemDataUsageInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemDataUsageInternalServerErrorBody) UnmarshalBinary ¶
func (o *SystemDataUsageInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemDataUsageOK ¶
type SystemDataUsageOK struct {
Payload *SystemDataUsageOKBody
}
SystemDataUsageOK describes a response with status code 200, with default header values.
Disk usage
func NewSystemDataUsageOK ¶
func NewSystemDataUsageOK() *SystemDataUsageOK
NewSystemDataUsageOK creates a SystemDataUsageOK with default headers values
func (*SystemDataUsageOK) Error ¶
func (o *SystemDataUsageOK) Error() string
func (*SystemDataUsageOK) GetPayload ¶
func (o *SystemDataUsageOK) GetPayload() *SystemDataUsageOKBody
func (*SystemDataUsageOK) IsClientError ¶
func (o *SystemDataUsageOK) IsClientError() bool
IsClientError returns true when this system data usage o k response has a 4xx status code
func (*SystemDataUsageOK) IsCode ¶
func (o *SystemDataUsageOK) IsCode(code int) bool
IsCode returns true when this system data usage o k response a status code equal to that given
func (*SystemDataUsageOK) IsRedirect ¶
func (o *SystemDataUsageOK) IsRedirect() bool
IsRedirect returns true when this system data usage o k response has a 3xx status code
func (*SystemDataUsageOK) IsServerError ¶
func (o *SystemDataUsageOK) IsServerError() bool
IsServerError returns true when this system data usage o k response has a 5xx status code
func (*SystemDataUsageOK) IsSuccess ¶
func (o *SystemDataUsageOK) IsSuccess() bool
IsSuccess returns true when this system data usage o k response has a 2xx status code
func (*SystemDataUsageOK) String ¶
func (o *SystemDataUsageOK) String() string
type SystemDataUsageOKBody ¶
type SystemDataUsageOKBody struct { // containers Containers []*models.SystemDfContainerReport `json:"Containers"` // images Images []*models.SystemDfImageReport `json:"Images"` // volumes Volumes []*models.SystemDfVolumeReport `json:"Volumes"` }
SystemDataUsageOKBody system data usage o k body swagger:model SystemDataUsageOKBody
func (*SystemDataUsageOKBody) ContextValidate ¶
ContextValidate validate this system data usage o k body based on the context it is used
func (*SystemDataUsageOKBody) MarshalBinary ¶
func (o *SystemDataUsageOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemDataUsageOKBody) UnmarshalBinary ¶
func (o *SystemDataUsageOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemDataUsageParams ¶
type SystemDataUsageParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SystemDataUsageParams contains all the parameters to send to the API endpoint
for the system data usage operation. Typically these are written to a http.Request.
func NewSystemDataUsageParams ¶
func NewSystemDataUsageParams() *SystemDataUsageParams
NewSystemDataUsageParams creates a new SystemDataUsageParams 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 NewSystemDataUsageParamsWithContext ¶
func NewSystemDataUsageParamsWithContext(ctx context.Context) *SystemDataUsageParams
NewSystemDataUsageParamsWithContext creates a new SystemDataUsageParams object with the ability to set a context for a request.
func NewSystemDataUsageParamsWithHTTPClient ¶
func NewSystemDataUsageParamsWithHTTPClient(client *http.Client) *SystemDataUsageParams
NewSystemDataUsageParamsWithHTTPClient creates a new SystemDataUsageParams object with the ability to set a custom HTTPClient for a request.
func NewSystemDataUsageParamsWithTimeout ¶
func NewSystemDataUsageParamsWithTimeout(timeout time.Duration) *SystemDataUsageParams
NewSystemDataUsageParamsWithTimeout creates a new SystemDataUsageParams object with the ability to set a timeout on a request.
func (*SystemDataUsageParams) SetContext ¶
func (o *SystemDataUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the system data usage params
func (*SystemDataUsageParams) SetDefaults ¶
func (o *SystemDataUsageParams) SetDefaults()
SetDefaults hydrates default values in the system data usage params (not the query body).
All values with no default are reset to their zero value.
func (*SystemDataUsageParams) SetHTTPClient ¶
func (o *SystemDataUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system data usage params
func (*SystemDataUsageParams) SetTimeout ¶
func (o *SystemDataUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system data usage params
func (*SystemDataUsageParams) WithContext ¶
func (o *SystemDataUsageParams) WithContext(ctx context.Context) *SystemDataUsageParams
WithContext adds the context to the system data usage params
func (*SystemDataUsageParams) WithDefaults ¶
func (o *SystemDataUsageParams) WithDefaults() *SystemDataUsageParams
WithDefaults hydrates default values in the system data usage params (not the query body).
All values with no default are reset to their zero value.
func (*SystemDataUsageParams) WithHTTPClient ¶
func (o *SystemDataUsageParams) WithHTTPClient(client *http.Client) *SystemDataUsageParams
WithHTTPClient adds the HTTPClient to the system data usage params
func (*SystemDataUsageParams) WithTimeout ¶
func (o *SystemDataUsageParams) WithTimeout(timeout time.Duration) *SystemDataUsageParams
WithTimeout adds the timeout to the system data usage params
func (*SystemDataUsageParams) WriteToRequest ¶
func (o *SystemDataUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SystemDataUsageReader ¶
type SystemDataUsageReader struct {
// contains filtered or unexported fields
}
SystemDataUsageReader is a Reader for the SystemDataUsage structure.
func (*SystemDataUsageReader) ReadResponse ¶
func (o *SystemDataUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SystemEventsInternalServerError ¶
type SystemEventsInternalServerError struct {
Payload *SystemEventsInternalServerErrorBody
}
SystemEventsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSystemEventsInternalServerError ¶
func NewSystemEventsInternalServerError() *SystemEventsInternalServerError
NewSystemEventsInternalServerError creates a SystemEventsInternalServerError with default headers values
func (*SystemEventsInternalServerError) Error ¶
func (o *SystemEventsInternalServerError) Error() string
func (*SystemEventsInternalServerError) GetPayload ¶
func (o *SystemEventsInternalServerError) GetPayload() *SystemEventsInternalServerErrorBody
func (*SystemEventsInternalServerError) IsClientError ¶
func (o *SystemEventsInternalServerError) IsClientError() bool
IsClientError returns true when this system events internal server error response has a 4xx status code
func (*SystemEventsInternalServerError) IsCode ¶
func (o *SystemEventsInternalServerError) IsCode(code int) bool
IsCode returns true when this system events internal server error response a status code equal to that given
func (*SystemEventsInternalServerError) IsRedirect ¶
func (o *SystemEventsInternalServerError) IsRedirect() bool
IsRedirect returns true when this system events internal server error response has a 3xx status code
func (*SystemEventsInternalServerError) IsServerError ¶
func (o *SystemEventsInternalServerError) IsServerError() bool
IsServerError returns true when this system events internal server error response has a 5xx status code
func (*SystemEventsInternalServerError) IsSuccess ¶
func (o *SystemEventsInternalServerError) IsSuccess() bool
IsSuccess returns true when this system events internal server error response has a 2xx status code
func (*SystemEventsInternalServerError) String ¶
func (o *SystemEventsInternalServerError) String() string
type SystemEventsInternalServerErrorBody ¶
type SystemEventsInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
SystemEventsInternalServerErrorBody system events internal server error body swagger:model SystemEventsInternalServerErrorBody
func (*SystemEventsInternalServerErrorBody) ContextValidate ¶
func (o *SystemEventsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this system events internal server error body based on context it is used
func (*SystemEventsInternalServerErrorBody) MarshalBinary ¶
func (o *SystemEventsInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemEventsInternalServerErrorBody) UnmarshalBinary ¶
func (o *SystemEventsInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemEventsOK ¶
type SystemEventsOK struct { }
SystemEventsOK describes a response with status code 200, with default header values.
returns a string of json data describing an event
func NewSystemEventsOK ¶
func NewSystemEventsOK() *SystemEventsOK
NewSystemEventsOK creates a SystemEventsOK with default headers values
func (*SystemEventsOK) Error ¶
func (o *SystemEventsOK) Error() string
func (*SystemEventsOK) IsClientError ¶
func (o *SystemEventsOK) IsClientError() bool
IsClientError returns true when this system events o k response has a 4xx status code
func (*SystemEventsOK) IsCode ¶
func (o *SystemEventsOK) IsCode(code int) bool
IsCode returns true when this system events o k response a status code equal to that given
func (*SystemEventsOK) IsRedirect ¶
func (o *SystemEventsOK) IsRedirect() bool
IsRedirect returns true when this system events o k response has a 3xx status code
func (*SystemEventsOK) IsServerError ¶
func (o *SystemEventsOK) IsServerError() bool
IsServerError returns true when this system events o k response has a 5xx status code
func (*SystemEventsOK) IsSuccess ¶
func (o *SystemEventsOK) IsSuccess() bool
IsSuccess returns true when this system events o k response has a 2xx status code
func (*SystemEventsOK) String ¶
func (o *SystemEventsOK) String() string
type SystemEventsParams ¶
type SystemEventsParams struct { /* Filters. JSON encoded map[string][]string of constraints */ Filters *string /* Since. start streaming events from this time */ Since *string /* Until. stop streaming events later than this */ Until *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SystemEventsParams contains all the parameters to send to the API endpoint
for the system events operation. Typically these are written to a http.Request.
func NewSystemEventsParams ¶
func NewSystemEventsParams() *SystemEventsParams
NewSystemEventsParams creates a new SystemEventsParams 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 NewSystemEventsParamsWithContext ¶
func NewSystemEventsParamsWithContext(ctx context.Context) *SystemEventsParams
NewSystemEventsParamsWithContext creates a new SystemEventsParams object with the ability to set a context for a request.
func NewSystemEventsParamsWithHTTPClient ¶
func NewSystemEventsParamsWithHTTPClient(client *http.Client) *SystemEventsParams
NewSystemEventsParamsWithHTTPClient creates a new SystemEventsParams object with the ability to set a custom HTTPClient for a request.
func NewSystemEventsParamsWithTimeout ¶
func NewSystemEventsParamsWithTimeout(timeout time.Duration) *SystemEventsParams
NewSystemEventsParamsWithTimeout creates a new SystemEventsParams object with the ability to set a timeout on a request.
func (*SystemEventsParams) SetContext ¶
func (o *SystemEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the system events params
func (*SystemEventsParams) SetDefaults ¶
func (o *SystemEventsParams) SetDefaults()
SetDefaults hydrates default values in the system events params (not the query body).
All values with no default are reset to their zero value.
func (*SystemEventsParams) SetFilters ¶
func (o *SystemEventsParams) SetFilters(filters *string)
SetFilters adds the filters to the system events params
func (*SystemEventsParams) SetHTTPClient ¶
func (o *SystemEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system events params
func (*SystemEventsParams) SetSince ¶
func (o *SystemEventsParams) SetSince(since *string)
SetSince adds the since to the system events params
func (*SystemEventsParams) SetTimeout ¶
func (o *SystemEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system events params
func (*SystemEventsParams) SetUntil ¶
func (o *SystemEventsParams) SetUntil(until *string)
SetUntil adds the until to the system events params
func (*SystemEventsParams) WithContext ¶
func (o *SystemEventsParams) WithContext(ctx context.Context) *SystemEventsParams
WithContext adds the context to the system events params
func (*SystemEventsParams) WithDefaults ¶
func (o *SystemEventsParams) WithDefaults() *SystemEventsParams
WithDefaults hydrates default values in the system events params (not the query body).
All values with no default are reset to their zero value.
func (*SystemEventsParams) WithFilters ¶
func (o *SystemEventsParams) WithFilters(filters *string) *SystemEventsParams
WithFilters adds the filters to the system events params
func (*SystemEventsParams) WithHTTPClient ¶
func (o *SystemEventsParams) WithHTTPClient(client *http.Client) *SystemEventsParams
WithHTTPClient adds the HTTPClient to the system events params
func (*SystemEventsParams) WithSince ¶
func (o *SystemEventsParams) WithSince(since *string) *SystemEventsParams
WithSince adds the since to the system events params
func (*SystemEventsParams) WithTimeout ¶
func (o *SystemEventsParams) WithTimeout(timeout time.Duration) *SystemEventsParams
WithTimeout adds the timeout to the system events params
func (*SystemEventsParams) WithUntil ¶
func (o *SystemEventsParams) WithUntil(until *string) *SystemEventsParams
WithUntil adds the until to the system events params
func (*SystemEventsParams) WriteToRequest ¶
func (o *SystemEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SystemEventsReader ¶
type SystemEventsReader struct {
// contains filtered or unexported fields
}
SystemEventsReader is a Reader for the SystemEvents structure.
func (*SystemEventsReader) ReadResponse ¶
func (o *SystemEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SystemInfoInternalServerError ¶
type SystemInfoInternalServerError struct {
Payload *SystemInfoInternalServerErrorBody
}
SystemInfoInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSystemInfoInternalServerError ¶
func NewSystemInfoInternalServerError() *SystemInfoInternalServerError
NewSystemInfoInternalServerError creates a SystemInfoInternalServerError with default headers values
func (*SystemInfoInternalServerError) Error ¶
func (o *SystemInfoInternalServerError) Error() string
func (*SystemInfoInternalServerError) GetPayload ¶
func (o *SystemInfoInternalServerError) GetPayload() *SystemInfoInternalServerErrorBody
func (*SystemInfoInternalServerError) IsClientError ¶
func (o *SystemInfoInternalServerError) IsClientError() bool
IsClientError returns true when this system info internal server error response has a 4xx status code
func (*SystemInfoInternalServerError) IsCode ¶
func (o *SystemInfoInternalServerError) IsCode(code int) bool
IsCode returns true when this system info internal server error response a status code equal to that given
func (*SystemInfoInternalServerError) IsRedirect ¶
func (o *SystemInfoInternalServerError) IsRedirect() bool
IsRedirect returns true when this system info internal server error response has a 3xx status code
func (*SystemInfoInternalServerError) IsServerError ¶
func (o *SystemInfoInternalServerError) IsServerError() bool
IsServerError returns true when this system info internal server error response has a 5xx status code
func (*SystemInfoInternalServerError) IsSuccess ¶
func (o *SystemInfoInternalServerError) IsSuccess() bool
IsSuccess returns true when this system info internal server error response has a 2xx status code
func (*SystemInfoInternalServerError) String ¶
func (o *SystemInfoInternalServerError) String() string
type SystemInfoInternalServerErrorBody ¶
type SystemInfoInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
SystemInfoInternalServerErrorBody system info internal server error body swagger:model SystemInfoInternalServerErrorBody
func (*SystemInfoInternalServerErrorBody) ContextValidate ¶
func (o *SystemInfoInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this system info internal server error body based on context it is used
func (*SystemInfoInternalServerErrorBody) MarshalBinary ¶
func (o *SystemInfoInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemInfoInternalServerErrorBody) UnmarshalBinary ¶
func (o *SystemInfoInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemInfoOK ¶
type SystemInfoOK struct { }
SystemInfoOK describes a response with status code 200, with default header values.
to be determined
func NewSystemInfoOK ¶
func NewSystemInfoOK() *SystemInfoOK
NewSystemInfoOK creates a SystemInfoOK with default headers values
func (*SystemInfoOK) Error ¶
func (o *SystemInfoOK) Error() string
func (*SystemInfoOK) IsClientError ¶
func (o *SystemInfoOK) IsClientError() bool
IsClientError returns true when this system info o k response has a 4xx status code
func (*SystemInfoOK) IsCode ¶
func (o *SystemInfoOK) IsCode(code int) bool
IsCode returns true when this system info o k response a status code equal to that given
func (*SystemInfoOK) IsRedirect ¶
func (o *SystemInfoOK) IsRedirect() bool
IsRedirect returns true when this system info o k response has a 3xx status code
func (*SystemInfoOK) IsServerError ¶
func (o *SystemInfoOK) IsServerError() bool
IsServerError returns true when this system info o k response has a 5xx status code
func (*SystemInfoOK) IsSuccess ¶
func (o *SystemInfoOK) IsSuccess() bool
IsSuccess returns true when this system info o k response has a 2xx status code
func (*SystemInfoOK) String ¶
func (o *SystemInfoOK) String() string
type SystemInfoParams ¶
type SystemInfoParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SystemInfoParams contains all the parameters to send to the API endpoint
for the system info operation. Typically these are written to a http.Request.
func NewSystemInfoParams ¶
func NewSystemInfoParams() *SystemInfoParams
NewSystemInfoParams creates a new SystemInfoParams 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 NewSystemInfoParamsWithContext ¶
func NewSystemInfoParamsWithContext(ctx context.Context) *SystemInfoParams
NewSystemInfoParamsWithContext creates a new SystemInfoParams object with the ability to set a context for a request.
func NewSystemInfoParamsWithHTTPClient ¶
func NewSystemInfoParamsWithHTTPClient(client *http.Client) *SystemInfoParams
NewSystemInfoParamsWithHTTPClient creates a new SystemInfoParams object with the ability to set a custom HTTPClient for a request.
func NewSystemInfoParamsWithTimeout ¶
func NewSystemInfoParamsWithTimeout(timeout time.Duration) *SystemInfoParams
NewSystemInfoParamsWithTimeout creates a new SystemInfoParams object with the ability to set a timeout on a request.
func (*SystemInfoParams) SetContext ¶
func (o *SystemInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the system info params
func (*SystemInfoParams) SetDefaults ¶
func (o *SystemInfoParams) SetDefaults()
SetDefaults hydrates default values in the system info params (not the query body).
All values with no default are reset to their zero value.
func (*SystemInfoParams) SetHTTPClient ¶
func (o *SystemInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system info params
func (*SystemInfoParams) SetTimeout ¶
func (o *SystemInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system info params
func (*SystemInfoParams) WithContext ¶
func (o *SystemInfoParams) WithContext(ctx context.Context) *SystemInfoParams
WithContext adds the context to the system info params
func (*SystemInfoParams) WithDefaults ¶
func (o *SystemInfoParams) WithDefaults() *SystemInfoParams
WithDefaults hydrates default values in the system info params (not the query body).
All values with no default are reset to their zero value.
func (*SystemInfoParams) WithHTTPClient ¶
func (o *SystemInfoParams) WithHTTPClient(client *http.Client) *SystemInfoParams
WithHTTPClient adds the HTTPClient to the system info params
func (*SystemInfoParams) WithTimeout ¶
func (o *SystemInfoParams) WithTimeout(timeout time.Duration) *SystemInfoParams
WithTimeout adds the timeout to the system info params
func (*SystemInfoParams) WriteToRequest ¶
func (o *SystemInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SystemInfoReader ¶
type SystemInfoReader struct {
// contains filtered or unexported fields
}
SystemInfoReader is a Reader for the SystemInfo structure.
func (*SystemInfoReader) ReadResponse ¶
func (o *SystemInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SystemPingInternalServerError ¶
type SystemPingInternalServerError struct {
Payload *SystemPingInternalServerErrorBody
}
SystemPingInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSystemPingInternalServerError ¶
func NewSystemPingInternalServerError() *SystemPingInternalServerError
NewSystemPingInternalServerError creates a SystemPingInternalServerError with default headers values
func (*SystemPingInternalServerError) Error ¶
func (o *SystemPingInternalServerError) Error() string
func (*SystemPingInternalServerError) GetPayload ¶
func (o *SystemPingInternalServerError) GetPayload() *SystemPingInternalServerErrorBody
func (*SystemPingInternalServerError) IsClientError ¶
func (o *SystemPingInternalServerError) IsClientError() bool
IsClientError returns true when this system ping internal server error response has a 4xx status code
func (*SystemPingInternalServerError) IsCode ¶
func (o *SystemPingInternalServerError) IsCode(code int) bool
IsCode returns true when this system ping internal server error response a status code equal to that given
func (*SystemPingInternalServerError) IsRedirect ¶
func (o *SystemPingInternalServerError) IsRedirect() bool
IsRedirect returns true when this system ping internal server error response has a 3xx status code
func (*SystemPingInternalServerError) IsServerError ¶
func (o *SystemPingInternalServerError) IsServerError() bool
IsServerError returns true when this system ping internal server error response has a 5xx status code
func (*SystemPingInternalServerError) IsSuccess ¶
func (o *SystemPingInternalServerError) IsSuccess() bool
IsSuccess returns true when this system ping internal server error response has a 2xx status code
func (*SystemPingInternalServerError) String ¶
func (o *SystemPingInternalServerError) String() string
type SystemPingInternalServerErrorBody ¶
type SystemPingInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
SystemPingInternalServerErrorBody system ping internal server error body swagger:model SystemPingInternalServerErrorBody
func (*SystemPingInternalServerErrorBody) ContextValidate ¶
func (o *SystemPingInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this system ping internal server error body based on context it is used
func (*SystemPingInternalServerErrorBody) MarshalBinary ¶
func (o *SystemPingInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemPingInternalServerErrorBody) UnmarshalBinary ¶
func (o *SystemPingInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemPingOK ¶
type SystemPingOK struct { /* Max compatibility API Version the server supports */ APIVersion string /* Default version of docker image builder */ BuildKitVersion string /* always no-cache */ CacheControl string /* If the server is running with experimental mode enabled, always true */ DockerExperimental bool /* Max Podman API Version the server supports. Available if service is backed by Podman, therefore may be used to determine if talking to Podman engine or another engine */ LibpodAPIVersion string /* Default version of libpod image builder. Available if service is backed by Podman, therefore may be used to determine if talking to Podman engine or another engine */ LibpodBuildahVersion string /* always no-cache */ Pragma string Payload string }
SystemPingOK describes a response with status code 200, with default header values.
Success
func NewSystemPingOK ¶
func NewSystemPingOK() *SystemPingOK
NewSystemPingOK creates a SystemPingOK with default headers values
func (*SystemPingOK) Error ¶
func (o *SystemPingOK) Error() string
func (*SystemPingOK) GetPayload ¶
func (o *SystemPingOK) GetPayload() string
func (*SystemPingOK) IsClientError ¶
func (o *SystemPingOK) IsClientError() bool
IsClientError returns true when this system ping o k response has a 4xx status code
func (*SystemPingOK) IsCode ¶
func (o *SystemPingOK) IsCode(code int) bool
IsCode returns true when this system ping o k response a status code equal to that given
func (*SystemPingOK) IsRedirect ¶
func (o *SystemPingOK) IsRedirect() bool
IsRedirect returns true when this system ping o k response has a 3xx status code
func (*SystemPingOK) IsServerError ¶
func (o *SystemPingOK) IsServerError() bool
IsServerError returns true when this system ping o k response has a 5xx status code
func (*SystemPingOK) IsSuccess ¶
func (o *SystemPingOK) IsSuccess() bool
IsSuccess returns true when this system ping o k response has a 2xx status code
func (*SystemPingOK) String ¶
func (o *SystemPingOK) String() string
type SystemPingParams ¶
type SystemPingParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SystemPingParams contains all the parameters to send to the API endpoint
for the system ping operation. Typically these are written to a http.Request.
func NewSystemPingParams ¶
func NewSystemPingParams() *SystemPingParams
NewSystemPingParams creates a new SystemPingParams 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 NewSystemPingParamsWithContext ¶
func NewSystemPingParamsWithContext(ctx context.Context) *SystemPingParams
NewSystemPingParamsWithContext creates a new SystemPingParams object with the ability to set a context for a request.
func NewSystemPingParamsWithHTTPClient ¶
func NewSystemPingParamsWithHTTPClient(client *http.Client) *SystemPingParams
NewSystemPingParamsWithHTTPClient creates a new SystemPingParams object with the ability to set a custom HTTPClient for a request.
func NewSystemPingParamsWithTimeout ¶
func NewSystemPingParamsWithTimeout(timeout time.Duration) *SystemPingParams
NewSystemPingParamsWithTimeout creates a new SystemPingParams object with the ability to set a timeout on a request.
func (*SystemPingParams) SetContext ¶
func (o *SystemPingParams) SetContext(ctx context.Context)
SetContext adds the context to the system ping params
func (*SystemPingParams) SetDefaults ¶
func (o *SystemPingParams) SetDefaults()
SetDefaults hydrates default values in the system ping params (not the query body).
All values with no default are reset to their zero value.
func (*SystemPingParams) SetHTTPClient ¶
func (o *SystemPingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system ping params
func (*SystemPingParams) SetTimeout ¶
func (o *SystemPingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system ping params
func (*SystemPingParams) WithContext ¶
func (o *SystemPingParams) WithContext(ctx context.Context) *SystemPingParams
WithContext adds the context to the system ping params
func (*SystemPingParams) WithDefaults ¶
func (o *SystemPingParams) WithDefaults() *SystemPingParams
WithDefaults hydrates default values in the system ping params (not the query body).
All values with no default are reset to their zero value.
func (*SystemPingParams) WithHTTPClient ¶
func (o *SystemPingParams) WithHTTPClient(client *http.Client) *SystemPingParams
WithHTTPClient adds the HTTPClient to the system ping params
func (*SystemPingParams) WithTimeout ¶
func (o *SystemPingParams) WithTimeout(timeout time.Duration) *SystemPingParams
WithTimeout adds the timeout to the system ping params
func (*SystemPingParams) WriteToRequest ¶
func (o *SystemPingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SystemPingReader ¶
type SystemPingReader struct {
// contains filtered or unexported fields
}
SystemPingReader is a Reader for the SystemPing structure.
func (*SystemPingReader) ReadResponse ¶
func (o *SystemPingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SystemVersionOK ¶
type SystemVersionOK struct {
Payload *SystemVersionOKBody
}
SystemVersionOK describes a response with status code 200, with default header values.
Version
func NewSystemVersionOK ¶
func NewSystemVersionOK() *SystemVersionOK
NewSystemVersionOK creates a SystemVersionOK with default headers values
func (*SystemVersionOK) Error ¶
func (o *SystemVersionOK) Error() string
func (*SystemVersionOK) GetPayload ¶
func (o *SystemVersionOK) GetPayload() *SystemVersionOKBody
func (*SystemVersionOK) IsClientError ¶
func (o *SystemVersionOK) IsClientError() bool
IsClientError returns true when this system version o k response has a 4xx status code
func (*SystemVersionOK) IsCode ¶
func (o *SystemVersionOK) IsCode(code int) bool
IsCode returns true when this system version o k response a status code equal to that given
func (*SystemVersionOK) IsRedirect ¶
func (o *SystemVersionOK) IsRedirect() bool
IsRedirect returns true when this system version o k response has a 3xx status code
func (*SystemVersionOK) IsServerError ¶
func (o *SystemVersionOK) IsServerError() bool
IsServerError returns true when this system version o k response has a 5xx status code
func (*SystemVersionOK) IsSuccess ¶
func (o *SystemVersionOK) IsSuccess() bool
IsSuccess returns true when this system version o k response has a 2xx status code
func (*SystemVersionOK) String ¶
func (o *SystemVersionOK) String() string
type SystemVersionOKBody ¶
type SystemVersionOKBody struct { // API version APIVersion string `json:"ApiVersion,omitempty"` // arch Arch string `json:"Arch,omitempty"` // build time BuildTime string `json:"BuildTime,omitempty"` // components Components []*models.ComponentVersion `json:"Components"` // experimental Experimental bool `json:"Experimental,omitempty"` // git commit GitCommit string `json:"GitCommit,omitempty"` // go version GoVersion string `json:"GoVersion,omitempty"` // kernel version KernelVersion string `json:"KernelVersion,omitempty"` // min API version MinAPIVersion string `json:"MinAPIVersion,omitempty"` // os Os string `json:"Os,omitempty"` // platform Platform interface{} `json:"Platform,omitempty"` // version Version string `json:"Version,omitempty"` }
SystemVersionOKBody system version o k body swagger:model SystemVersionOKBody
func (*SystemVersionOKBody) ContextValidate ¶
ContextValidate validate this system version o k body based on the context it is used
func (*SystemVersionOKBody) MarshalBinary ¶
func (o *SystemVersionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemVersionOKBody) UnmarshalBinary ¶
func (o *SystemVersionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemVersionParams ¶
type SystemVersionParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SystemVersionParams contains all the parameters to send to the API endpoint
for the system version operation. Typically these are written to a http.Request.
func NewSystemVersionParams ¶
func NewSystemVersionParams() *SystemVersionParams
NewSystemVersionParams creates a new SystemVersionParams 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 NewSystemVersionParamsWithContext ¶
func NewSystemVersionParamsWithContext(ctx context.Context) *SystemVersionParams
NewSystemVersionParamsWithContext creates a new SystemVersionParams object with the ability to set a context for a request.
func NewSystemVersionParamsWithHTTPClient ¶
func NewSystemVersionParamsWithHTTPClient(client *http.Client) *SystemVersionParams
NewSystemVersionParamsWithHTTPClient creates a new SystemVersionParams object with the ability to set a custom HTTPClient for a request.
func NewSystemVersionParamsWithTimeout ¶
func NewSystemVersionParamsWithTimeout(timeout time.Duration) *SystemVersionParams
NewSystemVersionParamsWithTimeout creates a new SystemVersionParams object with the ability to set a timeout on a request.
func (*SystemVersionParams) SetContext ¶
func (o *SystemVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the system version params
func (*SystemVersionParams) SetDefaults ¶
func (o *SystemVersionParams) SetDefaults()
SetDefaults hydrates default values in the system version params (not the query body).
All values with no default are reset to their zero value.
func (*SystemVersionParams) SetHTTPClient ¶
func (o *SystemVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system version params
func (*SystemVersionParams) SetTimeout ¶
func (o *SystemVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system version params
func (*SystemVersionParams) WithContext ¶
func (o *SystemVersionParams) WithContext(ctx context.Context) *SystemVersionParams
WithContext adds the context to the system version params
func (*SystemVersionParams) WithDefaults ¶
func (o *SystemVersionParams) WithDefaults() *SystemVersionParams
WithDefaults hydrates default values in the system version params (not the query body).
All values with no default are reset to their zero value.
func (*SystemVersionParams) WithHTTPClient ¶
func (o *SystemVersionParams) WithHTTPClient(client *http.Client) *SystemVersionParams
WithHTTPClient adds the HTTPClient to the system version params
func (*SystemVersionParams) WithTimeout ¶
func (o *SystemVersionParams) WithTimeout(timeout time.Duration) *SystemVersionParams
WithTimeout adds the timeout to the system version params
func (*SystemVersionParams) WriteToRequest ¶
func (o *SystemVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SystemVersionReader ¶
type SystemVersionReader struct {
// contains filtered or unexported fields
}
SystemVersionReader is a Reader for the SystemVersion structure.
func (*SystemVersionReader) ReadResponse ¶
func (o *SystemVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- system_auth_parameters.go
- system_auth_responses.go
- system_compat_client.go
- system_data_usage_parameters.go
- system_data_usage_responses.go
- system_events_parameters.go
- system_events_responses.go
- system_info_parameters.go
- system_info_responses.go
- system_ping_parameters.go
- system_ping_responses.go
- system_version_parameters.go
- system_version_responses.go