Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxTar(r *runtime.ClientOperation)
- type Client
- func (a *Client) PodCreateLibpod(params *PodCreateLibpodParams, opts ...ClientOption) (*PodCreateLibpodCreated, error)
- func (a *Client) PodCreateLibpodContext(ctx context.Context, params *PodCreateLibpodParams, opts ...ClientOption) (*PodCreateLibpodCreated, error)
- func (a *Client) PodDeleteLibpod(params *PodDeleteLibpodParams, opts ...ClientOption) (*PodDeleteLibpodOK, error)
- func (a *Client) PodDeleteLibpodContext(ctx context.Context, params *PodDeleteLibpodParams, opts ...ClientOption) (*PodDeleteLibpodOK, error)
- func (a *Client) PodExistsLibpod(params *PodExistsLibpodParams, opts ...ClientOption) (*PodExistsLibpodNoContent, error)
- func (a *Client) PodExistsLibpodContext(ctx context.Context, params *PodExistsLibpodParams, opts ...ClientOption) (*PodExistsLibpodNoContent, error)
- func (a *Client) PodInspectLibpod(params *PodInspectLibpodParams, opts ...ClientOption) (*PodInspectLibpodOK, error)
- func (a *Client) PodInspectLibpodContext(ctx context.Context, params *PodInspectLibpodParams, opts ...ClientOption) (*PodInspectLibpodOK, error)
- func (a *Client) PodKillLibpod(params *PodKillLibpodParams, opts ...ClientOption) (*PodKillLibpodOK, error)
- func (a *Client) PodKillLibpodContext(ctx context.Context, params *PodKillLibpodParams, opts ...ClientOption) (*PodKillLibpodOK, error)
- func (a *Client) PodListLibpod(params *PodListLibpodParams, opts ...ClientOption) (*PodListLibpodOK, error)
- func (a *Client) PodListLibpodContext(ctx context.Context, params *PodListLibpodParams, opts ...ClientOption) (*PodListLibpodOK, error)
- func (a *Client) PodPauseLibpod(params *PodPauseLibpodParams, opts ...ClientOption) (*PodPauseLibpodOK, error)
- func (a *Client) PodPauseLibpodContext(ctx context.Context, params *PodPauseLibpodParams, opts ...ClientOption) (*PodPauseLibpodOK, error)
- func (a *Client) PodPruneLibpod(params *PodPruneLibpodParams, opts ...ClientOption) (*PodPruneLibpodOK, error)
- func (a *Client) PodPruneLibpodContext(ctx context.Context, params *PodPruneLibpodParams, opts ...ClientOption) (*PodPruneLibpodOK, error)
- func (a *Client) PodRestartLibpod(params *PodRestartLibpodParams, opts ...ClientOption) (*PodRestartLibpodOK, error)
- func (a *Client) PodRestartLibpodContext(ctx context.Context, params *PodRestartLibpodParams, opts ...ClientOption) (*PodRestartLibpodOK, error)
- func (a *Client) PodStartLibpod(params *PodStartLibpodParams, opts ...ClientOption) (*PodStartLibpodOK, error)
- func (a *Client) PodStartLibpodContext(ctx context.Context, params *PodStartLibpodParams, opts ...ClientOption) (*PodStartLibpodOK, error)
- func (a *Client) PodStatsAllLibpod(params *PodStatsAllLibpodParams, opts ...ClientOption) (*PodStatsAllLibpodOK, error)
- func (a *Client) PodStatsAllLibpodContext(ctx context.Context, params *PodStatsAllLibpodParams, opts ...ClientOption) (*PodStatsAllLibpodOK, error)
- func (a *Client) PodStopLibpod(params *PodStopLibpodParams, opts ...ClientOption) (*PodStopLibpodOK, error)
- func (a *Client) PodStopLibpodContext(ctx context.Context, params *PodStopLibpodParams, opts ...ClientOption) (*PodStopLibpodOK, error)
- func (a *Client) PodTopLibpod(params *PodTopLibpodParams, opts ...ClientOption) (*PodTopLibpodOK, error)
- func (a *Client) PodTopLibpodContext(ctx context.Context, params *PodTopLibpodParams, opts ...ClientOption) (*PodTopLibpodOK, error)
- func (a *Client) PodUnpauseLibpod(params *PodUnpauseLibpodParams, opts ...ClientOption) (*PodUnpauseLibpodOK, error)
- func (a *Client) PodUnpauseLibpodContext(ctx context.Context, params *PodUnpauseLibpodParams, opts ...ClientOption) (*PodUnpauseLibpodOK, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- type ClientOption
- type ClientService
- type PodCreateLibpodBadRequest
- func (o *PodCreateLibpodBadRequest) Code() int
- func (o *PodCreateLibpodBadRequest) Error() string
- func (o *PodCreateLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *PodCreateLibpodBadRequest) IsClientError() bool
- func (o *PodCreateLibpodBadRequest) IsCode(code int) bool
- func (o *PodCreateLibpodBadRequest) IsRedirect() bool
- func (o *PodCreateLibpodBadRequest) IsServerError() bool
- func (o *PodCreateLibpodBadRequest) IsSuccess() bool
- func (o *PodCreateLibpodBadRequest) String() string
- type PodCreateLibpodConflict
- func (o *PodCreateLibpodConflict) Code() int
- func (o *PodCreateLibpodConflict) Error() string
- func (o *PodCreateLibpodConflict) GetPayload() string
- func (o *PodCreateLibpodConflict) IsClientError() bool
- func (o *PodCreateLibpodConflict) IsCode(code int) bool
- func (o *PodCreateLibpodConflict) IsRedirect() bool
- func (o *PodCreateLibpodConflict) IsServerError() bool
- func (o *PodCreateLibpodConflict) IsSuccess() bool
- func (o *PodCreateLibpodConflict) String() string
- type PodCreateLibpodCreated
- func (o *PodCreateLibpodCreated) Code() int
- func (o *PodCreateLibpodCreated) Error() string
- func (o *PodCreateLibpodCreated) GetPayload() *models.IDResponse
- func (o *PodCreateLibpodCreated) IsClientError() bool
- func (o *PodCreateLibpodCreated) IsCode(code int) bool
- func (o *PodCreateLibpodCreated) IsRedirect() bool
- func (o *PodCreateLibpodCreated) IsServerError() bool
- func (o *PodCreateLibpodCreated) IsSuccess() bool
- func (o *PodCreateLibpodCreated) String() string
- type PodCreateLibpodInternalServerError
- func (o *PodCreateLibpodInternalServerError) Code() int
- func (o *PodCreateLibpodInternalServerError) Error() string
- func (o *PodCreateLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *PodCreateLibpodInternalServerError) IsClientError() bool
- func (o *PodCreateLibpodInternalServerError) IsCode(code int) bool
- func (o *PodCreateLibpodInternalServerError) IsRedirect() bool
- func (o *PodCreateLibpodInternalServerError) IsServerError() bool
- func (o *PodCreateLibpodInternalServerError) IsSuccess() bool
- func (o *PodCreateLibpodInternalServerError) String() string
- type PodCreateLibpodParams
- func NewPodCreateLibpodParams() *PodCreateLibpodParams
- func NewPodCreateLibpodParamsWithContext(ctx context.Context) *PodCreateLibpodParamsdeprecated
- func NewPodCreateLibpodParamsWithHTTPClient(client *http.Client) *PodCreateLibpodParams
- func NewPodCreateLibpodParamsWithTimeout(timeout time.Duration) *PodCreateLibpodParams
- func (o *PodCreateLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *PodCreateLibpodParams) SetCreate(create *models.PodSpecGenerator)
- func (o *PodCreateLibpodParams) SetDefaults()
- func (o *PodCreateLibpodParams) SetHTTPClient(client *http.Client)
- func (o *PodCreateLibpodParams) SetTimeout(timeout time.Duration)
- func (o *PodCreateLibpodParams) WithContext(ctx context.Context) *PodCreateLibpodParamsdeprecated
- func (o *PodCreateLibpodParams) WithCreate(create *models.PodSpecGenerator) *PodCreateLibpodParams
- func (o *PodCreateLibpodParams) WithDefaults() *PodCreateLibpodParams
- func (o *PodCreateLibpodParams) WithHTTPClient(client *http.Client) *PodCreateLibpodParams
- func (o *PodCreateLibpodParams) WithTimeout(timeout time.Duration) *PodCreateLibpodParams
- func (o *PodCreateLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodCreateLibpodReader
- type PodDeleteLibpodBadRequest
- func (o *PodDeleteLibpodBadRequest) Code() int
- func (o *PodDeleteLibpodBadRequest) Error() string
- func (o *PodDeleteLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *PodDeleteLibpodBadRequest) IsClientError() bool
- func (o *PodDeleteLibpodBadRequest) IsCode(code int) bool
- func (o *PodDeleteLibpodBadRequest) IsRedirect() bool
- func (o *PodDeleteLibpodBadRequest) IsServerError() bool
- func (o *PodDeleteLibpodBadRequest) IsSuccess() bool
- func (o *PodDeleteLibpodBadRequest) String() string
- type PodDeleteLibpodInternalServerError
- func (o *PodDeleteLibpodInternalServerError) Code() int
- func (o *PodDeleteLibpodInternalServerError) Error() string
- func (o *PodDeleteLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *PodDeleteLibpodInternalServerError) IsClientError() bool
- func (o *PodDeleteLibpodInternalServerError) IsCode(code int) bool
- func (o *PodDeleteLibpodInternalServerError) IsRedirect() bool
- func (o *PodDeleteLibpodInternalServerError) IsServerError() bool
- func (o *PodDeleteLibpodInternalServerError) IsSuccess() bool
- func (o *PodDeleteLibpodInternalServerError) String() string
- type PodDeleteLibpodNotFound
- func (o *PodDeleteLibpodNotFound) Code() int
- func (o *PodDeleteLibpodNotFound) Error() string
- func (o *PodDeleteLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *PodDeleteLibpodNotFound) IsClientError() bool
- func (o *PodDeleteLibpodNotFound) IsCode(code int) bool
- func (o *PodDeleteLibpodNotFound) IsRedirect() bool
- func (o *PodDeleteLibpodNotFound) IsServerError() bool
- func (o *PodDeleteLibpodNotFound) IsSuccess() bool
- func (o *PodDeleteLibpodNotFound) String() string
- type PodDeleteLibpodOK
- func (o *PodDeleteLibpodOK) Code() int
- func (o *PodDeleteLibpodOK) Error() string
- func (o *PodDeleteLibpodOK) GetPayload() *models.PodRmReport
- func (o *PodDeleteLibpodOK) IsClientError() bool
- func (o *PodDeleteLibpodOK) IsCode(code int) bool
- func (o *PodDeleteLibpodOK) IsRedirect() bool
- func (o *PodDeleteLibpodOK) IsServerError() bool
- func (o *PodDeleteLibpodOK) IsSuccess() bool
- func (o *PodDeleteLibpodOK) String() string
- type PodDeleteLibpodParams
- func NewPodDeleteLibpodParams() *PodDeleteLibpodParams
- func NewPodDeleteLibpodParamsWithContext(ctx context.Context) *PodDeleteLibpodParamsdeprecated
- func NewPodDeleteLibpodParamsWithHTTPClient(client *http.Client) *PodDeleteLibpodParams
- func NewPodDeleteLibpodParamsWithTimeout(timeout time.Duration) *PodDeleteLibpodParams
- func (o *PodDeleteLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *PodDeleteLibpodParams) SetDefaults()
- func (o *PodDeleteLibpodParams) SetForce(force *bool)
- func (o *PodDeleteLibpodParams) SetHTTPClient(client *http.Client)
- func (o *PodDeleteLibpodParams) SetName(name string)
- func (o *PodDeleteLibpodParams) SetRequestTimeout(timeout time.Duration)
- func (o *PodDeleteLibpodParams) SetTimeout(timeout *int64)
- func (o *PodDeleteLibpodParams) WithContext(ctx context.Context) *PodDeleteLibpodParamsdeprecated
- func (o *PodDeleteLibpodParams) WithDefaults() *PodDeleteLibpodParams
- func (o *PodDeleteLibpodParams) WithForce(force *bool) *PodDeleteLibpodParams
- func (o *PodDeleteLibpodParams) WithHTTPClient(client *http.Client) *PodDeleteLibpodParams
- func (o *PodDeleteLibpodParams) WithName(name string) *PodDeleteLibpodParams
- func (o *PodDeleteLibpodParams) WithRequestTimeout(timeout time.Duration) *PodDeleteLibpodParams
- func (o *PodDeleteLibpodParams) WithTimeout(timeout *int64) *PodDeleteLibpodParams
- func (o *PodDeleteLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodDeleteLibpodReader
- type PodExistsLibpodInternalServerError
- func (o *PodExistsLibpodInternalServerError) Code() int
- func (o *PodExistsLibpodInternalServerError) Error() string
- func (o *PodExistsLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *PodExistsLibpodInternalServerError) IsClientError() bool
- func (o *PodExistsLibpodInternalServerError) IsCode(code int) bool
- func (o *PodExistsLibpodInternalServerError) IsRedirect() bool
- func (o *PodExistsLibpodInternalServerError) IsServerError() bool
- func (o *PodExistsLibpodInternalServerError) IsSuccess() bool
- func (o *PodExistsLibpodInternalServerError) String() string
- type PodExistsLibpodNoContent
- func (o *PodExistsLibpodNoContent) Code() int
- func (o *PodExistsLibpodNoContent) Error() string
- func (o *PodExistsLibpodNoContent) IsClientError() bool
- func (o *PodExistsLibpodNoContent) IsCode(code int) bool
- func (o *PodExistsLibpodNoContent) IsRedirect() bool
- func (o *PodExistsLibpodNoContent) IsServerError() bool
- func (o *PodExistsLibpodNoContent) IsSuccess() bool
- func (o *PodExistsLibpodNoContent) String() string
- type PodExistsLibpodNotFound
- func (o *PodExistsLibpodNotFound) Code() int
- func (o *PodExistsLibpodNotFound) Error() string
- func (o *PodExistsLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *PodExistsLibpodNotFound) IsClientError() bool
- func (o *PodExistsLibpodNotFound) IsCode(code int) bool
- func (o *PodExistsLibpodNotFound) IsRedirect() bool
- func (o *PodExistsLibpodNotFound) IsServerError() bool
- func (o *PodExistsLibpodNotFound) IsSuccess() bool
- func (o *PodExistsLibpodNotFound) String() string
- type PodExistsLibpodParams
- func NewPodExistsLibpodParams() *PodExistsLibpodParams
- func NewPodExistsLibpodParamsWithContext(ctx context.Context) *PodExistsLibpodParamsdeprecated
- func NewPodExistsLibpodParamsWithHTTPClient(client *http.Client) *PodExistsLibpodParams
- func NewPodExistsLibpodParamsWithTimeout(timeout time.Duration) *PodExistsLibpodParams
- func (o *PodExistsLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *PodExistsLibpodParams) SetDefaults()
- func (o *PodExistsLibpodParams) SetHTTPClient(client *http.Client)
- func (o *PodExistsLibpodParams) SetName(name string)
- func (o *PodExistsLibpodParams) SetTimeout(timeout time.Duration)
- func (o *PodExistsLibpodParams) WithContext(ctx context.Context) *PodExistsLibpodParamsdeprecated
- func (o *PodExistsLibpodParams) WithDefaults() *PodExistsLibpodParams
- func (o *PodExistsLibpodParams) WithHTTPClient(client *http.Client) *PodExistsLibpodParams
- func (o *PodExistsLibpodParams) WithName(name string) *PodExistsLibpodParams
- func (o *PodExistsLibpodParams) WithTimeout(timeout time.Duration) *PodExistsLibpodParams
- func (o *PodExistsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodExistsLibpodReader
- type PodInspectLibpodInternalServerError
- func (o *PodInspectLibpodInternalServerError) Code() int
- func (o *PodInspectLibpodInternalServerError) Error() string
- func (o *PodInspectLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *PodInspectLibpodInternalServerError) IsClientError() bool
- func (o *PodInspectLibpodInternalServerError) IsCode(code int) bool
- func (o *PodInspectLibpodInternalServerError) IsRedirect() bool
- func (o *PodInspectLibpodInternalServerError) IsServerError() bool
- func (o *PodInspectLibpodInternalServerError) IsSuccess() bool
- func (o *PodInspectLibpodInternalServerError) String() string
- type PodInspectLibpodNotFound
- func (o *PodInspectLibpodNotFound) Code() int
- func (o *PodInspectLibpodNotFound) Error() string
- func (o *PodInspectLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *PodInspectLibpodNotFound) IsClientError() bool
- func (o *PodInspectLibpodNotFound) IsCode(code int) bool
- func (o *PodInspectLibpodNotFound) IsRedirect() bool
- func (o *PodInspectLibpodNotFound) IsServerError() bool
- func (o *PodInspectLibpodNotFound) IsSuccess() bool
- func (o *PodInspectLibpodNotFound) String() string
- type PodInspectLibpodOK
- func (o *PodInspectLibpodOK) Code() int
- func (o *PodInspectLibpodOK) Error() string
- func (o *PodInspectLibpodOK) GetPayload() *models.InspectPodData
- func (o *PodInspectLibpodOK) IsClientError() bool
- func (o *PodInspectLibpodOK) IsCode(code int) bool
- func (o *PodInspectLibpodOK) IsRedirect() bool
- func (o *PodInspectLibpodOK) IsServerError() bool
- func (o *PodInspectLibpodOK) IsSuccess() bool
- func (o *PodInspectLibpodOK) String() string
- type PodInspectLibpodParams
- func NewPodInspectLibpodParams() *PodInspectLibpodParams
- func NewPodInspectLibpodParamsWithContext(ctx context.Context) *PodInspectLibpodParamsdeprecated
- func NewPodInspectLibpodParamsWithHTTPClient(client *http.Client) *PodInspectLibpodParams
- func NewPodInspectLibpodParamsWithTimeout(timeout time.Duration) *PodInspectLibpodParams
- func (o *PodInspectLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *PodInspectLibpodParams) SetDefaults()
- func (o *PodInspectLibpodParams) SetHTTPClient(client *http.Client)
- func (o *PodInspectLibpodParams) SetName(name string)
- func (o *PodInspectLibpodParams) SetTimeout(timeout time.Duration)
- func (o *PodInspectLibpodParams) WithContext(ctx context.Context) *PodInspectLibpodParamsdeprecated
- func (o *PodInspectLibpodParams) WithDefaults() *PodInspectLibpodParams
- func (o *PodInspectLibpodParams) WithHTTPClient(client *http.Client) *PodInspectLibpodParams
- func (o *PodInspectLibpodParams) WithName(name string) *PodInspectLibpodParams
- func (o *PodInspectLibpodParams) WithTimeout(timeout time.Duration) *PodInspectLibpodParams
- func (o *PodInspectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodInspectLibpodReader
- type PodKillLibpodBadRequest
- func (o *PodKillLibpodBadRequest) Code() int
- func (o *PodKillLibpodBadRequest) Error() string
- func (o *PodKillLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *PodKillLibpodBadRequest) IsClientError() bool
- func (o *PodKillLibpodBadRequest) IsCode(code int) bool
- func (o *PodKillLibpodBadRequest) IsRedirect() bool
- func (o *PodKillLibpodBadRequest) IsServerError() bool
- func (o *PodKillLibpodBadRequest) IsSuccess() bool
- func (o *PodKillLibpodBadRequest) String() string
- type PodKillLibpodConflict
- func (o *PodKillLibpodConflict) Code() int
- func (o *PodKillLibpodConflict) Error() string
- func (o *PodKillLibpodConflict) GetPayload() *models.PodKillReport
- func (o *PodKillLibpodConflict) IsClientError() bool
- func (o *PodKillLibpodConflict) IsCode(code int) bool
- func (o *PodKillLibpodConflict) IsRedirect() bool
- func (o *PodKillLibpodConflict) IsServerError() bool
- func (o *PodKillLibpodConflict) IsSuccess() bool
- func (o *PodKillLibpodConflict) String() string
- type PodKillLibpodInternalServerError
- func (o *PodKillLibpodInternalServerError) Code() int
- func (o *PodKillLibpodInternalServerError) Error() string
- func (o *PodKillLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *PodKillLibpodInternalServerError) IsClientError() bool
- func (o *PodKillLibpodInternalServerError) IsCode(code int) bool
- func (o *PodKillLibpodInternalServerError) IsRedirect() bool
- func (o *PodKillLibpodInternalServerError) IsServerError() bool
- func (o *PodKillLibpodInternalServerError) IsSuccess() bool
- func (o *PodKillLibpodInternalServerError) String() string
- type PodKillLibpodNotFound
- func (o *PodKillLibpodNotFound) Code() int
- func (o *PodKillLibpodNotFound) Error() string
- func (o *PodKillLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *PodKillLibpodNotFound) IsClientError() bool
- func (o *PodKillLibpodNotFound) IsCode(code int) bool
- func (o *PodKillLibpodNotFound) IsRedirect() bool
- func (o *PodKillLibpodNotFound) IsServerError() bool
- func (o *PodKillLibpodNotFound) IsSuccess() bool
- func (o *PodKillLibpodNotFound) String() string
- type PodKillLibpodOK
- func (o *PodKillLibpodOK) Code() int
- func (o *PodKillLibpodOK) Error() string
- func (o *PodKillLibpodOK) GetPayload() *models.PodKillReport
- func (o *PodKillLibpodOK) IsClientError() bool
- func (o *PodKillLibpodOK) IsCode(code int) bool
- func (o *PodKillLibpodOK) IsRedirect() bool
- func (o *PodKillLibpodOK) IsServerError() bool
- func (o *PodKillLibpodOK) IsSuccess() bool
- func (o *PodKillLibpodOK) String() string
- type PodKillLibpodParams
- func NewPodKillLibpodParams() *PodKillLibpodParams
- func NewPodKillLibpodParamsWithContext(ctx context.Context) *PodKillLibpodParamsdeprecated
- func NewPodKillLibpodParamsWithHTTPClient(client *http.Client) *PodKillLibpodParams
- func NewPodKillLibpodParamsWithTimeout(timeout time.Duration) *PodKillLibpodParams
- func (o *PodKillLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *PodKillLibpodParams) SetDefaults()
- func (o *PodKillLibpodParams) SetHTTPClient(client *http.Client)
- func (o *PodKillLibpodParams) SetName(name string)
- func (o *PodKillLibpodParams) SetSignal(signal *string)
- func (o *PodKillLibpodParams) SetTimeout(timeout time.Duration)
- func (o *PodKillLibpodParams) WithContext(ctx context.Context) *PodKillLibpodParamsdeprecated
- func (o *PodKillLibpodParams) WithDefaults() *PodKillLibpodParams
- func (o *PodKillLibpodParams) WithHTTPClient(client *http.Client) *PodKillLibpodParams
- func (o *PodKillLibpodParams) WithName(name string) *PodKillLibpodParams
- func (o *PodKillLibpodParams) WithSignal(signal *string) *PodKillLibpodParams
- func (o *PodKillLibpodParams) WithTimeout(timeout time.Duration) *PodKillLibpodParams
- func (o *PodKillLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodKillLibpodReader
- type PodListLibpodBadRequest
- func (o *PodListLibpodBadRequest) Code() int
- func (o *PodListLibpodBadRequest) Error() string
- func (o *PodListLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *PodListLibpodBadRequest) IsClientError() bool
- func (o *PodListLibpodBadRequest) IsCode(code int) bool
- func (o *PodListLibpodBadRequest) IsRedirect() bool
- func (o *PodListLibpodBadRequest) IsServerError() bool
- func (o *PodListLibpodBadRequest) IsSuccess() bool
- func (o *PodListLibpodBadRequest) String() string
- type PodListLibpodInternalServerError
- func (o *PodListLibpodInternalServerError) Code() int
- func (o *PodListLibpodInternalServerError) Error() string
- func (o *PodListLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *PodListLibpodInternalServerError) IsClientError() bool
- func (o *PodListLibpodInternalServerError) IsCode(code int) bool
- func (o *PodListLibpodInternalServerError) IsRedirect() bool
- func (o *PodListLibpodInternalServerError) IsServerError() bool
- func (o *PodListLibpodInternalServerError) IsSuccess() bool
- func (o *PodListLibpodInternalServerError) String() string
- type PodListLibpodOK
- func (o *PodListLibpodOK) Code() int
- func (o *PodListLibpodOK) Error() string
- func (o *PodListLibpodOK) GetPayload() []*models.ListPodsReport
- func (o *PodListLibpodOK) IsClientError() bool
- func (o *PodListLibpodOK) IsCode(code int) bool
- func (o *PodListLibpodOK) IsRedirect() bool
- func (o *PodListLibpodOK) IsServerError() bool
- func (o *PodListLibpodOK) IsSuccess() bool
- func (o *PodListLibpodOK) String() string
- type PodListLibpodParams
- func NewPodListLibpodParams() *PodListLibpodParams
- func NewPodListLibpodParamsWithContext(ctx context.Context) *PodListLibpodParamsdeprecated
- func NewPodListLibpodParamsWithHTTPClient(client *http.Client) *PodListLibpodParams
- func NewPodListLibpodParamsWithTimeout(timeout time.Duration) *PodListLibpodParams
- func (o *PodListLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *PodListLibpodParams) SetDefaults()
- func (o *PodListLibpodParams) SetFilters(filters *string)
- func (o *PodListLibpodParams) SetHTTPClient(client *http.Client)
- func (o *PodListLibpodParams) SetTimeout(timeout time.Duration)
- func (o *PodListLibpodParams) WithContext(ctx context.Context) *PodListLibpodParamsdeprecated
- func (o *PodListLibpodParams) WithDefaults() *PodListLibpodParams
- func (o *PodListLibpodParams) WithFilters(filters *string) *PodListLibpodParams
- func (o *PodListLibpodParams) WithHTTPClient(client *http.Client) *PodListLibpodParams
- func (o *PodListLibpodParams) WithTimeout(timeout time.Duration) *PodListLibpodParams
- func (o *PodListLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodListLibpodReader
- type PodPauseLibpodConflict
- func (o *PodPauseLibpodConflict) Code() int
- func (o *PodPauseLibpodConflict) Error() string
- func (o *PodPauseLibpodConflict) GetPayload() *models.PodPauseReport
- func (o *PodPauseLibpodConflict) IsClientError() bool
- func (o *PodPauseLibpodConflict) IsCode(code int) bool
- func (o *PodPauseLibpodConflict) IsRedirect() bool
- func (o *PodPauseLibpodConflict) IsServerError() bool
- func (o *PodPauseLibpodConflict) IsSuccess() bool
- func (o *PodPauseLibpodConflict) String() string
- type PodPauseLibpodInternalServerError
- func (o *PodPauseLibpodInternalServerError) Code() int
- func (o *PodPauseLibpodInternalServerError) Error() string
- func (o *PodPauseLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *PodPauseLibpodInternalServerError) IsClientError() bool
- func (o *PodPauseLibpodInternalServerError) IsCode(code int) bool
- func (o *PodPauseLibpodInternalServerError) IsRedirect() bool
- func (o *PodPauseLibpodInternalServerError) IsServerError() bool
- func (o *PodPauseLibpodInternalServerError) IsSuccess() bool
- func (o *PodPauseLibpodInternalServerError) String() string
- type PodPauseLibpodNotFound
- func (o *PodPauseLibpodNotFound) Code() int
- func (o *PodPauseLibpodNotFound) Error() string
- func (o *PodPauseLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *PodPauseLibpodNotFound) IsClientError() bool
- func (o *PodPauseLibpodNotFound) IsCode(code int) bool
- func (o *PodPauseLibpodNotFound) IsRedirect() bool
- func (o *PodPauseLibpodNotFound) IsServerError() bool
- func (o *PodPauseLibpodNotFound) IsSuccess() bool
- func (o *PodPauseLibpodNotFound) String() string
- type PodPauseLibpodOK
- func (o *PodPauseLibpodOK) Code() int
- func (o *PodPauseLibpodOK) Error() string
- func (o *PodPauseLibpodOK) GetPayload() *models.PodPauseReport
- func (o *PodPauseLibpodOK) IsClientError() bool
- func (o *PodPauseLibpodOK) IsCode(code int) bool
- func (o *PodPauseLibpodOK) IsRedirect() bool
- func (o *PodPauseLibpodOK) IsServerError() bool
- func (o *PodPauseLibpodOK) IsSuccess() bool
- func (o *PodPauseLibpodOK) String() string
- type PodPauseLibpodParams
- func NewPodPauseLibpodParams() *PodPauseLibpodParams
- func NewPodPauseLibpodParamsWithContext(ctx context.Context) *PodPauseLibpodParamsdeprecated
- func NewPodPauseLibpodParamsWithHTTPClient(client *http.Client) *PodPauseLibpodParams
- func NewPodPauseLibpodParamsWithTimeout(timeout time.Duration) *PodPauseLibpodParams
- func (o *PodPauseLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *PodPauseLibpodParams) SetDefaults()
- func (o *PodPauseLibpodParams) SetHTTPClient(client *http.Client)
- func (o *PodPauseLibpodParams) SetName(name string)
- func (o *PodPauseLibpodParams) SetTimeout(timeout time.Duration)
- func (o *PodPauseLibpodParams) WithContext(ctx context.Context) *PodPauseLibpodParamsdeprecated
- func (o *PodPauseLibpodParams) WithDefaults() *PodPauseLibpodParams
- func (o *PodPauseLibpodParams) WithHTTPClient(client *http.Client) *PodPauseLibpodParams
- func (o *PodPauseLibpodParams) WithName(name string) *PodPauseLibpodParams
- func (o *PodPauseLibpodParams) WithTimeout(timeout time.Duration) *PodPauseLibpodParams
- func (o *PodPauseLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodPauseLibpodReader
- type PodPruneLibpodBadRequest
- func (o *PodPruneLibpodBadRequest) Code() int
- func (o *PodPruneLibpodBadRequest) Error() string
- func (o *PodPruneLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *PodPruneLibpodBadRequest) IsClientError() bool
- func (o *PodPruneLibpodBadRequest) IsCode(code int) bool
- func (o *PodPruneLibpodBadRequest) IsRedirect() bool
- func (o *PodPruneLibpodBadRequest) IsServerError() bool
- func (o *PodPruneLibpodBadRequest) IsSuccess() bool
- func (o *PodPruneLibpodBadRequest) String() string
- type PodPruneLibpodConflict
- func (o *PodPruneLibpodConflict) Code() int
- func (o *PodPruneLibpodConflict) Error() string
- func (o *PodPruneLibpodConflict) IsClientError() bool
- func (o *PodPruneLibpodConflict) IsCode(code int) bool
- func (o *PodPruneLibpodConflict) IsRedirect() bool
- func (o *PodPruneLibpodConflict) IsServerError() bool
- func (o *PodPruneLibpodConflict) IsSuccess() bool
- func (o *PodPruneLibpodConflict) String() string
- type PodPruneLibpodInternalServerError
- func (o *PodPruneLibpodInternalServerError) Code() int
- func (o *PodPruneLibpodInternalServerError) Error() string
- func (o *PodPruneLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *PodPruneLibpodInternalServerError) IsClientError() bool
- func (o *PodPruneLibpodInternalServerError) IsCode(code int) bool
- func (o *PodPruneLibpodInternalServerError) IsRedirect() bool
- func (o *PodPruneLibpodInternalServerError) IsServerError() bool
- func (o *PodPruneLibpodInternalServerError) IsSuccess() bool
- func (o *PodPruneLibpodInternalServerError) String() string
- type PodPruneLibpodOK
- func (o *PodPruneLibpodOK) Code() int
- func (o *PodPruneLibpodOK) Error() string
- func (o *PodPruneLibpodOK) GetPayload() *models.PodPruneReport
- func (o *PodPruneLibpodOK) IsClientError() bool
- func (o *PodPruneLibpodOK) IsCode(code int) bool
- func (o *PodPruneLibpodOK) IsRedirect() bool
- func (o *PodPruneLibpodOK) IsServerError() bool
- func (o *PodPruneLibpodOK) IsSuccess() bool
- func (o *PodPruneLibpodOK) String() string
- type PodPruneLibpodParams
- func NewPodPruneLibpodParams() *PodPruneLibpodParams
- func NewPodPruneLibpodParamsWithContext(ctx context.Context) *PodPruneLibpodParamsdeprecated
- func NewPodPruneLibpodParamsWithHTTPClient(client *http.Client) *PodPruneLibpodParams
- func NewPodPruneLibpodParamsWithTimeout(timeout time.Duration) *PodPruneLibpodParams
- func (o *PodPruneLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *PodPruneLibpodParams) SetDefaults()
- func (o *PodPruneLibpodParams) SetHTTPClient(client *http.Client)
- func (o *PodPruneLibpodParams) SetTimeout(timeout time.Duration)
- func (o *PodPruneLibpodParams) WithContext(ctx context.Context) *PodPruneLibpodParamsdeprecated
- func (o *PodPruneLibpodParams) WithDefaults() *PodPruneLibpodParams
- func (o *PodPruneLibpodParams) WithHTTPClient(client *http.Client) *PodPruneLibpodParams
- func (o *PodPruneLibpodParams) WithTimeout(timeout time.Duration) *PodPruneLibpodParams
- func (o *PodPruneLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodPruneLibpodReader
- type PodRestartLibpodConflict
- func (o *PodRestartLibpodConflict) Code() int
- func (o *PodRestartLibpodConflict) Error() string
- func (o *PodRestartLibpodConflict) GetPayload() *models.PodRestartReport
- func (o *PodRestartLibpodConflict) IsClientError() bool
- func (o *PodRestartLibpodConflict) IsCode(code int) bool
- func (o *PodRestartLibpodConflict) IsRedirect() bool
- func (o *PodRestartLibpodConflict) IsServerError() bool
- func (o *PodRestartLibpodConflict) IsSuccess() bool
- func (o *PodRestartLibpodConflict) String() string
- type PodRestartLibpodInternalServerError
- func (o *PodRestartLibpodInternalServerError) Code() int
- func (o *PodRestartLibpodInternalServerError) Error() string
- func (o *PodRestartLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *PodRestartLibpodInternalServerError) IsClientError() bool
- func (o *PodRestartLibpodInternalServerError) IsCode(code int) bool
- func (o *PodRestartLibpodInternalServerError) IsRedirect() bool
- func (o *PodRestartLibpodInternalServerError) IsServerError() bool
- func (o *PodRestartLibpodInternalServerError) IsSuccess() bool
- func (o *PodRestartLibpodInternalServerError) String() string
- type PodRestartLibpodNotFound
- func (o *PodRestartLibpodNotFound) Code() int
- func (o *PodRestartLibpodNotFound) Error() string
- func (o *PodRestartLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *PodRestartLibpodNotFound) IsClientError() bool
- func (o *PodRestartLibpodNotFound) IsCode(code int) bool
- func (o *PodRestartLibpodNotFound) IsRedirect() bool
- func (o *PodRestartLibpodNotFound) IsServerError() bool
- func (o *PodRestartLibpodNotFound) IsSuccess() bool
- func (o *PodRestartLibpodNotFound) String() string
- type PodRestartLibpodOK
- func (o *PodRestartLibpodOK) Code() int
- func (o *PodRestartLibpodOK) Error() string
- func (o *PodRestartLibpodOK) GetPayload() *models.PodRestartReport
- func (o *PodRestartLibpodOK) IsClientError() bool
- func (o *PodRestartLibpodOK) IsCode(code int) bool
- func (o *PodRestartLibpodOK) IsRedirect() bool
- func (o *PodRestartLibpodOK) IsServerError() bool
- func (o *PodRestartLibpodOK) IsSuccess() bool
- func (o *PodRestartLibpodOK) String() string
- type PodRestartLibpodParams
- func NewPodRestartLibpodParams() *PodRestartLibpodParams
- func NewPodRestartLibpodParamsWithContext(ctx context.Context) *PodRestartLibpodParamsdeprecated
- func NewPodRestartLibpodParamsWithHTTPClient(client *http.Client) *PodRestartLibpodParams
- func NewPodRestartLibpodParamsWithTimeout(timeout time.Duration) *PodRestartLibpodParams
- func (o *PodRestartLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *PodRestartLibpodParams) SetDefaults()
- func (o *PodRestartLibpodParams) SetHTTPClient(client *http.Client)
- func (o *PodRestartLibpodParams) SetName(name string)
- func (o *PodRestartLibpodParams) SetTimeout(timeout time.Duration)
- func (o *PodRestartLibpodParams) WithContext(ctx context.Context) *PodRestartLibpodParamsdeprecated
- func (o *PodRestartLibpodParams) WithDefaults() *PodRestartLibpodParams
- func (o *PodRestartLibpodParams) WithHTTPClient(client *http.Client) *PodRestartLibpodParams
- func (o *PodRestartLibpodParams) WithName(name string) *PodRestartLibpodParams
- func (o *PodRestartLibpodParams) WithTimeout(timeout time.Duration) *PodRestartLibpodParams
- func (o *PodRestartLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodRestartLibpodReader
- type PodStartLibpodConflict
- func (o *PodStartLibpodConflict) Code() int
- func (o *PodStartLibpodConflict) Error() string
- func (o *PodStartLibpodConflict) GetPayload() *models.PodStartReport
- func (o *PodStartLibpodConflict) IsClientError() bool
- func (o *PodStartLibpodConflict) IsCode(code int) bool
- func (o *PodStartLibpodConflict) IsRedirect() bool
- func (o *PodStartLibpodConflict) IsServerError() bool
- func (o *PodStartLibpodConflict) IsSuccess() bool
- func (o *PodStartLibpodConflict) String() string
- type PodStartLibpodInternalServerError
- func (o *PodStartLibpodInternalServerError) Code() int
- func (o *PodStartLibpodInternalServerError) Error() string
- func (o *PodStartLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *PodStartLibpodInternalServerError) IsClientError() bool
- func (o *PodStartLibpodInternalServerError) IsCode(code int) bool
- func (o *PodStartLibpodInternalServerError) IsRedirect() bool
- func (o *PodStartLibpodInternalServerError) IsServerError() bool
- func (o *PodStartLibpodInternalServerError) IsSuccess() bool
- func (o *PodStartLibpodInternalServerError) String() string
- type PodStartLibpodNotFound
- func (o *PodStartLibpodNotFound) Code() int
- func (o *PodStartLibpodNotFound) Error() string
- func (o *PodStartLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *PodStartLibpodNotFound) IsClientError() bool
- func (o *PodStartLibpodNotFound) IsCode(code int) bool
- func (o *PodStartLibpodNotFound) IsRedirect() bool
- func (o *PodStartLibpodNotFound) IsServerError() bool
- func (o *PodStartLibpodNotFound) IsSuccess() bool
- func (o *PodStartLibpodNotFound) String() string
- type PodStartLibpodNotModified
- func (o *PodStartLibpodNotModified) Code() int
- func (o *PodStartLibpodNotModified) Error() string
- func (o *PodStartLibpodNotModified) GetPayload() *models.ErrorModel
- func (o *PodStartLibpodNotModified) IsClientError() bool
- func (o *PodStartLibpodNotModified) IsCode(code int) bool
- func (o *PodStartLibpodNotModified) IsRedirect() bool
- func (o *PodStartLibpodNotModified) IsServerError() bool
- func (o *PodStartLibpodNotModified) IsSuccess() bool
- func (o *PodStartLibpodNotModified) String() string
- type PodStartLibpodOK
- func (o *PodStartLibpodOK) Code() int
- func (o *PodStartLibpodOK) Error() string
- func (o *PodStartLibpodOK) GetPayload() *models.PodStartReport
- func (o *PodStartLibpodOK) IsClientError() bool
- func (o *PodStartLibpodOK) IsCode(code int) bool
- func (o *PodStartLibpodOK) IsRedirect() bool
- func (o *PodStartLibpodOK) IsServerError() bool
- func (o *PodStartLibpodOK) IsSuccess() bool
- func (o *PodStartLibpodOK) String() string
- type PodStartLibpodParams
- func NewPodStartLibpodParams() *PodStartLibpodParams
- func NewPodStartLibpodParamsWithContext(ctx context.Context) *PodStartLibpodParamsdeprecated
- func NewPodStartLibpodParamsWithHTTPClient(client *http.Client) *PodStartLibpodParams
- func NewPodStartLibpodParamsWithTimeout(timeout time.Duration) *PodStartLibpodParams
- func (o *PodStartLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *PodStartLibpodParams) SetDefaults()
- func (o *PodStartLibpodParams) SetHTTPClient(client *http.Client)
- func (o *PodStartLibpodParams) SetName(name string)
- func (o *PodStartLibpodParams) SetTimeout(timeout time.Duration)
- func (o *PodStartLibpodParams) WithContext(ctx context.Context) *PodStartLibpodParamsdeprecated
- func (o *PodStartLibpodParams) WithDefaults() *PodStartLibpodParams
- func (o *PodStartLibpodParams) WithHTTPClient(client *http.Client) *PodStartLibpodParams
- func (o *PodStartLibpodParams) WithName(name string) *PodStartLibpodParams
- func (o *PodStartLibpodParams) WithTimeout(timeout time.Duration) *PodStartLibpodParams
- func (o *PodStartLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodStartLibpodReader
- type PodStatsAllLibpodInternalServerError
- func (o *PodStatsAllLibpodInternalServerError) Code() int
- func (o *PodStatsAllLibpodInternalServerError) Error() string
- func (o *PodStatsAllLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *PodStatsAllLibpodInternalServerError) IsClientError() bool
- func (o *PodStatsAllLibpodInternalServerError) IsCode(code int) bool
- func (o *PodStatsAllLibpodInternalServerError) IsRedirect() bool
- func (o *PodStatsAllLibpodInternalServerError) IsServerError() bool
- func (o *PodStatsAllLibpodInternalServerError) IsSuccess() bool
- func (o *PodStatsAllLibpodInternalServerError) String() string
- type PodStatsAllLibpodNotFound
- func (o *PodStatsAllLibpodNotFound) Code() int
- func (o *PodStatsAllLibpodNotFound) Error() string
- func (o *PodStatsAllLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *PodStatsAllLibpodNotFound) IsClientError() bool
- func (o *PodStatsAllLibpodNotFound) IsCode(code int) bool
- func (o *PodStatsAllLibpodNotFound) IsRedirect() bool
- func (o *PodStatsAllLibpodNotFound) IsServerError() bool
- func (o *PodStatsAllLibpodNotFound) IsSuccess() bool
- func (o *PodStatsAllLibpodNotFound) String() string
- type PodStatsAllLibpodOK
- func (o *PodStatsAllLibpodOK) Code() int
- func (o *PodStatsAllLibpodOK) Error() string
- func (o *PodStatsAllLibpodOK) GetPayload() []*models.PodStatsReport
- func (o *PodStatsAllLibpodOK) IsClientError() bool
- func (o *PodStatsAllLibpodOK) IsCode(code int) bool
- func (o *PodStatsAllLibpodOK) IsRedirect() bool
- func (o *PodStatsAllLibpodOK) IsServerError() bool
- func (o *PodStatsAllLibpodOK) IsSuccess() bool
- func (o *PodStatsAllLibpodOK) String() string
- type PodStatsAllLibpodParams
- func NewPodStatsAllLibpodParams() *PodStatsAllLibpodParams
- func NewPodStatsAllLibpodParamsWithContext(ctx context.Context) *PodStatsAllLibpodParamsdeprecated
- func NewPodStatsAllLibpodParamsWithHTTPClient(client *http.Client) *PodStatsAllLibpodParams
- func NewPodStatsAllLibpodParamsWithTimeout(timeout time.Duration) *PodStatsAllLibpodParams
- func (o *PodStatsAllLibpodParams) SetAll(all *bool)
- func (o *PodStatsAllLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *PodStatsAllLibpodParams) SetDefaults()
- func (o *PodStatsAllLibpodParams) SetDelay(delay *int64)
- func (o *PodStatsAllLibpodParams) SetHTTPClient(client *http.Client)
- func (o *PodStatsAllLibpodParams) SetNamesOrIDs(namesOrIDs []string)
- func (o *PodStatsAllLibpodParams) SetStream(stream *bool)
- func (o *PodStatsAllLibpodParams) SetTimeout(timeout time.Duration)
- func (o *PodStatsAllLibpodParams) WithAll(all *bool) *PodStatsAllLibpodParams
- func (o *PodStatsAllLibpodParams) WithContext(ctx context.Context) *PodStatsAllLibpodParamsdeprecated
- func (o *PodStatsAllLibpodParams) WithDefaults() *PodStatsAllLibpodParams
- func (o *PodStatsAllLibpodParams) WithDelay(delay *int64) *PodStatsAllLibpodParams
- func (o *PodStatsAllLibpodParams) WithHTTPClient(client *http.Client) *PodStatsAllLibpodParams
- func (o *PodStatsAllLibpodParams) WithNamesOrIDs(namesOrIDs []string) *PodStatsAllLibpodParams
- func (o *PodStatsAllLibpodParams) WithStream(stream *bool) *PodStatsAllLibpodParams
- func (o *PodStatsAllLibpodParams) WithTimeout(timeout time.Duration) *PodStatsAllLibpodParams
- func (o *PodStatsAllLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodStatsAllLibpodReader
- type PodStopLibpodBadRequest
- func (o *PodStopLibpodBadRequest) Code() int
- func (o *PodStopLibpodBadRequest) Error() string
- func (o *PodStopLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *PodStopLibpodBadRequest) IsClientError() bool
- func (o *PodStopLibpodBadRequest) IsCode(code int) bool
- func (o *PodStopLibpodBadRequest) IsRedirect() bool
- func (o *PodStopLibpodBadRequest) IsServerError() bool
- func (o *PodStopLibpodBadRequest) IsSuccess() bool
- func (o *PodStopLibpodBadRequest) String() string
- type PodStopLibpodConflict
- func (o *PodStopLibpodConflict) Code() int
- func (o *PodStopLibpodConflict) Error() string
- func (o *PodStopLibpodConflict) GetPayload() *models.PodStopReport
- func (o *PodStopLibpodConflict) IsClientError() bool
- func (o *PodStopLibpodConflict) IsCode(code int) bool
- func (o *PodStopLibpodConflict) IsRedirect() bool
- func (o *PodStopLibpodConflict) IsServerError() bool
- func (o *PodStopLibpodConflict) IsSuccess() bool
- func (o *PodStopLibpodConflict) String() string
- type PodStopLibpodInternalServerError
- func (o *PodStopLibpodInternalServerError) Code() int
- func (o *PodStopLibpodInternalServerError) Error() string
- func (o *PodStopLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *PodStopLibpodInternalServerError) IsClientError() bool
- func (o *PodStopLibpodInternalServerError) IsCode(code int) bool
- func (o *PodStopLibpodInternalServerError) IsRedirect() bool
- func (o *PodStopLibpodInternalServerError) IsServerError() bool
- func (o *PodStopLibpodInternalServerError) IsSuccess() bool
- func (o *PodStopLibpodInternalServerError) String() string
- type PodStopLibpodNotFound
- func (o *PodStopLibpodNotFound) Code() int
- func (o *PodStopLibpodNotFound) Error() string
- func (o *PodStopLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *PodStopLibpodNotFound) IsClientError() bool
- func (o *PodStopLibpodNotFound) IsCode(code int) bool
- func (o *PodStopLibpodNotFound) IsRedirect() bool
- func (o *PodStopLibpodNotFound) IsServerError() bool
- func (o *PodStopLibpodNotFound) IsSuccess() bool
- func (o *PodStopLibpodNotFound) String() string
- type PodStopLibpodNotModified
- func (o *PodStopLibpodNotModified) Code() int
- func (o *PodStopLibpodNotModified) Error() string
- func (o *PodStopLibpodNotModified) GetPayload() *models.ErrorModel
- func (o *PodStopLibpodNotModified) IsClientError() bool
- func (o *PodStopLibpodNotModified) IsCode(code int) bool
- func (o *PodStopLibpodNotModified) IsRedirect() bool
- func (o *PodStopLibpodNotModified) IsServerError() bool
- func (o *PodStopLibpodNotModified) IsSuccess() bool
- func (o *PodStopLibpodNotModified) String() string
- type PodStopLibpodOK
- func (o *PodStopLibpodOK) Code() int
- func (o *PodStopLibpodOK) Error() string
- func (o *PodStopLibpodOK) GetPayload() *models.PodStopReport
- func (o *PodStopLibpodOK) IsClientError() bool
- func (o *PodStopLibpodOK) IsCode(code int) bool
- func (o *PodStopLibpodOK) IsRedirect() bool
- func (o *PodStopLibpodOK) IsServerError() bool
- func (o *PodStopLibpodOK) IsSuccess() bool
- func (o *PodStopLibpodOK) String() string
- type PodStopLibpodParams
- func NewPodStopLibpodParams() *PodStopLibpodParams
- func NewPodStopLibpodParamsWithContext(ctx context.Context) *PodStopLibpodParamsdeprecated
- func NewPodStopLibpodParamsWithHTTPClient(client *http.Client) *PodStopLibpodParams
- func NewPodStopLibpodParamsWithTimeout(timeout time.Duration) *PodStopLibpodParams
- func (o *PodStopLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *PodStopLibpodParams) SetDefaults()
- func (o *PodStopLibpodParams) SetHTTPClient(client *http.Client)
- func (o *PodStopLibpodParams) SetName(name string)
- func (o *PodStopLibpodParams) SetT(t *int64)
- func (o *PodStopLibpodParams) SetTimeout(timeout time.Duration)
- func (o *PodStopLibpodParams) WithContext(ctx context.Context) *PodStopLibpodParamsdeprecated
- func (o *PodStopLibpodParams) WithDefaults() *PodStopLibpodParams
- func (o *PodStopLibpodParams) WithHTTPClient(client *http.Client) *PodStopLibpodParams
- func (o *PodStopLibpodParams) WithName(name string) *PodStopLibpodParams
- func (o *PodStopLibpodParams) WithT(t *int64) *PodStopLibpodParams
- func (o *PodStopLibpodParams) WithTimeout(timeout time.Duration) *PodStopLibpodParams
- func (o *PodStopLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodStopLibpodReader
- type PodTopLibpodInternalServerError
- func (o *PodTopLibpodInternalServerError) Code() int
- func (o *PodTopLibpodInternalServerError) Error() string
- func (o *PodTopLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *PodTopLibpodInternalServerError) IsClientError() bool
- func (o *PodTopLibpodInternalServerError) IsCode(code int) bool
- func (o *PodTopLibpodInternalServerError) IsRedirect() bool
- func (o *PodTopLibpodInternalServerError) IsServerError() bool
- func (o *PodTopLibpodInternalServerError) IsSuccess() bool
- func (o *PodTopLibpodInternalServerError) String() string
- type PodTopLibpodNotFound
- func (o *PodTopLibpodNotFound) Code() int
- func (o *PodTopLibpodNotFound) Error() string
- func (o *PodTopLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *PodTopLibpodNotFound) IsClientError() bool
- func (o *PodTopLibpodNotFound) IsCode(code int) bool
- func (o *PodTopLibpodNotFound) IsRedirect() bool
- func (o *PodTopLibpodNotFound) IsServerError() bool
- func (o *PodTopLibpodNotFound) IsSuccess() bool
- func (o *PodTopLibpodNotFound) String() string
- type PodTopLibpodOK
- func (o *PodTopLibpodOK) Code() int
- func (o *PodTopLibpodOK) Error() string
- func (o *PodTopLibpodOK) GetPayload() *models.PodTopOKBody
- func (o *PodTopLibpodOK) IsClientError() bool
- func (o *PodTopLibpodOK) IsCode(code int) bool
- func (o *PodTopLibpodOK) IsRedirect() bool
- func (o *PodTopLibpodOK) IsServerError() bool
- func (o *PodTopLibpodOK) IsSuccess() bool
- func (o *PodTopLibpodOK) String() string
- type PodTopLibpodParams
- func NewPodTopLibpodParams() *PodTopLibpodParams
- func NewPodTopLibpodParamsWithContext(ctx context.Context) *PodTopLibpodParamsdeprecated
- func NewPodTopLibpodParamsWithHTTPClient(client *http.Client) *PodTopLibpodParams
- func NewPodTopLibpodParamsWithTimeout(timeout time.Duration) *PodTopLibpodParams
- func (o *PodTopLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *PodTopLibpodParams) SetDefaults()
- func (o *PodTopLibpodParams) SetDelay(delay *int64)
- func (o *PodTopLibpodParams) SetHTTPClient(client *http.Client)
- func (o *PodTopLibpodParams) SetName(name string)
- func (o *PodTopLibpodParams) SetPsArgs(psArgs *string)
- func (o *PodTopLibpodParams) SetStream(stream *bool)
- func (o *PodTopLibpodParams) SetTimeout(timeout time.Duration)
- func (o *PodTopLibpodParams) WithContext(ctx context.Context) *PodTopLibpodParamsdeprecated
- func (o *PodTopLibpodParams) WithDefaults() *PodTopLibpodParams
- func (o *PodTopLibpodParams) WithDelay(delay *int64) *PodTopLibpodParams
- func (o *PodTopLibpodParams) WithHTTPClient(client *http.Client) *PodTopLibpodParams
- func (o *PodTopLibpodParams) WithName(name string) *PodTopLibpodParams
- func (o *PodTopLibpodParams) WithPsArgs(psArgs *string) *PodTopLibpodParams
- func (o *PodTopLibpodParams) WithStream(stream *bool) *PodTopLibpodParams
- func (o *PodTopLibpodParams) WithTimeout(timeout time.Duration) *PodTopLibpodParams
- func (o *PodTopLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodTopLibpodReader
- type PodUnpauseLibpodConflict
- func (o *PodUnpauseLibpodConflict) Code() int
- func (o *PodUnpauseLibpodConflict) Error() string
- func (o *PodUnpauseLibpodConflict) GetPayload() *models.PodUnpauseReport
- func (o *PodUnpauseLibpodConflict) IsClientError() bool
- func (o *PodUnpauseLibpodConflict) IsCode(code int) bool
- func (o *PodUnpauseLibpodConflict) IsRedirect() bool
- func (o *PodUnpauseLibpodConflict) IsServerError() bool
- func (o *PodUnpauseLibpodConflict) IsSuccess() bool
- func (o *PodUnpauseLibpodConflict) String() string
- type PodUnpauseLibpodInternalServerError
- func (o *PodUnpauseLibpodInternalServerError) Code() int
- func (o *PodUnpauseLibpodInternalServerError) Error() string
- func (o *PodUnpauseLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *PodUnpauseLibpodInternalServerError) IsClientError() bool
- func (o *PodUnpauseLibpodInternalServerError) IsCode(code int) bool
- func (o *PodUnpauseLibpodInternalServerError) IsRedirect() bool
- func (o *PodUnpauseLibpodInternalServerError) IsServerError() bool
- func (o *PodUnpauseLibpodInternalServerError) IsSuccess() bool
- func (o *PodUnpauseLibpodInternalServerError) String() string
- type PodUnpauseLibpodNotFound
- func (o *PodUnpauseLibpodNotFound) Code() int
- func (o *PodUnpauseLibpodNotFound) Error() string
- func (o *PodUnpauseLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *PodUnpauseLibpodNotFound) IsClientError() bool
- func (o *PodUnpauseLibpodNotFound) IsCode(code int) bool
- func (o *PodUnpauseLibpodNotFound) IsRedirect() bool
- func (o *PodUnpauseLibpodNotFound) IsServerError() bool
- func (o *PodUnpauseLibpodNotFound) IsSuccess() bool
- func (o *PodUnpauseLibpodNotFound) String() string
- type PodUnpauseLibpodOK
- func (o *PodUnpauseLibpodOK) Code() int
- func (o *PodUnpauseLibpodOK) Error() string
- func (o *PodUnpauseLibpodOK) GetPayload() *models.PodUnpauseReport
- func (o *PodUnpauseLibpodOK) IsClientError() bool
- func (o *PodUnpauseLibpodOK) IsCode(code int) bool
- func (o *PodUnpauseLibpodOK) IsRedirect() bool
- func (o *PodUnpauseLibpodOK) IsServerError() bool
- func (o *PodUnpauseLibpodOK) IsSuccess() bool
- func (o *PodUnpauseLibpodOK) String() string
- type PodUnpauseLibpodParams
- func NewPodUnpauseLibpodParams() *PodUnpauseLibpodParams
- func NewPodUnpauseLibpodParamsWithContext(ctx context.Context) *PodUnpauseLibpodParamsdeprecated
- func NewPodUnpauseLibpodParamsWithHTTPClient(client *http.Client) *PodUnpauseLibpodParams
- func NewPodUnpauseLibpodParamsWithTimeout(timeout time.Duration) *PodUnpauseLibpodParams
- func (o *PodUnpauseLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *PodUnpauseLibpodParams) SetDefaults()
- func (o *PodUnpauseLibpodParams) SetHTTPClient(client *http.Client)
- func (o *PodUnpauseLibpodParams) SetName(name string)
- func (o *PodUnpauseLibpodParams) SetTimeout(timeout time.Duration)
- func (o *PodUnpauseLibpodParams) WithContext(ctx context.Context) *PodUnpauseLibpodParamsdeprecated
- func (o *PodUnpauseLibpodParams) WithDefaults() *PodUnpauseLibpodParams
- func (o *PodUnpauseLibpodParams) WithHTTPClient(client *http.Client) *PodUnpauseLibpodParams
- func (o *PodUnpauseLibpodParams) WithName(name string) *PodUnpauseLibpodParams
- func (o *PodUnpauseLibpodParams) WithTimeout(timeout time.Duration) *PodUnpauseLibpodParams
- func (o *PodUnpauseLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodUnpauseLibpodReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationxTar ¶
func WithContentTypeApplicationxTar(r *runtime.ClientOperation)
WithContentTypeApplicationxTar sets the Content-Type header to "application/x-tar".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for pods API.
func (*Client) PodCreateLibpod ¶
func (a *Client) PodCreateLibpod(params *PodCreateLibpodParams, opts ...ClientOption) (*PodCreateLibpodCreated, error)
PodCreateLibpod creates a pod.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PodCreateLibpodContext instead.
func (*Client) PodCreateLibpodContext ¶
func (a *Client) PodCreateLibpodContext(ctx context.Context, params *PodCreateLibpodParams, opts ...ClientOption) (*PodCreateLibpodCreated, error)
PodCreateLibpodContext creates a pod.
Do not use the deprecated [PodCreateLibpodParams.Context] with this method: it would be ignored.
func (*Client) PodDeleteLibpod ¶
func (a *Client) PodDeleteLibpod(params *PodDeleteLibpodParams, opts ...ClientOption) (*PodDeleteLibpodOK, error)
PodDeleteLibpod removes pod.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PodDeleteLibpodContext instead.
func (*Client) PodDeleteLibpodContext ¶
func (a *Client) PodDeleteLibpodContext(ctx context.Context, params *PodDeleteLibpodParams, opts ...ClientOption) (*PodDeleteLibpodOK, error)
PodDeleteLibpodContext removes pod.
Do not use the deprecated [PodDeleteLibpodParams.Context] with this method: it would be ignored.
func (*Client) PodExistsLibpod ¶
func (a *Client) PodExistsLibpod(params *PodExistsLibpodParams, opts ...ClientOption) (*PodExistsLibpodNoContent, error)
PodExistsLibpod pods exists.
Check if a pod exists by name or ID.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PodExistsLibpodContext instead.
func (*Client) PodExistsLibpodContext ¶
func (a *Client) PodExistsLibpodContext(ctx context.Context, params *PodExistsLibpodParams, opts ...ClientOption) (*PodExistsLibpodNoContent, error)
PodExistsLibpodContext pods exists.
Check if a pod exists by name or ID.
Do not use the deprecated [PodExistsLibpodParams.Context] with this method: it would be ignored.
func (*Client) PodInspectLibpod ¶
func (a *Client) PodInspectLibpod(params *PodInspectLibpodParams, opts ...ClientOption) (*PodInspectLibpodOK, error)
PodInspectLibpod inspects pod.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PodInspectLibpodContext instead.
func (*Client) PodInspectLibpodContext ¶
func (a *Client) PodInspectLibpodContext(ctx context.Context, params *PodInspectLibpodParams, opts ...ClientOption) (*PodInspectLibpodOK, error)
PodInspectLibpodContext inspects pod.
Do not use the deprecated [PodInspectLibpodParams.Context] with this method: it would be ignored.
func (*Client) PodKillLibpod ¶
func (a *Client) PodKillLibpod(params *PodKillLibpodParams, opts ...ClientOption) (*PodKillLibpodOK, error)
PodKillLibpod kills a pod.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PodKillLibpodContext instead.
func (*Client) PodKillLibpodContext ¶
func (a *Client) PodKillLibpodContext(ctx context.Context, params *PodKillLibpodParams, opts ...ClientOption) (*PodKillLibpodOK, error)
PodKillLibpodContext kills a pod.
Do not use the deprecated [PodKillLibpodParams.Context] with this method: it would be ignored.
func (*Client) PodListLibpod ¶
func (a *Client) PodListLibpod(params *PodListLibpodParams, opts ...ClientOption) (*PodListLibpodOK, error)
PodListLibpod lists pods.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PodListLibpodContext instead.
func (*Client) PodListLibpodContext ¶
func (a *Client) PodListLibpodContext(ctx context.Context, params *PodListLibpodParams, opts ...ClientOption) (*PodListLibpodOK, error)
PodListLibpodContext lists pods.
Do not use the deprecated [PodListLibpodParams.Context] with this method: it would be ignored.
func (*Client) PodPauseLibpod ¶
func (a *Client) PodPauseLibpod(params *PodPauseLibpodParams, opts ...ClientOption) (*PodPauseLibpodOK, error)
PodPauseLibpod pauses a pod.
Pause a pod.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PodPauseLibpodContext instead.
func (*Client) PodPauseLibpodContext ¶
func (a *Client) PodPauseLibpodContext(ctx context.Context, params *PodPauseLibpodParams, opts ...ClientOption) (*PodPauseLibpodOK, error)
PodPauseLibpodContext pauses a pod.
Pause a pod.
Do not use the deprecated [PodPauseLibpodParams.Context] with this method: it would be ignored.
func (*Client) PodPruneLibpod ¶
func (a *Client) PodPruneLibpod(params *PodPruneLibpodParams, opts ...ClientOption) (*PodPruneLibpodOK, error)
PodPruneLibpod prunes unused pods.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PodPruneLibpodContext instead.
func (*Client) PodPruneLibpodContext ¶
func (a *Client) PodPruneLibpodContext(ctx context.Context, params *PodPruneLibpodParams, opts ...ClientOption) (*PodPruneLibpodOK, error)
PodPruneLibpodContext prunes unused pods.
Do not use the deprecated [PodPruneLibpodParams.Context] with this method: it would be ignored.
func (*Client) PodRestartLibpod ¶
func (a *Client) PodRestartLibpod(params *PodRestartLibpodParams, opts ...ClientOption) (*PodRestartLibpodOK, error)
PodRestartLibpod restarts a pod.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PodRestartLibpodContext instead.
func (*Client) PodRestartLibpodContext ¶
func (a *Client) PodRestartLibpodContext(ctx context.Context, params *PodRestartLibpodParams, opts ...ClientOption) (*PodRestartLibpodOK, error)
PodRestartLibpodContext restarts a pod.
Do not use the deprecated [PodRestartLibpodParams.Context] with this method: it would be ignored.
func (*Client) PodStartLibpod ¶
func (a *Client) PodStartLibpod(params *PodStartLibpodParams, opts ...ClientOption) (*PodStartLibpodOK, error)
PodStartLibpod starts a pod.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PodStartLibpodContext instead.
func (*Client) PodStartLibpodContext ¶
func (a *Client) PodStartLibpodContext(ctx context.Context, params *PodStartLibpodParams, opts ...ClientOption) (*PodStartLibpodOK, error)
PodStartLibpodContext starts a pod.
Do not use the deprecated [PodStartLibpodParams.Context] with this method: it would be ignored.
func (*Client) PodStatsAllLibpod ¶
func (a *Client) PodStatsAllLibpod(params *PodStatsAllLibpodParams, opts ...ClientOption) (*PodStatsAllLibpodOK, error)
PodStatsAllLibpod statistics for one or more pods.
Display a live stream of resource usage statistics for the containers in one or more pods.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PodStatsAllLibpodContext instead.
func (*Client) PodStatsAllLibpodContext ¶
func (a *Client) PodStatsAllLibpodContext(ctx context.Context, params *PodStatsAllLibpodParams, opts ...ClientOption) (*PodStatsAllLibpodOK, error)
PodStatsAllLibpodContext statistics for one or more pods.
Display a live stream of resource usage statistics for the containers in one or more pods.
Do not use the deprecated [PodStatsAllLibpodParams.Context] with this method: it would be ignored.
func (*Client) PodStopLibpod ¶
func (a *Client) PodStopLibpod(params *PodStopLibpodParams, opts ...ClientOption) (*PodStopLibpodOK, error)
PodStopLibpod stops a pod.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PodStopLibpodContext instead.
func (*Client) PodStopLibpodContext ¶
func (a *Client) PodStopLibpodContext(ctx context.Context, params *PodStopLibpodParams, opts ...ClientOption) (*PodStopLibpodOK, error)
PodStopLibpodContext stops a pod.
Do not use the deprecated [PodStopLibpodParams.Context] with this method: it would be ignored.
func (*Client) PodTopLibpod ¶
func (a *Client) PodTopLibpod(params *PodTopLibpodParams, opts ...ClientOption) (*PodTopLibpodOK, error)
PodTopLibpod lists processes.
List processes running inside a pod.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PodTopLibpodContext instead.
func (*Client) PodTopLibpodContext ¶
func (a *Client) PodTopLibpodContext(ctx context.Context, params *PodTopLibpodParams, opts ...ClientOption) (*PodTopLibpodOK, error)
PodTopLibpodContext lists processes.
List processes running inside a pod.
Do not use the deprecated [PodTopLibpodParams.Context] with this method: it would be ignored.
func (*Client) PodUnpauseLibpod ¶
func (a *Client) PodUnpauseLibpod(params *PodUnpauseLibpodParams, opts ...ClientOption) (*PodUnpauseLibpodOK, error)
PodUnpauseLibpod unpauses a pod.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PodUnpauseLibpodContext instead.
func (*Client) PodUnpauseLibpodContext ¶
func (a *Client) PodUnpauseLibpodContext(ctx context.Context, params *PodUnpauseLibpodParams, opts ...ClientOption) (*PodUnpauseLibpodOK, error)
PodUnpauseLibpodContext unpauses a pod.
Do not use the deprecated [PodUnpauseLibpodParams.Context] with this method: it would be ignored.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ContextualTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
// PodCreateLibpod create a pod.
PodCreateLibpod(params *PodCreateLibpodParams, opts ...ClientOption) (*PodCreateLibpodCreated, error)
// PodCreateLibpodContext create a pod.
PodCreateLibpodContext(ctx context.Context, params *PodCreateLibpodParams, opts ...ClientOption) (*PodCreateLibpodCreated, error)
// PodDeleteLibpod remove pod.
PodDeleteLibpod(params *PodDeleteLibpodParams, opts ...ClientOption) (*PodDeleteLibpodOK, error)
// PodDeleteLibpodContext remove pod.
PodDeleteLibpodContext(ctx context.Context, params *PodDeleteLibpodParams, opts ...ClientOption) (*PodDeleteLibpodOK, error)
// PodExistsLibpod pod exists.
PodExistsLibpod(params *PodExistsLibpodParams, opts ...ClientOption) (*PodExistsLibpodNoContent, error)
// PodExistsLibpodContext pod exists.
PodExistsLibpodContext(ctx context.Context, params *PodExistsLibpodParams, opts ...ClientOption) (*PodExistsLibpodNoContent, error)
// PodInspectLibpod inspect pod.
PodInspectLibpod(params *PodInspectLibpodParams, opts ...ClientOption) (*PodInspectLibpodOK, error)
// PodInspectLibpodContext inspect pod.
PodInspectLibpodContext(ctx context.Context, params *PodInspectLibpodParams, opts ...ClientOption) (*PodInspectLibpodOK, error)
// PodKillLibpod kill a pod.
PodKillLibpod(params *PodKillLibpodParams, opts ...ClientOption) (*PodKillLibpodOK, error)
// PodKillLibpodContext kill a pod.
PodKillLibpodContext(ctx context.Context, params *PodKillLibpodParams, opts ...ClientOption) (*PodKillLibpodOK, error)
// PodListLibpod list pods.
PodListLibpod(params *PodListLibpodParams, opts ...ClientOption) (*PodListLibpodOK, error)
// PodListLibpodContext list pods.
PodListLibpodContext(ctx context.Context, params *PodListLibpodParams, opts ...ClientOption) (*PodListLibpodOK, error)
// PodPauseLibpod pause a pod.
PodPauseLibpod(params *PodPauseLibpodParams, opts ...ClientOption) (*PodPauseLibpodOK, error)
// PodPauseLibpodContext pause a pod.
PodPauseLibpodContext(ctx context.Context, params *PodPauseLibpodParams, opts ...ClientOption) (*PodPauseLibpodOK, error)
// PodPruneLibpod prune unused pods.
PodPruneLibpod(params *PodPruneLibpodParams, opts ...ClientOption) (*PodPruneLibpodOK, error)
// PodPruneLibpodContext prune unused pods.
PodPruneLibpodContext(ctx context.Context, params *PodPruneLibpodParams, opts ...ClientOption) (*PodPruneLibpodOK, error)
// PodRestartLibpod restart a pod.
PodRestartLibpod(params *PodRestartLibpodParams, opts ...ClientOption) (*PodRestartLibpodOK, error)
// PodRestartLibpodContext restart a pod.
PodRestartLibpodContext(ctx context.Context, params *PodRestartLibpodParams, opts ...ClientOption) (*PodRestartLibpodOK, error)
// PodStartLibpod start a pod.
PodStartLibpod(params *PodStartLibpodParams, opts ...ClientOption) (*PodStartLibpodOK, error)
// PodStartLibpodContext start a pod.
PodStartLibpodContext(ctx context.Context, params *PodStartLibpodParams, opts ...ClientOption) (*PodStartLibpodOK, error)
// PodStatsAllLibpod statistics for one or more pods.
PodStatsAllLibpod(params *PodStatsAllLibpodParams, opts ...ClientOption) (*PodStatsAllLibpodOK, error)
// PodStatsAllLibpodContext statistics for one or more pods.
PodStatsAllLibpodContext(ctx context.Context, params *PodStatsAllLibpodParams, opts ...ClientOption) (*PodStatsAllLibpodOK, error)
// PodStopLibpod stop a pod.
PodStopLibpod(params *PodStopLibpodParams, opts ...ClientOption) (*PodStopLibpodOK, error)
// PodStopLibpodContext stop a pod.
PodStopLibpodContext(ctx context.Context, params *PodStopLibpodParams, opts ...ClientOption) (*PodStopLibpodOK, error)
// PodTopLibpod list processes.
PodTopLibpod(params *PodTopLibpodParams, opts ...ClientOption) (*PodTopLibpodOK, error)
// PodTopLibpodContext list processes.
PodTopLibpodContext(ctx context.Context, params *PodTopLibpodParams, opts ...ClientOption) (*PodTopLibpodOK, error)
// PodUnpauseLibpod unpause a pod.
PodUnpauseLibpod(params *PodUnpauseLibpodParams, opts ...ClientOption) (*PodUnpauseLibpodOK, error)
// PodUnpauseLibpodContext unpause a pod.
PodUnpauseLibpodContext(ctx context.Context, params *PodUnpauseLibpodParams, opts ...ClientOption) (*PodUnpauseLibpodOK, error)
SetTransport(transport runtime.ContextualTransport)
}
ClientService is the interface for Client methods.
func New ¶
func New(transport runtime.ContextualTransport, formats strfmt.Registry) ClientService
New creates a new pods API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new pods API client with basic auth credentials.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new pods API client with a bearer token for authentication.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type PodCreateLibpodBadRequest ¶
type PodCreateLibpodBadRequest struct {
Payload *models.ErrorModel
}
PodCreateLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewPodCreateLibpodBadRequest ¶
func NewPodCreateLibpodBadRequest() *PodCreateLibpodBadRequest
NewPodCreateLibpodBadRequest creates a PodCreateLibpodBadRequest with default headers values
func (*PodCreateLibpodBadRequest) Code ¶
func (o *PodCreateLibpodBadRequest) Code() int
Code gets the status code for the pod create libpod bad request response
func (*PodCreateLibpodBadRequest) Error ¶
func (o *PodCreateLibpodBadRequest) Error() string
func (*PodCreateLibpodBadRequest) GetPayload ¶
func (o *PodCreateLibpodBadRequest) GetPayload() *models.ErrorModel
func (*PodCreateLibpodBadRequest) IsClientError ¶
func (o *PodCreateLibpodBadRequest) IsClientError() bool
IsClientError returns true when this pod create libpod bad request response has a 4xx status code
func (*PodCreateLibpodBadRequest) IsCode ¶
func (o *PodCreateLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this pod create libpod bad request response a status code equal to that given
func (*PodCreateLibpodBadRequest) IsRedirect ¶
func (o *PodCreateLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this pod create libpod bad request response has a 3xx status code
func (*PodCreateLibpodBadRequest) IsServerError ¶
func (o *PodCreateLibpodBadRequest) IsServerError() bool
IsServerError returns true when this pod create libpod bad request response has a 5xx status code
func (*PodCreateLibpodBadRequest) IsSuccess ¶
func (o *PodCreateLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this pod create libpod bad request response has a 2xx status code
func (*PodCreateLibpodBadRequest) String ¶
func (o *PodCreateLibpodBadRequest) String() string
type PodCreateLibpodConflict ¶
type PodCreateLibpodConflict struct {
Payload string
}
PodCreateLibpodConflict describes a response with status code 409, with default header values.
status conflict
func NewPodCreateLibpodConflict ¶
func NewPodCreateLibpodConflict() *PodCreateLibpodConflict
NewPodCreateLibpodConflict creates a PodCreateLibpodConflict with default headers values
func (*PodCreateLibpodConflict) Code ¶
func (o *PodCreateLibpodConflict) Code() int
Code gets the status code for the pod create libpod conflict response
func (*PodCreateLibpodConflict) Error ¶
func (o *PodCreateLibpodConflict) Error() string
func (*PodCreateLibpodConflict) GetPayload ¶
func (o *PodCreateLibpodConflict) GetPayload() string
func (*PodCreateLibpodConflict) IsClientError ¶
func (o *PodCreateLibpodConflict) IsClientError() bool
IsClientError returns true when this pod create libpod conflict response has a 4xx status code
func (*PodCreateLibpodConflict) IsCode ¶
func (o *PodCreateLibpodConflict) IsCode(code int) bool
IsCode returns true when this pod create libpod conflict response a status code equal to that given
func (*PodCreateLibpodConflict) IsRedirect ¶
func (o *PodCreateLibpodConflict) IsRedirect() bool
IsRedirect returns true when this pod create libpod conflict response has a 3xx status code
func (*PodCreateLibpodConflict) IsServerError ¶
func (o *PodCreateLibpodConflict) IsServerError() bool
IsServerError returns true when this pod create libpod conflict response has a 5xx status code
func (*PodCreateLibpodConflict) IsSuccess ¶
func (o *PodCreateLibpodConflict) IsSuccess() bool
IsSuccess returns true when this pod create libpod conflict response has a 2xx status code
func (*PodCreateLibpodConflict) String ¶
func (o *PodCreateLibpodConflict) String() string
type PodCreateLibpodCreated ¶
type PodCreateLibpodCreated struct {
Payload *models.IDResponse
}
PodCreateLibpodCreated describes a response with status code 201, with default header values.
PodCreateLibpodCreated pod create libpod created
func NewPodCreateLibpodCreated ¶
func NewPodCreateLibpodCreated() *PodCreateLibpodCreated
NewPodCreateLibpodCreated creates a PodCreateLibpodCreated with default headers values
func (*PodCreateLibpodCreated) Code ¶
func (o *PodCreateLibpodCreated) Code() int
Code gets the status code for the pod create libpod created response
func (*PodCreateLibpodCreated) Error ¶
func (o *PodCreateLibpodCreated) Error() string
func (*PodCreateLibpodCreated) GetPayload ¶
func (o *PodCreateLibpodCreated) GetPayload() *models.IDResponse
func (*PodCreateLibpodCreated) IsClientError ¶
func (o *PodCreateLibpodCreated) IsClientError() bool
IsClientError returns true when this pod create libpod created response has a 4xx status code
func (*PodCreateLibpodCreated) IsCode ¶
func (o *PodCreateLibpodCreated) IsCode(code int) bool
IsCode returns true when this pod create libpod created response a status code equal to that given
func (*PodCreateLibpodCreated) IsRedirect ¶
func (o *PodCreateLibpodCreated) IsRedirect() bool
IsRedirect returns true when this pod create libpod created response has a 3xx status code
func (*PodCreateLibpodCreated) IsServerError ¶
func (o *PodCreateLibpodCreated) IsServerError() bool
IsServerError returns true when this pod create libpod created response has a 5xx status code
func (*PodCreateLibpodCreated) IsSuccess ¶
func (o *PodCreateLibpodCreated) IsSuccess() bool
IsSuccess returns true when this pod create libpod created response has a 2xx status code
func (*PodCreateLibpodCreated) String ¶
func (o *PodCreateLibpodCreated) String() string
type PodCreateLibpodInternalServerError ¶
type PodCreateLibpodInternalServerError struct {
Payload *models.ErrorModel
}
PodCreateLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPodCreateLibpodInternalServerError ¶
func NewPodCreateLibpodInternalServerError() *PodCreateLibpodInternalServerError
NewPodCreateLibpodInternalServerError creates a PodCreateLibpodInternalServerError with default headers values
func (*PodCreateLibpodInternalServerError) Code ¶
func (o *PodCreateLibpodInternalServerError) Code() int
Code gets the status code for the pod create libpod internal server error response
func (*PodCreateLibpodInternalServerError) Error ¶
func (o *PodCreateLibpodInternalServerError) Error() string
func (*PodCreateLibpodInternalServerError) GetPayload ¶
func (o *PodCreateLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*PodCreateLibpodInternalServerError) IsClientError ¶
func (o *PodCreateLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this pod create libpod internal server error response has a 4xx status code
func (*PodCreateLibpodInternalServerError) IsCode ¶
func (o *PodCreateLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this pod create libpod internal server error response a status code equal to that given
func (*PodCreateLibpodInternalServerError) IsRedirect ¶
func (o *PodCreateLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this pod create libpod internal server error response has a 3xx status code
func (*PodCreateLibpodInternalServerError) IsServerError ¶
func (o *PodCreateLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this pod create libpod internal server error response has a 5xx status code
func (*PodCreateLibpodInternalServerError) IsSuccess ¶
func (o *PodCreateLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this pod create libpod internal server error response has a 2xx status code
func (*PodCreateLibpodInternalServerError) String ¶
func (o *PodCreateLibpodInternalServerError) String() string
type PodCreateLibpodParams ¶
type PodCreateLibpodParams struct {
// Create.
//
// attributes for creating a pod
Create *models.PodSpecGenerator
HTTPClient *http.Client
// contains filtered or unexported fields
}
PodCreateLibpodParams contains all the parameters to send to the API endpoint
for the pod create libpod operation. Typically these are written to a http.Request.
func NewPodCreateLibpodParams ¶
func NewPodCreateLibpodParams() *PodCreateLibpodParams
NewPodCreateLibpodParams creates a new PodCreateLibpodParams 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 NewPodCreateLibpodParamsWithContext
deprecated
func NewPodCreateLibpodParamsWithContext(ctx context.Context) *PodCreateLibpodParams
NewPodCreateLibpodParamsWithContext creates a new PodCreateLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PodCreateLibpodParams.
func NewPodCreateLibpodParamsWithHTTPClient ¶
func NewPodCreateLibpodParamsWithHTTPClient(client *http.Client) *PodCreateLibpodParams
NewPodCreateLibpodParamsWithHTTPClient creates a new PodCreateLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewPodCreateLibpodParamsWithTimeout ¶
func NewPodCreateLibpodParamsWithTimeout(timeout time.Duration) *PodCreateLibpodParams
NewPodCreateLibpodParamsWithTimeout creates a new PodCreateLibpodParams object with the ability to set a timeout on a request.
func (*PodCreateLibpodParams) SetContext
deprecated
func (o *PodCreateLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the pod create libpod params.
Deprecated: use the operation call with context to pass the context instead of PodCreateLibpodParams.
func (*PodCreateLibpodParams) SetCreate ¶
func (o *PodCreateLibpodParams) SetCreate(create *models.PodSpecGenerator)
SetCreate adds the create to the pod create libpod params.
func (*PodCreateLibpodParams) SetDefaults ¶
func (o *PodCreateLibpodParams) SetDefaults()
SetDefaults hydrates default values in the pod create libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodCreateLibpodParams) SetHTTPClient ¶
func (o *PodCreateLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod create libpod params.
func (*PodCreateLibpodParams) SetTimeout ¶
func (o *PodCreateLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pod create libpod params.
func (*PodCreateLibpodParams) WithContext
deprecated
func (o *PodCreateLibpodParams) WithContext(ctx context.Context) *PodCreateLibpodParams
WithContext adds the context to the pod create libpod params.
Deprecated: use the operation call with context to pass the context instead of PodCreateLibpodParams.
func (*PodCreateLibpodParams) WithCreate ¶
func (o *PodCreateLibpodParams) WithCreate(create *models.PodSpecGenerator) *PodCreateLibpodParams
WithCreate adds the create to the pod create libpod params.
func (*PodCreateLibpodParams) WithDefaults ¶
func (o *PodCreateLibpodParams) WithDefaults() *PodCreateLibpodParams
WithDefaults hydrates default values in the pod create libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodCreateLibpodParams) WithHTTPClient ¶
func (o *PodCreateLibpodParams) WithHTTPClient(client *http.Client) *PodCreateLibpodParams
WithHTTPClient adds the HTTPClient to the pod create libpod params.
func (*PodCreateLibpodParams) WithTimeout ¶
func (o *PodCreateLibpodParams) WithTimeout(timeout time.Duration) *PodCreateLibpodParams
WithTimeout adds the timeout to the pod create libpod params.
func (*PodCreateLibpodParams) WriteToRequest ¶
func (o *PodCreateLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PodCreateLibpodReader ¶
type PodCreateLibpodReader struct {
// contains filtered or unexported fields
}
PodCreateLibpodReader is a Reader for the PodCreateLibpod structure.
func (*PodCreateLibpodReader) ReadResponse ¶
func (o *PodCreateLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PodDeleteLibpodBadRequest ¶
type PodDeleteLibpodBadRequest struct {
Payload *models.ErrorModel
}
PodDeleteLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewPodDeleteLibpodBadRequest ¶
func NewPodDeleteLibpodBadRequest() *PodDeleteLibpodBadRequest
NewPodDeleteLibpodBadRequest creates a PodDeleteLibpodBadRequest with default headers values
func (*PodDeleteLibpodBadRequest) Code ¶
func (o *PodDeleteLibpodBadRequest) Code() int
Code gets the status code for the pod delete libpod bad request response
func (*PodDeleteLibpodBadRequest) Error ¶
func (o *PodDeleteLibpodBadRequest) Error() string
func (*PodDeleteLibpodBadRequest) GetPayload ¶
func (o *PodDeleteLibpodBadRequest) GetPayload() *models.ErrorModel
func (*PodDeleteLibpodBadRequest) IsClientError ¶
func (o *PodDeleteLibpodBadRequest) IsClientError() bool
IsClientError returns true when this pod delete libpod bad request response has a 4xx status code
func (*PodDeleteLibpodBadRequest) IsCode ¶
func (o *PodDeleteLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this pod delete libpod bad request response a status code equal to that given
func (*PodDeleteLibpodBadRequest) IsRedirect ¶
func (o *PodDeleteLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this pod delete libpod bad request response has a 3xx status code
func (*PodDeleteLibpodBadRequest) IsServerError ¶
func (o *PodDeleteLibpodBadRequest) IsServerError() bool
IsServerError returns true when this pod delete libpod bad request response has a 5xx status code
func (*PodDeleteLibpodBadRequest) IsSuccess ¶
func (o *PodDeleteLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this pod delete libpod bad request response has a 2xx status code
func (*PodDeleteLibpodBadRequest) String ¶
func (o *PodDeleteLibpodBadRequest) String() string
type PodDeleteLibpodInternalServerError ¶
type PodDeleteLibpodInternalServerError struct {
Payload *models.ErrorModel
}
PodDeleteLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPodDeleteLibpodInternalServerError ¶
func NewPodDeleteLibpodInternalServerError() *PodDeleteLibpodInternalServerError
NewPodDeleteLibpodInternalServerError creates a PodDeleteLibpodInternalServerError with default headers values
func (*PodDeleteLibpodInternalServerError) Code ¶
func (o *PodDeleteLibpodInternalServerError) Code() int
Code gets the status code for the pod delete libpod internal server error response
func (*PodDeleteLibpodInternalServerError) Error ¶
func (o *PodDeleteLibpodInternalServerError) Error() string
func (*PodDeleteLibpodInternalServerError) GetPayload ¶
func (o *PodDeleteLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*PodDeleteLibpodInternalServerError) IsClientError ¶
func (o *PodDeleteLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this pod delete libpod internal server error response has a 4xx status code
func (*PodDeleteLibpodInternalServerError) IsCode ¶
func (o *PodDeleteLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this pod delete libpod internal server error response a status code equal to that given
func (*PodDeleteLibpodInternalServerError) IsRedirect ¶
func (o *PodDeleteLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this pod delete libpod internal server error response has a 3xx status code
func (*PodDeleteLibpodInternalServerError) IsServerError ¶
func (o *PodDeleteLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this pod delete libpod internal server error response has a 5xx status code
func (*PodDeleteLibpodInternalServerError) IsSuccess ¶
func (o *PodDeleteLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this pod delete libpod internal server error response has a 2xx status code
func (*PodDeleteLibpodInternalServerError) String ¶
func (o *PodDeleteLibpodInternalServerError) String() string
type PodDeleteLibpodNotFound ¶
type PodDeleteLibpodNotFound struct {
Payload *models.ErrorModel
}
PodDeleteLibpodNotFound describes a response with status code 404, with default header values.
No such pod
func NewPodDeleteLibpodNotFound ¶
func NewPodDeleteLibpodNotFound() *PodDeleteLibpodNotFound
NewPodDeleteLibpodNotFound creates a PodDeleteLibpodNotFound with default headers values
func (*PodDeleteLibpodNotFound) Code ¶
func (o *PodDeleteLibpodNotFound) Code() int
Code gets the status code for the pod delete libpod not found response
func (*PodDeleteLibpodNotFound) Error ¶
func (o *PodDeleteLibpodNotFound) Error() string
func (*PodDeleteLibpodNotFound) GetPayload ¶
func (o *PodDeleteLibpodNotFound) GetPayload() *models.ErrorModel
func (*PodDeleteLibpodNotFound) IsClientError ¶
func (o *PodDeleteLibpodNotFound) IsClientError() bool
IsClientError returns true when this pod delete libpod not found response has a 4xx status code
func (*PodDeleteLibpodNotFound) IsCode ¶
func (o *PodDeleteLibpodNotFound) IsCode(code int) bool
IsCode returns true when this pod delete libpod not found response a status code equal to that given
func (*PodDeleteLibpodNotFound) IsRedirect ¶
func (o *PodDeleteLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this pod delete libpod not found response has a 3xx status code
func (*PodDeleteLibpodNotFound) IsServerError ¶
func (o *PodDeleteLibpodNotFound) IsServerError() bool
IsServerError returns true when this pod delete libpod not found response has a 5xx status code
func (*PodDeleteLibpodNotFound) IsSuccess ¶
func (o *PodDeleteLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this pod delete libpod not found response has a 2xx status code
func (*PodDeleteLibpodNotFound) String ¶
func (o *PodDeleteLibpodNotFound) String() string
type PodDeleteLibpodOK ¶
type PodDeleteLibpodOK struct {
Payload *models.PodRmReport
}
PodDeleteLibpodOK describes a response with status code 200, with default header values.
Rm pod
func NewPodDeleteLibpodOK ¶
func NewPodDeleteLibpodOK() *PodDeleteLibpodOK
NewPodDeleteLibpodOK creates a PodDeleteLibpodOK with default headers values
func (*PodDeleteLibpodOK) Code ¶
func (o *PodDeleteLibpodOK) Code() int
Code gets the status code for the pod delete libpod o k response
func (*PodDeleteLibpodOK) Error ¶
func (o *PodDeleteLibpodOK) Error() string
func (*PodDeleteLibpodOK) GetPayload ¶
func (o *PodDeleteLibpodOK) GetPayload() *models.PodRmReport
func (*PodDeleteLibpodOK) IsClientError ¶
func (o *PodDeleteLibpodOK) IsClientError() bool
IsClientError returns true when this pod delete libpod o k response has a 4xx status code
func (*PodDeleteLibpodOK) IsCode ¶
func (o *PodDeleteLibpodOK) IsCode(code int) bool
IsCode returns true when this pod delete libpod o k response a status code equal to that given
func (*PodDeleteLibpodOK) IsRedirect ¶
func (o *PodDeleteLibpodOK) IsRedirect() bool
IsRedirect returns true when this pod delete libpod o k response has a 3xx status code
func (*PodDeleteLibpodOK) IsServerError ¶
func (o *PodDeleteLibpodOK) IsServerError() bool
IsServerError returns true when this pod delete libpod o k response has a 5xx status code
func (*PodDeleteLibpodOK) IsSuccess ¶
func (o *PodDeleteLibpodOK) IsSuccess() bool
IsSuccess returns true when this pod delete libpod o k response has a 2xx status code
func (*PodDeleteLibpodOK) String ¶
func (o *PodDeleteLibpodOK) String() string
type PodDeleteLibpodParams ¶
type PodDeleteLibpodParams struct {
// Force.
//
// force removal of a running pod by first stopping all containers, then removing all containers in the pod
Force *bool
// Name.
//
// the name or ID of the pod
Name string
// Timeout.
//
// number of seconds to wait before killing containers in pod
Timeout *int64
HTTPClient *http.Client
// contains filtered or unexported fields
}
PodDeleteLibpodParams contains all the parameters to send to the API endpoint
for the pod delete libpod operation. Typically these are written to a http.Request.
func NewPodDeleteLibpodParams ¶
func NewPodDeleteLibpodParams() *PodDeleteLibpodParams
NewPodDeleteLibpodParams creates a new PodDeleteLibpodParams 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 NewPodDeleteLibpodParamsWithContext
deprecated
func NewPodDeleteLibpodParamsWithContext(ctx context.Context) *PodDeleteLibpodParams
NewPodDeleteLibpodParamsWithContext creates a new PodDeleteLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PodDeleteLibpodParams.
func NewPodDeleteLibpodParamsWithHTTPClient ¶
func NewPodDeleteLibpodParamsWithHTTPClient(client *http.Client) *PodDeleteLibpodParams
NewPodDeleteLibpodParamsWithHTTPClient creates a new PodDeleteLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewPodDeleteLibpodParamsWithTimeout ¶
func NewPodDeleteLibpodParamsWithTimeout(timeout time.Duration) *PodDeleteLibpodParams
NewPodDeleteLibpodParamsWithTimeout creates a new PodDeleteLibpodParams object with the ability to set a timeout on a request.
func (*PodDeleteLibpodParams) SetContext
deprecated
func (o *PodDeleteLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the pod delete libpod params.
Deprecated: use the operation call with context to pass the context instead of PodDeleteLibpodParams.
func (*PodDeleteLibpodParams) SetDefaults ¶
func (o *PodDeleteLibpodParams) SetDefaults()
SetDefaults hydrates default values in the pod delete libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodDeleteLibpodParams) SetForce ¶
func (o *PodDeleteLibpodParams) SetForce(force *bool)
SetForce adds the force to the pod delete libpod params.
func (*PodDeleteLibpodParams) SetHTTPClient ¶
func (o *PodDeleteLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod delete libpod params.
func (*PodDeleteLibpodParams) SetName ¶
func (o *PodDeleteLibpodParams) SetName(name string)
SetName adds the name to the pod delete libpod params.
func (*PodDeleteLibpodParams) SetRequestTimeout ¶
func (o *PodDeleteLibpodParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pod delete libpod params.
func (*PodDeleteLibpodParams) SetTimeout ¶
func (o *PodDeleteLibpodParams) SetTimeout(timeout *int64)
SetTimeout adds the timeout to the pod delete libpod params.
func (*PodDeleteLibpodParams) WithContext
deprecated
func (o *PodDeleteLibpodParams) WithContext(ctx context.Context) *PodDeleteLibpodParams
WithContext adds the context to the pod delete libpod params.
Deprecated: use the operation call with context to pass the context instead of PodDeleteLibpodParams.
func (*PodDeleteLibpodParams) WithDefaults ¶
func (o *PodDeleteLibpodParams) WithDefaults() *PodDeleteLibpodParams
WithDefaults hydrates default values in the pod delete libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodDeleteLibpodParams) WithForce ¶
func (o *PodDeleteLibpodParams) WithForce(force *bool) *PodDeleteLibpodParams
WithForce adds the force to the pod delete libpod params.
func (*PodDeleteLibpodParams) WithHTTPClient ¶
func (o *PodDeleteLibpodParams) WithHTTPClient(client *http.Client) *PodDeleteLibpodParams
WithHTTPClient adds the HTTPClient to the pod delete libpod params.
func (*PodDeleteLibpodParams) WithName ¶
func (o *PodDeleteLibpodParams) WithName(name string) *PodDeleteLibpodParams
WithName adds the name to the pod delete libpod params.
func (*PodDeleteLibpodParams) WithRequestTimeout ¶
func (o *PodDeleteLibpodParams) WithRequestTimeout(timeout time.Duration) *PodDeleteLibpodParams
WithRequestTimeout adds the timeout to the pod delete libpod params.
func (*PodDeleteLibpodParams) WithTimeout ¶
func (o *PodDeleteLibpodParams) WithTimeout(timeout *int64) *PodDeleteLibpodParams
WithTimeout adds the timeout to the pod delete libpod params.
func (*PodDeleteLibpodParams) WriteToRequest ¶
func (o *PodDeleteLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PodDeleteLibpodReader ¶
type PodDeleteLibpodReader struct {
// contains filtered or unexported fields
}
PodDeleteLibpodReader is a Reader for the PodDeleteLibpod structure.
func (*PodDeleteLibpodReader) ReadResponse ¶
func (o *PodDeleteLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PodExistsLibpodInternalServerError ¶
type PodExistsLibpodInternalServerError struct {
Payload *models.ErrorModel
}
PodExistsLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPodExistsLibpodInternalServerError ¶
func NewPodExistsLibpodInternalServerError() *PodExistsLibpodInternalServerError
NewPodExistsLibpodInternalServerError creates a PodExistsLibpodInternalServerError with default headers values
func (*PodExistsLibpodInternalServerError) Code ¶
func (o *PodExistsLibpodInternalServerError) Code() int
Code gets the status code for the pod exists libpod internal server error response
func (*PodExistsLibpodInternalServerError) Error ¶
func (o *PodExistsLibpodInternalServerError) Error() string
func (*PodExistsLibpodInternalServerError) GetPayload ¶
func (o *PodExistsLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*PodExistsLibpodInternalServerError) IsClientError ¶
func (o *PodExistsLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this pod exists libpod internal server error response has a 4xx status code
func (*PodExistsLibpodInternalServerError) IsCode ¶
func (o *PodExistsLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this pod exists libpod internal server error response a status code equal to that given
func (*PodExistsLibpodInternalServerError) IsRedirect ¶
func (o *PodExistsLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this pod exists libpod internal server error response has a 3xx status code
func (*PodExistsLibpodInternalServerError) IsServerError ¶
func (o *PodExistsLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this pod exists libpod internal server error response has a 5xx status code
func (*PodExistsLibpodInternalServerError) IsSuccess ¶
func (o *PodExistsLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this pod exists libpod internal server error response has a 2xx status code
func (*PodExistsLibpodInternalServerError) String ¶
func (o *PodExistsLibpodInternalServerError) String() string
type PodExistsLibpodNoContent ¶
type PodExistsLibpodNoContent struct {
}
PodExistsLibpodNoContent describes a response with status code 204, with default header values.
pod exists
func NewPodExistsLibpodNoContent ¶
func NewPodExistsLibpodNoContent() *PodExistsLibpodNoContent
NewPodExistsLibpodNoContent creates a PodExistsLibpodNoContent with default headers values
func (*PodExistsLibpodNoContent) Code ¶
func (o *PodExistsLibpodNoContent) Code() int
Code gets the status code for the pod exists libpod no content response
func (*PodExistsLibpodNoContent) Error ¶
func (o *PodExistsLibpodNoContent) Error() string
func (*PodExistsLibpodNoContent) IsClientError ¶
func (o *PodExistsLibpodNoContent) IsClientError() bool
IsClientError returns true when this pod exists libpod no content response has a 4xx status code
func (*PodExistsLibpodNoContent) IsCode ¶
func (o *PodExistsLibpodNoContent) IsCode(code int) bool
IsCode returns true when this pod exists libpod no content response a status code equal to that given
func (*PodExistsLibpodNoContent) IsRedirect ¶
func (o *PodExistsLibpodNoContent) IsRedirect() bool
IsRedirect returns true when this pod exists libpod no content response has a 3xx status code
func (*PodExistsLibpodNoContent) IsServerError ¶
func (o *PodExistsLibpodNoContent) IsServerError() bool
IsServerError returns true when this pod exists libpod no content response has a 5xx status code
func (*PodExistsLibpodNoContent) IsSuccess ¶
func (o *PodExistsLibpodNoContent) IsSuccess() bool
IsSuccess returns true when this pod exists libpod no content response has a 2xx status code
func (*PodExistsLibpodNoContent) String ¶
func (o *PodExistsLibpodNoContent) String() string
type PodExistsLibpodNotFound ¶
type PodExistsLibpodNotFound struct {
Payload *models.ErrorModel
}
PodExistsLibpodNotFound describes a response with status code 404, with default header values.
No such pod
func NewPodExistsLibpodNotFound ¶
func NewPodExistsLibpodNotFound() *PodExistsLibpodNotFound
NewPodExistsLibpodNotFound creates a PodExistsLibpodNotFound with default headers values
func (*PodExistsLibpodNotFound) Code ¶
func (o *PodExistsLibpodNotFound) Code() int
Code gets the status code for the pod exists libpod not found response
func (*PodExistsLibpodNotFound) Error ¶
func (o *PodExistsLibpodNotFound) Error() string
func (*PodExistsLibpodNotFound) GetPayload ¶
func (o *PodExistsLibpodNotFound) GetPayload() *models.ErrorModel
func (*PodExistsLibpodNotFound) IsClientError ¶
func (o *PodExistsLibpodNotFound) IsClientError() bool
IsClientError returns true when this pod exists libpod not found response has a 4xx status code
func (*PodExistsLibpodNotFound) IsCode ¶
func (o *PodExistsLibpodNotFound) IsCode(code int) bool
IsCode returns true when this pod exists libpod not found response a status code equal to that given
func (*PodExistsLibpodNotFound) IsRedirect ¶
func (o *PodExistsLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this pod exists libpod not found response has a 3xx status code
func (*PodExistsLibpodNotFound) IsServerError ¶
func (o *PodExistsLibpodNotFound) IsServerError() bool
IsServerError returns true when this pod exists libpod not found response has a 5xx status code
func (*PodExistsLibpodNotFound) IsSuccess ¶
func (o *PodExistsLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this pod exists libpod not found response has a 2xx status code
func (*PodExistsLibpodNotFound) String ¶
func (o *PodExistsLibpodNotFound) String() string
type PodExistsLibpodParams ¶
type PodExistsLibpodParams struct {
// Name.
//
// the name or ID of the pod
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PodExistsLibpodParams contains all the parameters to send to the API endpoint
for the pod exists libpod operation. Typically these are written to a http.Request.
func NewPodExistsLibpodParams ¶
func NewPodExistsLibpodParams() *PodExistsLibpodParams
NewPodExistsLibpodParams creates a new PodExistsLibpodParams 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 NewPodExistsLibpodParamsWithContext
deprecated
func NewPodExistsLibpodParamsWithContext(ctx context.Context) *PodExistsLibpodParams
NewPodExistsLibpodParamsWithContext creates a new PodExistsLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PodExistsLibpodParams.
func NewPodExistsLibpodParamsWithHTTPClient ¶
func NewPodExistsLibpodParamsWithHTTPClient(client *http.Client) *PodExistsLibpodParams
NewPodExistsLibpodParamsWithHTTPClient creates a new PodExistsLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewPodExistsLibpodParamsWithTimeout ¶
func NewPodExistsLibpodParamsWithTimeout(timeout time.Duration) *PodExistsLibpodParams
NewPodExistsLibpodParamsWithTimeout creates a new PodExistsLibpodParams object with the ability to set a timeout on a request.
func (*PodExistsLibpodParams) SetContext
deprecated
func (o *PodExistsLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the pod exists libpod params.
Deprecated: use the operation call with context to pass the context instead of PodExistsLibpodParams.
func (*PodExistsLibpodParams) SetDefaults ¶
func (o *PodExistsLibpodParams) SetDefaults()
SetDefaults hydrates default values in the pod exists libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodExistsLibpodParams) SetHTTPClient ¶
func (o *PodExistsLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod exists libpod params.
func (*PodExistsLibpodParams) SetName ¶
func (o *PodExistsLibpodParams) SetName(name string)
SetName adds the name to the pod exists libpod params.
func (*PodExistsLibpodParams) SetTimeout ¶
func (o *PodExistsLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pod exists libpod params.
func (*PodExistsLibpodParams) WithContext
deprecated
func (o *PodExistsLibpodParams) WithContext(ctx context.Context) *PodExistsLibpodParams
WithContext adds the context to the pod exists libpod params.
Deprecated: use the operation call with context to pass the context instead of PodExistsLibpodParams.
func (*PodExistsLibpodParams) WithDefaults ¶
func (o *PodExistsLibpodParams) WithDefaults() *PodExistsLibpodParams
WithDefaults hydrates default values in the pod exists libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodExistsLibpodParams) WithHTTPClient ¶
func (o *PodExistsLibpodParams) WithHTTPClient(client *http.Client) *PodExistsLibpodParams
WithHTTPClient adds the HTTPClient to the pod exists libpod params.
func (*PodExistsLibpodParams) WithName ¶
func (o *PodExistsLibpodParams) WithName(name string) *PodExistsLibpodParams
WithName adds the name to the pod exists libpod params.
func (*PodExistsLibpodParams) WithTimeout ¶
func (o *PodExistsLibpodParams) WithTimeout(timeout time.Duration) *PodExistsLibpodParams
WithTimeout adds the timeout to the pod exists libpod params.
func (*PodExistsLibpodParams) WriteToRequest ¶
func (o *PodExistsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PodExistsLibpodReader ¶
type PodExistsLibpodReader struct {
// contains filtered or unexported fields
}
PodExistsLibpodReader is a Reader for the PodExistsLibpod structure.
func (*PodExistsLibpodReader) ReadResponse ¶
func (o *PodExistsLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PodInspectLibpodInternalServerError ¶
type PodInspectLibpodInternalServerError struct {
Payload *models.ErrorModel
}
PodInspectLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPodInspectLibpodInternalServerError ¶
func NewPodInspectLibpodInternalServerError() *PodInspectLibpodInternalServerError
NewPodInspectLibpodInternalServerError creates a PodInspectLibpodInternalServerError with default headers values
func (*PodInspectLibpodInternalServerError) Code ¶
func (o *PodInspectLibpodInternalServerError) Code() int
Code gets the status code for the pod inspect libpod internal server error response
func (*PodInspectLibpodInternalServerError) Error ¶
func (o *PodInspectLibpodInternalServerError) Error() string
func (*PodInspectLibpodInternalServerError) GetPayload ¶
func (o *PodInspectLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*PodInspectLibpodInternalServerError) IsClientError ¶
func (o *PodInspectLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this pod inspect libpod internal server error response has a 4xx status code
func (*PodInspectLibpodInternalServerError) IsCode ¶
func (o *PodInspectLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this pod inspect libpod internal server error response a status code equal to that given
func (*PodInspectLibpodInternalServerError) IsRedirect ¶
func (o *PodInspectLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this pod inspect libpod internal server error response has a 3xx status code
func (*PodInspectLibpodInternalServerError) IsServerError ¶
func (o *PodInspectLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this pod inspect libpod internal server error response has a 5xx status code
func (*PodInspectLibpodInternalServerError) IsSuccess ¶
func (o *PodInspectLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this pod inspect libpod internal server error response has a 2xx status code
func (*PodInspectLibpodInternalServerError) String ¶
func (o *PodInspectLibpodInternalServerError) String() string
type PodInspectLibpodNotFound ¶
type PodInspectLibpodNotFound struct {
Payload *models.ErrorModel
}
PodInspectLibpodNotFound describes a response with status code 404, with default header values.
No such pod
func NewPodInspectLibpodNotFound ¶
func NewPodInspectLibpodNotFound() *PodInspectLibpodNotFound
NewPodInspectLibpodNotFound creates a PodInspectLibpodNotFound with default headers values
func (*PodInspectLibpodNotFound) Code ¶
func (o *PodInspectLibpodNotFound) Code() int
Code gets the status code for the pod inspect libpod not found response
func (*PodInspectLibpodNotFound) Error ¶
func (o *PodInspectLibpodNotFound) Error() string
func (*PodInspectLibpodNotFound) GetPayload ¶
func (o *PodInspectLibpodNotFound) GetPayload() *models.ErrorModel
func (*PodInspectLibpodNotFound) IsClientError ¶
func (o *PodInspectLibpodNotFound) IsClientError() bool
IsClientError returns true when this pod inspect libpod not found response has a 4xx status code
func (*PodInspectLibpodNotFound) IsCode ¶
func (o *PodInspectLibpodNotFound) IsCode(code int) bool
IsCode returns true when this pod inspect libpod not found response a status code equal to that given
func (*PodInspectLibpodNotFound) IsRedirect ¶
func (o *PodInspectLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this pod inspect libpod not found response has a 3xx status code
func (*PodInspectLibpodNotFound) IsServerError ¶
func (o *PodInspectLibpodNotFound) IsServerError() bool
IsServerError returns true when this pod inspect libpod not found response has a 5xx status code
func (*PodInspectLibpodNotFound) IsSuccess ¶
func (o *PodInspectLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this pod inspect libpod not found response has a 2xx status code
func (*PodInspectLibpodNotFound) String ¶
func (o *PodInspectLibpodNotFound) String() string
type PodInspectLibpodOK ¶
type PodInspectLibpodOK struct {
Payload *models.InspectPodData
}
PodInspectLibpodOK describes a response with status code 200, with default header values.
Inspect pod
func NewPodInspectLibpodOK ¶
func NewPodInspectLibpodOK() *PodInspectLibpodOK
NewPodInspectLibpodOK creates a PodInspectLibpodOK with default headers values
func (*PodInspectLibpodOK) Code ¶
func (o *PodInspectLibpodOK) Code() int
Code gets the status code for the pod inspect libpod o k response
func (*PodInspectLibpodOK) Error ¶
func (o *PodInspectLibpodOK) Error() string
func (*PodInspectLibpodOK) GetPayload ¶
func (o *PodInspectLibpodOK) GetPayload() *models.InspectPodData
func (*PodInspectLibpodOK) IsClientError ¶
func (o *PodInspectLibpodOK) IsClientError() bool
IsClientError returns true when this pod inspect libpod o k response has a 4xx status code
func (*PodInspectLibpodOK) IsCode ¶
func (o *PodInspectLibpodOK) IsCode(code int) bool
IsCode returns true when this pod inspect libpod o k response a status code equal to that given
func (*PodInspectLibpodOK) IsRedirect ¶
func (o *PodInspectLibpodOK) IsRedirect() bool
IsRedirect returns true when this pod inspect libpod o k response has a 3xx status code
func (*PodInspectLibpodOK) IsServerError ¶
func (o *PodInspectLibpodOK) IsServerError() bool
IsServerError returns true when this pod inspect libpod o k response has a 5xx status code
func (*PodInspectLibpodOK) IsSuccess ¶
func (o *PodInspectLibpodOK) IsSuccess() bool
IsSuccess returns true when this pod inspect libpod o k response has a 2xx status code
func (*PodInspectLibpodOK) String ¶
func (o *PodInspectLibpodOK) String() string
type PodInspectLibpodParams ¶
type PodInspectLibpodParams struct {
// Name.
//
// the name or ID of the pod
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PodInspectLibpodParams contains all the parameters to send to the API endpoint
for the pod inspect libpod operation. Typically these are written to a http.Request.
func NewPodInspectLibpodParams ¶
func NewPodInspectLibpodParams() *PodInspectLibpodParams
NewPodInspectLibpodParams creates a new PodInspectLibpodParams 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 NewPodInspectLibpodParamsWithContext
deprecated
func NewPodInspectLibpodParamsWithContext(ctx context.Context) *PodInspectLibpodParams
NewPodInspectLibpodParamsWithContext creates a new PodInspectLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PodInspectLibpodParams.
func NewPodInspectLibpodParamsWithHTTPClient ¶
func NewPodInspectLibpodParamsWithHTTPClient(client *http.Client) *PodInspectLibpodParams
NewPodInspectLibpodParamsWithHTTPClient creates a new PodInspectLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewPodInspectLibpodParamsWithTimeout ¶
func NewPodInspectLibpodParamsWithTimeout(timeout time.Duration) *PodInspectLibpodParams
NewPodInspectLibpodParamsWithTimeout creates a new PodInspectLibpodParams object with the ability to set a timeout on a request.
func (*PodInspectLibpodParams) SetContext
deprecated
func (o *PodInspectLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the pod inspect libpod params.
Deprecated: use the operation call with context to pass the context instead of PodInspectLibpodParams.
func (*PodInspectLibpodParams) SetDefaults ¶
func (o *PodInspectLibpodParams) SetDefaults()
SetDefaults hydrates default values in the pod inspect libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodInspectLibpodParams) SetHTTPClient ¶
func (o *PodInspectLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod inspect libpod params.
func (*PodInspectLibpodParams) SetName ¶
func (o *PodInspectLibpodParams) SetName(name string)
SetName adds the name to the pod inspect libpod params.
func (*PodInspectLibpodParams) SetTimeout ¶
func (o *PodInspectLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pod inspect libpod params.
func (*PodInspectLibpodParams) WithContext
deprecated
func (o *PodInspectLibpodParams) WithContext(ctx context.Context) *PodInspectLibpodParams
WithContext adds the context to the pod inspect libpod params.
Deprecated: use the operation call with context to pass the context instead of PodInspectLibpodParams.
func (*PodInspectLibpodParams) WithDefaults ¶
func (o *PodInspectLibpodParams) WithDefaults() *PodInspectLibpodParams
WithDefaults hydrates default values in the pod inspect libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodInspectLibpodParams) WithHTTPClient ¶
func (o *PodInspectLibpodParams) WithHTTPClient(client *http.Client) *PodInspectLibpodParams
WithHTTPClient adds the HTTPClient to the pod inspect libpod params.
func (*PodInspectLibpodParams) WithName ¶
func (o *PodInspectLibpodParams) WithName(name string) *PodInspectLibpodParams
WithName adds the name to the pod inspect libpod params.
func (*PodInspectLibpodParams) WithTimeout ¶
func (o *PodInspectLibpodParams) WithTimeout(timeout time.Duration) *PodInspectLibpodParams
WithTimeout adds the timeout to the pod inspect libpod params.
func (*PodInspectLibpodParams) WriteToRequest ¶
func (o *PodInspectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PodInspectLibpodReader ¶
type PodInspectLibpodReader struct {
// contains filtered or unexported fields
}
PodInspectLibpodReader is a Reader for the PodInspectLibpod structure.
func (*PodInspectLibpodReader) ReadResponse ¶
func (o *PodInspectLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PodKillLibpodBadRequest ¶
type PodKillLibpodBadRequest struct {
Payload *models.ErrorModel
}
PodKillLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewPodKillLibpodBadRequest ¶
func NewPodKillLibpodBadRequest() *PodKillLibpodBadRequest
NewPodKillLibpodBadRequest creates a PodKillLibpodBadRequest with default headers values
func (*PodKillLibpodBadRequest) Code ¶
func (o *PodKillLibpodBadRequest) Code() int
Code gets the status code for the pod kill libpod bad request response
func (*PodKillLibpodBadRequest) Error ¶
func (o *PodKillLibpodBadRequest) Error() string
func (*PodKillLibpodBadRequest) GetPayload ¶
func (o *PodKillLibpodBadRequest) GetPayload() *models.ErrorModel
func (*PodKillLibpodBadRequest) IsClientError ¶
func (o *PodKillLibpodBadRequest) IsClientError() bool
IsClientError returns true when this pod kill libpod bad request response has a 4xx status code
func (*PodKillLibpodBadRequest) IsCode ¶
func (o *PodKillLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this pod kill libpod bad request response a status code equal to that given
func (*PodKillLibpodBadRequest) IsRedirect ¶
func (o *PodKillLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this pod kill libpod bad request response has a 3xx status code
func (*PodKillLibpodBadRequest) IsServerError ¶
func (o *PodKillLibpodBadRequest) IsServerError() bool
IsServerError returns true when this pod kill libpod bad request response has a 5xx status code
func (*PodKillLibpodBadRequest) IsSuccess ¶
func (o *PodKillLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this pod kill libpod bad request response has a 2xx status code
func (*PodKillLibpodBadRequest) String ¶
func (o *PodKillLibpodBadRequest) String() string
type PodKillLibpodConflict ¶
type PodKillLibpodConflict struct {
Payload *models.PodKillReport
}
PodKillLibpodConflict describes a response with status code 409, with default header values.
Kill Pod
func NewPodKillLibpodConflict ¶
func NewPodKillLibpodConflict() *PodKillLibpodConflict
NewPodKillLibpodConflict creates a PodKillLibpodConflict with default headers values
func (*PodKillLibpodConflict) Code ¶
func (o *PodKillLibpodConflict) Code() int
Code gets the status code for the pod kill libpod conflict response
func (*PodKillLibpodConflict) Error ¶
func (o *PodKillLibpodConflict) Error() string
func (*PodKillLibpodConflict) GetPayload ¶
func (o *PodKillLibpodConflict) GetPayload() *models.PodKillReport
func (*PodKillLibpodConflict) IsClientError ¶
func (o *PodKillLibpodConflict) IsClientError() bool
IsClientError returns true when this pod kill libpod conflict response has a 4xx status code
func (*PodKillLibpodConflict) IsCode ¶
func (o *PodKillLibpodConflict) IsCode(code int) bool
IsCode returns true when this pod kill libpod conflict response a status code equal to that given
func (*PodKillLibpodConflict) IsRedirect ¶
func (o *PodKillLibpodConflict) IsRedirect() bool
IsRedirect returns true when this pod kill libpod conflict response has a 3xx status code
func (*PodKillLibpodConflict) IsServerError ¶
func (o *PodKillLibpodConflict) IsServerError() bool
IsServerError returns true when this pod kill libpod conflict response has a 5xx status code
func (*PodKillLibpodConflict) IsSuccess ¶
func (o *PodKillLibpodConflict) IsSuccess() bool
IsSuccess returns true when this pod kill libpod conflict response has a 2xx status code
func (*PodKillLibpodConflict) String ¶
func (o *PodKillLibpodConflict) String() string
type PodKillLibpodInternalServerError ¶
type PodKillLibpodInternalServerError struct {
Payload *models.ErrorModel
}
PodKillLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPodKillLibpodInternalServerError ¶
func NewPodKillLibpodInternalServerError() *PodKillLibpodInternalServerError
NewPodKillLibpodInternalServerError creates a PodKillLibpodInternalServerError with default headers values
func (*PodKillLibpodInternalServerError) Code ¶
func (o *PodKillLibpodInternalServerError) Code() int
Code gets the status code for the pod kill libpod internal server error response
func (*PodKillLibpodInternalServerError) Error ¶
func (o *PodKillLibpodInternalServerError) Error() string
func (*PodKillLibpodInternalServerError) GetPayload ¶
func (o *PodKillLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*PodKillLibpodInternalServerError) IsClientError ¶
func (o *PodKillLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this pod kill libpod internal server error response has a 4xx status code
func (*PodKillLibpodInternalServerError) IsCode ¶
func (o *PodKillLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this pod kill libpod internal server error response a status code equal to that given
func (*PodKillLibpodInternalServerError) IsRedirect ¶
func (o *PodKillLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this pod kill libpod internal server error response has a 3xx status code
func (*PodKillLibpodInternalServerError) IsServerError ¶
func (o *PodKillLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this pod kill libpod internal server error response has a 5xx status code
func (*PodKillLibpodInternalServerError) IsSuccess ¶
func (o *PodKillLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this pod kill libpod internal server error response has a 2xx status code
func (*PodKillLibpodInternalServerError) String ¶
func (o *PodKillLibpodInternalServerError) String() string
type PodKillLibpodNotFound ¶
type PodKillLibpodNotFound struct {
Payload *models.ErrorModel
}
PodKillLibpodNotFound describes a response with status code 404, with default header values.
No such pod
func NewPodKillLibpodNotFound ¶
func NewPodKillLibpodNotFound() *PodKillLibpodNotFound
NewPodKillLibpodNotFound creates a PodKillLibpodNotFound with default headers values
func (*PodKillLibpodNotFound) Code ¶
func (o *PodKillLibpodNotFound) Code() int
Code gets the status code for the pod kill libpod not found response
func (*PodKillLibpodNotFound) Error ¶
func (o *PodKillLibpodNotFound) Error() string
func (*PodKillLibpodNotFound) GetPayload ¶
func (o *PodKillLibpodNotFound) GetPayload() *models.ErrorModel
func (*PodKillLibpodNotFound) IsClientError ¶
func (o *PodKillLibpodNotFound) IsClientError() bool
IsClientError returns true when this pod kill libpod not found response has a 4xx status code
func (*PodKillLibpodNotFound) IsCode ¶
func (o *PodKillLibpodNotFound) IsCode(code int) bool
IsCode returns true when this pod kill libpod not found response a status code equal to that given
func (*PodKillLibpodNotFound) IsRedirect ¶
func (o *PodKillLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this pod kill libpod not found response has a 3xx status code
func (*PodKillLibpodNotFound) IsServerError ¶
func (o *PodKillLibpodNotFound) IsServerError() bool
IsServerError returns true when this pod kill libpod not found response has a 5xx status code
func (*PodKillLibpodNotFound) IsSuccess ¶
func (o *PodKillLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this pod kill libpod not found response has a 2xx status code
func (*PodKillLibpodNotFound) String ¶
func (o *PodKillLibpodNotFound) String() string
type PodKillLibpodOK ¶
type PodKillLibpodOK struct {
Payload *models.PodKillReport
}
PodKillLibpodOK describes a response with status code 200, with default header values.
Kill Pod
func NewPodKillLibpodOK ¶
func NewPodKillLibpodOK() *PodKillLibpodOK
NewPodKillLibpodOK creates a PodKillLibpodOK with default headers values
func (*PodKillLibpodOK) Code ¶
func (o *PodKillLibpodOK) Code() int
Code gets the status code for the pod kill libpod o k response
func (*PodKillLibpodOK) Error ¶
func (o *PodKillLibpodOK) Error() string
func (*PodKillLibpodOK) GetPayload ¶
func (o *PodKillLibpodOK) GetPayload() *models.PodKillReport
func (*PodKillLibpodOK) IsClientError ¶
func (o *PodKillLibpodOK) IsClientError() bool
IsClientError returns true when this pod kill libpod o k response has a 4xx status code
func (*PodKillLibpodOK) IsCode ¶
func (o *PodKillLibpodOK) IsCode(code int) bool
IsCode returns true when this pod kill libpod o k response a status code equal to that given
func (*PodKillLibpodOK) IsRedirect ¶
func (o *PodKillLibpodOK) IsRedirect() bool
IsRedirect returns true when this pod kill libpod o k response has a 3xx status code
func (*PodKillLibpodOK) IsServerError ¶
func (o *PodKillLibpodOK) IsServerError() bool
IsServerError returns true when this pod kill libpod o k response has a 5xx status code
func (*PodKillLibpodOK) IsSuccess ¶
func (o *PodKillLibpodOK) IsSuccess() bool
IsSuccess returns true when this pod kill libpod o k response has a 2xx status code
func (*PodKillLibpodOK) String ¶
func (o *PodKillLibpodOK) String() string
type PodKillLibpodParams ¶
type PodKillLibpodParams struct {
// Name.
//
// the name or ID of the pod
Name string
// Signal.
//
// signal to be sent to pod
//
// Default: "SIGKILL"
Signal *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PodKillLibpodParams contains all the parameters to send to the API endpoint
for the pod kill libpod operation. Typically these are written to a http.Request.
func NewPodKillLibpodParams ¶
func NewPodKillLibpodParams() *PodKillLibpodParams
NewPodKillLibpodParams creates a new PodKillLibpodParams 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 NewPodKillLibpodParamsWithContext
deprecated
func NewPodKillLibpodParamsWithContext(ctx context.Context) *PodKillLibpodParams
NewPodKillLibpodParamsWithContext creates a new PodKillLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PodKillLibpodParams.
func NewPodKillLibpodParamsWithHTTPClient ¶
func NewPodKillLibpodParamsWithHTTPClient(client *http.Client) *PodKillLibpodParams
NewPodKillLibpodParamsWithHTTPClient creates a new PodKillLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewPodKillLibpodParamsWithTimeout ¶
func NewPodKillLibpodParamsWithTimeout(timeout time.Duration) *PodKillLibpodParams
NewPodKillLibpodParamsWithTimeout creates a new PodKillLibpodParams object with the ability to set a timeout on a request.
func (*PodKillLibpodParams) SetContext
deprecated
func (o *PodKillLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the pod kill libpod params.
Deprecated: use the operation call with context to pass the context instead of PodKillLibpodParams.
func (*PodKillLibpodParams) SetDefaults ¶
func (o *PodKillLibpodParams) SetDefaults()
SetDefaults hydrates default values in the pod kill libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodKillLibpodParams) SetHTTPClient ¶
func (o *PodKillLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod kill libpod params.
func (*PodKillLibpodParams) SetName ¶
func (o *PodKillLibpodParams) SetName(name string)
SetName adds the name to the pod kill libpod params.
func (*PodKillLibpodParams) SetSignal ¶
func (o *PodKillLibpodParams) SetSignal(signal *string)
SetSignal adds the signal to the pod kill libpod params.
func (*PodKillLibpodParams) SetTimeout ¶
func (o *PodKillLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pod kill libpod params.
func (*PodKillLibpodParams) WithContext
deprecated
func (o *PodKillLibpodParams) WithContext(ctx context.Context) *PodKillLibpodParams
WithContext adds the context to the pod kill libpod params.
Deprecated: use the operation call with context to pass the context instead of PodKillLibpodParams.
func (*PodKillLibpodParams) WithDefaults ¶
func (o *PodKillLibpodParams) WithDefaults() *PodKillLibpodParams
WithDefaults hydrates default values in the pod kill libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodKillLibpodParams) WithHTTPClient ¶
func (o *PodKillLibpodParams) WithHTTPClient(client *http.Client) *PodKillLibpodParams
WithHTTPClient adds the HTTPClient to the pod kill libpod params.
func (*PodKillLibpodParams) WithName ¶
func (o *PodKillLibpodParams) WithName(name string) *PodKillLibpodParams
WithName adds the name to the pod kill libpod params.
func (*PodKillLibpodParams) WithSignal ¶
func (o *PodKillLibpodParams) WithSignal(signal *string) *PodKillLibpodParams
WithSignal adds the signal to the pod kill libpod params.
func (*PodKillLibpodParams) WithTimeout ¶
func (o *PodKillLibpodParams) WithTimeout(timeout time.Duration) *PodKillLibpodParams
WithTimeout adds the timeout to the pod kill libpod params.
func (*PodKillLibpodParams) WriteToRequest ¶
func (o *PodKillLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PodKillLibpodReader ¶
type PodKillLibpodReader struct {
// contains filtered or unexported fields
}
PodKillLibpodReader is a Reader for the PodKillLibpod structure.
func (*PodKillLibpodReader) ReadResponse ¶
func (o *PodKillLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PodListLibpodBadRequest ¶
type PodListLibpodBadRequest struct {
Payload *models.ErrorModel
}
PodListLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewPodListLibpodBadRequest ¶
func NewPodListLibpodBadRequest() *PodListLibpodBadRequest
NewPodListLibpodBadRequest creates a PodListLibpodBadRequest with default headers values
func (*PodListLibpodBadRequest) Code ¶
func (o *PodListLibpodBadRequest) Code() int
Code gets the status code for the pod list libpod bad request response
func (*PodListLibpodBadRequest) Error ¶
func (o *PodListLibpodBadRequest) Error() string
func (*PodListLibpodBadRequest) GetPayload ¶
func (o *PodListLibpodBadRequest) GetPayload() *models.ErrorModel
func (*PodListLibpodBadRequest) IsClientError ¶
func (o *PodListLibpodBadRequest) IsClientError() bool
IsClientError returns true when this pod list libpod bad request response has a 4xx status code
func (*PodListLibpodBadRequest) IsCode ¶
func (o *PodListLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this pod list libpod bad request response a status code equal to that given
func (*PodListLibpodBadRequest) IsRedirect ¶
func (o *PodListLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this pod list libpod bad request response has a 3xx status code
func (*PodListLibpodBadRequest) IsServerError ¶
func (o *PodListLibpodBadRequest) IsServerError() bool
IsServerError returns true when this pod list libpod bad request response has a 5xx status code
func (*PodListLibpodBadRequest) IsSuccess ¶
func (o *PodListLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this pod list libpod bad request response has a 2xx status code
func (*PodListLibpodBadRequest) String ¶
func (o *PodListLibpodBadRequest) String() string
type PodListLibpodInternalServerError ¶
type PodListLibpodInternalServerError struct {
Payload *models.ErrorModel
}
PodListLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPodListLibpodInternalServerError ¶
func NewPodListLibpodInternalServerError() *PodListLibpodInternalServerError
NewPodListLibpodInternalServerError creates a PodListLibpodInternalServerError with default headers values
func (*PodListLibpodInternalServerError) Code ¶
func (o *PodListLibpodInternalServerError) Code() int
Code gets the status code for the pod list libpod internal server error response
func (*PodListLibpodInternalServerError) Error ¶
func (o *PodListLibpodInternalServerError) Error() string
func (*PodListLibpodInternalServerError) GetPayload ¶
func (o *PodListLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*PodListLibpodInternalServerError) IsClientError ¶
func (o *PodListLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this pod list libpod internal server error response has a 4xx status code
func (*PodListLibpodInternalServerError) IsCode ¶
func (o *PodListLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this pod list libpod internal server error response a status code equal to that given
func (*PodListLibpodInternalServerError) IsRedirect ¶
func (o *PodListLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this pod list libpod internal server error response has a 3xx status code
func (*PodListLibpodInternalServerError) IsServerError ¶
func (o *PodListLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this pod list libpod internal server error response has a 5xx status code
func (*PodListLibpodInternalServerError) IsSuccess ¶
func (o *PodListLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this pod list libpod internal server error response has a 2xx status code
func (*PodListLibpodInternalServerError) String ¶
func (o *PodListLibpodInternalServerError) String() string
type PodListLibpodOK ¶
type PodListLibpodOK struct {
Payload []*models.ListPodsReport
}
PodListLibpodOK describes a response with status code 200, with default header values.
List pods
func NewPodListLibpodOK ¶
func NewPodListLibpodOK() *PodListLibpodOK
NewPodListLibpodOK creates a PodListLibpodOK with default headers values
func (*PodListLibpodOK) Code ¶
func (o *PodListLibpodOK) Code() int
Code gets the status code for the pod list libpod o k response
func (*PodListLibpodOK) Error ¶
func (o *PodListLibpodOK) Error() string
func (*PodListLibpodOK) GetPayload ¶
func (o *PodListLibpodOK) GetPayload() []*models.ListPodsReport
func (*PodListLibpodOK) IsClientError ¶
func (o *PodListLibpodOK) IsClientError() bool
IsClientError returns true when this pod list libpod o k response has a 4xx status code
func (*PodListLibpodOK) IsCode ¶
func (o *PodListLibpodOK) IsCode(code int) bool
IsCode returns true when this pod list libpod o k response a status code equal to that given
func (*PodListLibpodOK) IsRedirect ¶
func (o *PodListLibpodOK) IsRedirect() bool
IsRedirect returns true when this pod list libpod o k response has a 3xx status code
func (*PodListLibpodOK) IsServerError ¶
func (o *PodListLibpodOK) IsServerError() bool
IsServerError returns true when this pod list libpod o k response has a 5xx status code
func (*PodListLibpodOK) IsSuccess ¶
func (o *PodListLibpodOK) IsSuccess() bool
IsSuccess returns true when this pod list libpod o k response has a 2xx status code
func (*PodListLibpodOK) String ¶
func (o *PodListLibpodOK) String() string
type PodListLibpodParams ¶
type PodListLibpodParams struct {
// Filters.
//
// JSON encoded value of the filters (a map[string][]string) to process on the pods list. Available filters:
// - `id=<pod-id>` Matches all of pod id.
// - `label=<key>` or `label=<key>:<value>` Matches pods based on the presence of a label alone or a label and a value.
// - `name=<pod-name>` Matches all of pod name.
// - `until=<timestamp>` List pods created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time.
// - `status=<pod-status>` Pod's status: `stopped`, `running`, `paused`, `exited`, `dead`, `created`, `degraded`.
// - `network=<pod-network>` Name or full ID of network.
// - `ctr-names=<pod-ctr-names>` Container name within the pod.
// - `ctr-ids=<pod-ctr-ids>` Container ID within the pod.
// - `ctr-status=<pod-ctr-status>` Container status within the pod.
// - `ctr-number=<pod-ctr-number>` Number of containers in the pod.
//
Filters *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PodListLibpodParams contains all the parameters to send to the API endpoint
for the pod list libpod operation. Typically these are written to a http.Request.
func NewPodListLibpodParams ¶
func NewPodListLibpodParams() *PodListLibpodParams
NewPodListLibpodParams creates a new PodListLibpodParams 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 NewPodListLibpodParamsWithContext
deprecated
func NewPodListLibpodParamsWithContext(ctx context.Context) *PodListLibpodParams
NewPodListLibpodParamsWithContext creates a new PodListLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PodListLibpodParams.
func NewPodListLibpodParamsWithHTTPClient ¶
func NewPodListLibpodParamsWithHTTPClient(client *http.Client) *PodListLibpodParams
NewPodListLibpodParamsWithHTTPClient creates a new PodListLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewPodListLibpodParamsWithTimeout ¶
func NewPodListLibpodParamsWithTimeout(timeout time.Duration) *PodListLibpodParams
NewPodListLibpodParamsWithTimeout creates a new PodListLibpodParams object with the ability to set a timeout on a request.
func (*PodListLibpodParams) SetContext
deprecated
func (o *PodListLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the pod list libpod params.
Deprecated: use the operation call with context to pass the context instead of PodListLibpodParams.
func (*PodListLibpodParams) SetDefaults ¶
func (o *PodListLibpodParams) SetDefaults()
SetDefaults hydrates default values in the pod list libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodListLibpodParams) SetFilters ¶
func (o *PodListLibpodParams) SetFilters(filters *string)
SetFilters adds the filters to the pod list libpod params.
func (*PodListLibpodParams) SetHTTPClient ¶
func (o *PodListLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod list libpod params.
func (*PodListLibpodParams) SetTimeout ¶
func (o *PodListLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pod list libpod params.
func (*PodListLibpodParams) WithContext
deprecated
func (o *PodListLibpodParams) WithContext(ctx context.Context) *PodListLibpodParams
WithContext adds the context to the pod list libpod params.
Deprecated: use the operation call with context to pass the context instead of PodListLibpodParams.
func (*PodListLibpodParams) WithDefaults ¶
func (o *PodListLibpodParams) WithDefaults() *PodListLibpodParams
WithDefaults hydrates default values in the pod list libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodListLibpodParams) WithFilters ¶
func (o *PodListLibpodParams) WithFilters(filters *string) *PodListLibpodParams
WithFilters adds the filters to the pod list libpod params.
func (*PodListLibpodParams) WithHTTPClient ¶
func (o *PodListLibpodParams) WithHTTPClient(client *http.Client) *PodListLibpodParams
WithHTTPClient adds the HTTPClient to the pod list libpod params.
func (*PodListLibpodParams) WithTimeout ¶
func (o *PodListLibpodParams) WithTimeout(timeout time.Duration) *PodListLibpodParams
WithTimeout adds the timeout to the pod list libpod params.
func (*PodListLibpodParams) WriteToRequest ¶
func (o *PodListLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PodListLibpodReader ¶
type PodListLibpodReader struct {
// contains filtered or unexported fields
}
PodListLibpodReader is a Reader for the PodListLibpod structure.
func (*PodListLibpodReader) ReadResponse ¶
func (o *PodListLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PodPauseLibpodConflict ¶
type PodPauseLibpodConflict struct {
Payload *models.PodPauseReport
}
PodPauseLibpodConflict describes a response with status code 409, with default header values.
Pause pod
func NewPodPauseLibpodConflict ¶
func NewPodPauseLibpodConflict() *PodPauseLibpodConflict
NewPodPauseLibpodConflict creates a PodPauseLibpodConflict with default headers values
func (*PodPauseLibpodConflict) Code ¶
func (o *PodPauseLibpodConflict) Code() int
Code gets the status code for the pod pause libpod conflict response
func (*PodPauseLibpodConflict) Error ¶
func (o *PodPauseLibpodConflict) Error() string
func (*PodPauseLibpodConflict) GetPayload ¶
func (o *PodPauseLibpodConflict) GetPayload() *models.PodPauseReport
func (*PodPauseLibpodConflict) IsClientError ¶
func (o *PodPauseLibpodConflict) IsClientError() bool
IsClientError returns true when this pod pause libpod conflict response has a 4xx status code
func (*PodPauseLibpodConflict) IsCode ¶
func (o *PodPauseLibpodConflict) IsCode(code int) bool
IsCode returns true when this pod pause libpod conflict response a status code equal to that given
func (*PodPauseLibpodConflict) IsRedirect ¶
func (o *PodPauseLibpodConflict) IsRedirect() bool
IsRedirect returns true when this pod pause libpod conflict response has a 3xx status code
func (*PodPauseLibpodConflict) IsServerError ¶
func (o *PodPauseLibpodConflict) IsServerError() bool
IsServerError returns true when this pod pause libpod conflict response has a 5xx status code
func (*PodPauseLibpodConflict) IsSuccess ¶
func (o *PodPauseLibpodConflict) IsSuccess() bool
IsSuccess returns true when this pod pause libpod conflict response has a 2xx status code
func (*PodPauseLibpodConflict) String ¶
func (o *PodPauseLibpodConflict) String() string
type PodPauseLibpodInternalServerError ¶
type PodPauseLibpodInternalServerError struct {
Payload *models.ErrorModel
}
PodPauseLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPodPauseLibpodInternalServerError ¶
func NewPodPauseLibpodInternalServerError() *PodPauseLibpodInternalServerError
NewPodPauseLibpodInternalServerError creates a PodPauseLibpodInternalServerError with default headers values
func (*PodPauseLibpodInternalServerError) Code ¶
func (o *PodPauseLibpodInternalServerError) Code() int
Code gets the status code for the pod pause libpod internal server error response
func (*PodPauseLibpodInternalServerError) Error ¶
func (o *PodPauseLibpodInternalServerError) Error() string
func (*PodPauseLibpodInternalServerError) GetPayload ¶
func (o *PodPauseLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*PodPauseLibpodInternalServerError) IsClientError ¶
func (o *PodPauseLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this pod pause libpod internal server error response has a 4xx status code
func (*PodPauseLibpodInternalServerError) IsCode ¶
func (o *PodPauseLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this pod pause libpod internal server error response a status code equal to that given
func (*PodPauseLibpodInternalServerError) IsRedirect ¶
func (o *PodPauseLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this pod pause libpod internal server error response has a 3xx status code
func (*PodPauseLibpodInternalServerError) IsServerError ¶
func (o *PodPauseLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this pod pause libpod internal server error response has a 5xx status code
func (*PodPauseLibpodInternalServerError) IsSuccess ¶
func (o *PodPauseLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this pod pause libpod internal server error response has a 2xx status code
func (*PodPauseLibpodInternalServerError) String ¶
func (o *PodPauseLibpodInternalServerError) String() string
type PodPauseLibpodNotFound ¶
type PodPauseLibpodNotFound struct {
Payload *models.ErrorModel
}
PodPauseLibpodNotFound describes a response with status code 404, with default header values.
No such pod
func NewPodPauseLibpodNotFound ¶
func NewPodPauseLibpodNotFound() *PodPauseLibpodNotFound
NewPodPauseLibpodNotFound creates a PodPauseLibpodNotFound with default headers values
func (*PodPauseLibpodNotFound) Code ¶
func (o *PodPauseLibpodNotFound) Code() int
Code gets the status code for the pod pause libpod not found response
func (*PodPauseLibpodNotFound) Error ¶
func (o *PodPauseLibpodNotFound) Error() string
func (*PodPauseLibpodNotFound) GetPayload ¶
func (o *PodPauseLibpodNotFound) GetPayload() *models.ErrorModel
func (*PodPauseLibpodNotFound) IsClientError ¶
func (o *PodPauseLibpodNotFound) IsClientError() bool
IsClientError returns true when this pod pause libpod not found response has a 4xx status code
func (*PodPauseLibpodNotFound) IsCode ¶
func (o *PodPauseLibpodNotFound) IsCode(code int) bool
IsCode returns true when this pod pause libpod not found response a status code equal to that given
func (*PodPauseLibpodNotFound) IsRedirect ¶
func (o *PodPauseLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this pod pause libpod not found response has a 3xx status code
func (*PodPauseLibpodNotFound) IsServerError ¶
func (o *PodPauseLibpodNotFound) IsServerError() bool
IsServerError returns true when this pod pause libpod not found response has a 5xx status code
func (*PodPauseLibpodNotFound) IsSuccess ¶
func (o *PodPauseLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this pod pause libpod not found response has a 2xx status code
func (*PodPauseLibpodNotFound) String ¶
func (o *PodPauseLibpodNotFound) String() string
type PodPauseLibpodOK ¶
type PodPauseLibpodOK struct {
Payload *models.PodPauseReport
}
PodPauseLibpodOK describes a response with status code 200, with default header values.
Pause pod
func NewPodPauseLibpodOK ¶
func NewPodPauseLibpodOK() *PodPauseLibpodOK
NewPodPauseLibpodOK creates a PodPauseLibpodOK with default headers values
func (*PodPauseLibpodOK) Code ¶
func (o *PodPauseLibpodOK) Code() int
Code gets the status code for the pod pause libpod o k response
func (*PodPauseLibpodOK) Error ¶
func (o *PodPauseLibpodOK) Error() string
func (*PodPauseLibpodOK) GetPayload ¶
func (o *PodPauseLibpodOK) GetPayload() *models.PodPauseReport
func (*PodPauseLibpodOK) IsClientError ¶
func (o *PodPauseLibpodOK) IsClientError() bool
IsClientError returns true when this pod pause libpod o k response has a 4xx status code
func (*PodPauseLibpodOK) IsCode ¶
func (o *PodPauseLibpodOK) IsCode(code int) bool
IsCode returns true when this pod pause libpod o k response a status code equal to that given
func (*PodPauseLibpodOK) IsRedirect ¶
func (o *PodPauseLibpodOK) IsRedirect() bool
IsRedirect returns true when this pod pause libpod o k response has a 3xx status code
func (*PodPauseLibpodOK) IsServerError ¶
func (o *PodPauseLibpodOK) IsServerError() bool
IsServerError returns true when this pod pause libpod o k response has a 5xx status code
func (*PodPauseLibpodOK) IsSuccess ¶
func (o *PodPauseLibpodOK) IsSuccess() bool
IsSuccess returns true when this pod pause libpod o k response has a 2xx status code
func (*PodPauseLibpodOK) String ¶
func (o *PodPauseLibpodOK) String() string
type PodPauseLibpodParams ¶
type PodPauseLibpodParams struct {
// Name.
//
// the name or ID of the pod
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PodPauseLibpodParams contains all the parameters to send to the API endpoint
for the pod pause libpod operation. Typically these are written to a http.Request.
func NewPodPauseLibpodParams ¶
func NewPodPauseLibpodParams() *PodPauseLibpodParams
NewPodPauseLibpodParams creates a new PodPauseLibpodParams 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 NewPodPauseLibpodParamsWithContext
deprecated
func NewPodPauseLibpodParamsWithContext(ctx context.Context) *PodPauseLibpodParams
NewPodPauseLibpodParamsWithContext creates a new PodPauseLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PodPauseLibpodParams.
func NewPodPauseLibpodParamsWithHTTPClient ¶
func NewPodPauseLibpodParamsWithHTTPClient(client *http.Client) *PodPauseLibpodParams
NewPodPauseLibpodParamsWithHTTPClient creates a new PodPauseLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewPodPauseLibpodParamsWithTimeout ¶
func NewPodPauseLibpodParamsWithTimeout(timeout time.Duration) *PodPauseLibpodParams
NewPodPauseLibpodParamsWithTimeout creates a new PodPauseLibpodParams object with the ability to set a timeout on a request.
func (*PodPauseLibpodParams) SetContext
deprecated
func (o *PodPauseLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the pod pause libpod params.
Deprecated: use the operation call with context to pass the context instead of PodPauseLibpodParams.
func (*PodPauseLibpodParams) SetDefaults ¶
func (o *PodPauseLibpodParams) SetDefaults()
SetDefaults hydrates default values in the pod pause libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodPauseLibpodParams) SetHTTPClient ¶
func (o *PodPauseLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod pause libpod params.
func (*PodPauseLibpodParams) SetName ¶
func (o *PodPauseLibpodParams) SetName(name string)
SetName adds the name to the pod pause libpod params.
func (*PodPauseLibpodParams) SetTimeout ¶
func (o *PodPauseLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pod pause libpod params.
func (*PodPauseLibpodParams) WithContext
deprecated
func (o *PodPauseLibpodParams) WithContext(ctx context.Context) *PodPauseLibpodParams
WithContext adds the context to the pod pause libpod params.
Deprecated: use the operation call with context to pass the context instead of PodPauseLibpodParams.
func (*PodPauseLibpodParams) WithDefaults ¶
func (o *PodPauseLibpodParams) WithDefaults() *PodPauseLibpodParams
WithDefaults hydrates default values in the pod pause libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodPauseLibpodParams) WithHTTPClient ¶
func (o *PodPauseLibpodParams) WithHTTPClient(client *http.Client) *PodPauseLibpodParams
WithHTTPClient adds the HTTPClient to the pod pause libpod params.
func (*PodPauseLibpodParams) WithName ¶
func (o *PodPauseLibpodParams) WithName(name string) *PodPauseLibpodParams
WithName adds the name to the pod pause libpod params.
func (*PodPauseLibpodParams) WithTimeout ¶
func (o *PodPauseLibpodParams) WithTimeout(timeout time.Duration) *PodPauseLibpodParams
WithTimeout adds the timeout to the pod pause libpod params.
func (*PodPauseLibpodParams) WriteToRequest ¶
func (o *PodPauseLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PodPauseLibpodReader ¶
type PodPauseLibpodReader struct {
// contains filtered or unexported fields
}
PodPauseLibpodReader is a Reader for the PodPauseLibpod structure.
func (*PodPauseLibpodReader) ReadResponse ¶
func (o *PodPauseLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PodPruneLibpodBadRequest ¶
type PodPruneLibpodBadRequest struct {
Payload *models.ErrorModel
}
PodPruneLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewPodPruneLibpodBadRequest ¶
func NewPodPruneLibpodBadRequest() *PodPruneLibpodBadRequest
NewPodPruneLibpodBadRequest creates a PodPruneLibpodBadRequest with default headers values
func (*PodPruneLibpodBadRequest) Code ¶
func (o *PodPruneLibpodBadRequest) Code() int
Code gets the status code for the pod prune libpod bad request response
func (*PodPruneLibpodBadRequest) Error ¶
func (o *PodPruneLibpodBadRequest) Error() string
func (*PodPruneLibpodBadRequest) GetPayload ¶
func (o *PodPruneLibpodBadRequest) GetPayload() *models.ErrorModel
func (*PodPruneLibpodBadRequest) IsClientError ¶
func (o *PodPruneLibpodBadRequest) IsClientError() bool
IsClientError returns true when this pod prune libpod bad request response has a 4xx status code
func (*PodPruneLibpodBadRequest) IsCode ¶
func (o *PodPruneLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this pod prune libpod bad request response a status code equal to that given
func (*PodPruneLibpodBadRequest) IsRedirect ¶
func (o *PodPruneLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this pod prune libpod bad request response has a 3xx status code
func (*PodPruneLibpodBadRequest) IsServerError ¶
func (o *PodPruneLibpodBadRequest) IsServerError() bool
IsServerError returns true when this pod prune libpod bad request response has a 5xx status code
func (*PodPruneLibpodBadRequest) IsSuccess ¶
func (o *PodPruneLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this pod prune libpod bad request response has a 2xx status code
func (*PodPruneLibpodBadRequest) String ¶
func (o *PodPruneLibpodBadRequest) String() string
type PodPruneLibpodConflict ¶
type PodPruneLibpodConflict struct {
}
PodPruneLibpodConflict describes a response with status code 409, with default header values.
pod already exists
func NewPodPruneLibpodConflict ¶
func NewPodPruneLibpodConflict() *PodPruneLibpodConflict
NewPodPruneLibpodConflict creates a PodPruneLibpodConflict with default headers values
func (*PodPruneLibpodConflict) Code ¶
func (o *PodPruneLibpodConflict) Code() int
Code gets the status code for the pod prune libpod conflict response
func (*PodPruneLibpodConflict) Error ¶
func (o *PodPruneLibpodConflict) Error() string
func (*PodPruneLibpodConflict) IsClientError ¶
func (o *PodPruneLibpodConflict) IsClientError() bool
IsClientError returns true when this pod prune libpod conflict response has a 4xx status code
func (*PodPruneLibpodConflict) IsCode ¶
func (o *PodPruneLibpodConflict) IsCode(code int) bool
IsCode returns true when this pod prune libpod conflict response a status code equal to that given
func (*PodPruneLibpodConflict) IsRedirect ¶
func (o *PodPruneLibpodConflict) IsRedirect() bool
IsRedirect returns true when this pod prune libpod conflict response has a 3xx status code
func (*PodPruneLibpodConflict) IsServerError ¶
func (o *PodPruneLibpodConflict) IsServerError() bool
IsServerError returns true when this pod prune libpod conflict response has a 5xx status code
func (*PodPruneLibpodConflict) IsSuccess ¶
func (o *PodPruneLibpodConflict) IsSuccess() bool
IsSuccess returns true when this pod prune libpod conflict response has a 2xx status code
func (*PodPruneLibpodConflict) String ¶
func (o *PodPruneLibpodConflict) String() string
type PodPruneLibpodInternalServerError ¶
type PodPruneLibpodInternalServerError struct {
Payload *models.ErrorModel
}
PodPruneLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPodPruneLibpodInternalServerError ¶
func NewPodPruneLibpodInternalServerError() *PodPruneLibpodInternalServerError
NewPodPruneLibpodInternalServerError creates a PodPruneLibpodInternalServerError with default headers values
func (*PodPruneLibpodInternalServerError) Code ¶
func (o *PodPruneLibpodInternalServerError) Code() int
Code gets the status code for the pod prune libpod internal server error response
func (*PodPruneLibpodInternalServerError) Error ¶
func (o *PodPruneLibpodInternalServerError) Error() string
func (*PodPruneLibpodInternalServerError) GetPayload ¶
func (o *PodPruneLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*PodPruneLibpodInternalServerError) IsClientError ¶
func (o *PodPruneLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this pod prune libpod internal server error response has a 4xx status code
func (*PodPruneLibpodInternalServerError) IsCode ¶
func (o *PodPruneLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this pod prune libpod internal server error response a status code equal to that given
func (*PodPruneLibpodInternalServerError) IsRedirect ¶
func (o *PodPruneLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this pod prune libpod internal server error response has a 3xx status code
func (*PodPruneLibpodInternalServerError) IsServerError ¶
func (o *PodPruneLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this pod prune libpod internal server error response has a 5xx status code
func (*PodPruneLibpodInternalServerError) IsSuccess ¶
func (o *PodPruneLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this pod prune libpod internal server error response has a 2xx status code
func (*PodPruneLibpodInternalServerError) String ¶
func (o *PodPruneLibpodInternalServerError) String() string
type PodPruneLibpodOK ¶
type PodPruneLibpodOK struct {
Payload *models.PodPruneReport
}
PodPruneLibpodOK describes a response with status code 200, with default header values.
Prune pod
func NewPodPruneLibpodOK ¶
func NewPodPruneLibpodOK() *PodPruneLibpodOK
NewPodPruneLibpodOK creates a PodPruneLibpodOK with default headers values
func (*PodPruneLibpodOK) Code ¶
func (o *PodPruneLibpodOK) Code() int
Code gets the status code for the pod prune libpod o k response
func (*PodPruneLibpodOK) Error ¶
func (o *PodPruneLibpodOK) Error() string
func (*PodPruneLibpodOK) GetPayload ¶
func (o *PodPruneLibpodOK) GetPayload() *models.PodPruneReport
func (*PodPruneLibpodOK) IsClientError ¶
func (o *PodPruneLibpodOK) IsClientError() bool
IsClientError returns true when this pod prune libpod o k response has a 4xx status code
func (*PodPruneLibpodOK) IsCode ¶
func (o *PodPruneLibpodOK) IsCode(code int) bool
IsCode returns true when this pod prune libpod o k response a status code equal to that given
func (*PodPruneLibpodOK) IsRedirect ¶
func (o *PodPruneLibpodOK) IsRedirect() bool
IsRedirect returns true when this pod prune libpod o k response has a 3xx status code
func (*PodPruneLibpodOK) IsServerError ¶
func (o *PodPruneLibpodOK) IsServerError() bool
IsServerError returns true when this pod prune libpod o k response has a 5xx status code
func (*PodPruneLibpodOK) IsSuccess ¶
func (o *PodPruneLibpodOK) IsSuccess() bool
IsSuccess returns true when this pod prune libpod o k response has a 2xx status code
func (*PodPruneLibpodOK) String ¶
func (o *PodPruneLibpodOK) String() string
type PodPruneLibpodParams ¶
type PodPruneLibpodParams struct {
HTTPClient *http.Client
// contains filtered or unexported fields
}
PodPruneLibpodParams contains all the parameters to send to the API endpoint
for the pod prune libpod operation. Typically these are written to a http.Request.
func NewPodPruneLibpodParams ¶
func NewPodPruneLibpodParams() *PodPruneLibpodParams
NewPodPruneLibpodParams creates a new PodPruneLibpodParams 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 NewPodPruneLibpodParamsWithContext
deprecated
func NewPodPruneLibpodParamsWithContext(ctx context.Context) *PodPruneLibpodParams
NewPodPruneLibpodParamsWithContext creates a new PodPruneLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PodPruneLibpodParams.
func NewPodPruneLibpodParamsWithHTTPClient ¶
func NewPodPruneLibpodParamsWithHTTPClient(client *http.Client) *PodPruneLibpodParams
NewPodPruneLibpodParamsWithHTTPClient creates a new PodPruneLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewPodPruneLibpodParamsWithTimeout ¶
func NewPodPruneLibpodParamsWithTimeout(timeout time.Duration) *PodPruneLibpodParams
NewPodPruneLibpodParamsWithTimeout creates a new PodPruneLibpodParams object with the ability to set a timeout on a request.
func (*PodPruneLibpodParams) SetContext
deprecated
func (o *PodPruneLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the pod prune libpod params.
Deprecated: use the operation call with context to pass the context instead of PodPruneLibpodParams.
func (*PodPruneLibpodParams) SetDefaults ¶
func (o *PodPruneLibpodParams) SetDefaults()
SetDefaults hydrates default values in the pod prune libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodPruneLibpodParams) SetHTTPClient ¶
func (o *PodPruneLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod prune libpod params.
func (*PodPruneLibpodParams) SetTimeout ¶
func (o *PodPruneLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pod prune libpod params.
func (*PodPruneLibpodParams) WithContext
deprecated
func (o *PodPruneLibpodParams) WithContext(ctx context.Context) *PodPruneLibpodParams
WithContext adds the context to the pod prune libpod params.
Deprecated: use the operation call with context to pass the context instead of PodPruneLibpodParams.
func (*PodPruneLibpodParams) WithDefaults ¶
func (o *PodPruneLibpodParams) WithDefaults() *PodPruneLibpodParams
WithDefaults hydrates default values in the pod prune libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodPruneLibpodParams) WithHTTPClient ¶
func (o *PodPruneLibpodParams) WithHTTPClient(client *http.Client) *PodPruneLibpodParams
WithHTTPClient adds the HTTPClient to the pod prune libpod params.
func (*PodPruneLibpodParams) WithTimeout ¶
func (o *PodPruneLibpodParams) WithTimeout(timeout time.Duration) *PodPruneLibpodParams
WithTimeout adds the timeout to the pod prune libpod params.
func (*PodPruneLibpodParams) WriteToRequest ¶
func (o *PodPruneLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PodPruneLibpodReader ¶
type PodPruneLibpodReader struct {
// contains filtered or unexported fields
}
PodPruneLibpodReader is a Reader for the PodPruneLibpod structure.
func (*PodPruneLibpodReader) ReadResponse ¶
func (o *PodPruneLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PodRestartLibpodConflict ¶
type PodRestartLibpodConflict struct {
Payload *models.PodRestartReport
}
PodRestartLibpodConflict describes a response with status code 409, with default header values.
Restart pod
func NewPodRestartLibpodConflict ¶
func NewPodRestartLibpodConflict() *PodRestartLibpodConflict
NewPodRestartLibpodConflict creates a PodRestartLibpodConflict with default headers values
func (*PodRestartLibpodConflict) Code ¶
func (o *PodRestartLibpodConflict) Code() int
Code gets the status code for the pod restart libpod conflict response
func (*PodRestartLibpodConflict) Error ¶
func (o *PodRestartLibpodConflict) Error() string
func (*PodRestartLibpodConflict) GetPayload ¶
func (o *PodRestartLibpodConflict) GetPayload() *models.PodRestartReport
func (*PodRestartLibpodConflict) IsClientError ¶
func (o *PodRestartLibpodConflict) IsClientError() bool
IsClientError returns true when this pod restart libpod conflict response has a 4xx status code
func (*PodRestartLibpodConflict) IsCode ¶
func (o *PodRestartLibpodConflict) IsCode(code int) bool
IsCode returns true when this pod restart libpod conflict response a status code equal to that given
func (*PodRestartLibpodConflict) IsRedirect ¶
func (o *PodRestartLibpodConflict) IsRedirect() bool
IsRedirect returns true when this pod restart libpod conflict response has a 3xx status code
func (*PodRestartLibpodConflict) IsServerError ¶
func (o *PodRestartLibpodConflict) IsServerError() bool
IsServerError returns true when this pod restart libpod conflict response has a 5xx status code
func (*PodRestartLibpodConflict) IsSuccess ¶
func (o *PodRestartLibpodConflict) IsSuccess() bool
IsSuccess returns true when this pod restart libpod conflict response has a 2xx status code
func (*PodRestartLibpodConflict) String ¶
func (o *PodRestartLibpodConflict) String() string
type PodRestartLibpodInternalServerError ¶
type PodRestartLibpodInternalServerError struct {
Payload *models.ErrorModel
}
PodRestartLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPodRestartLibpodInternalServerError ¶
func NewPodRestartLibpodInternalServerError() *PodRestartLibpodInternalServerError
NewPodRestartLibpodInternalServerError creates a PodRestartLibpodInternalServerError with default headers values
func (*PodRestartLibpodInternalServerError) Code ¶
func (o *PodRestartLibpodInternalServerError) Code() int
Code gets the status code for the pod restart libpod internal server error response
func (*PodRestartLibpodInternalServerError) Error ¶
func (o *PodRestartLibpodInternalServerError) Error() string
func (*PodRestartLibpodInternalServerError) GetPayload ¶
func (o *PodRestartLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*PodRestartLibpodInternalServerError) IsClientError ¶
func (o *PodRestartLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this pod restart libpod internal server error response has a 4xx status code
func (*PodRestartLibpodInternalServerError) IsCode ¶
func (o *PodRestartLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this pod restart libpod internal server error response a status code equal to that given
func (*PodRestartLibpodInternalServerError) IsRedirect ¶
func (o *PodRestartLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this pod restart libpod internal server error response has a 3xx status code
func (*PodRestartLibpodInternalServerError) IsServerError ¶
func (o *PodRestartLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this pod restart libpod internal server error response has a 5xx status code
func (*PodRestartLibpodInternalServerError) IsSuccess ¶
func (o *PodRestartLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this pod restart libpod internal server error response has a 2xx status code
func (*PodRestartLibpodInternalServerError) String ¶
func (o *PodRestartLibpodInternalServerError) String() string
type PodRestartLibpodNotFound ¶
type PodRestartLibpodNotFound struct {
Payload *models.ErrorModel
}
PodRestartLibpodNotFound describes a response with status code 404, with default header values.
No such pod
func NewPodRestartLibpodNotFound ¶
func NewPodRestartLibpodNotFound() *PodRestartLibpodNotFound
NewPodRestartLibpodNotFound creates a PodRestartLibpodNotFound with default headers values
func (*PodRestartLibpodNotFound) Code ¶
func (o *PodRestartLibpodNotFound) Code() int
Code gets the status code for the pod restart libpod not found response
func (*PodRestartLibpodNotFound) Error ¶
func (o *PodRestartLibpodNotFound) Error() string
func (*PodRestartLibpodNotFound) GetPayload ¶
func (o *PodRestartLibpodNotFound) GetPayload() *models.ErrorModel
func (*PodRestartLibpodNotFound) IsClientError ¶
func (o *PodRestartLibpodNotFound) IsClientError() bool
IsClientError returns true when this pod restart libpod not found response has a 4xx status code
func (*PodRestartLibpodNotFound) IsCode ¶
func (o *PodRestartLibpodNotFound) IsCode(code int) bool
IsCode returns true when this pod restart libpod not found response a status code equal to that given
func (*PodRestartLibpodNotFound) IsRedirect ¶
func (o *PodRestartLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this pod restart libpod not found response has a 3xx status code
func (*PodRestartLibpodNotFound) IsServerError ¶
func (o *PodRestartLibpodNotFound) IsServerError() bool
IsServerError returns true when this pod restart libpod not found response has a 5xx status code
func (*PodRestartLibpodNotFound) IsSuccess ¶
func (o *PodRestartLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this pod restart libpod not found response has a 2xx status code
func (*PodRestartLibpodNotFound) String ¶
func (o *PodRestartLibpodNotFound) String() string
type PodRestartLibpodOK ¶
type PodRestartLibpodOK struct {
Payload *models.PodRestartReport
}
PodRestartLibpodOK describes a response with status code 200, with default header values.
Restart pod
func NewPodRestartLibpodOK ¶
func NewPodRestartLibpodOK() *PodRestartLibpodOK
NewPodRestartLibpodOK creates a PodRestartLibpodOK with default headers values
func (*PodRestartLibpodOK) Code ¶
func (o *PodRestartLibpodOK) Code() int
Code gets the status code for the pod restart libpod o k response
func (*PodRestartLibpodOK) Error ¶
func (o *PodRestartLibpodOK) Error() string
func (*PodRestartLibpodOK) GetPayload ¶
func (o *PodRestartLibpodOK) GetPayload() *models.PodRestartReport
func (*PodRestartLibpodOK) IsClientError ¶
func (o *PodRestartLibpodOK) IsClientError() bool
IsClientError returns true when this pod restart libpod o k response has a 4xx status code
func (*PodRestartLibpodOK) IsCode ¶
func (o *PodRestartLibpodOK) IsCode(code int) bool
IsCode returns true when this pod restart libpod o k response a status code equal to that given
func (*PodRestartLibpodOK) IsRedirect ¶
func (o *PodRestartLibpodOK) IsRedirect() bool
IsRedirect returns true when this pod restart libpod o k response has a 3xx status code
func (*PodRestartLibpodOK) IsServerError ¶
func (o *PodRestartLibpodOK) IsServerError() bool
IsServerError returns true when this pod restart libpod o k response has a 5xx status code
func (*PodRestartLibpodOK) IsSuccess ¶
func (o *PodRestartLibpodOK) IsSuccess() bool
IsSuccess returns true when this pod restart libpod o k response has a 2xx status code
func (*PodRestartLibpodOK) String ¶
func (o *PodRestartLibpodOK) String() string
type PodRestartLibpodParams ¶
type PodRestartLibpodParams struct {
// Name.
//
// the name or ID of the pod
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PodRestartLibpodParams contains all the parameters to send to the API endpoint
for the pod restart libpod operation. Typically these are written to a http.Request.
func NewPodRestartLibpodParams ¶
func NewPodRestartLibpodParams() *PodRestartLibpodParams
NewPodRestartLibpodParams creates a new PodRestartLibpodParams 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 NewPodRestartLibpodParamsWithContext
deprecated
func NewPodRestartLibpodParamsWithContext(ctx context.Context) *PodRestartLibpodParams
NewPodRestartLibpodParamsWithContext creates a new PodRestartLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PodRestartLibpodParams.
func NewPodRestartLibpodParamsWithHTTPClient ¶
func NewPodRestartLibpodParamsWithHTTPClient(client *http.Client) *PodRestartLibpodParams
NewPodRestartLibpodParamsWithHTTPClient creates a new PodRestartLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewPodRestartLibpodParamsWithTimeout ¶
func NewPodRestartLibpodParamsWithTimeout(timeout time.Duration) *PodRestartLibpodParams
NewPodRestartLibpodParamsWithTimeout creates a new PodRestartLibpodParams object with the ability to set a timeout on a request.
func (*PodRestartLibpodParams) SetContext
deprecated
func (o *PodRestartLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the pod restart libpod params.
Deprecated: use the operation call with context to pass the context instead of PodRestartLibpodParams.
func (*PodRestartLibpodParams) SetDefaults ¶
func (o *PodRestartLibpodParams) SetDefaults()
SetDefaults hydrates default values in the pod restart libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodRestartLibpodParams) SetHTTPClient ¶
func (o *PodRestartLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod restart libpod params.
func (*PodRestartLibpodParams) SetName ¶
func (o *PodRestartLibpodParams) SetName(name string)
SetName adds the name to the pod restart libpod params.
func (*PodRestartLibpodParams) SetTimeout ¶
func (o *PodRestartLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pod restart libpod params.
func (*PodRestartLibpodParams) WithContext
deprecated
func (o *PodRestartLibpodParams) WithContext(ctx context.Context) *PodRestartLibpodParams
WithContext adds the context to the pod restart libpod params.
Deprecated: use the operation call with context to pass the context instead of PodRestartLibpodParams.
func (*PodRestartLibpodParams) WithDefaults ¶
func (o *PodRestartLibpodParams) WithDefaults() *PodRestartLibpodParams
WithDefaults hydrates default values in the pod restart libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodRestartLibpodParams) WithHTTPClient ¶
func (o *PodRestartLibpodParams) WithHTTPClient(client *http.Client) *PodRestartLibpodParams
WithHTTPClient adds the HTTPClient to the pod restart libpod params.
func (*PodRestartLibpodParams) WithName ¶
func (o *PodRestartLibpodParams) WithName(name string) *PodRestartLibpodParams
WithName adds the name to the pod restart libpod params.
func (*PodRestartLibpodParams) WithTimeout ¶
func (o *PodRestartLibpodParams) WithTimeout(timeout time.Duration) *PodRestartLibpodParams
WithTimeout adds the timeout to the pod restart libpod params.
func (*PodRestartLibpodParams) WriteToRequest ¶
func (o *PodRestartLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PodRestartLibpodReader ¶
type PodRestartLibpodReader struct {
// contains filtered or unexported fields
}
PodRestartLibpodReader is a Reader for the PodRestartLibpod structure.
func (*PodRestartLibpodReader) ReadResponse ¶
func (o *PodRestartLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PodStartLibpodConflict ¶
type PodStartLibpodConflict struct {
Payload *models.PodStartReport
}
PodStartLibpodConflict describes a response with status code 409, with default header values.
Start pod
func NewPodStartLibpodConflict ¶
func NewPodStartLibpodConflict() *PodStartLibpodConflict
NewPodStartLibpodConflict creates a PodStartLibpodConflict with default headers values
func (*PodStartLibpodConflict) Code ¶
func (o *PodStartLibpodConflict) Code() int
Code gets the status code for the pod start libpod conflict response
func (*PodStartLibpodConflict) Error ¶
func (o *PodStartLibpodConflict) Error() string
func (*PodStartLibpodConflict) GetPayload ¶
func (o *PodStartLibpodConflict) GetPayload() *models.PodStartReport
func (*PodStartLibpodConflict) IsClientError ¶
func (o *PodStartLibpodConflict) IsClientError() bool
IsClientError returns true when this pod start libpod conflict response has a 4xx status code
func (*PodStartLibpodConflict) IsCode ¶
func (o *PodStartLibpodConflict) IsCode(code int) bool
IsCode returns true when this pod start libpod conflict response a status code equal to that given
func (*PodStartLibpodConflict) IsRedirect ¶
func (o *PodStartLibpodConflict) IsRedirect() bool
IsRedirect returns true when this pod start libpod conflict response has a 3xx status code
func (*PodStartLibpodConflict) IsServerError ¶
func (o *PodStartLibpodConflict) IsServerError() bool
IsServerError returns true when this pod start libpod conflict response has a 5xx status code
func (*PodStartLibpodConflict) IsSuccess ¶
func (o *PodStartLibpodConflict) IsSuccess() bool
IsSuccess returns true when this pod start libpod conflict response has a 2xx status code
func (*PodStartLibpodConflict) String ¶
func (o *PodStartLibpodConflict) String() string
type PodStartLibpodInternalServerError ¶
type PodStartLibpodInternalServerError struct {
Payload *models.ErrorModel
}
PodStartLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPodStartLibpodInternalServerError ¶
func NewPodStartLibpodInternalServerError() *PodStartLibpodInternalServerError
NewPodStartLibpodInternalServerError creates a PodStartLibpodInternalServerError with default headers values
func (*PodStartLibpodInternalServerError) Code ¶
func (o *PodStartLibpodInternalServerError) Code() int
Code gets the status code for the pod start libpod internal server error response
func (*PodStartLibpodInternalServerError) Error ¶
func (o *PodStartLibpodInternalServerError) Error() string
func (*PodStartLibpodInternalServerError) GetPayload ¶
func (o *PodStartLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*PodStartLibpodInternalServerError) IsClientError ¶
func (o *PodStartLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this pod start libpod internal server error response has a 4xx status code
func (*PodStartLibpodInternalServerError) IsCode ¶
func (o *PodStartLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this pod start libpod internal server error response a status code equal to that given
func (*PodStartLibpodInternalServerError) IsRedirect ¶
func (o *PodStartLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this pod start libpod internal server error response has a 3xx status code
func (*PodStartLibpodInternalServerError) IsServerError ¶
func (o *PodStartLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this pod start libpod internal server error response has a 5xx status code
func (*PodStartLibpodInternalServerError) IsSuccess ¶
func (o *PodStartLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this pod start libpod internal server error response has a 2xx status code
func (*PodStartLibpodInternalServerError) String ¶
func (o *PodStartLibpodInternalServerError) String() string
type PodStartLibpodNotFound ¶
type PodStartLibpodNotFound struct {
Payload *models.ErrorModel
}
PodStartLibpodNotFound describes a response with status code 404, with default header values.
No such pod
func NewPodStartLibpodNotFound ¶
func NewPodStartLibpodNotFound() *PodStartLibpodNotFound
NewPodStartLibpodNotFound creates a PodStartLibpodNotFound with default headers values
func (*PodStartLibpodNotFound) Code ¶
func (o *PodStartLibpodNotFound) Code() int
Code gets the status code for the pod start libpod not found response
func (*PodStartLibpodNotFound) Error ¶
func (o *PodStartLibpodNotFound) Error() string
func (*PodStartLibpodNotFound) GetPayload ¶
func (o *PodStartLibpodNotFound) GetPayload() *models.ErrorModel
func (*PodStartLibpodNotFound) IsClientError ¶
func (o *PodStartLibpodNotFound) IsClientError() bool
IsClientError returns true when this pod start libpod not found response has a 4xx status code
func (*PodStartLibpodNotFound) IsCode ¶
func (o *PodStartLibpodNotFound) IsCode(code int) bool
IsCode returns true when this pod start libpod not found response a status code equal to that given
func (*PodStartLibpodNotFound) IsRedirect ¶
func (o *PodStartLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this pod start libpod not found response has a 3xx status code
func (*PodStartLibpodNotFound) IsServerError ¶
func (o *PodStartLibpodNotFound) IsServerError() bool
IsServerError returns true when this pod start libpod not found response has a 5xx status code
func (*PodStartLibpodNotFound) IsSuccess ¶
func (o *PodStartLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this pod start libpod not found response has a 2xx status code
func (*PodStartLibpodNotFound) String ¶
func (o *PodStartLibpodNotFound) String() string
type PodStartLibpodNotModified ¶
type PodStartLibpodNotModified struct {
Payload *models.ErrorModel
}
PodStartLibpodNotModified describes a response with status code 304, with default header values.
Pod already started
func NewPodStartLibpodNotModified ¶
func NewPodStartLibpodNotModified() *PodStartLibpodNotModified
NewPodStartLibpodNotModified creates a PodStartLibpodNotModified with default headers values
func (*PodStartLibpodNotModified) Code ¶
func (o *PodStartLibpodNotModified) Code() int
Code gets the status code for the pod start libpod not modified response
func (*PodStartLibpodNotModified) Error ¶
func (o *PodStartLibpodNotModified) Error() string
func (*PodStartLibpodNotModified) GetPayload ¶
func (o *PodStartLibpodNotModified) GetPayload() *models.ErrorModel
func (*PodStartLibpodNotModified) IsClientError ¶
func (o *PodStartLibpodNotModified) IsClientError() bool
IsClientError returns true when this pod start libpod not modified response has a 4xx status code
func (*PodStartLibpodNotModified) IsCode ¶
func (o *PodStartLibpodNotModified) IsCode(code int) bool
IsCode returns true when this pod start libpod not modified response a status code equal to that given
func (*PodStartLibpodNotModified) IsRedirect ¶
func (o *PodStartLibpodNotModified) IsRedirect() bool
IsRedirect returns true when this pod start libpod not modified response has a 3xx status code
func (*PodStartLibpodNotModified) IsServerError ¶
func (o *PodStartLibpodNotModified) IsServerError() bool
IsServerError returns true when this pod start libpod not modified response has a 5xx status code
func (*PodStartLibpodNotModified) IsSuccess ¶
func (o *PodStartLibpodNotModified) IsSuccess() bool
IsSuccess returns true when this pod start libpod not modified response has a 2xx status code
func (*PodStartLibpodNotModified) String ¶
func (o *PodStartLibpodNotModified) String() string
type PodStartLibpodOK ¶
type PodStartLibpodOK struct {
Payload *models.PodStartReport
}
PodStartLibpodOK describes a response with status code 200, with default header values.
Start pod
func NewPodStartLibpodOK ¶
func NewPodStartLibpodOK() *PodStartLibpodOK
NewPodStartLibpodOK creates a PodStartLibpodOK with default headers values
func (*PodStartLibpodOK) Code ¶
func (o *PodStartLibpodOK) Code() int
Code gets the status code for the pod start libpod o k response
func (*PodStartLibpodOK) Error ¶
func (o *PodStartLibpodOK) Error() string
func (*PodStartLibpodOK) GetPayload ¶
func (o *PodStartLibpodOK) GetPayload() *models.PodStartReport
func (*PodStartLibpodOK) IsClientError ¶
func (o *PodStartLibpodOK) IsClientError() bool
IsClientError returns true when this pod start libpod o k response has a 4xx status code
func (*PodStartLibpodOK) IsCode ¶
func (o *PodStartLibpodOK) IsCode(code int) bool
IsCode returns true when this pod start libpod o k response a status code equal to that given
func (*PodStartLibpodOK) IsRedirect ¶
func (o *PodStartLibpodOK) IsRedirect() bool
IsRedirect returns true when this pod start libpod o k response has a 3xx status code
func (*PodStartLibpodOK) IsServerError ¶
func (o *PodStartLibpodOK) IsServerError() bool
IsServerError returns true when this pod start libpod o k response has a 5xx status code
func (*PodStartLibpodOK) IsSuccess ¶
func (o *PodStartLibpodOK) IsSuccess() bool
IsSuccess returns true when this pod start libpod o k response has a 2xx status code
func (*PodStartLibpodOK) String ¶
func (o *PodStartLibpodOK) String() string
type PodStartLibpodParams ¶
type PodStartLibpodParams struct {
// Name.
//
// the name or ID of the pod
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PodStartLibpodParams contains all the parameters to send to the API endpoint
for the pod start libpod operation. Typically these are written to a http.Request.
func NewPodStartLibpodParams ¶
func NewPodStartLibpodParams() *PodStartLibpodParams
NewPodStartLibpodParams creates a new PodStartLibpodParams 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 NewPodStartLibpodParamsWithContext
deprecated
func NewPodStartLibpodParamsWithContext(ctx context.Context) *PodStartLibpodParams
NewPodStartLibpodParamsWithContext creates a new PodStartLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PodStartLibpodParams.
func NewPodStartLibpodParamsWithHTTPClient ¶
func NewPodStartLibpodParamsWithHTTPClient(client *http.Client) *PodStartLibpodParams
NewPodStartLibpodParamsWithHTTPClient creates a new PodStartLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewPodStartLibpodParamsWithTimeout ¶
func NewPodStartLibpodParamsWithTimeout(timeout time.Duration) *PodStartLibpodParams
NewPodStartLibpodParamsWithTimeout creates a new PodStartLibpodParams object with the ability to set a timeout on a request.
func (*PodStartLibpodParams) SetContext
deprecated
func (o *PodStartLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the pod start libpod params.
Deprecated: use the operation call with context to pass the context instead of PodStartLibpodParams.
func (*PodStartLibpodParams) SetDefaults ¶
func (o *PodStartLibpodParams) SetDefaults()
SetDefaults hydrates default values in the pod start libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodStartLibpodParams) SetHTTPClient ¶
func (o *PodStartLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod start libpod params.
func (*PodStartLibpodParams) SetName ¶
func (o *PodStartLibpodParams) SetName(name string)
SetName adds the name to the pod start libpod params.
func (*PodStartLibpodParams) SetTimeout ¶
func (o *PodStartLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pod start libpod params.
func (*PodStartLibpodParams) WithContext
deprecated
func (o *PodStartLibpodParams) WithContext(ctx context.Context) *PodStartLibpodParams
WithContext adds the context to the pod start libpod params.
Deprecated: use the operation call with context to pass the context instead of PodStartLibpodParams.
func (*PodStartLibpodParams) WithDefaults ¶
func (o *PodStartLibpodParams) WithDefaults() *PodStartLibpodParams
WithDefaults hydrates default values in the pod start libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodStartLibpodParams) WithHTTPClient ¶
func (o *PodStartLibpodParams) WithHTTPClient(client *http.Client) *PodStartLibpodParams
WithHTTPClient adds the HTTPClient to the pod start libpod params.
func (*PodStartLibpodParams) WithName ¶
func (o *PodStartLibpodParams) WithName(name string) *PodStartLibpodParams
WithName adds the name to the pod start libpod params.
func (*PodStartLibpodParams) WithTimeout ¶
func (o *PodStartLibpodParams) WithTimeout(timeout time.Duration) *PodStartLibpodParams
WithTimeout adds the timeout to the pod start libpod params.
func (*PodStartLibpodParams) WriteToRequest ¶
func (o *PodStartLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PodStartLibpodReader ¶
type PodStartLibpodReader struct {
// contains filtered or unexported fields
}
PodStartLibpodReader is a Reader for the PodStartLibpod structure.
func (*PodStartLibpodReader) ReadResponse ¶
func (o *PodStartLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PodStatsAllLibpodInternalServerError ¶
type PodStatsAllLibpodInternalServerError struct {
Payload *models.ErrorModel
}
PodStatsAllLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPodStatsAllLibpodInternalServerError ¶
func NewPodStatsAllLibpodInternalServerError() *PodStatsAllLibpodInternalServerError
NewPodStatsAllLibpodInternalServerError creates a PodStatsAllLibpodInternalServerError with default headers values
func (*PodStatsAllLibpodInternalServerError) Code ¶
func (o *PodStatsAllLibpodInternalServerError) Code() int
Code gets the status code for the pod stats all libpod internal server error response
func (*PodStatsAllLibpodInternalServerError) Error ¶
func (o *PodStatsAllLibpodInternalServerError) Error() string
func (*PodStatsAllLibpodInternalServerError) GetPayload ¶
func (o *PodStatsAllLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*PodStatsAllLibpodInternalServerError) IsClientError ¶
func (o *PodStatsAllLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this pod stats all libpod internal server error response has a 4xx status code
func (*PodStatsAllLibpodInternalServerError) IsCode ¶
func (o *PodStatsAllLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this pod stats all libpod internal server error response a status code equal to that given
func (*PodStatsAllLibpodInternalServerError) IsRedirect ¶
func (o *PodStatsAllLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this pod stats all libpod internal server error response has a 3xx status code
func (*PodStatsAllLibpodInternalServerError) IsServerError ¶
func (o *PodStatsAllLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this pod stats all libpod internal server error response has a 5xx status code
func (*PodStatsAllLibpodInternalServerError) IsSuccess ¶
func (o *PodStatsAllLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this pod stats all libpod internal server error response has a 2xx status code
func (*PodStatsAllLibpodInternalServerError) String ¶
func (o *PodStatsAllLibpodInternalServerError) String() string
type PodStatsAllLibpodNotFound ¶
type PodStatsAllLibpodNotFound struct {
Payload *models.ErrorModel
}
PodStatsAllLibpodNotFound describes a response with status code 404, with default header values.
No such pod
func NewPodStatsAllLibpodNotFound ¶
func NewPodStatsAllLibpodNotFound() *PodStatsAllLibpodNotFound
NewPodStatsAllLibpodNotFound creates a PodStatsAllLibpodNotFound with default headers values
func (*PodStatsAllLibpodNotFound) Code ¶
func (o *PodStatsAllLibpodNotFound) Code() int
Code gets the status code for the pod stats all libpod not found response
func (*PodStatsAllLibpodNotFound) Error ¶
func (o *PodStatsAllLibpodNotFound) Error() string
func (*PodStatsAllLibpodNotFound) GetPayload ¶
func (o *PodStatsAllLibpodNotFound) GetPayload() *models.ErrorModel
func (*PodStatsAllLibpodNotFound) IsClientError ¶
func (o *PodStatsAllLibpodNotFound) IsClientError() bool
IsClientError returns true when this pod stats all libpod not found response has a 4xx status code
func (*PodStatsAllLibpodNotFound) IsCode ¶
func (o *PodStatsAllLibpodNotFound) IsCode(code int) bool
IsCode returns true when this pod stats all libpod not found response a status code equal to that given
func (*PodStatsAllLibpodNotFound) IsRedirect ¶
func (o *PodStatsAllLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this pod stats all libpod not found response has a 3xx status code
func (*PodStatsAllLibpodNotFound) IsServerError ¶
func (o *PodStatsAllLibpodNotFound) IsServerError() bool
IsServerError returns true when this pod stats all libpod not found response has a 5xx status code
func (*PodStatsAllLibpodNotFound) IsSuccess ¶
func (o *PodStatsAllLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this pod stats all libpod not found response has a 2xx status code
func (*PodStatsAllLibpodNotFound) String ¶
func (o *PodStatsAllLibpodNotFound) String() string
type PodStatsAllLibpodOK ¶
type PodStatsAllLibpodOK struct {
Payload []*models.PodStatsReport
}
PodStatsAllLibpodOK describes a response with status code 200, with default header values.
Pod Statistics
func NewPodStatsAllLibpodOK ¶
func NewPodStatsAllLibpodOK() *PodStatsAllLibpodOK
NewPodStatsAllLibpodOK creates a PodStatsAllLibpodOK with default headers values
func (*PodStatsAllLibpodOK) Code ¶
func (o *PodStatsAllLibpodOK) Code() int
Code gets the status code for the pod stats all libpod o k response
func (*PodStatsAllLibpodOK) Error ¶
func (o *PodStatsAllLibpodOK) Error() string
func (*PodStatsAllLibpodOK) GetPayload ¶
func (o *PodStatsAllLibpodOK) GetPayload() []*models.PodStatsReport
func (*PodStatsAllLibpodOK) IsClientError ¶
func (o *PodStatsAllLibpodOK) IsClientError() bool
IsClientError returns true when this pod stats all libpod o k response has a 4xx status code
func (*PodStatsAllLibpodOK) IsCode ¶
func (o *PodStatsAllLibpodOK) IsCode(code int) bool
IsCode returns true when this pod stats all libpod o k response a status code equal to that given
func (*PodStatsAllLibpodOK) IsRedirect ¶
func (o *PodStatsAllLibpodOK) IsRedirect() bool
IsRedirect returns true when this pod stats all libpod o k response has a 3xx status code
func (*PodStatsAllLibpodOK) IsServerError ¶
func (o *PodStatsAllLibpodOK) IsServerError() bool
IsServerError returns true when this pod stats all libpod o k response has a 5xx status code
func (*PodStatsAllLibpodOK) IsSuccess ¶
func (o *PodStatsAllLibpodOK) IsSuccess() bool
IsSuccess returns true when this pod stats all libpod o k response has a 2xx status code
func (*PodStatsAllLibpodOK) String ¶
func (o *PodStatsAllLibpodOK) String() string
type PodStatsAllLibpodParams ¶
type PodStatsAllLibpodParams struct {
// All.
//
// Provide statistics for all running pods.
All *bool
// Delay.
//
// Time in seconds between stats reports
//
// Default: 5
Delay *int64
// NamesOrIDs.
//
// Names or IDs of pods.
NamesOrIDs []string
// Stream.
//
// Stream the output
Stream *bool
HTTPClient *http.Client
// contains filtered or unexported fields
}
PodStatsAllLibpodParams contains all the parameters to send to the API endpoint
for the pod stats all libpod operation. Typically these are written to a http.Request.
func NewPodStatsAllLibpodParams ¶
func NewPodStatsAllLibpodParams() *PodStatsAllLibpodParams
NewPodStatsAllLibpodParams creates a new PodStatsAllLibpodParams 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 NewPodStatsAllLibpodParamsWithContext
deprecated
func NewPodStatsAllLibpodParamsWithContext(ctx context.Context) *PodStatsAllLibpodParams
NewPodStatsAllLibpodParamsWithContext creates a new PodStatsAllLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PodStatsAllLibpodParams.
func NewPodStatsAllLibpodParamsWithHTTPClient ¶
func NewPodStatsAllLibpodParamsWithHTTPClient(client *http.Client) *PodStatsAllLibpodParams
NewPodStatsAllLibpodParamsWithHTTPClient creates a new PodStatsAllLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewPodStatsAllLibpodParamsWithTimeout ¶
func NewPodStatsAllLibpodParamsWithTimeout(timeout time.Duration) *PodStatsAllLibpodParams
NewPodStatsAllLibpodParamsWithTimeout creates a new PodStatsAllLibpodParams object with the ability to set a timeout on a request.
func (*PodStatsAllLibpodParams) SetAll ¶
func (o *PodStatsAllLibpodParams) SetAll(all *bool)
SetAll adds the all to the pod stats all libpod params.
func (*PodStatsAllLibpodParams) SetContext
deprecated
func (o *PodStatsAllLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the pod stats all libpod params.
Deprecated: use the operation call with context to pass the context instead of PodStatsAllLibpodParams.
func (*PodStatsAllLibpodParams) SetDefaults ¶
func (o *PodStatsAllLibpodParams) SetDefaults()
SetDefaults hydrates default values in the pod stats all libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodStatsAllLibpodParams) SetDelay ¶
func (o *PodStatsAllLibpodParams) SetDelay(delay *int64)
SetDelay adds the delay to the pod stats all libpod params.
func (*PodStatsAllLibpodParams) SetHTTPClient ¶
func (o *PodStatsAllLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod stats all libpod params.
func (*PodStatsAllLibpodParams) SetNamesOrIDs ¶
func (o *PodStatsAllLibpodParams) SetNamesOrIDs(namesOrIDs []string)
SetNamesOrIDs adds the namesOrIds to the pod stats all libpod params.
func (*PodStatsAllLibpodParams) SetStream ¶
func (o *PodStatsAllLibpodParams) SetStream(stream *bool)
SetStream adds the stream to the pod stats all libpod params.
func (*PodStatsAllLibpodParams) SetTimeout ¶
func (o *PodStatsAllLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pod stats all libpod params.
func (*PodStatsAllLibpodParams) WithAll ¶
func (o *PodStatsAllLibpodParams) WithAll(all *bool) *PodStatsAllLibpodParams
WithAll adds the all to the pod stats all libpod params.
func (*PodStatsAllLibpodParams) WithContext
deprecated
func (o *PodStatsAllLibpodParams) WithContext(ctx context.Context) *PodStatsAllLibpodParams
WithContext adds the context to the pod stats all libpod params.
Deprecated: use the operation call with context to pass the context instead of PodStatsAllLibpodParams.
func (*PodStatsAllLibpodParams) WithDefaults ¶
func (o *PodStatsAllLibpodParams) WithDefaults() *PodStatsAllLibpodParams
WithDefaults hydrates default values in the pod stats all libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodStatsAllLibpodParams) WithDelay ¶
func (o *PodStatsAllLibpodParams) WithDelay(delay *int64) *PodStatsAllLibpodParams
WithDelay adds the delay to the pod stats all libpod params.
func (*PodStatsAllLibpodParams) WithHTTPClient ¶
func (o *PodStatsAllLibpodParams) WithHTTPClient(client *http.Client) *PodStatsAllLibpodParams
WithHTTPClient adds the HTTPClient to the pod stats all libpod params.
func (*PodStatsAllLibpodParams) WithNamesOrIDs ¶
func (o *PodStatsAllLibpodParams) WithNamesOrIDs(namesOrIDs []string) *PodStatsAllLibpodParams
WithNamesOrIDs adds the namesOrIDs to the pod stats all libpod params.
func (*PodStatsAllLibpodParams) WithStream ¶
func (o *PodStatsAllLibpodParams) WithStream(stream *bool) *PodStatsAllLibpodParams
WithStream adds the stream to the pod stats all libpod params.
func (*PodStatsAllLibpodParams) WithTimeout ¶
func (o *PodStatsAllLibpodParams) WithTimeout(timeout time.Duration) *PodStatsAllLibpodParams
WithTimeout adds the timeout to the pod stats all libpod params.
func (*PodStatsAllLibpodParams) WriteToRequest ¶
func (o *PodStatsAllLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PodStatsAllLibpodReader ¶
type PodStatsAllLibpodReader struct {
// contains filtered or unexported fields
}
PodStatsAllLibpodReader is a Reader for the PodStatsAllLibpod structure.
func (*PodStatsAllLibpodReader) ReadResponse ¶
func (o *PodStatsAllLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PodStopLibpodBadRequest ¶
type PodStopLibpodBadRequest struct {
Payload *models.ErrorModel
}
PodStopLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewPodStopLibpodBadRequest ¶
func NewPodStopLibpodBadRequest() *PodStopLibpodBadRequest
NewPodStopLibpodBadRequest creates a PodStopLibpodBadRequest with default headers values
func (*PodStopLibpodBadRequest) Code ¶
func (o *PodStopLibpodBadRequest) Code() int
Code gets the status code for the pod stop libpod bad request response
func (*PodStopLibpodBadRequest) Error ¶
func (o *PodStopLibpodBadRequest) Error() string
func (*PodStopLibpodBadRequest) GetPayload ¶
func (o *PodStopLibpodBadRequest) GetPayload() *models.ErrorModel
func (*PodStopLibpodBadRequest) IsClientError ¶
func (o *PodStopLibpodBadRequest) IsClientError() bool
IsClientError returns true when this pod stop libpod bad request response has a 4xx status code
func (*PodStopLibpodBadRequest) IsCode ¶
func (o *PodStopLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this pod stop libpod bad request response a status code equal to that given
func (*PodStopLibpodBadRequest) IsRedirect ¶
func (o *PodStopLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this pod stop libpod bad request response has a 3xx status code
func (*PodStopLibpodBadRequest) IsServerError ¶
func (o *PodStopLibpodBadRequest) IsServerError() bool
IsServerError returns true when this pod stop libpod bad request response has a 5xx status code
func (*PodStopLibpodBadRequest) IsSuccess ¶
func (o *PodStopLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this pod stop libpod bad request response has a 2xx status code
func (*PodStopLibpodBadRequest) String ¶
func (o *PodStopLibpodBadRequest) String() string
type PodStopLibpodConflict ¶
type PodStopLibpodConflict struct {
Payload *models.PodStopReport
}
PodStopLibpodConflict describes a response with status code 409, with default header values.
Stop pod
func NewPodStopLibpodConflict ¶
func NewPodStopLibpodConflict() *PodStopLibpodConflict
NewPodStopLibpodConflict creates a PodStopLibpodConflict with default headers values
func (*PodStopLibpodConflict) Code ¶
func (o *PodStopLibpodConflict) Code() int
Code gets the status code for the pod stop libpod conflict response
func (*PodStopLibpodConflict) Error ¶
func (o *PodStopLibpodConflict) Error() string
func (*PodStopLibpodConflict) GetPayload ¶
func (o *PodStopLibpodConflict) GetPayload() *models.PodStopReport
func (*PodStopLibpodConflict) IsClientError ¶
func (o *PodStopLibpodConflict) IsClientError() bool
IsClientError returns true when this pod stop libpod conflict response has a 4xx status code
func (*PodStopLibpodConflict) IsCode ¶
func (o *PodStopLibpodConflict) IsCode(code int) bool
IsCode returns true when this pod stop libpod conflict response a status code equal to that given
func (*PodStopLibpodConflict) IsRedirect ¶
func (o *PodStopLibpodConflict) IsRedirect() bool
IsRedirect returns true when this pod stop libpod conflict response has a 3xx status code
func (*PodStopLibpodConflict) IsServerError ¶
func (o *PodStopLibpodConflict) IsServerError() bool
IsServerError returns true when this pod stop libpod conflict response has a 5xx status code
func (*PodStopLibpodConflict) IsSuccess ¶
func (o *PodStopLibpodConflict) IsSuccess() bool
IsSuccess returns true when this pod stop libpod conflict response has a 2xx status code
func (*PodStopLibpodConflict) String ¶
func (o *PodStopLibpodConflict) String() string
type PodStopLibpodInternalServerError ¶
type PodStopLibpodInternalServerError struct {
Payload *models.ErrorModel
}
PodStopLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPodStopLibpodInternalServerError ¶
func NewPodStopLibpodInternalServerError() *PodStopLibpodInternalServerError
NewPodStopLibpodInternalServerError creates a PodStopLibpodInternalServerError with default headers values
func (*PodStopLibpodInternalServerError) Code ¶
func (o *PodStopLibpodInternalServerError) Code() int
Code gets the status code for the pod stop libpod internal server error response
func (*PodStopLibpodInternalServerError) Error ¶
func (o *PodStopLibpodInternalServerError) Error() string
func (*PodStopLibpodInternalServerError) GetPayload ¶
func (o *PodStopLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*PodStopLibpodInternalServerError) IsClientError ¶
func (o *PodStopLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this pod stop libpod internal server error response has a 4xx status code
func (*PodStopLibpodInternalServerError) IsCode ¶
func (o *PodStopLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this pod stop libpod internal server error response a status code equal to that given
func (*PodStopLibpodInternalServerError) IsRedirect ¶
func (o *PodStopLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this pod stop libpod internal server error response has a 3xx status code
func (*PodStopLibpodInternalServerError) IsServerError ¶
func (o *PodStopLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this pod stop libpod internal server error response has a 5xx status code
func (*PodStopLibpodInternalServerError) IsSuccess ¶
func (o *PodStopLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this pod stop libpod internal server error response has a 2xx status code
func (*PodStopLibpodInternalServerError) String ¶
func (o *PodStopLibpodInternalServerError) String() string
type PodStopLibpodNotFound ¶
type PodStopLibpodNotFound struct {
Payload *models.ErrorModel
}
PodStopLibpodNotFound describes a response with status code 404, with default header values.
No such pod
func NewPodStopLibpodNotFound ¶
func NewPodStopLibpodNotFound() *PodStopLibpodNotFound
NewPodStopLibpodNotFound creates a PodStopLibpodNotFound with default headers values
func (*PodStopLibpodNotFound) Code ¶
func (o *PodStopLibpodNotFound) Code() int
Code gets the status code for the pod stop libpod not found response
func (*PodStopLibpodNotFound) Error ¶
func (o *PodStopLibpodNotFound) Error() string
func (*PodStopLibpodNotFound) GetPayload ¶
func (o *PodStopLibpodNotFound) GetPayload() *models.ErrorModel
func (*PodStopLibpodNotFound) IsClientError ¶
func (o *PodStopLibpodNotFound) IsClientError() bool
IsClientError returns true when this pod stop libpod not found response has a 4xx status code
func (*PodStopLibpodNotFound) IsCode ¶
func (o *PodStopLibpodNotFound) IsCode(code int) bool
IsCode returns true when this pod stop libpod not found response a status code equal to that given
func (*PodStopLibpodNotFound) IsRedirect ¶
func (o *PodStopLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this pod stop libpod not found response has a 3xx status code
func (*PodStopLibpodNotFound) IsServerError ¶
func (o *PodStopLibpodNotFound) IsServerError() bool
IsServerError returns true when this pod stop libpod not found response has a 5xx status code
func (*PodStopLibpodNotFound) IsSuccess ¶
func (o *PodStopLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this pod stop libpod not found response has a 2xx status code
func (*PodStopLibpodNotFound) String ¶
func (o *PodStopLibpodNotFound) String() string
type PodStopLibpodNotModified ¶
type PodStopLibpodNotModified struct {
Payload *models.ErrorModel
}
PodStopLibpodNotModified describes a response with status code 304, with default header values.
Pod already stopped
func NewPodStopLibpodNotModified ¶
func NewPodStopLibpodNotModified() *PodStopLibpodNotModified
NewPodStopLibpodNotModified creates a PodStopLibpodNotModified with default headers values
func (*PodStopLibpodNotModified) Code ¶
func (o *PodStopLibpodNotModified) Code() int
Code gets the status code for the pod stop libpod not modified response
func (*PodStopLibpodNotModified) Error ¶
func (o *PodStopLibpodNotModified) Error() string
func (*PodStopLibpodNotModified) GetPayload ¶
func (o *PodStopLibpodNotModified) GetPayload() *models.ErrorModel
func (*PodStopLibpodNotModified) IsClientError ¶
func (o *PodStopLibpodNotModified) IsClientError() bool
IsClientError returns true when this pod stop libpod not modified response has a 4xx status code
func (*PodStopLibpodNotModified) IsCode ¶
func (o *PodStopLibpodNotModified) IsCode(code int) bool
IsCode returns true when this pod stop libpod not modified response a status code equal to that given
func (*PodStopLibpodNotModified) IsRedirect ¶
func (o *PodStopLibpodNotModified) IsRedirect() bool
IsRedirect returns true when this pod stop libpod not modified response has a 3xx status code
func (*PodStopLibpodNotModified) IsServerError ¶
func (o *PodStopLibpodNotModified) IsServerError() bool
IsServerError returns true when this pod stop libpod not modified response has a 5xx status code
func (*PodStopLibpodNotModified) IsSuccess ¶
func (o *PodStopLibpodNotModified) IsSuccess() bool
IsSuccess returns true when this pod stop libpod not modified response has a 2xx status code
func (*PodStopLibpodNotModified) String ¶
func (o *PodStopLibpodNotModified) String() string
type PodStopLibpodOK ¶
type PodStopLibpodOK struct {
Payload *models.PodStopReport
}
PodStopLibpodOK describes a response with status code 200, with default header values.
Stop pod
func NewPodStopLibpodOK ¶
func NewPodStopLibpodOK() *PodStopLibpodOK
NewPodStopLibpodOK creates a PodStopLibpodOK with default headers values
func (*PodStopLibpodOK) Code ¶
func (o *PodStopLibpodOK) Code() int
Code gets the status code for the pod stop libpod o k response
func (*PodStopLibpodOK) Error ¶
func (o *PodStopLibpodOK) Error() string
func (*PodStopLibpodOK) GetPayload ¶
func (o *PodStopLibpodOK) GetPayload() *models.PodStopReport
func (*PodStopLibpodOK) IsClientError ¶
func (o *PodStopLibpodOK) IsClientError() bool
IsClientError returns true when this pod stop libpod o k response has a 4xx status code
func (*PodStopLibpodOK) IsCode ¶
func (o *PodStopLibpodOK) IsCode(code int) bool
IsCode returns true when this pod stop libpod o k response a status code equal to that given
func (*PodStopLibpodOK) IsRedirect ¶
func (o *PodStopLibpodOK) IsRedirect() bool
IsRedirect returns true when this pod stop libpod o k response has a 3xx status code
func (*PodStopLibpodOK) IsServerError ¶
func (o *PodStopLibpodOK) IsServerError() bool
IsServerError returns true when this pod stop libpod o k response has a 5xx status code
func (*PodStopLibpodOK) IsSuccess ¶
func (o *PodStopLibpodOK) IsSuccess() bool
IsSuccess returns true when this pod stop libpod o k response has a 2xx status code
func (*PodStopLibpodOK) String ¶
func (o *PodStopLibpodOK) String() string
type PodStopLibpodParams ¶
type PodStopLibpodParams struct {
// Name.
//
// the name or ID of the pod
Name string
// T.
//
// timeout
T *int64
HTTPClient *http.Client
// contains filtered or unexported fields
}
PodStopLibpodParams contains all the parameters to send to the API endpoint
for the pod stop libpod operation. Typically these are written to a http.Request.
func NewPodStopLibpodParams ¶
func NewPodStopLibpodParams() *PodStopLibpodParams
NewPodStopLibpodParams creates a new PodStopLibpodParams 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 NewPodStopLibpodParamsWithContext
deprecated
func NewPodStopLibpodParamsWithContext(ctx context.Context) *PodStopLibpodParams
NewPodStopLibpodParamsWithContext creates a new PodStopLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PodStopLibpodParams.
func NewPodStopLibpodParamsWithHTTPClient ¶
func NewPodStopLibpodParamsWithHTTPClient(client *http.Client) *PodStopLibpodParams
NewPodStopLibpodParamsWithHTTPClient creates a new PodStopLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewPodStopLibpodParamsWithTimeout ¶
func NewPodStopLibpodParamsWithTimeout(timeout time.Duration) *PodStopLibpodParams
NewPodStopLibpodParamsWithTimeout creates a new PodStopLibpodParams object with the ability to set a timeout on a request.
func (*PodStopLibpodParams) SetContext
deprecated
func (o *PodStopLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the pod stop libpod params.
Deprecated: use the operation call with context to pass the context instead of PodStopLibpodParams.
func (*PodStopLibpodParams) SetDefaults ¶
func (o *PodStopLibpodParams) SetDefaults()
SetDefaults hydrates default values in the pod stop libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodStopLibpodParams) SetHTTPClient ¶
func (o *PodStopLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod stop libpod params.
func (*PodStopLibpodParams) SetName ¶
func (o *PodStopLibpodParams) SetName(name string)
SetName adds the name to the pod stop libpod params.
func (*PodStopLibpodParams) SetT ¶
func (o *PodStopLibpodParams) SetT(t *int64)
SetT adds the t to the pod stop libpod params.
func (*PodStopLibpodParams) SetTimeout ¶
func (o *PodStopLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pod stop libpod params.
func (*PodStopLibpodParams) WithContext
deprecated
func (o *PodStopLibpodParams) WithContext(ctx context.Context) *PodStopLibpodParams
WithContext adds the context to the pod stop libpod params.
Deprecated: use the operation call with context to pass the context instead of PodStopLibpodParams.
func (*PodStopLibpodParams) WithDefaults ¶
func (o *PodStopLibpodParams) WithDefaults() *PodStopLibpodParams
WithDefaults hydrates default values in the pod stop libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodStopLibpodParams) WithHTTPClient ¶
func (o *PodStopLibpodParams) WithHTTPClient(client *http.Client) *PodStopLibpodParams
WithHTTPClient adds the HTTPClient to the pod stop libpod params.
func (*PodStopLibpodParams) WithName ¶
func (o *PodStopLibpodParams) WithName(name string) *PodStopLibpodParams
WithName adds the name to the pod stop libpod params.
func (*PodStopLibpodParams) WithT ¶
func (o *PodStopLibpodParams) WithT(t *int64) *PodStopLibpodParams
WithT adds the t to the pod stop libpod params.
func (*PodStopLibpodParams) WithTimeout ¶
func (o *PodStopLibpodParams) WithTimeout(timeout time.Duration) *PodStopLibpodParams
WithTimeout adds the timeout to the pod stop libpod params.
func (*PodStopLibpodParams) WriteToRequest ¶
func (o *PodStopLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PodStopLibpodReader ¶
type PodStopLibpodReader struct {
// contains filtered or unexported fields
}
PodStopLibpodReader is a Reader for the PodStopLibpod structure.
func (*PodStopLibpodReader) ReadResponse ¶
func (o *PodStopLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PodTopLibpodInternalServerError ¶
type PodTopLibpodInternalServerError struct {
Payload *models.ErrorModel
}
PodTopLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPodTopLibpodInternalServerError ¶
func NewPodTopLibpodInternalServerError() *PodTopLibpodInternalServerError
NewPodTopLibpodInternalServerError creates a PodTopLibpodInternalServerError with default headers values
func (*PodTopLibpodInternalServerError) Code ¶
func (o *PodTopLibpodInternalServerError) Code() int
Code gets the status code for the pod top libpod internal server error response
func (*PodTopLibpodInternalServerError) Error ¶
func (o *PodTopLibpodInternalServerError) Error() string
func (*PodTopLibpodInternalServerError) GetPayload ¶
func (o *PodTopLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*PodTopLibpodInternalServerError) IsClientError ¶
func (o *PodTopLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this pod top libpod internal server error response has a 4xx status code
func (*PodTopLibpodInternalServerError) IsCode ¶
func (o *PodTopLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this pod top libpod internal server error response a status code equal to that given
func (*PodTopLibpodInternalServerError) IsRedirect ¶
func (o *PodTopLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this pod top libpod internal server error response has a 3xx status code
func (*PodTopLibpodInternalServerError) IsServerError ¶
func (o *PodTopLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this pod top libpod internal server error response has a 5xx status code
func (*PodTopLibpodInternalServerError) IsSuccess ¶
func (o *PodTopLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this pod top libpod internal server error response has a 2xx status code
func (*PodTopLibpodInternalServerError) String ¶
func (o *PodTopLibpodInternalServerError) String() string
type PodTopLibpodNotFound ¶
type PodTopLibpodNotFound struct {
Payload *models.ErrorModel
}
PodTopLibpodNotFound describes a response with status code 404, with default header values.
No such pod
func NewPodTopLibpodNotFound ¶
func NewPodTopLibpodNotFound() *PodTopLibpodNotFound
NewPodTopLibpodNotFound creates a PodTopLibpodNotFound with default headers values
func (*PodTopLibpodNotFound) Code ¶
func (o *PodTopLibpodNotFound) Code() int
Code gets the status code for the pod top libpod not found response
func (*PodTopLibpodNotFound) Error ¶
func (o *PodTopLibpodNotFound) Error() string
func (*PodTopLibpodNotFound) GetPayload ¶
func (o *PodTopLibpodNotFound) GetPayload() *models.ErrorModel
func (*PodTopLibpodNotFound) IsClientError ¶
func (o *PodTopLibpodNotFound) IsClientError() bool
IsClientError returns true when this pod top libpod not found response has a 4xx status code
func (*PodTopLibpodNotFound) IsCode ¶
func (o *PodTopLibpodNotFound) IsCode(code int) bool
IsCode returns true when this pod top libpod not found response a status code equal to that given
func (*PodTopLibpodNotFound) IsRedirect ¶
func (o *PodTopLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this pod top libpod not found response has a 3xx status code
func (*PodTopLibpodNotFound) IsServerError ¶
func (o *PodTopLibpodNotFound) IsServerError() bool
IsServerError returns true when this pod top libpod not found response has a 5xx status code
func (*PodTopLibpodNotFound) IsSuccess ¶
func (o *PodTopLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this pod top libpod not found response has a 2xx status code
func (*PodTopLibpodNotFound) String ¶
func (o *PodTopLibpodNotFound) String() string
type PodTopLibpodOK ¶
type PodTopLibpodOK struct {
Payload *models.PodTopOKBody
}
PodTopLibpodOK describes a response with status code 200, with default header values.
List processes in pod
func NewPodTopLibpodOK ¶
func NewPodTopLibpodOK() *PodTopLibpodOK
NewPodTopLibpodOK creates a PodTopLibpodOK with default headers values
func (*PodTopLibpodOK) Code ¶
func (o *PodTopLibpodOK) Code() int
Code gets the status code for the pod top libpod o k response
func (*PodTopLibpodOK) Error ¶
func (o *PodTopLibpodOK) Error() string
func (*PodTopLibpodOK) GetPayload ¶
func (o *PodTopLibpodOK) GetPayload() *models.PodTopOKBody
func (*PodTopLibpodOK) IsClientError ¶
func (o *PodTopLibpodOK) IsClientError() bool
IsClientError returns true when this pod top libpod o k response has a 4xx status code
func (*PodTopLibpodOK) IsCode ¶
func (o *PodTopLibpodOK) IsCode(code int) bool
IsCode returns true when this pod top libpod o k response a status code equal to that given
func (*PodTopLibpodOK) IsRedirect ¶
func (o *PodTopLibpodOK) IsRedirect() bool
IsRedirect returns true when this pod top libpod o k response has a 3xx status code
func (*PodTopLibpodOK) IsServerError ¶
func (o *PodTopLibpodOK) IsServerError() bool
IsServerError returns true when this pod top libpod o k response has a 5xx status code
func (*PodTopLibpodOK) IsSuccess ¶
func (o *PodTopLibpodOK) IsSuccess() bool
IsSuccess returns true when this pod top libpod o k response has a 2xx status code
func (*PodTopLibpodOK) String ¶
func (o *PodTopLibpodOK) String() string
type PodTopLibpodParams ¶
type PodTopLibpodParams struct {
// Delay.
//
// if streaming, delay in seconds between updates. Must be >1. (As of version 4.0)
//
// Default: 5
Delay *int64
// Name.
//
// Name of pod to query for processes
Name string
// PsArgs.
//
// arguments to pass to ps such as aux.
//
PsArgs *string
// Stream.
//
// when true, repeatedly stream the latest output (As of version 4.0)
Stream *bool
HTTPClient *http.Client
// contains filtered or unexported fields
}
PodTopLibpodParams contains all the parameters to send to the API endpoint
for the pod top libpod operation. Typically these are written to a http.Request.
func NewPodTopLibpodParams ¶
func NewPodTopLibpodParams() *PodTopLibpodParams
NewPodTopLibpodParams creates a new PodTopLibpodParams 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 NewPodTopLibpodParamsWithContext
deprecated
func NewPodTopLibpodParamsWithContext(ctx context.Context) *PodTopLibpodParams
NewPodTopLibpodParamsWithContext creates a new PodTopLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PodTopLibpodParams.
func NewPodTopLibpodParamsWithHTTPClient ¶
func NewPodTopLibpodParamsWithHTTPClient(client *http.Client) *PodTopLibpodParams
NewPodTopLibpodParamsWithHTTPClient creates a new PodTopLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewPodTopLibpodParamsWithTimeout ¶
func NewPodTopLibpodParamsWithTimeout(timeout time.Duration) *PodTopLibpodParams
NewPodTopLibpodParamsWithTimeout creates a new PodTopLibpodParams object with the ability to set a timeout on a request.
func (*PodTopLibpodParams) SetContext
deprecated
func (o *PodTopLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the pod top libpod params.
Deprecated: use the operation call with context to pass the context instead of PodTopLibpodParams.
func (*PodTopLibpodParams) SetDefaults ¶
func (o *PodTopLibpodParams) SetDefaults()
SetDefaults hydrates default values in the pod top libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodTopLibpodParams) SetDelay ¶
func (o *PodTopLibpodParams) SetDelay(delay *int64)
SetDelay adds the delay to the pod top libpod params.
func (*PodTopLibpodParams) SetHTTPClient ¶
func (o *PodTopLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod top libpod params.
func (*PodTopLibpodParams) SetName ¶
func (o *PodTopLibpodParams) SetName(name string)
SetName adds the name to the pod top libpod params.
func (*PodTopLibpodParams) SetPsArgs ¶
func (o *PodTopLibpodParams) SetPsArgs(psArgs *string)
SetPsArgs adds the psArgs to the pod top libpod params.
func (*PodTopLibpodParams) SetStream ¶
func (o *PodTopLibpodParams) SetStream(stream *bool)
SetStream adds the stream to the pod top libpod params.
func (*PodTopLibpodParams) SetTimeout ¶
func (o *PodTopLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pod top libpod params.
func (*PodTopLibpodParams) WithContext
deprecated
func (o *PodTopLibpodParams) WithContext(ctx context.Context) *PodTopLibpodParams
WithContext adds the context to the pod top libpod params.
Deprecated: use the operation call with context to pass the context instead of PodTopLibpodParams.
func (*PodTopLibpodParams) WithDefaults ¶
func (o *PodTopLibpodParams) WithDefaults() *PodTopLibpodParams
WithDefaults hydrates default values in the pod top libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodTopLibpodParams) WithDelay ¶
func (o *PodTopLibpodParams) WithDelay(delay *int64) *PodTopLibpodParams
WithDelay adds the delay to the pod top libpod params.
func (*PodTopLibpodParams) WithHTTPClient ¶
func (o *PodTopLibpodParams) WithHTTPClient(client *http.Client) *PodTopLibpodParams
WithHTTPClient adds the HTTPClient to the pod top libpod params.
func (*PodTopLibpodParams) WithName ¶
func (o *PodTopLibpodParams) WithName(name string) *PodTopLibpodParams
WithName adds the name to the pod top libpod params.
func (*PodTopLibpodParams) WithPsArgs ¶
func (o *PodTopLibpodParams) WithPsArgs(psArgs *string) *PodTopLibpodParams
WithPsArgs adds the psArgs to the pod top libpod params.
func (*PodTopLibpodParams) WithStream ¶
func (o *PodTopLibpodParams) WithStream(stream *bool) *PodTopLibpodParams
WithStream adds the stream to the pod top libpod params.
func (*PodTopLibpodParams) WithTimeout ¶
func (o *PodTopLibpodParams) WithTimeout(timeout time.Duration) *PodTopLibpodParams
WithTimeout adds the timeout to the pod top libpod params.
func (*PodTopLibpodParams) WriteToRequest ¶
func (o *PodTopLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PodTopLibpodReader ¶
type PodTopLibpodReader struct {
// contains filtered or unexported fields
}
PodTopLibpodReader is a Reader for the PodTopLibpod structure.
func (*PodTopLibpodReader) ReadResponse ¶
func (o *PodTopLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PodUnpauseLibpodConflict ¶
type PodUnpauseLibpodConflict struct {
Payload *models.PodUnpauseReport
}
PodUnpauseLibpodConflict describes a response with status code 409, with default header values.
Unpause pod
func NewPodUnpauseLibpodConflict ¶
func NewPodUnpauseLibpodConflict() *PodUnpauseLibpodConflict
NewPodUnpauseLibpodConflict creates a PodUnpauseLibpodConflict with default headers values
func (*PodUnpauseLibpodConflict) Code ¶
func (o *PodUnpauseLibpodConflict) Code() int
Code gets the status code for the pod unpause libpod conflict response
func (*PodUnpauseLibpodConflict) Error ¶
func (o *PodUnpauseLibpodConflict) Error() string
func (*PodUnpauseLibpodConflict) GetPayload ¶
func (o *PodUnpauseLibpodConflict) GetPayload() *models.PodUnpauseReport
func (*PodUnpauseLibpodConflict) IsClientError ¶
func (o *PodUnpauseLibpodConflict) IsClientError() bool
IsClientError returns true when this pod unpause libpod conflict response has a 4xx status code
func (*PodUnpauseLibpodConflict) IsCode ¶
func (o *PodUnpauseLibpodConflict) IsCode(code int) bool
IsCode returns true when this pod unpause libpod conflict response a status code equal to that given
func (*PodUnpauseLibpodConflict) IsRedirect ¶
func (o *PodUnpauseLibpodConflict) IsRedirect() bool
IsRedirect returns true when this pod unpause libpod conflict response has a 3xx status code
func (*PodUnpauseLibpodConflict) IsServerError ¶
func (o *PodUnpauseLibpodConflict) IsServerError() bool
IsServerError returns true when this pod unpause libpod conflict response has a 5xx status code
func (*PodUnpauseLibpodConflict) IsSuccess ¶
func (o *PodUnpauseLibpodConflict) IsSuccess() bool
IsSuccess returns true when this pod unpause libpod conflict response has a 2xx status code
func (*PodUnpauseLibpodConflict) String ¶
func (o *PodUnpauseLibpodConflict) String() string
type PodUnpauseLibpodInternalServerError ¶
type PodUnpauseLibpodInternalServerError struct {
Payload *models.ErrorModel
}
PodUnpauseLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPodUnpauseLibpodInternalServerError ¶
func NewPodUnpauseLibpodInternalServerError() *PodUnpauseLibpodInternalServerError
NewPodUnpauseLibpodInternalServerError creates a PodUnpauseLibpodInternalServerError with default headers values
func (*PodUnpauseLibpodInternalServerError) Code ¶
func (o *PodUnpauseLibpodInternalServerError) Code() int
Code gets the status code for the pod unpause libpod internal server error response
func (*PodUnpauseLibpodInternalServerError) Error ¶
func (o *PodUnpauseLibpodInternalServerError) Error() string
func (*PodUnpauseLibpodInternalServerError) GetPayload ¶
func (o *PodUnpauseLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*PodUnpauseLibpodInternalServerError) IsClientError ¶
func (o *PodUnpauseLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this pod unpause libpod internal server error response has a 4xx status code
func (*PodUnpauseLibpodInternalServerError) IsCode ¶
func (o *PodUnpauseLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this pod unpause libpod internal server error response a status code equal to that given
func (*PodUnpauseLibpodInternalServerError) IsRedirect ¶
func (o *PodUnpauseLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this pod unpause libpod internal server error response has a 3xx status code
func (*PodUnpauseLibpodInternalServerError) IsServerError ¶
func (o *PodUnpauseLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this pod unpause libpod internal server error response has a 5xx status code
func (*PodUnpauseLibpodInternalServerError) IsSuccess ¶
func (o *PodUnpauseLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this pod unpause libpod internal server error response has a 2xx status code
func (*PodUnpauseLibpodInternalServerError) String ¶
func (o *PodUnpauseLibpodInternalServerError) String() string
type PodUnpauseLibpodNotFound ¶
type PodUnpauseLibpodNotFound struct {
Payload *models.ErrorModel
}
PodUnpauseLibpodNotFound describes a response with status code 404, with default header values.
No such pod
func NewPodUnpauseLibpodNotFound ¶
func NewPodUnpauseLibpodNotFound() *PodUnpauseLibpodNotFound
NewPodUnpauseLibpodNotFound creates a PodUnpauseLibpodNotFound with default headers values
func (*PodUnpauseLibpodNotFound) Code ¶
func (o *PodUnpauseLibpodNotFound) Code() int
Code gets the status code for the pod unpause libpod not found response
func (*PodUnpauseLibpodNotFound) Error ¶
func (o *PodUnpauseLibpodNotFound) Error() string
func (*PodUnpauseLibpodNotFound) GetPayload ¶
func (o *PodUnpauseLibpodNotFound) GetPayload() *models.ErrorModel
func (*PodUnpauseLibpodNotFound) IsClientError ¶
func (o *PodUnpauseLibpodNotFound) IsClientError() bool
IsClientError returns true when this pod unpause libpod not found response has a 4xx status code
func (*PodUnpauseLibpodNotFound) IsCode ¶
func (o *PodUnpauseLibpodNotFound) IsCode(code int) bool
IsCode returns true when this pod unpause libpod not found response a status code equal to that given
func (*PodUnpauseLibpodNotFound) IsRedirect ¶
func (o *PodUnpauseLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this pod unpause libpod not found response has a 3xx status code
func (*PodUnpauseLibpodNotFound) IsServerError ¶
func (o *PodUnpauseLibpodNotFound) IsServerError() bool
IsServerError returns true when this pod unpause libpod not found response has a 5xx status code
func (*PodUnpauseLibpodNotFound) IsSuccess ¶
func (o *PodUnpauseLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this pod unpause libpod not found response has a 2xx status code
func (*PodUnpauseLibpodNotFound) String ¶
func (o *PodUnpauseLibpodNotFound) String() string
type PodUnpauseLibpodOK ¶
type PodUnpauseLibpodOK struct {
Payload *models.PodUnpauseReport
}
PodUnpauseLibpodOK describes a response with status code 200, with default header values.
Unpause pod
func NewPodUnpauseLibpodOK ¶
func NewPodUnpauseLibpodOK() *PodUnpauseLibpodOK
NewPodUnpauseLibpodOK creates a PodUnpauseLibpodOK with default headers values
func (*PodUnpauseLibpodOK) Code ¶
func (o *PodUnpauseLibpodOK) Code() int
Code gets the status code for the pod unpause libpod o k response
func (*PodUnpauseLibpodOK) Error ¶
func (o *PodUnpauseLibpodOK) Error() string
func (*PodUnpauseLibpodOK) GetPayload ¶
func (o *PodUnpauseLibpodOK) GetPayload() *models.PodUnpauseReport
func (*PodUnpauseLibpodOK) IsClientError ¶
func (o *PodUnpauseLibpodOK) IsClientError() bool
IsClientError returns true when this pod unpause libpod o k response has a 4xx status code
func (*PodUnpauseLibpodOK) IsCode ¶
func (o *PodUnpauseLibpodOK) IsCode(code int) bool
IsCode returns true when this pod unpause libpod o k response a status code equal to that given
func (*PodUnpauseLibpodOK) IsRedirect ¶
func (o *PodUnpauseLibpodOK) IsRedirect() bool
IsRedirect returns true when this pod unpause libpod o k response has a 3xx status code
func (*PodUnpauseLibpodOK) IsServerError ¶
func (o *PodUnpauseLibpodOK) IsServerError() bool
IsServerError returns true when this pod unpause libpod o k response has a 5xx status code
func (*PodUnpauseLibpodOK) IsSuccess ¶
func (o *PodUnpauseLibpodOK) IsSuccess() bool
IsSuccess returns true when this pod unpause libpod o k response has a 2xx status code
func (*PodUnpauseLibpodOK) String ¶
func (o *PodUnpauseLibpodOK) String() string
type PodUnpauseLibpodParams ¶
type PodUnpauseLibpodParams struct {
// Name.
//
// the name or ID of the pod
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PodUnpauseLibpodParams contains all the parameters to send to the API endpoint
for the pod unpause libpod operation. Typically these are written to a http.Request.
func NewPodUnpauseLibpodParams ¶
func NewPodUnpauseLibpodParams() *PodUnpauseLibpodParams
NewPodUnpauseLibpodParams creates a new PodUnpauseLibpodParams 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 NewPodUnpauseLibpodParamsWithContext
deprecated
func NewPodUnpauseLibpodParamsWithContext(ctx context.Context) *PodUnpauseLibpodParams
NewPodUnpauseLibpodParamsWithContext creates a new PodUnpauseLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PodUnpauseLibpodParams.
func NewPodUnpauseLibpodParamsWithHTTPClient ¶
func NewPodUnpauseLibpodParamsWithHTTPClient(client *http.Client) *PodUnpauseLibpodParams
NewPodUnpauseLibpodParamsWithHTTPClient creates a new PodUnpauseLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewPodUnpauseLibpodParamsWithTimeout ¶
func NewPodUnpauseLibpodParamsWithTimeout(timeout time.Duration) *PodUnpauseLibpodParams
NewPodUnpauseLibpodParamsWithTimeout creates a new PodUnpauseLibpodParams object with the ability to set a timeout on a request.
func (*PodUnpauseLibpodParams) SetContext
deprecated
func (o *PodUnpauseLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the pod unpause libpod params.
Deprecated: use the operation call with context to pass the context instead of PodUnpauseLibpodParams.
func (*PodUnpauseLibpodParams) SetDefaults ¶
func (o *PodUnpauseLibpodParams) SetDefaults()
SetDefaults hydrates default values in the pod unpause libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodUnpauseLibpodParams) SetHTTPClient ¶
func (o *PodUnpauseLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod unpause libpod params.
func (*PodUnpauseLibpodParams) SetName ¶
func (o *PodUnpauseLibpodParams) SetName(name string)
SetName adds the name to the pod unpause libpod params.
func (*PodUnpauseLibpodParams) SetTimeout ¶
func (o *PodUnpauseLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pod unpause libpod params.
func (*PodUnpauseLibpodParams) WithContext
deprecated
func (o *PodUnpauseLibpodParams) WithContext(ctx context.Context) *PodUnpauseLibpodParams
WithContext adds the context to the pod unpause libpod params.
Deprecated: use the operation call with context to pass the context instead of PodUnpauseLibpodParams.
func (*PodUnpauseLibpodParams) WithDefaults ¶
func (o *PodUnpauseLibpodParams) WithDefaults() *PodUnpauseLibpodParams
WithDefaults hydrates default values in the pod unpause libpod params (not the query body).
All values with no default are reset to their zero value.
func (*PodUnpauseLibpodParams) WithHTTPClient ¶
func (o *PodUnpauseLibpodParams) WithHTTPClient(client *http.Client) *PodUnpauseLibpodParams
WithHTTPClient adds the HTTPClient to the pod unpause libpod params.
func (*PodUnpauseLibpodParams) WithName ¶
func (o *PodUnpauseLibpodParams) WithName(name string) *PodUnpauseLibpodParams
WithName adds the name to the pod unpause libpod params.
func (*PodUnpauseLibpodParams) WithTimeout ¶
func (o *PodUnpauseLibpodParams) WithTimeout(timeout time.Duration) *PodUnpauseLibpodParams
WithTimeout adds the timeout to the pod unpause libpod params.
func (*PodUnpauseLibpodParams) WriteToRequest ¶
func (o *PodUnpauseLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PodUnpauseLibpodReader ¶
type PodUnpauseLibpodReader struct {
// contains filtered or unexported fields
}
PodUnpauseLibpodReader is a Reader for the PodUnpauseLibpod structure.
func (*PodUnpauseLibpodReader) ReadResponse ¶
func (o *PodUnpauseLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- pod_create_libpod_parameters.go
- pod_create_libpod_responses.go
- pod_delete_libpod_parameters.go
- pod_delete_libpod_responses.go
- pod_exists_libpod_parameters.go
- pod_exists_libpod_responses.go
- pod_inspect_libpod_parameters.go
- pod_inspect_libpod_responses.go
- pod_kill_libpod_parameters.go
- pod_kill_libpod_responses.go
- pod_list_libpod_parameters.go
- pod_list_libpod_responses.go
- pod_pause_libpod_parameters.go
- pod_pause_libpod_responses.go
- pod_prune_libpod_parameters.go
- pod_prune_libpod_responses.go
- pod_restart_libpod_parameters.go
- pod_restart_libpod_responses.go
- pod_start_libpod_parameters.go
- pod_start_libpod_responses.go
- pod_stats_all_libpod_parameters.go
- pod_stats_all_libpod_responses.go
- pod_stop_libpod_parameters.go
- pod_stop_libpod_responses.go
- pod_top_libpod_parameters.go
- pod_top_libpod_responses.go
- pod_unpause_libpod_parameters.go
- pod_unpause_libpod_responses.go
- pods_client.go