Documentation
¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SystemDataUsageLibpod(params *SystemDataUsageLibpodParams, opts ...ClientOption) (*SystemDataUsageLibpodOK, error)
- func (a *Client) SystemEventsLibpod(params *SystemEventsLibpodParams, opts ...ClientOption) (*SystemEventsLibpodOK, error)
- func (a *Client) SystemInfoLibpod(params *SystemInfoLibpodParams, opts ...ClientOption) (*SystemInfoLibpodOK, error)
- func (a *Client) SystemPruneLibpod(params *SystemPruneLibpodParams, opts ...ClientOption) (*SystemPruneLibpodOK, error)
- func (a *Client) SystemVersionLibpod(params *SystemVersionLibpodParams, opts ...ClientOption) (*SystemVersionLibpodOK, error)
- type ClientOption
- type ClientService
- type SystemDataUsageLibpodInternalServerError
- func (o *SystemDataUsageLibpodInternalServerError) Error() string
- func (o *SystemDataUsageLibpodInternalServerError) GetPayload() *SystemDataUsageLibpodInternalServerErrorBody
- func (o *SystemDataUsageLibpodInternalServerError) IsClientError() bool
- func (o *SystemDataUsageLibpodInternalServerError) IsCode(code int) bool
- func (o *SystemDataUsageLibpodInternalServerError) IsRedirect() bool
- func (o *SystemDataUsageLibpodInternalServerError) IsServerError() bool
- func (o *SystemDataUsageLibpodInternalServerError) IsSuccess() bool
- func (o *SystemDataUsageLibpodInternalServerError) String() string
- type SystemDataUsageLibpodInternalServerErrorBody
- func (o *SystemDataUsageLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SystemDataUsageLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *SystemDataUsageLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *SystemDataUsageLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type SystemDataUsageLibpodOK
- func (o *SystemDataUsageLibpodOK) Error() string
- func (o *SystemDataUsageLibpodOK) GetPayload() *SystemDataUsageLibpodOKBody
- func (o *SystemDataUsageLibpodOK) IsClientError() bool
- func (o *SystemDataUsageLibpodOK) IsCode(code int) bool
- func (o *SystemDataUsageLibpodOK) IsRedirect() bool
- func (o *SystemDataUsageLibpodOK) IsServerError() bool
- func (o *SystemDataUsageLibpodOK) IsSuccess() bool
- func (o *SystemDataUsageLibpodOK) String() string
- type SystemDataUsageLibpodOKBody
- func (o *SystemDataUsageLibpodOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SystemDataUsageLibpodOKBody) MarshalBinary() ([]byte, error)
- func (o *SystemDataUsageLibpodOKBody) UnmarshalBinary(b []byte) error
- func (o *SystemDataUsageLibpodOKBody) Validate(formats strfmt.Registry) error
- type SystemDataUsageLibpodParams
- func NewSystemDataUsageLibpodParams() *SystemDataUsageLibpodParams
- func NewSystemDataUsageLibpodParamsWithContext(ctx context.Context) *SystemDataUsageLibpodParams
- func NewSystemDataUsageLibpodParamsWithHTTPClient(client *http.Client) *SystemDataUsageLibpodParams
- func NewSystemDataUsageLibpodParamsWithTimeout(timeout time.Duration) *SystemDataUsageLibpodParams
- func (o *SystemDataUsageLibpodParams) SetContext(ctx context.Context)
- func (o *SystemDataUsageLibpodParams) SetDefaults()
- func (o *SystemDataUsageLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SystemDataUsageLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SystemDataUsageLibpodParams) WithContext(ctx context.Context) *SystemDataUsageLibpodParams
- func (o *SystemDataUsageLibpodParams) WithDefaults() *SystemDataUsageLibpodParams
- func (o *SystemDataUsageLibpodParams) WithHTTPClient(client *http.Client) *SystemDataUsageLibpodParams
- func (o *SystemDataUsageLibpodParams) WithTimeout(timeout time.Duration) *SystemDataUsageLibpodParams
- func (o *SystemDataUsageLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemDataUsageLibpodReader
- type SystemEventsLibpodInternalServerError
- func (o *SystemEventsLibpodInternalServerError) Error() string
- func (o *SystemEventsLibpodInternalServerError) GetPayload() *SystemEventsLibpodInternalServerErrorBody
- func (o *SystemEventsLibpodInternalServerError) IsClientError() bool
- func (o *SystemEventsLibpodInternalServerError) IsCode(code int) bool
- func (o *SystemEventsLibpodInternalServerError) IsRedirect() bool
- func (o *SystemEventsLibpodInternalServerError) IsServerError() bool
- func (o *SystemEventsLibpodInternalServerError) IsSuccess() bool
- func (o *SystemEventsLibpodInternalServerError) String() string
- type SystemEventsLibpodInternalServerErrorBody
- func (o *SystemEventsLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SystemEventsLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *SystemEventsLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *SystemEventsLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type SystemEventsLibpodOK
- func (o *SystemEventsLibpodOK) Error() string
- func (o *SystemEventsLibpodOK) IsClientError() bool
- func (o *SystemEventsLibpodOK) IsCode(code int) bool
- func (o *SystemEventsLibpodOK) IsRedirect() bool
- func (o *SystemEventsLibpodOK) IsServerError() bool
- func (o *SystemEventsLibpodOK) IsSuccess() bool
- func (o *SystemEventsLibpodOK) String() string
- type SystemEventsLibpodParams
- func NewSystemEventsLibpodParams() *SystemEventsLibpodParams
- func NewSystemEventsLibpodParamsWithContext(ctx context.Context) *SystemEventsLibpodParams
- func NewSystemEventsLibpodParamsWithHTTPClient(client *http.Client) *SystemEventsLibpodParams
- func NewSystemEventsLibpodParamsWithTimeout(timeout time.Duration) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) SetContext(ctx context.Context)
- func (o *SystemEventsLibpodParams) SetDefaults()
- func (o *SystemEventsLibpodParams) SetFilters(filters *string)
- func (o *SystemEventsLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SystemEventsLibpodParams) SetSince(since *string)
- func (o *SystemEventsLibpodParams) SetStream(stream *bool)
- func (o *SystemEventsLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SystemEventsLibpodParams) SetUntil(until *string)
- func (o *SystemEventsLibpodParams) WithContext(ctx context.Context) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WithDefaults() *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WithFilters(filters *string) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WithHTTPClient(client *http.Client) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WithSince(since *string) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WithStream(stream *bool) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WithTimeout(timeout time.Duration) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WithUntil(until *string) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemEventsLibpodReader
- type SystemInfoLibpodInternalServerError
- func (o *SystemInfoLibpodInternalServerError) Error() string
- func (o *SystemInfoLibpodInternalServerError) GetPayload() *SystemInfoLibpodInternalServerErrorBody
- func (o *SystemInfoLibpodInternalServerError) IsClientError() bool
- func (o *SystemInfoLibpodInternalServerError) IsCode(code int) bool
- func (o *SystemInfoLibpodInternalServerError) IsRedirect() bool
- func (o *SystemInfoLibpodInternalServerError) IsServerError() bool
- func (o *SystemInfoLibpodInternalServerError) IsSuccess() bool
- func (o *SystemInfoLibpodInternalServerError) String() string
- type SystemInfoLibpodInternalServerErrorBody
- func (o *SystemInfoLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SystemInfoLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *SystemInfoLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *SystemInfoLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type SystemInfoLibpodOK
- func (o *SystemInfoLibpodOK) Error() string
- func (o *SystemInfoLibpodOK) GetPayload() *models.Info
- func (o *SystemInfoLibpodOK) IsClientError() bool
- func (o *SystemInfoLibpodOK) IsCode(code int) bool
- func (o *SystemInfoLibpodOK) IsRedirect() bool
- func (o *SystemInfoLibpodOK) IsServerError() bool
- func (o *SystemInfoLibpodOK) IsSuccess() bool
- func (o *SystemInfoLibpodOK) String() string
- type SystemInfoLibpodParams
- func NewSystemInfoLibpodParams() *SystemInfoLibpodParams
- func NewSystemInfoLibpodParamsWithContext(ctx context.Context) *SystemInfoLibpodParams
- func NewSystemInfoLibpodParamsWithHTTPClient(client *http.Client) *SystemInfoLibpodParams
- func NewSystemInfoLibpodParamsWithTimeout(timeout time.Duration) *SystemInfoLibpodParams
- func (o *SystemInfoLibpodParams) SetContext(ctx context.Context)
- func (o *SystemInfoLibpodParams) SetDefaults()
- func (o *SystemInfoLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SystemInfoLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SystemInfoLibpodParams) WithContext(ctx context.Context) *SystemInfoLibpodParams
- func (o *SystemInfoLibpodParams) WithDefaults() *SystemInfoLibpodParams
- func (o *SystemInfoLibpodParams) WithHTTPClient(client *http.Client) *SystemInfoLibpodParams
- func (o *SystemInfoLibpodParams) WithTimeout(timeout time.Duration) *SystemInfoLibpodParams
- func (o *SystemInfoLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemInfoLibpodReader
- type SystemPruneLibpodBadRequest
- func (o *SystemPruneLibpodBadRequest) Error() string
- func (o *SystemPruneLibpodBadRequest) GetPayload() *SystemPruneLibpodBadRequestBody
- func (o *SystemPruneLibpodBadRequest) IsClientError() bool
- func (o *SystemPruneLibpodBadRequest) IsCode(code int) bool
- func (o *SystemPruneLibpodBadRequest) IsRedirect() bool
- func (o *SystemPruneLibpodBadRequest) IsServerError() bool
- func (o *SystemPruneLibpodBadRequest) IsSuccess() bool
- func (o *SystemPruneLibpodBadRequest) String() string
- type SystemPruneLibpodBadRequestBody
- func (o *SystemPruneLibpodBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SystemPruneLibpodBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *SystemPruneLibpodBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *SystemPruneLibpodBadRequestBody) Validate(formats strfmt.Registry) error
- type SystemPruneLibpodInternalServerError
- func (o *SystemPruneLibpodInternalServerError) Error() string
- func (o *SystemPruneLibpodInternalServerError) GetPayload() *SystemPruneLibpodInternalServerErrorBody
- func (o *SystemPruneLibpodInternalServerError) IsClientError() bool
- func (o *SystemPruneLibpodInternalServerError) IsCode(code int) bool
- func (o *SystemPruneLibpodInternalServerError) IsRedirect() bool
- func (o *SystemPruneLibpodInternalServerError) IsServerError() bool
- func (o *SystemPruneLibpodInternalServerError) IsSuccess() bool
- func (o *SystemPruneLibpodInternalServerError) String() string
- type SystemPruneLibpodInternalServerErrorBody
- func (o *SystemPruneLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SystemPruneLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *SystemPruneLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *SystemPruneLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type SystemPruneLibpodOK
- func (o *SystemPruneLibpodOK) Error() string
- func (o *SystemPruneLibpodOK) GetPayload() *SystemPruneLibpodOKBody
- func (o *SystemPruneLibpodOK) IsClientError() bool
- func (o *SystemPruneLibpodOK) IsCode(code int) bool
- func (o *SystemPruneLibpodOK) IsRedirect() bool
- func (o *SystemPruneLibpodOK) IsServerError() bool
- func (o *SystemPruneLibpodOK) IsSuccess() bool
- func (o *SystemPruneLibpodOK) String() string
- type SystemPruneLibpodOKBody
- func (o *SystemPruneLibpodOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SystemPruneLibpodOKBody) MarshalBinary() ([]byte, error)
- func (o *SystemPruneLibpodOKBody) UnmarshalBinary(b []byte) error
- func (o *SystemPruneLibpodOKBody) Validate(formats strfmt.Registry) error
- type SystemPruneLibpodParams
- func NewSystemPruneLibpodParams() *SystemPruneLibpodParams
- func NewSystemPruneLibpodParamsWithContext(ctx context.Context) *SystemPruneLibpodParams
- func NewSystemPruneLibpodParamsWithHTTPClient(client *http.Client) *SystemPruneLibpodParams
- func NewSystemPruneLibpodParamsWithTimeout(timeout time.Duration) *SystemPruneLibpodParams
- func (o *SystemPruneLibpodParams) SetContext(ctx context.Context)
- func (o *SystemPruneLibpodParams) SetDefaults()
- func (o *SystemPruneLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SystemPruneLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SystemPruneLibpodParams) WithContext(ctx context.Context) *SystemPruneLibpodParams
- func (o *SystemPruneLibpodParams) WithDefaults() *SystemPruneLibpodParams
- func (o *SystemPruneLibpodParams) WithHTTPClient(client *http.Client) *SystemPruneLibpodParams
- func (o *SystemPruneLibpodParams) WithTimeout(timeout time.Duration) *SystemPruneLibpodParams
- func (o *SystemPruneLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemPruneLibpodReader
- type SystemVersionLibpodOK
- func (o *SystemVersionLibpodOK) Error() string
- func (o *SystemVersionLibpodOK) GetPayload() *SystemVersionLibpodOKBody
- func (o *SystemVersionLibpodOK) IsClientError() bool
- func (o *SystemVersionLibpodOK) IsCode(code int) bool
- func (o *SystemVersionLibpodOK) IsRedirect() bool
- func (o *SystemVersionLibpodOK) IsServerError() bool
- func (o *SystemVersionLibpodOK) IsSuccess() bool
- func (o *SystemVersionLibpodOK) String() string
- type SystemVersionLibpodOKBody
- func (o *SystemVersionLibpodOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SystemVersionLibpodOKBody) MarshalBinary() ([]byte, error)
- func (o *SystemVersionLibpodOKBody) UnmarshalBinary(b []byte) error
- func (o *SystemVersionLibpodOKBody) Validate(formats strfmt.Registry) error
- type SystemVersionLibpodParams
- func NewSystemVersionLibpodParams() *SystemVersionLibpodParams
- func NewSystemVersionLibpodParamsWithContext(ctx context.Context) *SystemVersionLibpodParams
- func NewSystemVersionLibpodParamsWithHTTPClient(client *http.Client) *SystemVersionLibpodParams
- func NewSystemVersionLibpodParamsWithTimeout(timeout time.Duration) *SystemVersionLibpodParams
- func (o *SystemVersionLibpodParams) SetContext(ctx context.Context)
- func (o *SystemVersionLibpodParams) SetDefaults()
- func (o *SystemVersionLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SystemVersionLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SystemVersionLibpodParams) WithContext(ctx context.Context) *SystemVersionLibpodParams
- func (o *SystemVersionLibpodParams) WithDefaults() *SystemVersionLibpodParams
- func (o *SystemVersionLibpodParams) WithHTTPClient(client *http.Client) *SystemVersionLibpodParams
- func (o *SystemVersionLibpodParams) WithTimeout(timeout time.Duration) *SystemVersionLibpodParams
- func (o *SystemVersionLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemVersionLibpodReader
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 API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SystemDataUsageLibpod ¶
func (a *Client) SystemDataUsageLibpod(params *SystemDataUsageLibpodParams, opts ...ClientOption) (*SystemDataUsageLibpodOK, error)
SystemDataUsageLibpod shows disk usage
Return information about disk usage for containers, images, and volumes
func (*Client) SystemEventsLibpod ¶
func (a *Client) SystemEventsLibpod(params *SystemEventsLibpodParams, opts ...ClientOption) (*SystemEventsLibpodOK, error)
SystemEventsLibpod gets events
Returns events filtered on query parameters
func (*Client) SystemInfoLibpod ¶
func (a *Client) SystemInfoLibpod(params *SystemInfoLibpodParams, opts ...ClientOption) (*SystemInfoLibpodOK, error)
SystemInfoLibpod gets info
Returns information on the system and libpod configuration
func (*Client) SystemPruneLibpod ¶
func (a *Client) SystemPruneLibpod(params *SystemPruneLibpodParams, opts ...ClientOption) (*SystemPruneLibpodOK, error)
SystemPruneLibpod prunes unused data
func (*Client) SystemVersionLibpod ¶
func (a *Client) SystemVersionLibpod(params *SystemVersionLibpodParams, opts ...ClientOption) (*SystemVersionLibpodOK, error)
SystemVersionLibpod components version information
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
SystemDataUsageLibpod(params *SystemDataUsageLibpodParams, opts ...ClientOption) (*SystemDataUsageLibpodOK, error)
SystemEventsLibpod(params *SystemEventsLibpodParams, opts ...ClientOption) (*SystemEventsLibpodOK, error)
SystemInfoLibpod(params *SystemInfoLibpodParams, opts ...ClientOption) (*SystemInfoLibpodOK, error)
SystemPruneLibpod(params *SystemPruneLibpodParams, opts ...ClientOption) (*SystemPruneLibpodOK, error)
SystemVersionLibpod(params *SystemVersionLibpodParams, opts ...ClientOption) (*SystemVersionLibpodOK, 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 API client.
type SystemDataUsageLibpodInternalServerError ¶
type SystemDataUsageLibpodInternalServerError struct {
Payload *SystemDataUsageLibpodInternalServerErrorBody
}
SystemDataUsageLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSystemDataUsageLibpodInternalServerError ¶
func NewSystemDataUsageLibpodInternalServerError() *SystemDataUsageLibpodInternalServerError
NewSystemDataUsageLibpodInternalServerError creates a SystemDataUsageLibpodInternalServerError with default headers values
func (*SystemDataUsageLibpodInternalServerError) Error ¶
func (o *SystemDataUsageLibpodInternalServerError) Error() string
func (*SystemDataUsageLibpodInternalServerError) GetPayload ¶
func (o *SystemDataUsageLibpodInternalServerError) GetPayload() *SystemDataUsageLibpodInternalServerErrorBody
func (*SystemDataUsageLibpodInternalServerError) IsClientError ¶
func (o *SystemDataUsageLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this system data usage libpod internal server error response has a 4xx status code
func (*SystemDataUsageLibpodInternalServerError) IsCode ¶
func (o *SystemDataUsageLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this system data usage libpod internal server error response a status code equal to that given
func (*SystemDataUsageLibpodInternalServerError) IsRedirect ¶
func (o *SystemDataUsageLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this system data usage libpod internal server error response has a 3xx status code
func (*SystemDataUsageLibpodInternalServerError) IsServerError ¶
func (o *SystemDataUsageLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this system data usage libpod internal server error response has a 5xx status code
func (*SystemDataUsageLibpodInternalServerError) IsSuccess ¶
func (o *SystemDataUsageLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this system data usage libpod internal server error response has a 2xx status code
func (*SystemDataUsageLibpodInternalServerError) String ¶
func (o *SystemDataUsageLibpodInternalServerError) String() string
type SystemDataUsageLibpodInternalServerErrorBody ¶
type SystemDataUsageLibpodInternalServerErrorBody 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"`
}
SystemDataUsageLibpodInternalServerErrorBody system data usage libpod internal server error body swagger:model SystemDataUsageLibpodInternalServerErrorBody
func (*SystemDataUsageLibpodInternalServerErrorBody) ContextValidate ¶
func (o *SystemDataUsageLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this system data usage libpod internal server error body based on context it is used
func (*SystemDataUsageLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *SystemDataUsageLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemDataUsageLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *SystemDataUsageLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemDataUsageLibpodOK ¶
type SystemDataUsageLibpodOK struct {
Payload *SystemDataUsageLibpodOKBody
}
SystemDataUsageLibpodOK describes a response with status code 200, with default header values.
Disk usage
func NewSystemDataUsageLibpodOK ¶
func NewSystemDataUsageLibpodOK() *SystemDataUsageLibpodOK
NewSystemDataUsageLibpodOK creates a SystemDataUsageLibpodOK with default headers values
func (*SystemDataUsageLibpodOK) Error ¶
func (o *SystemDataUsageLibpodOK) Error() string
func (*SystemDataUsageLibpodOK) GetPayload ¶
func (o *SystemDataUsageLibpodOK) GetPayload() *SystemDataUsageLibpodOKBody
func (*SystemDataUsageLibpodOK) IsClientError ¶
func (o *SystemDataUsageLibpodOK) IsClientError() bool
IsClientError returns true when this system data usage libpod o k response has a 4xx status code
func (*SystemDataUsageLibpodOK) IsCode ¶
func (o *SystemDataUsageLibpodOK) IsCode(code int) bool
IsCode returns true when this system data usage libpod o k response a status code equal to that given
func (*SystemDataUsageLibpodOK) IsRedirect ¶
func (o *SystemDataUsageLibpodOK) IsRedirect() bool
IsRedirect returns true when this system data usage libpod o k response has a 3xx status code
func (*SystemDataUsageLibpodOK) IsServerError ¶
func (o *SystemDataUsageLibpodOK) IsServerError() bool
IsServerError returns true when this system data usage libpod o k response has a 5xx status code
func (*SystemDataUsageLibpodOK) IsSuccess ¶
func (o *SystemDataUsageLibpodOK) IsSuccess() bool
IsSuccess returns true when this system data usage libpod o k response has a 2xx status code
func (*SystemDataUsageLibpodOK) String ¶
func (o *SystemDataUsageLibpodOK) String() string
type SystemDataUsageLibpodOKBody ¶
type SystemDataUsageLibpodOKBody struct {
// containers
Containers []*models.SystemDfContainerReport `json:"Containers"`
// images
Images []*models.SystemDfImageReport `json:"Images"`
// volumes
Volumes []*models.SystemDfVolumeReport `json:"Volumes"`
}
SystemDataUsageLibpodOKBody system data usage libpod o k body swagger:model SystemDataUsageLibpodOKBody
func (*SystemDataUsageLibpodOKBody) ContextValidate ¶
func (o *SystemDataUsageLibpodOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this system data usage libpod o k body based on the context it is used
func (*SystemDataUsageLibpodOKBody) MarshalBinary ¶
func (o *SystemDataUsageLibpodOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemDataUsageLibpodOKBody) UnmarshalBinary ¶
func (o *SystemDataUsageLibpodOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemDataUsageLibpodParams ¶
type SystemDataUsageLibpodParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SystemDataUsageLibpodParams contains all the parameters to send to the API endpoint
for the system data usage libpod operation. Typically these are written to a http.Request.
func NewSystemDataUsageLibpodParams ¶
func NewSystemDataUsageLibpodParams() *SystemDataUsageLibpodParams
NewSystemDataUsageLibpodParams creates a new SystemDataUsageLibpodParams 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 NewSystemDataUsageLibpodParamsWithContext ¶
func NewSystemDataUsageLibpodParamsWithContext(ctx context.Context) *SystemDataUsageLibpodParams
NewSystemDataUsageLibpodParamsWithContext creates a new SystemDataUsageLibpodParams object with the ability to set a context for a request.
func NewSystemDataUsageLibpodParamsWithHTTPClient ¶
func NewSystemDataUsageLibpodParamsWithHTTPClient(client *http.Client) *SystemDataUsageLibpodParams
NewSystemDataUsageLibpodParamsWithHTTPClient creates a new SystemDataUsageLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSystemDataUsageLibpodParamsWithTimeout ¶
func NewSystemDataUsageLibpodParamsWithTimeout(timeout time.Duration) *SystemDataUsageLibpodParams
NewSystemDataUsageLibpodParamsWithTimeout creates a new SystemDataUsageLibpodParams object with the ability to set a timeout on a request.
func (*SystemDataUsageLibpodParams) SetContext ¶
func (o *SystemDataUsageLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the system data usage libpod params
func (*SystemDataUsageLibpodParams) SetDefaults ¶
func (o *SystemDataUsageLibpodParams) SetDefaults()
SetDefaults hydrates default values in the system data usage libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemDataUsageLibpodParams) SetHTTPClient ¶
func (o *SystemDataUsageLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system data usage libpod params
func (*SystemDataUsageLibpodParams) SetTimeout ¶
func (o *SystemDataUsageLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system data usage libpod params
func (*SystemDataUsageLibpodParams) WithContext ¶
func (o *SystemDataUsageLibpodParams) WithContext(ctx context.Context) *SystemDataUsageLibpodParams
WithContext adds the context to the system data usage libpod params
func (*SystemDataUsageLibpodParams) WithDefaults ¶
func (o *SystemDataUsageLibpodParams) WithDefaults() *SystemDataUsageLibpodParams
WithDefaults hydrates default values in the system data usage libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemDataUsageLibpodParams) WithHTTPClient ¶
func (o *SystemDataUsageLibpodParams) WithHTTPClient(client *http.Client) *SystemDataUsageLibpodParams
WithHTTPClient adds the HTTPClient to the system data usage libpod params
func (*SystemDataUsageLibpodParams) WithTimeout ¶
func (o *SystemDataUsageLibpodParams) WithTimeout(timeout time.Duration) *SystemDataUsageLibpodParams
WithTimeout adds the timeout to the system data usage libpod params
func (*SystemDataUsageLibpodParams) WriteToRequest ¶
func (o *SystemDataUsageLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SystemDataUsageLibpodReader ¶
type SystemDataUsageLibpodReader struct {
// contains filtered or unexported fields
}
SystemDataUsageLibpodReader is a Reader for the SystemDataUsageLibpod structure.
func (*SystemDataUsageLibpodReader) ReadResponse ¶
func (o *SystemDataUsageLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SystemEventsLibpodInternalServerError ¶
type SystemEventsLibpodInternalServerError struct {
Payload *SystemEventsLibpodInternalServerErrorBody
}
SystemEventsLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSystemEventsLibpodInternalServerError ¶
func NewSystemEventsLibpodInternalServerError() *SystemEventsLibpodInternalServerError
NewSystemEventsLibpodInternalServerError creates a SystemEventsLibpodInternalServerError with default headers values
func (*SystemEventsLibpodInternalServerError) Error ¶
func (o *SystemEventsLibpodInternalServerError) Error() string
func (*SystemEventsLibpodInternalServerError) GetPayload ¶
func (o *SystemEventsLibpodInternalServerError) GetPayload() *SystemEventsLibpodInternalServerErrorBody
func (*SystemEventsLibpodInternalServerError) IsClientError ¶
func (o *SystemEventsLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this system events libpod internal server error response has a 4xx status code
func (*SystemEventsLibpodInternalServerError) IsCode ¶
func (o *SystemEventsLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this system events libpod internal server error response a status code equal to that given
func (*SystemEventsLibpodInternalServerError) IsRedirect ¶
func (o *SystemEventsLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this system events libpod internal server error response has a 3xx status code
func (*SystemEventsLibpodInternalServerError) IsServerError ¶
func (o *SystemEventsLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this system events libpod internal server error response has a 5xx status code
func (*SystemEventsLibpodInternalServerError) IsSuccess ¶
func (o *SystemEventsLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this system events libpod internal server error response has a 2xx status code
func (*SystemEventsLibpodInternalServerError) String ¶
func (o *SystemEventsLibpodInternalServerError) String() string
type SystemEventsLibpodInternalServerErrorBody ¶
type SystemEventsLibpodInternalServerErrorBody 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"`
}
SystemEventsLibpodInternalServerErrorBody system events libpod internal server error body swagger:model SystemEventsLibpodInternalServerErrorBody
func (*SystemEventsLibpodInternalServerErrorBody) ContextValidate ¶
func (o *SystemEventsLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this system events libpod internal server error body based on context it is used
func (*SystemEventsLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *SystemEventsLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemEventsLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *SystemEventsLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemEventsLibpodOK ¶
type SystemEventsLibpodOK struct {
}
SystemEventsLibpodOK describes a response with status code 200, with default header values.
returns a string of json data describing an event
func NewSystemEventsLibpodOK ¶
func NewSystemEventsLibpodOK() *SystemEventsLibpodOK
NewSystemEventsLibpodOK creates a SystemEventsLibpodOK with default headers values
func (*SystemEventsLibpodOK) Error ¶
func (o *SystemEventsLibpodOK) Error() string
func (*SystemEventsLibpodOK) IsClientError ¶
func (o *SystemEventsLibpodOK) IsClientError() bool
IsClientError returns true when this system events libpod o k response has a 4xx status code
func (*SystemEventsLibpodOK) IsCode ¶
func (o *SystemEventsLibpodOK) IsCode(code int) bool
IsCode returns true when this system events libpod o k response a status code equal to that given
func (*SystemEventsLibpodOK) IsRedirect ¶
func (o *SystemEventsLibpodOK) IsRedirect() bool
IsRedirect returns true when this system events libpod o k response has a 3xx status code
func (*SystemEventsLibpodOK) IsServerError ¶
func (o *SystemEventsLibpodOK) IsServerError() bool
IsServerError returns true when this system events libpod o k response has a 5xx status code
func (*SystemEventsLibpodOK) IsSuccess ¶
func (o *SystemEventsLibpodOK) IsSuccess() bool
IsSuccess returns true when this system events libpod o k response has a 2xx status code
func (*SystemEventsLibpodOK) String ¶
func (o *SystemEventsLibpodOK) String() string
type SystemEventsLibpodParams ¶
type SystemEventsLibpodParams struct {
/* Filters.
JSON encoded map[string][]string of constraints
*/
Filters *string
/* Since.
start streaming events from this time
*/
Since *string
/* Stream.
when false, do not follow events
Default: true
*/
Stream *bool
/* Until.
stop streaming events later than this
*/
Until *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SystemEventsLibpodParams contains all the parameters to send to the API endpoint
for the system events libpod operation. Typically these are written to a http.Request.
func NewSystemEventsLibpodParams ¶
func NewSystemEventsLibpodParams() *SystemEventsLibpodParams
NewSystemEventsLibpodParams creates a new SystemEventsLibpodParams 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 NewSystemEventsLibpodParamsWithContext ¶
func NewSystemEventsLibpodParamsWithContext(ctx context.Context) *SystemEventsLibpodParams
NewSystemEventsLibpodParamsWithContext creates a new SystemEventsLibpodParams object with the ability to set a context for a request.
func NewSystemEventsLibpodParamsWithHTTPClient ¶
func NewSystemEventsLibpodParamsWithHTTPClient(client *http.Client) *SystemEventsLibpodParams
NewSystemEventsLibpodParamsWithHTTPClient creates a new SystemEventsLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSystemEventsLibpodParamsWithTimeout ¶
func NewSystemEventsLibpodParamsWithTimeout(timeout time.Duration) *SystemEventsLibpodParams
NewSystemEventsLibpodParamsWithTimeout creates a new SystemEventsLibpodParams object with the ability to set a timeout on a request.
func (*SystemEventsLibpodParams) SetContext ¶
func (o *SystemEventsLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the system events libpod params
func (*SystemEventsLibpodParams) SetDefaults ¶
func (o *SystemEventsLibpodParams) SetDefaults()
SetDefaults hydrates default values in the system events libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemEventsLibpodParams) SetFilters ¶
func (o *SystemEventsLibpodParams) SetFilters(filters *string)
SetFilters adds the filters to the system events libpod params
func (*SystemEventsLibpodParams) SetHTTPClient ¶
func (o *SystemEventsLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system events libpod params
func (*SystemEventsLibpodParams) SetSince ¶
func (o *SystemEventsLibpodParams) SetSince(since *string)
SetSince adds the since to the system events libpod params
func (*SystemEventsLibpodParams) SetStream ¶
func (o *SystemEventsLibpodParams) SetStream(stream *bool)
SetStream adds the stream to the system events libpod params
func (*SystemEventsLibpodParams) SetTimeout ¶
func (o *SystemEventsLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system events libpod params
func (*SystemEventsLibpodParams) SetUntil ¶
func (o *SystemEventsLibpodParams) SetUntil(until *string)
SetUntil adds the until to the system events libpod params
func (*SystemEventsLibpodParams) WithContext ¶
func (o *SystemEventsLibpodParams) WithContext(ctx context.Context) *SystemEventsLibpodParams
WithContext adds the context to the system events libpod params
func (*SystemEventsLibpodParams) WithDefaults ¶
func (o *SystemEventsLibpodParams) WithDefaults() *SystemEventsLibpodParams
WithDefaults hydrates default values in the system events libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemEventsLibpodParams) WithFilters ¶
func (o *SystemEventsLibpodParams) WithFilters(filters *string) *SystemEventsLibpodParams
WithFilters adds the filters to the system events libpod params
func (*SystemEventsLibpodParams) WithHTTPClient ¶
func (o *SystemEventsLibpodParams) WithHTTPClient(client *http.Client) *SystemEventsLibpodParams
WithHTTPClient adds the HTTPClient to the system events libpod params
func (*SystemEventsLibpodParams) WithSince ¶
func (o *SystemEventsLibpodParams) WithSince(since *string) *SystemEventsLibpodParams
WithSince adds the since to the system events libpod params
func (*SystemEventsLibpodParams) WithStream ¶
func (o *SystemEventsLibpodParams) WithStream(stream *bool) *SystemEventsLibpodParams
WithStream adds the stream to the system events libpod params
func (*SystemEventsLibpodParams) WithTimeout ¶
func (o *SystemEventsLibpodParams) WithTimeout(timeout time.Duration) *SystemEventsLibpodParams
WithTimeout adds the timeout to the system events libpod params
func (*SystemEventsLibpodParams) WithUntil ¶
func (o *SystemEventsLibpodParams) WithUntil(until *string) *SystemEventsLibpodParams
WithUntil adds the until to the system events libpod params
func (*SystemEventsLibpodParams) WriteToRequest ¶
func (o *SystemEventsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SystemEventsLibpodReader ¶
type SystemEventsLibpodReader struct {
// contains filtered or unexported fields
}
SystemEventsLibpodReader is a Reader for the SystemEventsLibpod structure.
func (*SystemEventsLibpodReader) ReadResponse ¶
func (o *SystemEventsLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SystemInfoLibpodInternalServerError ¶
type SystemInfoLibpodInternalServerError struct {
Payload *SystemInfoLibpodInternalServerErrorBody
}
SystemInfoLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSystemInfoLibpodInternalServerError ¶
func NewSystemInfoLibpodInternalServerError() *SystemInfoLibpodInternalServerError
NewSystemInfoLibpodInternalServerError creates a SystemInfoLibpodInternalServerError with default headers values
func (*SystemInfoLibpodInternalServerError) Error ¶
func (o *SystemInfoLibpodInternalServerError) Error() string
func (*SystemInfoLibpodInternalServerError) GetPayload ¶
func (o *SystemInfoLibpodInternalServerError) GetPayload() *SystemInfoLibpodInternalServerErrorBody
func (*SystemInfoLibpodInternalServerError) IsClientError ¶
func (o *SystemInfoLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this system info libpod internal server error response has a 4xx status code
func (*SystemInfoLibpodInternalServerError) IsCode ¶
func (o *SystemInfoLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this system info libpod internal server error response a status code equal to that given
func (*SystemInfoLibpodInternalServerError) IsRedirect ¶
func (o *SystemInfoLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this system info libpod internal server error response has a 3xx status code
func (*SystemInfoLibpodInternalServerError) IsServerError ¶
func (o *SystemInfoLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this system info libpod internal server error response has a 5xx status code
func (*SystemInfoLibpodInternalServerError) IsSuccess ¶
func (o *SystemInfoLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this system info libpod internal server error response has a 2xx status code
func (*SystemInfoLibpodInternalServerError) String ¶
func (o *SystemInfoLibpodInternalServerError) String() string
type SystemInfoLibpodInternalServerErrorBody ¶
type SystemInfoLibpodInternalServerErrorBody 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"`
}
SystemInfoLibpodInternalServerErrorBody system info libpod internal server error body swagger:model SystemInfoLibpodInternalServerErrorBody
func (*SystemInfoLibpodInternalServerErrorBody) ContextValidate ¶
func (o *SystemInfoLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this system info libpod internal server error body based on context it is used
func (*SystemInfoLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *SystemInfoLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemInfoLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *SystemInfoLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemInfoLibpodOK ¶
SystemInfoLibpodOK describes a response with status code 200, with default header values.
Info
func NewSystemInfoLibpodOK ¶
func NewSystemInfoLibpodOK() *SystemInfoLibpodOK
NewSystemInfoLibpodOK creates a SystemInfoLibpodOK with default headers values
func (*SystemInfoLibpodOK) Error ¶
func (o *SystemInfoLibpodOK) Error() string
func (*SystemInfoLibpodOK) GetPayload ¶
func (o *SystemInfoLibpodOK) GetPayload() *models.Info
func (*SystemInfoLibpodOK) IsClientError ¶
func (o *SystemInfoLibpodOK) IsClientError() bool
IsClientError returns true when this system info libpod o k response has a 4xx status code
func (*SystemInfoLibpodOK) IsCode ¶
func (o *SystemInfoLibpodOK) IsCode(code int) bool
IsCode returns true when this system info libpod o k response a status code equal to that given
func (*SystemInfoLibpodOK) IsRedirect ¶
func (o *SystemInfoLibpodOK) IsRedirect() bool
IsRedirect returns true when this system info libpod o k response has a 3xx status code
func (*SystemInfoLibpodOK) IsServerError ¶
func (o *SystemInfoLibpodOK) IsServerError() bool
IsServerError returns true when this system info libpod o k response has a 5xx status code
func (*SystemInfoLibpodOK) IsSuccess ¶
func (o *SystemInfoLibpodOK) IsSuccess() bool
IsSuccess returns true when this system info libpod o k response has a 2xx status code
func (*SystemInfoLibpodOK) String ¶
func (o *SystemInfoLibpodOK) String() string
type SystemInfoLibpodParams ¶
type SystemInfoLibpodParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SystemInfoLibpodParams contains all the parameters to send to the API endpoint
for the system info libpod operation. Typically these are written to a http.Request.
func NewSystemInfoLibpodParams ¶
func NewSystemInfoLibpodParams() *SystemInfoLibpodParams
NewSystemInfoLibpodParams creates a new SystemInfoLibpodParams 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 NewSystemInfoLibpodParamsWithContext ¶
func NewSystemInfoLibpodParamsWithContext(ctx context.Context) *SystemInfoLibpodParams
NewSystemInfoLibpodParamsWithContext creates a new SystemInfoLibpodParams object with the ability to set a context for a request.
func NewSystemInfoLibpodParamsWithHTTPClient ¶
func NewSystemInfoLibpodParamsWithHTTPClient(client *http.Client) *SystemInfoLibpodParams
NewSystemInfoLibpodParamsWithHTTPClient creates a new SystemInfoLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSystemInfoLibpodParamsWithTimeout ¶
func NewSystemInfoLibpodParamsWithTimeout(timeout time.Duration) *SystemInfoLibpodParams
NewSystemInfoLibpodParamsWithTimeout creates a new SystemInfoLibpodParams object with the ability to set a timeout on a request.
func (*SystemInfoLibpodParams) SetContext ¶
func (o *SystemInfoLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the system info libpod params
func (*SystemInfoLibpodParams) SetDefaults ¶
func (o *SystemInfoLibpodParams) SetDefaults()
SetDefaults hydrates default values in the system info libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemInfoLibpodParams) SetHTTPClient ¶
func (o *SystemInfoLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system info libpod params
func (*SystemInfoLibpodParams) SetTimeout ¶
func (o *SystemInfoLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system info libpod params
func (*SystemInfoLibpodParams) WithContext ¶
func (o *SystemInfoLibpodParams) WithContext(ctx context.Context) *SystemInfoLibpodParams
WithContext adds the context to the system info libpod params
func (*SystemInfoLibpodParams) WithDefaults ¶
func (o *SystemInfoLibpodParams) WithDefaults() *SystemInfoLibpodParams
WithDefaults hydrates default values in the system info libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemInfoLibpodParams) WithHTTPClient ¶
func (o *SystemInfoLibpodParams) WithHTTPClient(client *http.Client) *SystemInfoLibpodParams
WithHTTPClient adds the HTTPClient to the system info libpod params
func (*SystemInfoLibpodParams) WithTimeout ¶
func (o *SystemInfoLibpodParams) WithTimeout(timeout time.Duration) *SystemInfoLibpodParams
WithTimeout adds the timeout to the system info libpod params
func (*SystemInfoLibpodParams) WriteToRequest ¶
func (o *SystemInfoLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SystemInfoLibpodReader ¶
type SystemInfoLibpodReader struct {
// contains filtered or unexported fields
}
SystemInfoLibpodReader is a Reader for the SystemInfoLibpod structure.
func (*SystemInfoLibpodReader) ReadResponse ¶
func (o *SystemInfoLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SystemPruneLibpodBadRequest ¶
type SystemPruneLibpodBadRequest struct {
Payload *SystemPruneLibpodBadRequestBody
}
SystemPruneLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewSystemPruneLibpodBadRequest ¶
func NewSystemPruneLibpodBadRequest() *SystemPruneLibpodBadRequest
NewSystemPruneLibpodBadRequest creates a SystemPruneLibpodBadRequest with default headers values
func (*SystemPruneLibpodBadRequest) Error ¶
func (o *SystemPruneLibpodBadRequest) Error() string
func (*SystemPruneLibpodBadRequest) GetPayload ¶
func (o *SystemPruneLibpodBadRequest) GetPayload() *SystemPruneLibpodBadRequestBody
func (*SystemPruneLibpodBadRequest) IsClientError ¶
func (o *SystemPruneLibpodBadRequest) IsClientError() bool
IsClientError returns true when this system prune libpod bad request response has a 4xx status code
func (*SystemPruneLibpodBadRequest) IsCode ¶
func (o *SystemPruneLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this system prune libpod bad request response a status code equal to that given
func (*SystemPruneLibpodBadRequest) IsRedirect ¶
func (o *SystemPruneLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this system prune libpod bad request response has a 3xx status code
func (*SystemPruneLibpodBadRequest) IsServerError ¶
func (o *SystemPruneLibpodBadRequest) IsServerError() bool
IsServerError returns true when this system prune libpod bad request response has a 5xx status code
func (*SystemPruneLibpodBadRequest) IsSuccess ¶
func (o *SystemPruneLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this system prune libpod bad request response has a 2xx status code
func (*SystemPruneLibpodBadRequest) String ¶
func (o *SystemPruneLibpodBadRequest) String() string
type SystemPruneLibpodBadRequestBody ¶
type SystemPruneLibpodBadRequestBody 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"`
}
SystemPruneLibpodBadRequestBody system prune libpod bad request body swagger:model SystemPruneLibpodBadRequestBody
func (*SystemPruneLibpodBadRequestBody) ContextValidate ¶
func (o *SystemPruneLibpodBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this system prune libpod bad request body based on context it is used
func (*SystemPruneLibpodBadRequestBody) MarshalBinary ¶
func (o *SystemPruneLibpodBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemPruneLibpodBadRequestBody) UnmarshalBinary ¶
func (o *SystemPruneLibpodBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemPruneLibpodInternalServerError ¶
type SystemPruneLibpodInternalServerError struct {
Payload *SystemPruneLibpodInternalServerErrorBody
}
SystemPruneLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSystemPruneLibpodInternalServerError ¶
func NewSystemPruneLibpodInternalServerError() *SystemPruneLibpodInternalServerError
NewSystemPruneLibpodInternalServerError creates a SystemPruneLibpodInternalServerError with default headers values
func (*SystemPruneLibpodInternalServerError) Error ¶
func (o *SystemPruneLibpodInternalServerError) Error() string
func (*SystemPruneLibpodInternalServerError) GetPayload ¶
func (o *SystemPruneLibpodInternalServerError) GetPayload() *SystemPruneLibpodInternalServerErrorBody
func (*SystemPruneLibpodInternalServerError) IsClientError ¶
func (o *SystemPruneLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this system prune libpod internal server error response has a 4xx status code
func (*SystemPruneLibpodInternalServerError) IsCode ¶
func (o *SystemPruneLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this system prune libpod internal server error response a status code equal to that given
func (*SystemPruneLibpodInternalServerError) IsRedirect ¶
func (o *SystemPruneLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this system prune libpod internal server error response has a 3xx status code
func (*SystemPruneLibpodInternalServerError) IsServerError ¶
func (o *SystemPruneLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this system prune libpod internal server error response has a 5xx status code
func (*SystemPruneLibpodInternalServerError) IsSuccess ¶
func (o *SystemPruneLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this system prune libpod internal server error response has a 2xx status code
func (*SystemPruneLibpodInternalServerError) String ¶
func (o *SystemPruneLibpodInternalServerError) String() string
type SystemPruneLibpodInternalServerErrorBody ¶
type SystemPruneLibpodInternalServerErrorBody 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"`
}
SystemPruneLibpodInternalServerErrorBody system prune libpod internal server error body swagger:model SystemPruneLibpodInternalServerErrorBody
func (*SystemPruneLibpodInternalServerErrorBody) ContextValidate ¶
func (o *SystemPruneLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this system prune libpod internal server error body based on context it is used
func (*SystemPruneLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *SystemPruneLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemPruneLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *SystemPruneLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemPruneLibpodOK ¶
type SystemPruneLibpodOK struct {
Payload *SystemPruneLibpodOKBody
}
SystemPruneLibpodOK describes a response with status code 200, with default header values.
Prune report
func NewSystemPruneLibpodOK ¶
func NewSystemPruneLibpodOK() *SystemPruneLibpodOK
NewSystemPruneLibpodOK creates a SystemPruneLibpodOK with default headers values
func (*SystemPruneLibpodOK) Error ¶
func (o *SystemPruneLibpodOK) Error() string
func (*SystemPruneLibpodOK) GetPayload ¶
func (o *SystemPruneLibpodOK) GetPayload() *SystemPruneLibpodOKBody
func (*SystemPruneLibpodOK) IsClientError ¶
func (o *SystemPruneLibpodOK) IsClientError() bool
IsClientError returns true when this system prune libpod o k response has a 4xx status code
func (*SystemPruneLibpodOK) IsCode ¶
func (o *SystemPruneLibpodOK) IsCode(code int) bool
IsCode returns true when this system prune libpod o k response a status code equal to that given
func (*SystemPruneLibpodOK) IsRedirect ¶
func (o *SystemPruneLibpodOK) IsRedirect() bool
IsRedirect returns true when this system prune libpod o k response has a 3xx status code
func (*SystemPruneLibpodOK) IsServerError ¶
func (o *SystemPruneLibpodOK) IsServerError() bool
IsServerError returns true when this system prune libpod o k response has a 5xx status code
func (*SystemPruneLibpodOK) IsSuccess ¶
func (o *SystemPruneLibpodOK) IsSuccess() bool
IsSuccess returns true when this system prune libpod o k response has a 2xx status code
func (*SystemPruneLibpodOK) String ¶
func (o *SystemPruneLibpodOK) String() string
type SystemPruneLibpodOKBody ¶
type SystemPruneLibpodOKBody struct {
// container prune reports
ContainerPruneReports []*models.PruneReport `json:"ContainerPruneReports"`
// image prune reports
ImagePruneReports []*models.PruneReport `json:"ImagePruneReports"`
// pod prune report
PodPruneReport []*models.PodPruneReport `json:"PodPruneReport"`
// reclaimed space
ReclaimedSpace uint64 `json:"ReclaimedSpace,omitempty"`
// volume prune reports
VolumePruneReports []*models.PruneReport `json:"VolumePruneReports"`
}
SystemPruneLibpodOKBody system prune libpod o k body swagger:model SystemPruneLibpodOKBody
func (*SystemPruneLibpodOKBody) ContextValidate ¶
func (o *SystemPruneLibpodOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this system prune libpod o k body based on the context it is used
func (*SystemPruneLibpodOKBody) MarshalBinary ¶
func (o *SystemPruneLibpodOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemPruneLibpodOKBody) UnmarshalBinary ¶
func (o *SystemPruneLibpodOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemPruneLibpodParams ¶
type SystemPruneLibpodParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SystemPruneLibpodParams contains all the parameters to send to the API endpoint
for the system prune libpod operation. Typically these are written to a http.Request.
func NewSystemPruneLibpodParams ¶
func NewSystemPruneLibpodParams() *SystemPruneLibpodParams
NewSystemPruneLibpodParams creates a new SystemPruneLibpodParams 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 NewSystemPruneLibpodParamsWithContext ¶
func NewSystemPruneLibpodParamsWithContext(ctx context.Context) *SystemPruneLibpodParams
NewSystemPruneLibpodParamsWithContext creates a new SystemPruneLibpodParams object with the ability to set a context for a request.
func NewSystemPruneLibpodParamsWithHTTPClient ¶
func NewSystemPruneLibpodParamsWithHTTPClient(client *http.Client) *SystemPruneLibpodParams
NewSystemPruneLibpodParamsWithHTTPClient creates a new SystemPruneLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSystemPruneLibpodParamsWithTimeout ¶
func NewSystemPruneLibpodParamsWithTimeout(timeout time.Duration) *SystemPruneLibpodParams
NewSystemPruneLibpodParamsWithTimeout creates a new SystemPruneLibpodParams object with the ability to set a timeout on a request.
func (*SystemPruneLibpodParams) SetContext ¶
func (o *SystemPruneLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the system prune libpod params
func (*SystemPruneLibpodParams) SetDefaults ¶
func (o *SystemPruneLibpodParams) SetDefaults()
SetDefaults hydrates default values in the system prune libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemPruneLibpodParams) SetHTTPClient ¶
func (o *SystemPruneLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system prune libpod params
func (*SystemPruneLibpodParams) SetTimeout ¶
func (o *SystemPruneLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system prune libpod params
func (*SystemPruneLibpodParams) WithContext ¶
func (o *SystemPruneLibpodParams) WithContext(ctx context.Context) *SystemPruneLibpodParams
WithContext adds the context to the system prune libpod params
func (*SystemPruneLibpodParams) WithDefaults ¶
func (o *SystemPruneLibpodParams) WithDefaults() *SystemPruneLibpodParams
WithDefaults hydrates default values in the system prune libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemPruneLibpodParams) WithHTTPClient ¶
func (o *SystemPruneLibpodParams) WithHTTPClient(client *http.Client) *SystemPruneLibpodParams
WithHTTPClient adds the HTTPClient to the system prune libpod params
func (*SystemPruneLibpodParams) WithTimeout ¶
func (o *SystemPruneLibpodParams) WithTimeout(timeout time.Duration) *SystemPruneLibpodParams
WithTimeout adds the timeout to the system prune libpod params
func (*SystemPruneLibpodParams) WriteToRequest ¶
func (o *SystemPruneLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SystemPruneLibpodReader ¶
type SystemPruneLibpodReader struct {
// contains filtered or unexported fields
}
SystemPruneLibpodReader is a Reader for the SystemPruneLibpod structure.
func (*SystemPruneLibpodReader) ReadResponse ¶
func (o *SystemPruneLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SystemVersionLibpodOK ¶
type SystemVersionLibpodOK struct {
Payload *SystemVersionLibpodOKBody
}
SystemVersionLibpodOK describes a response with status code 200, with default header values.
Version
func NewSystemVersionLibpodOK ¶
func NewSystemVersionLibpodOK() *SystemVersionLibpodOK
NewSystemVersionLibpodOK creates a SystemVersionLibpodOK with default headers values
func (*SystemVersionLibpodOK) Error ¶
func (o *SystemVersionLibpodOK) Error() string
func (*SystemVersionLibpodOK) GetPayload ¶
func (o *SystemVersionLibpodOK) GetPayload() *SystemVersionLibpodOKBody
func (*SystemVersionLibpodOK) IsClientError ¶
func (o *SystemVersionLibpodOK) IsClientError() bool
IsClientError returns true when this system version libpod o k response has a 4xx status code
func (*SystemVersionLibpodOK) IsCode ¶
func (o *SystemVersionLibpodOK) IsCode(code int) bool
IsCode returns true when this system version libpod o k response a status code equal to that given
func (*SystemVersionLibpodOK) IsRedirect ¶
func (o *SystemVersionLibpodOK) IsRedirect() bool
IsRedirect returns true when this system version libpod o k response has a 3xx status code
func (*SystemVersionLibpodOK) IsServerError ¶
func (o *SystemVersionLibpodOK) IsServerError() bool
IsServerError returns true when this system version libpod o k response has a 5xx status code
func (*SystemVersionLibpodOK) IsSuccess ¶
func (o *SystemVersionLibpodOK) IsSuccess() bool
IsSuccess returns true when this system version libpod o k response has a 2xx status code
func (*SystemVersionLibpodOK) String ¶
func (o *SystemVersionLibpodOK) String() string
type SystemVersionLibpodOKBody ¶
type SystemVersionLibpodOKBody 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"`
}
SystemVersionLibpodOKBody system version libpod o k body swagger:model SystemVersionLibpodOKBody
func (*SystemVersionLibpodOKBody) ContextValidate ¶
func (o *SystemVersionLibpodOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this system version libpod o k body based on the context it is used
func (*SystemVersionLibpodOKBody) MarshalBinary ¶
func (o *SystemVersionLibpodOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemVersionLibpodOKBody) UnmarshalBinary ¶
func (o *SystemVersionLibpodOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemVersionLibpodParams ¶
type SystemVersionLibpodParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SystemVersionLibpodParams contains all the parameters to send to the API endpoint
for the system version libpod operation. Typically these are written to a http.Request.
func NewSystemVersionLibpodParams ¶
func NewSystemVersionLibpodParams() *SystemVersionLibpodParams
NewSystemVersionLibpodParams creates a new SystemVersionLibpodParams 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 NewSystemVersionLibpodParamsWithContext ¶
func NewSystemVersionLibpodParamsWithContext(ctx context.Context) *SystemVersionLibpodParams
NewSystemVersionLibpodParamsWithContext creates a new SystemVersionLibpodParams object with the ability to set a context for a request.
func NewSystemVersionLibpodParamsWithHTTPClient ¶
func NewSystemVersionLibpodParamsWithHTTPClient(client *http.Client) *SystemVersionLibpodParams
NewSystemVersionLibpodParamsWithHTTPClient creates a new SystemVersionLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSystemVersionLibpodParamsWithTimeout ¶
func NewSystemVersionLibpodParamsWithTimeout(timeout time.Duration) *SystemVersionLibpodParams
NewSystemVersionLibpodParamsWithTimeout creates a new SystemVersionLibpodParams object with the ability to set a timeout on a request.
func (*SystemVersionLibpodParams) SetContext ¶
func (o *SystemVersionLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the system version libpod params
func (*SystemVersionLibpodParams) SetDefaults ¶
func (o *SystemVersionLibpodParams) SetDefaults()
SetDefaults hydrates default values in the system version libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemVersionLibpodParams) SetHTTPClient ¶
func (o *SystemVersionLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system version libpod params
func (*SystemVersionLibpodParams) SetTimeout ¶
func (o *SystemVersionLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system version libpod params
func (*SystemVersionLibpodParams) WithContext ¶
func (o *SystemVersionLibpodParams) WithContext(ctx context.Context) *SystemVersionLibpodParams
WithContext adds the context to the system version libpod params
func (*SystemVersionLibpodParams) WithDefaults ¶
func (o *SystemVersionLibpodParams) WithDefaults() *SystemVersionLibpodParams
WithDefaults hydrates default values in the system version libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemVersionLibpodParams) WithHTTPClient ¶
func (o *SystemVersionLibpodParams) WithHTTPClient(client *http.Client) *SystemVersionLibpodParams
WithHTTPClient adds the HTTPClient to the system version libpod params
func (*SystemVersionLibpodParams) WithTimeout ¶
func (o *SystemVersionLibpodParams) WithTimeout(timeout time.Duration) *SystemVersionLibpodParams
WithTimeout adds the timeout to the system version libpod params
func (*SystemVersionLibpodParams) WriteToRequest ¶
func (o *SystemVersionLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SystemVersionLibpodReader ¶
type SystemVersionLibpodReader struct {
// contains filtered or unexported fields
}
SystemVersionLibpodReader is a Reader for the SystemVersionLibpod structure.
func (*SystemVersionLibpodReader) ReadResponse ¶
func (o *SystemVersionLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- system_client.go
- system_data_usage_libpod_parameters.go
- system_data_usage_libpod_responses.go
- system_events_libpod_parameters.go
- system_events_libpod_responses.go
- system_info_libpod_parameters.go
- system_info_libpod_responses.go
- system_prune_libpod_parameters.go
- system_prune_libpod_responses.go
- system_version_libpod_parameters.go
- system_version_libpod_responses.go