Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxTar(r *runtime.ClientOperation)
- type Client
- func (a *Client) NetworkConnectLibpod(params *NetworkConnectLibpodParams, opts ...ClientOption) (*NetworkConnectLibpodOK, error)
- func (a *Client) NetworkConnectLibpodContext(ctx context.Context, params *NetworkConnectLibpodParams, opts ...ClientOption) (*NetworkConnectLibpodOK, error)
- func (a *Client) NetworkCreateLibpod(params *NetworkCreateLibpodParams, opts ...ClientOption) (*NetworkCreateLibpodOK, error)
- func (a *Client) NetworkCreateLibpodContext(ctx context.Context, params *NetworkCreateLibpodParams, opts ...ClientOption) (*NetworkCreateLibpodOK, error)
- func (a *Client) NetworkDeleteLibpod(params *NetworkDeleteLibpodParams, opts ...ClientOption) (*NetworkDeleteLibpodOK, error)
- func (a *Client) NetworkDeleteLibpodContext(ctx context.Context, params *NetworkDeleteLibpodParams, opts ...ClientOption) (*NetworkDeleteLibpodOK, error)
- func (a *Client) NetworkDisconnectLibpod(params *NetworkDisconnectLibpodParams, opts ...ClientOption) (*NetworkDisconnectLibpodOK, error)
- func (a *Client) NetworkDisconnectLibpodContext(ctx context.Context, params *NetworkDisconnectLibpodParams, ...) (*NetworkDisconnectLibpodOK, error)
- func (a *Client) NetworkExistsLibpod(params *NetworkExistsLibpodParams, opts ...ClientOption) (*NetworkExistsLibpodNoContent, error)
- func (a *Client) NetworkExistsLibpodContext(ctx context.Context, params *NetworkExistsLibpodParams, opts ...ClientOption) (*NetworkExistsLibpodNoContent, error)
- func (a *Client) NetworkInspectLibpod(params *NetworkInspectLibpodParams, opts ...ClientOption) (*NetworkInspectLibpodOK, error)
- func (a *Client) NetworkInspectLibpodContext(ctx context.Context, params *NetworkInspectLibpodParams, opts ...ClientOption) (*NetworkInspectLibpodOK, error)
- func (a *Client) NetworkListLibpod(params *NetworkListLibpodParams, opts ...ClientOption) (*NetworkListLibpodOK, error)
- func (a *Client) NetworkListLibpodContext(ctx context.Context, params *NetworkListLibpodParams, opts ...ClientOption) (*NetworkListLibpodOK, error)
- func (a *Client) NetworkPruneLibpod(params *NetworkPruneLibpodParams, opts ...ClientOption) (*NetworkPruneLibpodOK, error)
- func (a *Client) NetworkPruneLibpodContext(ctx context.Context, params *NetworkPruneLibpodParams, opts ...ClientOption) (*NetworkPruneLibpodOK, error)
- func (a *Client) NetworkUpdateLibpod(params *NetworkUpdateLibpodParams, opts ...ClientOption) (*NetworkUpdateLibpodOK, error)
- func (a *Client) NetworkUpdateLibpodContext(ctx context.Context, params *NetworkUpdateLibpodParams, opts ...ClientOption) (*NetworkUpdateLibpodOK, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- type ClientOption
- type ClientService
- type NetworkConnectLibpodInternalServerError
- func (o *NetworkConnectLibpodInternalServerError) Code() int
- func (o *NetworkConnectLibpodInternalServerError) Error() string
- func (o *NetworkConnectLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *NetworkConnectLibpodInternalServerError) IsClientError() bool
- func (o *NetworkConnectLibpodInternalServerError) IsCode(code int) bool
- func (o *NetworkConnectLibpodInternalServerError) IsRedirect() bool
- func (o *NetworkConnectLibpodInternalServerError) IsServerError() bool
- func (o *NetworkConnectLibpodInternalServerError) IsSuccess() bool
- func (o *NetworkConnectLibpodInternalServerError) String() string
- type NetworkConnectLibpodNotFound
- func (o *NetworkConnectLibpodNotFound) Code() int
- func (o *NetworkConnectLibpodNotFound) Error() string
- func (o *NetworkConnectLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *NetworkConnectLibpodNotFound) IsClientError() bool
- func (o *NetworkConnectLibpodNotFound) IsCode(code int) bool
- func (o *NetworkConnectLibpodNotFound) IsRedirect() bool
- func (o *NetworkConnectLibpodNotFound) IsServerError() bool
- func (o *NetworkConnectLibpodNotFound) IsSuccess() bool
- func (o *NetworkConnectLibpodNotFound) String() string
- type NetworkConnectLibpodOK
- func (o *NetworkConnectLibpodOK) Code() int
- func (o *NetworkConnectLibpodOK) Error() string
- func (o *NetworkConnectLibpodOK) IsClientError() bool
- func (o *NetworkConnectLibpodOK) IsCode(code int) bool
- func (o *NetworkConnectLibpodOK) IsRedirect() bool
- func (o *NetworkConnectLibpodOK) IsServerError() bool
- func (o *NetworkConnectLibpodOK) IsSuccess() bool
- func (o *NetworkConnectLibpodOK) String() string
- type NetworkConnectLibpodParams
- func NewNetworkConnectLibpodParams() *NetworkConnectLibpodParams
- func NewNetworkConnectLibpodParamsWithContext(ctx context.Context) *NetworkConnectLibpodParamsdeprecated
- func NewNetworkConnectLibpodParamsWithHTTPClient(client *http.Client) *NetworkConnectLibpodParams
- func NewNetworkConnectLibpodParamsWithTimeout(timeout time.Duration) *NetworkConnectLibpodParams
- func (o *NetworkConnectLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *NetworkConnectLibpodParams) SetCreate(create *models.NetworkConnectRequestLibpod)
- func (o *NetworkConnectLibpodParams) SetDefaults()
- func (o *NetworkConnectLibpodParams) SetHTTPClient(client *http.Client)
- func (o *NetworkConnectLibpodParams) SetName(name string)
- func (o *NetworkConnectLibpodParams) SetTimeout(timeout time.Duration)
- func (o *NetworkConnectLibpodParams) WithContext(ctx context.Context) *NetworkConnectLibpodParamsdeprecated
- func (o *NetworkConnectLibpodParams) WithCreate(create *models.NetworkConnectRequestLibpod) *NetworkConnectLibpodParams
- func (o *NetworkConnectLibpodParams) WithDefaults() *NetworkConnectLibpodParams
- func (o *NetworkConnectLibpodParams) WithHTTPClient(client *http.Client) *NetworkConnectLibpodParams
- func (o *NetworkConnectLibpodParams) WithName(name string) *NetworkConnectLibpodParams
- func (o *NetworkConnectLibpodParams) WithTimeout(timeout time.Duration) *NetworkConnectLibpodParams
- func (o *NetworkConnectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetworkConnectLibpodReader
- type NetworkCreateLibpodBadRequest
- func (o *NetworkCreateLibpodBadRequest) Code() int
- func (o *NetworkCreateLibpodBadRequest) Error() string
- func (o *NetworkCreateLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *NetworkCreateLibpodBadRequest) IsClientError() bool
- func (o *NetworkCreateLibpodBadRequest) IsCode(code int) bool
- func (o *NetworkCreateLibpodBadRequest) IsRedirect() bool
- func (o *NetworkCreateLibpodBadRequest) IsServerError() bool
- func (o *NetworkCreateLibpodBadRequest) IsSuccess() bool
- func (o *NetworkCreateLibpodBadRequest) String() string
- type NetworkCreateLibpodConflict
- func (o *NetworkCreateLibpodConflict) Code() int
- func (o *NetworkCreateLibpodConflict) Error() string
- func (o *NetworkCreateLibpodConflict) GetPayload() *models.ErrorModel
- func (o *NetworkCreateLibpodConflict) IsClientError() bool
- func (o *NetworkCreateLibpodConflict) IsCode(code int) bool
- func (o *NetworkCreateLibpodConflict) IsRedirect() bool
- func (o *NetworkCreateLibpodConflict) IsServerError() bool
- func (o *NetworkCreateLibpodConflict) IsSuccess() bool
- func (o *NetworkCreateLibpodConflict) String() string
- type NetworkCreateLibpodInternalServerError
- func (o *NetworkCreateLibpodInternalServerError) Code() int
- func (o *NetworkCreateLibpodInternalServerError) Error() string
- func (o *NetworkCreateLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *NetworkCreateLibpodInternalServerError) IsClientError() bool
- func (o *NetworkCreateLibpodInternalServerError) IsCode(code int) bool
- func (o *NetworkCreateLibpodInternalServerError) IsRedirect() bool
- func (o *NetworkCreateLibpodInternalServerError) IsServerError() bool
- func (o *NetworkCreateLibpodInternalServerError) IsSuccess() bool
- func (o *NetworkCreateLibpodInternalServerError) String() string
- type NetworkCreateLibpodOK
- func (o *NetworkCreateLibpodOK) Code() int
- func (o *NetworkCreateLibpodOK) Error() string
- func (o *NetworkCreateLibpodOK) GetPayload() *models.Network
- func (o *NetworkCreateLibpodOK) IsClientError() bool
- func (o *NetworkCreateLibpodOK) IsCode(code int) bool
- func (o *NetworkCreateLibpodOK) IsRedirect() bool
- func (o *NetworkCreateLibpodOK) IsServerError() bool
- func (o *NetworkCreateLibpodOK) IsSuccess() bool
- func (o *NetworkCreateLibpodOK) String() string
- type NetworkCreateLibpodParams
- func NewNetworkCreateLibpodParams() *NetworkCreateLibpodParams
- func NewNetworkCreateLibpodParamsWithContext(ctx context.Context) *NetworkCreateLibpodParamsdeprecated
- func NewNetworkCreateLibpodParamsWithHTTPClient(client *http.Client) *NetworkCreateLibpodParams
- func NewNetworkCreateLibpodParamsWithTimeout(timeout time.Duration) *NetworkCreateLibpodParams
- func (o *NetworkCreateLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *NetworkCreateLibpodParams) SetCreate(create *models.NetworkCreateLibpod)
- func (o *NetworkCreateLibpodParams) SetDefaults()
- func (o *NetworkCreateLibpodParams) SetHTTPClient(client *http.Client)
- func (o *NetworkCreateLibpodParams) SetIgnoreIfExists(ignoreIfExists *bool)
- func (o *NetworkCreateLibpodParams) SetTimeout(timeout time.Duration)
- func (o *NetworkCreateLibpodParams) WithContext(ctx context.Context) *NetworkCreateLibpodParamsdeprecated
- func (o *NetworkCreateLibpodParams) WithCreate(create *models.NetworkCreateLibpod) *NetworkCreateLibpodParams
- func (o *NetworkCreateLibpodParams) WithDefaults() *NetworkCreateLibpodParams
- func (o *NetworkCreateLibpodParams) WithHTTPClient(client *http.Client) *NetworkCreateLibpodParams
- func (o *NetworkCreateLibpodParams) WithIgnoreIfExists(ignoreIfExists *bool) *NetworkCreateLibpodParams
- func (o *NetworkCreateLibpodParams) WithTimeout(timeout time.Duration) *NetworkCreateLibpodParams
- func (o *NetworkCreateLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetworkCreateLibpodReader
- type NetworkDeleteLibpodInternalServerError
- func (o *NetworkDeleteLibpodInternalServerError) Code() int
- func (o *NetworkDeleteLibpodInternalServerError) Error() string
- func (o *NetworkDeleteLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *NetworkDeleteLibpodInternalServerError) IsClientError() bool
- func (o *NetworkDeleteLibpodInternalServerError) IsCode(code int) bool
- func (o *NetworkDeleteLibpodInternalServerError) IsRedirect() bool
- func (o *NetworkDeleteLibpodInternalServerError) IsServerError() bool
- func (o *NetworkDeleteLibpodInternalServerError) IsSuccess() bool
- func (o *NetworkDeleteLibpodInternalServerError) String() string
- type NetworkDeleteLibpodNotFound
- func (o *NetworkDeleteLibpodNotFound) Code() int
- func (o *NetworkDeleteLibpodNotFound) Error() string
- func (o *NetworkDeleteLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *NetworkDeleteLibpodNotFound) IsClientError() bool
- func (o *NetworkDeleteLibpodNotFound) IsCode(code int) bool
- func (o *NetworkDeleteLibpodNotFound) IsRedirect() bool
- func (o *NetworkDeleteLibpodNotFound) IsServerError() bool
- func (o *NetworkDeleteLibpodNotFound) IsSuccess() bool
- func (o *NetworkDeleteLibpodNotFound) String() string
- type NetworkDeleteLibpodOK
- func (o *NetworkDeleteLibpodOK) Code() int
- func (o *NetworkDeleteLibpodOK) Error() string
- func (o *NetworkDeleteLibpodOK) GetPayload() []*models.NetworkRmReport
- func (o *NetworkDeleteLibpodOK) IsClientError() bool
- func (o *NetworkDeleteLibpodOK) IsCode(code int) bool
- func (o *NetworkDeleteLibpodOK) IsRedirect() bool
- func (o *NetworkDeleteLibpodOK) IsServerError() bool
- func (o *NetworkDeleteLibpodOK) IsSuccess() bool
- func (o *NetworkDeleteLibpodOK) String() string
- type NetworkDeleteLibpodParams
- func NewNetworkDeleteLibpodParams() *NetworkDeleteLibpodParams
- func NewNetworkDeleteLibpodParamsWithContext(ctx context.Context) *NetworkDeleteLibpodParamsdeprecated
- func NewNetworkDeleteLibpodParamsWithHTTPClient(client *http.Client) *NetworkDeleteLibpodParams
- func NewNetworkDeleteLibpodParamsWithTimeout(timeout time.Duration) *NetworkDeleteLibpodParams
- func (o *NetworkDeleteLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *NetworkDeleteLibpodParams) SetDefaults()
- func (o *NetworkDeleteLibpodParams) SetForce(force *bool)
- func (o *NetworkDeleteLibpodParams) SetHTTPClient(client *http.Client)
- func (o *NetworkDeleteLibpodParams) SetIgnore(ignore *bool)
- func (o *NetworkDeleteLibpodParams) SetName(name string)
- func (o *NetworkDeleteLibpodParams) SetTimeout(timeout time.Duration)
- func (o *NetworkDeleteLibpodParams) WithContext(ctx context.Context) *NetworkDeleteLibpodParamsdeprecated
- func (o *NetworkDeleteLibpodParams) WithDefaults() *NetworkDeleteLibpodParams
- func (o *NetworkDeleteLibpodParams) WithForce(force *bool) *NetworkDeleteLibpodParams
- func (o *NetworkDeleteLibpodParams) WithHTTPClient(client *http.Client) *NetworkDeleteLibpodParams
- func (o *NetworkDeleteLibpodParams) WithIgnore(ignore *bool) *NetworkDeleteLibpodParams
- func (o *NetworkDeleteLibpodParams) WithName(name string) *NetworkDeleteLibpodParams
- func (o *NetworkDeleteLibpodParams) WithTimeout(timeout time.Duration) *NetworkDeleteLibpodParams
- func (o *NetworkDeleteLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetworkDeleteLibpodReader
- type NetworkDisconnectLibpodInternalServerError
- func (o *NetworkDisconnectLibpodInternalServerError) Code() int
- func (o *NetworkDisconnectLibpodInternalServerError) Error() string
- func (o *NetworkDisconnectLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *NetworkDisconnectLibpodInternalServerError) IsClientError() bool
- func (o *NetworkDisconnectLibpodInternalServerError) IsCode(code int) bool
- func (o *NetworkDisconnectLibpodInternalServerError) IsRedirect() bool
- func (o *NetworkDisconnectLibpodInternalServerError) IsServerError() bool
- func (o *NetworkDisconnectLibpodInternalServerError) IsSuccess() bool
- func (o *NetworkDisconnectLibpodInternalServerError) String() string
- type NetworkDisconnectLibpodNotFound
- func (o *NetworkDisconnectLibpodNotFound) Code() int
- func (o *NetworkDisconnectLibpodNotFound) Error() string
- func (o *NetworkDisconnectLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *NetworkDisconnectLibpodNotFound) IsClientError() bool
- func (o *NetworkDisconnectLibpodNotFound) IsCode(code int) bool
- func (o *NetworkDisconnectLibpodNotFound) IsRedirect() bool
- func (o *NetworkDisconnectLibpodNotFound) IsServerError() bool
- func (o *NetworkDisconnectLibpodNotFound) IsSuccess() bool
- func (o *NetworkDisconnectLibpodNotFound) String() string
- type NetworkDisconnectLibpodOK
- func (o *NetworkDisconnectLibpodOK) Code() int
- func (o *NetworkDisconnectLibpodOK) Error() string
- func (o *NetworkDisconnectLibpodOK) IsClientError() bool
- func (o *NetworkDisconnectLibpodOK) IsCode(code int) bool
- func (o *NetworkDisconnectLibpodOK) IsRedirect() bool
- func (o *NetworkDisconnectLibpodOK) IsServerError() bool
- func (o *NetworkDisconnectLibpodOK) IsSuccess() bool
- func (o *NetworkDisconnectLibpodOK) String() string
- type NetworkDisconnectLibpodParams
- func NewNetworkDisconnectLibpodParams() *NetworkDisconnectLibpodParams
- func NewNetworkDisconnectLibpodParamsWithContext(ctx context.Context) *NetworkDisconnectLibpodParamsdeprecated
- func NewNetworkDisconnectLibpodParamsWithHTTPClient(client *http.Client) *NetworkDisconnectLibpodParams
- func NewNetworkDisconnectLibpodParamsWithTimeout(timeout time.Duration) *NetworkDisconnectLibpodParams
- func (o *NetworkDisconnectLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *NetworkDisconnectLibpodParams) SetCreate(create *models.NetworkDisconnectRequest)
- func (o *NetworkDisconnectLibpodParams) SetDefaults()
- func (o *NetworkDisconnectLibpodParams) SetHTTPClient(client *http.Client)
- func (o *NetworkDisconnectLibpodParams) SetName(name string)
- func (o *NetworkDisconnectLibpodParams) SetTimeout(timeout time.Duration)
- func (o *NetworkDisconnectLibpodParams) WithContext(ctx context.Context) *NetworkDisconnectLibpodParamsdeprecated
- func (o *NetworkDisconnectLibpodParams) WithCreate(create *models.NetworkDisconnectRequest) *NetworkDisconnectLibpodParams
- func (o *NetworkDisconnectLibpodParams) WithDefaults() *NetworkDisconnectLibpodParams
- func (o *NetworkDisconnectLibpodParams) WithHTTPClient(client *http.Client) *NetworkDisconnectLibpodParams
- func (o *NetworkDisconnectLibpodParams) WithName(name string) *NetworkDisconnectLibpodParams
- func (o *NetworkDisconnectLibpodParams) WithTimeout(timeout time.Duration) *NetworkDisconnectLibpodParams
- func (o *NetworkDisconnectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetworkDisconnectLibpodReader
- type NetworkExistsLibpodInternalServerError
- func (o *NetworkExistsLibpodInternalServerError) Code() int
- func (o *NetworkExistsLibpodInternalServerError) Error() string
- func (o *NetworkExistsLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *NetworkExistsLibpodInternalServerError) IsClientError() bool
- func (o *NetworkExistsLibpodInternalServerError) IsCode(code int) bool
- func (o *NetworkExistsLibpodInternalServerError) IsRedirect() bool
- func (o *NetworkExistsLibpodInternalServerError) IsServerError() bool
- func (o *NetworkExistsLibpodInternalServerError) IsSuccess() bool
- func (o *NetworkExistsLibpodInternalServerError) String() string
- type NetworkExistsLibpodNoContent
- func (o *NetworkExistsLibpodNoContent) Code() int
- func (o *NetworkExistsLibpodNoContent) Error() string
- func (o *NetworkExistsLibpodNoContent) IsClientError() bool
- func (o *NetworkExistsLibpodNoContent) IsCode(code int) bool
- func (o *NetworkExistsLibpodNoContent) IsRedirect() bool
- func (o *NetworkExistsLibpodNoContent) IsServerError() bool
- func (o *NetworkExistsLibpodNoContent) IsSuccess() bool
- func (o *NetworkExistsLibpodNoContent) String() string
- type NetworkExistsLibpodNotFound
- func (o *NetworkExistsLibpodNotFound) Code() int
- func (o *NetworkExistsLibpodNotFound) Error() string
- func (o *NetworkExistsLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *NetworkExistsLibpodNotFound) IsClientError() bool
- func (o *NetworkExistsLibpodNotFound) IsCode(code int) bool
- func (o *NetworkExistsLibpodNotFound) IsRedirect() bool
- func (o *NetworkExistsLibpodNotFound) IsServerError() bool
- func (o *NetworkExistsLibpodNotFound) IsSuccess() bool
- func (o *NetworkExistsLibpodNotFound) String() string
- type NetworkExistsLibpodParams
- func NewNetworkExistsLibpodParams() *NetworkExistsLibpodParams
- func NewNetworkExistsLibpodParamsWithContext(ctx context.Context) *NetworkExistsLibpodParamsdeprecated
- func NewNetworkExistsLibpodParamsWithHTTPClient(client *http.Client) *NetworkExistsLibpodParams
- func NewNetworkExistsLibpodParamsWithTimeout(timeout time.Duration) *NetworkExistsLibpodParams
- func (o *NetworkExistsLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *NetworkExistsLibpodParams) SetDefaults()
- func (o *NetworkExistsLibpodParams) SetHTTPClient(client *http.Client)
- func (o *NetworkExistsLibpodParams) SetName(name string)
- func (o *NetworkExistsLibpodParams) SetTimeout(timeout time.Duration)
- func (o *NetworkExistsLibpodParams) WithContext(ctx context.Context) *NetworkExistsLibpodParamsdeprecated
- func (o *NetworkExistsLibpodParams) WithDefaults() *NetworkExistsLibpodParams
- func (o *NetworkExistsLibpodParams) WithHTTPClient(client *http.Client) *NetworkExistsLibpodParams
- func (o *NetworkExistsLibpodParams) WithName(name string) *NetworkExistsLibpodParams
- func (o *NetworkExistsLibpodParams) WithTimeout(timeout time.Duration) *NetworkExistsLibpodParams
- func (o *NetworkExistsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetworkExistsLibpodReader
- type NetworkInspectLibpodInternalServerError
- func (o *NetworkInspectLibpodInternalServerError) Code() int
- func (o *NetworkInspectLibpodInternalServerError) Error() string
- func (o *NetworkInspectLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *NetworkInspectLibpodInternalServerError) IsClientError() bool
- func (o *NetworkInspectLibpodInternalServerError) IsCode(code int) bool
- func (o *NetworkInspectLibpodInternalServerError) IsRedirect() bool
- func (o *NetworkInspectLibpodInternalServerError) IsServerError() bool
- func (o *NetworkInspectLibpodInternalServerError) IsSuccess() bool
- func (o *NetworkInspectLibpodInternalServerError) String() string
- type NetworkInspectLibpodNotFound
- func (o *NetworkInspectLibpodNotFound) Code() int
- func (o *NetworkInspectLibpodNotFound) Error() string
- func (o *NetworkInspectLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *NetworkInspectLibpodNotFound) IsClientError() bool
- func (o *NetworkInspectLibpodNotFound) IsCode(code int) bool
- func (o *NetworkInspectLibpodNotFound) IsRedirect() bool
- func (o *NetworkInspectLibpodNotFound) IsServerError() bool
- func (o *NetworkInspectLibpodNotFound) IsSuccess() bool
- func (o *NetworkInspectLibpodNotFound) String() string
- type NetworkInspectLibpodOK
- func (o *NetworkInspectLibpodOK) Code() int
- func (o *NetworkInspectLibpodOK) Error() string
- func (o *NetworkInspectLibpodOK) GetPayload() *models.NetworkInspectReport
- func (o *NetworkInspectLibpodOK) IsClientError() bool
- func (o *NetworkInspectLibpodOK) IsCode(code int) bool
- func (o *NetworkInspectLibpodOK) IsRedirect() bool
- func (o *NetworkInspectLibpodOK) IsServerError() bool
- func (o *NetworkInspectLibpodOK) IsSuccess() bool
- func (o *NetworkInspectLibpodOK) String() string
- type NetworkInspectLibpodParams
- func NewNetworkInspectLibpodParams() *NetworkInspectLibpodParams
- func NewNetworkInspectLibpodParamsWithContext(ctx context.Context) *NetworkInspectLibpodParamsdeprecated
- func NewNetworkInspectLibpodParamsWithHTTPClient(client *http.Client) *NetworkInspectLibpodParams
- func NewNetworkInspectLibpodParamsWithTimeout(timeout time.Duration) *NetworkInspectLibpodParams
- func (o *NetworkInspectLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *NetworkInspectLibpodParams) SetDefaults()
- func (o *NetworkInspectLibpodParams) SetHTTPClient(client *http.Client)
- func (o *NetworkInspectLibpodParams) SetName(name string)
- func (o *NetworkInspectLibpodParams) SetTimeout(timeout time.Duration)
- func (o *NetworkInspectLibpodParams) WithContext(ctx context.Context) *NetworkInspectLibpodParamsdeprecated
- func (o *NetworkInspectLibpodParams) WithDefaults() *NetworkInspectLibpodParams
- func (o *NetworkInspectLibpodParams) WithHTTPClient(client *http.Client) *NetworkInspectLibpodParams
- func (o *NetworkInspectLibpodParams) WithName(name string) *NetworkInspectLibpodParams
- func (o *NetworkInspectLibpodParams) WithTimeout(timeout time.Duration) *NetworkInspectLibpodParams
- func (o *NetworkInspectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetworkInspectLibpodReader
- type NetworkListLibpodInternalServerError
- func (o *NetworkListLibpodInternalServerError) Code() int
- func (o *NetworkListLibpodInternalServerError) Error() string
- func (o *NetworkListLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *NetworkListLibpodInternalServerError) IsClientError() bool
- func (o *NetworkListLibpodInternalServerError) IsCode(code int) bool
- func (o *NetworkListLibpodInternalServerError) IsRedirect() bool
- func (o *NetworkListLibpodInternalServerError) IsServerError() bool
- func (o *NetworkListLibpodInternalServerError) IsSuccess() bool
- func (o *NetworkListLibpodInternalServerError) String() string
- type NetworkListLibpodOK
- func (o *NetworkListLibpodOK) Code() int
- func (o *NetworkListLibpodOK) Error() string
- func (o *NetworkListLibpodOK) GetPayload() []*models.Network
- func (o *NetworkListLibpodOK) IsClientError() bool
- func (o *NetworkListLibpodOK) IsCode(code int) bool
- func (o *NetworkListLibpodOK) IsRedirect() bool
- func (o *NetworkListLibpodOK) IsServerError() bool
- func (o *NetworkListLibpodOK) IsSuccess() bool
- func (o *NetworkListLibpodOK) String() string
- type NetworkListLibpodParams
- func NewNetworkListLibpodParams() *NetworkListLibpodParams
- func NewNetworkListLibpodParamsWithContext(ctx context.Context) *NetworkListLibpodParamsdeprecated
- func NewNetworkListLibpodParamsWithHTTPClient(client *http.Client) *NetworkListLibpodParams
- func NewNetworkListLibpodParamsWithTimeout(timeout time.Duration) *NetworkListLibpodParams
- func (o *NetworkListLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *NetworkListLibpodParams) SetDefaults()
- func (o *NetworkListLibpodParams) SetFilters(filters *string)
- func (o *NetworkListLibpodParams) SetHTTPClient(client *http.Client)
- func (o *NetworkListLibpodParams) SetTimeout(timeout time.Duration)
- func (o *NetworkListLibpodParams) WithContext(ctx context.Context) *NetworkListLibpodParamsdeprecated
- func (o *NetworkListLibpodParams) WithDefaults() *NetworkListLibpodParams
- func (o *NetworkListLibpodParams) WithFilters(filters *string) *NetworkListLibpodParams
- func (o *NetworkListLibpodParams) WithHTTPClient(client *http.Client) *NetworkListLibpodParams
- func (o *NetworkListLibpodParams) WithTimeout(timeout time.Duration) *NetworkListLibpodParams
- func (o *NetworkListLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetworkListLibpodReader
- type NetworkPruneLibpodInternalServerError
- func (o *NetworkPruneLibpodInternalServerError) Code() int
- func (o *NetworkPruneLibpodInternalServerError) Error() string
- func (o *NetworkPruneLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *NetworkPruneLibpodInternalServerError) IsClientError() bool
- func (o *NetworkPruneLibpodInternalServerError) IsCode(code int) bool
- func (o *NetworkPruneLibpodInternalServerError) IsRedirect() bool
- func (o *NetworkPruneLibpodInternalServerError) IsServerError() bool
- func (o *NetworkPruneLibpodInternalServerError) IsSuccess() bool
- func (o *NetworkPruneLibpodInternalServerError) String() string
- type NetworkPruneLibpodOK
- func (o *NetworkPruneLibpodOK) Code() int
- func (o *NetworkPruneLibpodOK) Error() string
- func (o *NetworkPruneLibpodOK) GetPayload() []*models.NetworkPruneReport
- func (o *NetworkPruneLibpodOK) IsClientError() bool
- func (o *NetworkPruneLibpodOK) IsCode(code int) bool
- func (o *NetworkPruneLibpodOK) IsRedirect() bool
- func (o *NetworkPruneLibpodOK) IsServerError() bool
- func (o *NetworkPruneLibpodOK) IsSuccess() bool
- func (o *NetworkPruneLibpodOK) String() string
- type NetworkPruneLibpodParams
- func NewNetworkPruneLibpodParams() *NetworkPruneLibpodParams
- func NewNetworkPruneLibpodParamsWithContext(ctx context.Context) *NetworkPruneLibpodParamsdeprecated
- func NewNetworkPruneLibpodParamsWithHTTPClient(client *http.Client) *NetworkPruneLibpodParams
- func NewNetworkPruneLibpodParamsWithTimeout(timeout time.Duration) *NetworkPruneLibpodParams
- func (o *NetworkPruneLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *NetworkPruneLibpodParams) SetDefaults()
- func (o *NetworkPruneLibpodParams) SetFilters(filters *string)
- func (o *NetworkPruneLibpodParams) SetHTTPClient(client *http.Client)
- func (o *NetworkPruneLibpodParams) SetTimeout(timeout time.Duration)
- func (o *NetworkPruneLibpodParams) WithContext(ctx context.Context) *NetworkPruneLibpodParamsdeprecated
- func (o *NetworkPruneLibpodParams) WithDefaults() *NetworkPruneLibpodParams
- func (o *NetworkPruneLibpodParams) WithFilters(filters *string) *NetworkPruneLibpodParams
- func (o *NetworkPruneLibpodParams) WithHTTPClient(client *http.Client) *NetworkPruneLibpodParams
- func (o *NetworkPruneLibpodParams) WithTimeout(timeout time.Duration) *NetworkPruneLibpodParams
- func (o *NetworkPruneLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetworkPruneLibpodReader
- type NetworkUpdateLibpodBadRequest
- func (o *NetworkUpdateLibpodBadRequest) Code() int
- func (o *NetworkUpdateLibpodBadRequest) Error() string
- func (o *NetworkUpdateLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *NetworkUpdateLibpodBadRequest) IsClientError() bool
- func (o *NetworkUpdateLibpodBadRequest) IsCode(code int) bool
- func (o *NetworkUpdateLibpodBadRequest) IsRedirect() bool
- func (o *NetworkUpdateLibpodBadRequest) IsServerError() bool
- func (o *NetworkUpdateLibpodBadRequest) IsSuccess() bool
- func (o *NetworkUpdateLibpodBadRequest) String() string
- type NetworkUpdateLibpodInternalServerError
- func (o *NetworkUpdateLibpodInternalServerError) Code() int
- func (o *NetworkUpdateLibpodInternalServerError) Error() string
- func (o *NetworkUpdateLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *NetworkUpdateLibpodInternalServerError) IsClientError() bool
- func (o *NetworkUpdateLibpodInternalServerError) IsCode(code int) bool
- func (o *NetworkUpdateLibpodInternalServerError) IsRedirect() bool
- func (o *NetworkUpdateLibpodInternalServerError) IsServerError() bool
- func (o *NetworkUpdateLibpodInternalServerError) IsSuccess() bool
- func (o *NetworkUpdateLibpodInternalServerError) String() string
- type NetworkUpdateLibpodOK
- func (o *NetworkUpdateLibpodOK) Code() int
- func (o *NetworkUpdateLibpodOK) Error() string
- func (o *NetworkUpdateLibpodOK) IsClientError() bool
- func (o *NetworkUpdateLibpodOK) IsCode(code int) bool
- func (o *NetworkUpdateLibpodOK) IsRedirect() bool
- func (o *NetworkUpdateLibpodOK) IsServerError() bool
- func (o *NetworkUpdateLibpodOK) IsSuccess() bool
- func (o *NetworkUpdateLibpodOK) String() string
- type NetworkUpdateLibpodParams
- func NewNetworkUpdateLibpodParams() *NetworkUpdateLibpodParams
- func NewNetworkUpdateLibpodParamsWithContext(ctx context.Context) *NetworkUpdateLibpodParamsdeprecated
- func NewNetworkUpdateLibpodParamsWithHTTPClient(client *http.Client) *NetworkUpdateLibpodParams
- func NewNetworkUpdateLibpodParamsWithTimeout(timeout time.Duration) *NetworkUpdateLibpodParams
- func (o *NetworkUpdateLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *NetworkUpdateLibpodParams) SetDefaults()
- func (o *NetworkUpdateLibpodParams) SetHTTPClient(client *http.Client)
- func (o *NetworkUpdateLibpodParams) SetName(name string)
- func (o *NetworkUpdateLibpodParams) SetTimeout(timeout time.Duration)
- func (o *NetworkUpdateLibpodParams) SetUpdate(update *models.NetworkUpdateRequestLibpod)
- func (o *NetworkUpdateLibpodParams) WithContext(ctx context.Context) *NetworkUpdateLibpodParamsdeprecated
- func (o *NetworkUpdateLibpodParams) WithDefaults() *NetworkUpdateLibpodParams
- func (o *NetworkUpdateLibpodParams) WithHTTPClient(client *http.Client) *NetworkUpdateLibpodParams
- func (o *NetworkUpdateLibpodParams) WithName(name string) *NetworkUpdateLibpodParams
- func (o *NetworkUpdateLibpodParams) WithTimeout(timeout time.Duration) *NetworkUpdateLibpodParams
- func (o *NetworkUpdateLibpodParams) WithUpdate(update *models.NetworkUpdateRequestLibpod) *NetworkUpdateLibpodParams
- func (o *NetworkUpdateLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetworkUpdateLibpodReader
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 networks API.
func (*Client) NetworkConnectLibpod ¶
func (a *Client) NetworkConnectLibpod(params *NetworkConnectLibpodParams, opts ...ClientOption) (*NetworkConnectLibpodOK, error)
NetworkConnectLibpod connects container to network.
Connect a container to a network..
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.NetworkConnectLibpodContext instead.
func (*Client) NetworkConnectLibpodContext ¶
func (a *Client) NetworkConnectLibpodContext(ctx context.Context, params *NetworkConnectLibpodParams, opts ...ClientOption) (*NetworkConnectLibpodOK, error)
NetworkConnectLibpodContext connects container to network.
Connect a container to a network..
Do not use the deprecated [NetworkConnectLibpodParams.Context] with this method: it would be ignored.
func (*Client) NetworkCreateLibpod ¶
func (a *Client) NetworkCreateLibpod(params *NetworkCreateLibpodParams, opts ...ClientOption) (*NetworkCreateLibpodOK, error)
NetworkCreateLibpod creates network.
Create a new network configuration.
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.NetworkCreateLibpodContext instead.
func (*Client) NetworkCreateLibpodContext ¶
func (a *Client) NetworkCreateLibpodContext(ctx context.Context, params *NetworkCreateLibpodParams, opts ...ClientOption) (*NetworkCreateLibpodOK, error)
NetworkCreateLibpodContext creates network.
Create a new network configuration.
Do not use the deprecated [NetworkCreateLibpodParams.Context] with this method: it would be ignored.
func (*Client) NetworkDeleteLibpod ¶
func (a *Client) NetworkDeleteLibpod(params *NetworkDeleteLibpodParams, opts ...ClientOption) (*NetworkDeleteLibpodOK, error)
NetworkDeleteLibpod removes a network.
Remove a configured network.
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.NetworkDeleteLibpodContext instead.
func (*Client) NetworkDeleteLibpodContext ¶
func (a *Client) NetworkDeleteLibpodContext(ctx context.Context, params *NetworkDeleteLibpodParams, opts ...ClientOption) (*NetworkDeleteLibpodOK, error)
NetworkDeleteLibpodContext removes a network.
Remove a configured network.
Do not use the deprecated [NetworkDeleteLibpodParams.Context] with this method: it would be ignored.
func (*Client) NetworkDisconnectLibpod ¶
func (a *Client) NetworkDisconnectLibpod(params *NetworkDisconnectLibpodParams, opts ...ClientOption) (*NetworkDisconnectLibpodOK, error)
NetworkDisconnectLibpod disconnects container from network.
Disconnect a container from a network..
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.NetworkDisconnectLibpodContext instead.
func (*Client) NetworkDisconnectLibpodContext ¶
func (a *Client) NetworkDisconnectLibpodContext(ctx context.Context, params *NetworkDisconnectLibpodParams, opts ...ClientOption) (*NetworkDisconnectLibpodOK, error)
NetworkDisconnectLibpodContext disconnects container from network.
Disconnect a container from a network..
Do not use the deprecated [NetworkDisconnectLibpodParams.Context] with this method: it would be ignored.
func (*Client) NetworkExistsLibpod ¶
func (a *Client) NetworkExistsLibpod(params *NetworkExistsLibpodParams, opts ...ClientOption) (*NetworkExistsLibpodNoContent, error)
NetworkExistsLibpod networks exists.
Check if network exists.
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.NetworkExistsLibpodContext instead.
func (*Client) NetworkExistsLibpodContext ¶
func (a *Client) NetworkExistsLibpodContext(ctx context.Context, params *NetworkExistsLibpodParams, opts ...ClientOption) (*NetworkExistsLibpodNoContent, error)
NetworkExistsLibpodContext networks exists.
Check if network exists.
Do not use the deprecated [NetworkExistsLibpodParams.Context] with this method: it would be ignored.
func (*Client) NetworkInspectLibpod ¶
func (a *Client) NetworkInspectLibpod(params *NetworkInspectLibpodParams, opts ...ClientOption) (*NetworkInspectLibpodOK, error)
NetworkInspectLibpod inspects a network.
Display configuration for a network. .
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.NetworkInspectLibpodContext instead.
func (*Client) NetworkInspectLibpodContext ¶
func (a *Client) NetworkInspectLibpodContext(ctx context.Context, params *NetworkInspectLibpodParams, opts ...ClientOption) (*NetworkInspectLibpodOK, error)
NetworkInspectLibpodContext inspects a network.
Display configuration for a network. .
Do not use the deprecated [NetworkInspectLibpodParams.Context] with this method: it would be ignored.
func (*Client) NetworkListLibpod ¶
func (a *Client) NetworkListLibpod(params *NetworkListLibpodParams, opts ...ClientOption) (*NetworkListLibpodOK, error)
NetworkListLibpod lists networks.
Display summary of network configurations.
- In a 200 response, all of the fields named Bytes are returned as a Base64 encoded string.
.
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.NetworkListLibpodContext instead.
func (*Client) NetworkListLibpodContext ¶
func (a *Client) NetworkListLibpodContext(ctx context.Context, params *NetworkListLibpodParams, opts ...ClientOption) (*NetworkListLibpodOK, error)
NetworkListLibpodContext lists networks.
Display summary of network configurations.
- In a 200 response, all of the fields named Bytes are returned as a Base64 encoded string.
.
Do not use the deprecated [NetworkListLibpodParams.Context] with this method: it would be ignored.
func (*Client) NetworkPruneLibpod ¶
func (a *Client) NetworkPruneLibpod(params *NetworkPruneLibpodParams, opts ...ClientOption) (*NetworkPruneLibpodOK, error)
NetworkPruneLibpod deletes unused networks.
Remove networks that do not have containers.
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.NetworkPruneLibpodContext instead.
func (*Client) NetworkPruneLibpodContext ¶
func (a *Client) NetworkPruneLibpodContext(ctx context.Context, params *NetworkPruneLibpodParams, opts ...ClientOption) (*NetworkPruneLibpodOK, error)
NetworkPruneLibpodContext deletes unused networks.
Remove networks that do not have containers.
Do not use the deprecated [NetworkPruneLibpodParams.Context] with this method: it would be ignored.
func (*Client) NetworkUpdateLibpod ¶
func (a *Client) NetworkUpdateLibpod(params *NetworkUpdateLibpodParams, opts ...ClientOption) (*NetworkUpdateLibpodOK, error)
NetworkUpdateLibpod updates existing podman network.
Update existing podman network.
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.NetworkUpdateLibpodContext instead.
func (*Client) NetworkUpdateLibpodContext ¶
func (a *Client) NetworkUpdateLibpodContext(ctx context.Context, params *NetworkUpdateLibpodParams, opts ...ClientOption) (*NetworkUpdateLibpodOK, error)
NetworkUpdateLibpodContext updates existing podman network.
Update existing podman network.
Do not use the deprecated [NetworkUpdateLibpodParams.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 {
// NetworkConnectLibpod connect container to network.
NetworkConnectLibpod(params *NetworkConnectLibpodParams, opts ...ClientOption) (*NetworkConnectLibpodOK, error)
// NetworkConnectLibpodContext connect container to network.
NetworkConnectLibpodContext(ctx context.Context, params *NetworkConnectLibpodParams, opts ...ClientOption) (*NetworkConnectLibpodOK, error)
// NetworkCreateLibpod create network.
NetworkCreateLibpod(params *NetworkCreateLibpodParams, opts ...ClientOption) (*NetworkCreateLibpodOK, error)
// NetworkCreateLibpodContext create network.
NetworkCreateLibpodContext(ctx context.Context, params *NetworkCreateLibpodParams, opts ...ClientOption) (*NetworkCreateLibpodOK, error)
// NetworkDeleteLibpod remove a network.
NetworkDeleteLibpod(params *NetworkDeleteLibpodParams, opts ...ClientOption) (*NetworkDeleteLibpodOK, error)
// NetworkDeleteLibpodContext remove a network.
NetworkDeleteLibpodContext(ctx context.Context, params *NetworkDeleteLibpodParams, opts ...ClientOption) (*NetworkDeleteLibpodOK, error)
// NetworkDisconnectLibpod disconnect container from network.
NetworkDisconnectLibpod(params *NetworkDisconnectLibpodParams, opts ...ClientOption) (*NetworkDisconnectLibpodOK, error)
// NetworkDisconnectLibpodContext disconnect container from network.
NetworkDisconnectLibpodContext(ctx context.Context, params *NetworkDisconnectLibpodParams, opts ...ClientOption) (*NetworkDisconnectLibpodOK, error)
// NetworkExistsLibpod network exists.
NetworkExistsLibpod(params *NetworkExistsLibpodParams, opts ...ClientOption) (*NetworkExistsLibpodNoContent, error)
// NetworkExistsLibpodContext network exists.
NetworkExistsLibpodContext(ctx context.Context, params *NetworkExistsLibpodParams, opts ...ClientOption) (*NetworkExistsLibpodNoContent, error)
// NetworkInspectLibpod inspect a network.
NetworkInspectLibpod(params *NetworkInspectLibpodParams, opts ...ClientOption) (*NetworkInspectLibpodOK, error)
// NetworkInspectLibpodContext inspect a network.
NetworkInspectLibpodContext(ctx context.Context, params *NetworkInspectLibpodParams, opts ...ClientOption) (*NetworkInspectLibpodOK, error)
// NetworkListLibpod list networks.
NetworkListLibpod(params *NetworkListLibpodParams, opts ...ClientOption) (*NetworkListLibpodOK, error)
// NetworkListLibpodContext list networks.
NetworkListLibpodContext(ctx context.Context, params *NetworkListLibpodParams, opts ...ClientOption) (*NetworkListLibpodOK, error)
// NetworkPruneLibpod delete unused networks.
NetworkPruneLibpod(params *NetworkPruneLibpodParams, opts ...ClientOption) (*NetworkPruneLibpodOK, error)
// NetworkPruneLibpodContext delete unused networks.
NetworkPruneLibpodContext(ctx context.Context, params *NetworkPruneLibpodParams, opts ...ClientOption) (*NetworkPruneLibpodOK, error)
// NetworkUpdateLibpod update existing podman network.
NetworkUpdateLibpod(params *NetworkUpdateLibpodParams, opts ...ClientOption) (*NetworkUpdateLibpodOK, error)
// NetworkUpdateLibpodContext update existing podman network.
NetworkUpdateLibpodContext(ctx context.Context, params *NetworkUpdateLibpodParams, opts ...ClientOption) (*NetworkUpdateLibpodOK, 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 networks API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new networks 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 networks 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 NetworkConnectLibpodInternalServerError ¶
type NetworkConnectLibpodInternalServerError struct {
Payload *models.ErrorModel
}
NetworkConnectLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewNetworkConnectLibpodInternalServerError ¶
func NewNetworkConnectLibpodInternalServerError() *NetworkConnectLibpodInternalServerError
NewNetworkConnectLibpodInternalServerError creates a NetworkConnectLibpodInternalServerError with default headers values
func (*NetworkConnectLibpodInternalServerError) Code ¶
func (o *NetworkConnectLibpodInternalServerError) Code() int
Code gets the status code for the network connect libpod internal server error response
func (*NetworkConnectLibpodInternalServerError) Error ¶
func (o *NetworkConnectLibpodInternalServerError) Error() string
func (*NetworkConnectLibpodInternalServerError) GetPayload ¶
func (o *NetworkConnectLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*NetworkConnectLibpodInternalServerError) IsClientError ¶
func (o *NetworkConnectLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this network connect libpod internal server error response has a 4xx status code
func (*NetworkConnectLibpodInternalServerError) IsCode ¶
func (o *NetworkConnectLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this network connect libpod internal server error response a status code equal to that given
func (*NetworkConnectLibpodInternalServerError) IsRedirect ¶
func (o *NetworkConnectLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this network connect libpod internal server error response has a 3xx status code
func (*NetworkConnectLibpodInternalServerError) IsServerError ¶
func (o *NetworkConnectLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this network connect libpod internal server error response has a 5xx status code
func (*NetworkConnectLibpodInternalServerError) IsSuccess ¶
func (o *NetworkConnectLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this network connect libpod internal server error response has a 2xx status code
func (*NetworkConnectLibpodInternalServerError) String ¶
func (o *NetworkConnectLibpodInternalServerError) String() string
type NetworkConnectLibpodNotFound ¶
type NetworkConnectLibpodNotFound struct {
Payload *models.ErrorModel
}
NetworkConnectLibpodNotFound describes a response with status code 404, with default header values.
No such network
func NewNetworkConnectLibpodNotFound ¶
func NewNetworkConnectLibpodNotFound() *NetworkConnectLibpodNotFound
NewNetworkConnectLibpodNotFound creates a NetworkConnectLibpodNotFound with default headers values
func (*NetworkConnectLibpodNotFound) Code ¶
func (o *NetworkConnectLibpodNotFound) Code() int
Code gets the status code for the network connect libpod not found response
func (*NetworkConnectLibpodNotFound) Error ¶
func (o *NetworkConnectLibpodNotFound) Error() string
func (*NetworkConnectLibpodNotFound) GetPayload ¶
func (o *NetworkConnectLibpodNotFound) GetPayload() *models.ErrorModel
func (*NetworkConnectLibpodNotFound) IsClientError ¶
func (o *NetworkConnectLibpodNotFound) IsClientError() bool
IsClientError returns true when this network connect libpod not found response has a 4xx status code
func (*NetworkConnectLibpodNotFound) IsCode ¶
func (o *NetworkConnectLibpodNotFound) IsCode(code int) bool
IsCode returns true when this network connect libpod not found response a status code equal to that given
func (*NetworkConnectLibpodNotFound) IsRedirect ¶
func (o *NetworkConnectLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this network connect libpod not found response has a 3xx status code
func (*NetworkConnectLibpodNotFound) IsServerError ¶
func (o *NetworkConnectLibpodNotFound) IsServerError() bool
IsServerError returns true when this network connect libpod not found response has a 5xx status code
func (*NetworkConnectLibpodNotFound) IsSuccess ¶
func (o *NetworkConnectLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this network connect libpod not found response has a 2xx status code
func (*NetworkConnectLibpodNotFound) String ¶
func (o *NetworkConnectLibpodNotFound) String() string
type NetworkConnectLibpodOK ¶
type NetworkConnectLibpodOK struct {
}
NetworkConnectLibpodOK describes a response with status code 200, with default header values.
OK
func NewNetworkConnectLibpodOK ¶
func NewNetworkConnectLibpodOK() *NetworkConnectLibpodOK
NewNetworkConnectLibpodOK creates a NetworkConnectLibpodOK with default headers values
func (*NetworkConnectLibpodOK) Code ¶
func (o *NetworkConnectLibpodOK) Code() int
Code gets the status code for the network connect libpod o k response
func (*NetworkConnectLibpodOK) Error ¶
func (o *NetworkConnectLibpodOK) Error() string
func (*NetworkConnectLibpodOK) IsClientError ¶
func (o *NetworkConnectLibpodOK) IsClientError() bool
IsClientError returns true when this network connect libpod o k response has a 4xx status code
func (*NetworkConnectLibpodOK) IsCode ¶
func (o *NetworkConnectLibpodOK) IsCode(code int) bool
IsCode returns true when this network connect libpod o k response a status code equal to that given
func (*NetworkConnectLibpodOK) IsRedirect ¶
func (o *NetworkConnectLibpodOK) IsRedirect() bool
IsRedirect returns true when this network connect libpod o k response has a 3xx status code
func (*NetworkConnectLibpodOK) IsServerError ¶
func (o *NetworkConnectLibpodOK) IsServerError() bool
IsServerError returns true when this network connect libpod o k response has a 5xx status code
func (*NetworkConnectLibpodOK) IsSuccess ¶
func (o *NetworkConnectLibpodOK) IsSuccess() bool
IsSuccess returns true when this network connect libpod o k response has a 2xx status code
func (*NetworkConnectLibpodOK) String ¶
func (o *NetworkConnectLibpodOK) String() string
type NetworkConnectLibpodParams ¶
type NetworkConnectLibpodParams struct {
// Create.
//
// attributes for connecting a container to a network
Create *models.NetworkConnectRequestLibpod
// Name.
//
// the name of the network
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
NetworkConnectLibpodParams contains all the parameters to send to the API endpoint
for the network connect libpod operation. Typically these are written to a http.Request.
func NewNetworkConnectLibpodParams ¶
func NewNetworkConnectLibpodParams() *NetworkConnectLibpodParams
NewNetworkConnectLibpodParams creates a new NetworkConnectLibpodParams 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 NewNetworkConnectLibpodParamsWithContext
deprecated
func NewNetworkConnectLibpodParamsWithContext(ctx context.Context) *NetworkConnectLibpodParams
NewNetworkConnectLibpodParamsWithContext creates a new NetworkConnectLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of NetworkConnectLibpodParams.
func NewNetworkConnectLibpodParamsWithHTTPClient ¶
func NewNetworkConnectLibpodParamsWithHTTPClient(client *http.Client) *NetworkConnectLibpodParams
NewNetworkConnectLibpodParamsWithHTTPClient creates a new NetworkConnectLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewNetworkConnectLibpodParamsWithTimeout ¶
func NewNetworkConnectLibpodParamsWithTimeout(timeout time.Duration) *NetworkConnectLibpodParams
NewNetworkConnectLibpodParamsWithTimeout creates a new NetworkConnectLibpodParams object with the ability to set a timeout on a request.
func (*NetworkConnectLibpodParams) SetContext
deprecated
func (o *NetworkConnectLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network connect libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkConnectLibpodParams.
func (*NetworkConnectLibpodParams) SetCreate ¶
func (o *NetworkConnectLibpodParams) SetCreate(create *models.NetworkConnectRequestLibpod)
SetCreate adds the create to the network connect libpod params.
func (*NetworkConnectLibpodParams) SetDefaults ¶
func (o *NetworkConnectLibpodParams) SetDefaults()
SetDefaults hydrates default values in the network connect libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkConnectLibpodParams) SetHTTPClient ¶
func (o *NetworkConnectLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the network connect libpod params.
func (*NetworkConnectLibpodParams) SetName ¶
func (o *NetworkConnectLibpodParams) SetName(name string)
SetName adds the name to the network connect libpod params.
func (*NetworkConnectLibpodParams) SetTimeout ¶
func (o *NetworkConnectLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the network connect libpod params.
func (*NetworkConnectLibpodParams) WithContext
deprecated
func (o *NetworkConnectLibpodParams) WithContext(ctx context.Context) *NetworkConnectLibpodParams
WithContext adds the context to the network connect libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkConnectLibpodParams.
func (*NetworkConnectLibpodParams) WithCreate ¶
func (o *NetworkConnectLibpodParams) WithCreate(create *models.NetworkConnectRequestLibpod) *NetworkConnectLibpodParams
WithCreate adds the create to the network connect libpod params.
func (*NetworkConnectLibpodParams) WithDefaults ¶
func (o *NetworkConnectLibpodParams) WithDefaults() *NetworkConnectLibpodParams
WithDefaults hydrates default values in the network connect libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkConnectLibpodParams) WithHTTPClient ¶
func (o *NetworkConnectLibpodParams) WithHTTPClient(client *http.Client) *NetworkConnectLibpodParams
WithHTTPClient adds the HTTPClient to the network connect libpod params.
func (*NetworkConnectLibpodParams) WithName ¶
func (o *NetworkConnectLibpodParams) WithName(name string) *NetworkConnectLibpodParams
WithName adds the name to the network connect libpod params.
func (*NetworkConnectLibpodParams) WithTimeout ¶
func (o *NetworkConnectLibpodParams) WithTimeout(timeout time.Duration) *NetworkConnectLibpodParams
WithTimeout adds the timeout to the network connect libpod params.
func (*NetworkConnectLibpodParams) WriteToRequest ¶
func (o *NetworkConnectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type NetworkConnectLibpodReader ¶
type NetworkConnectLibpodReader struct {
// contains filtered or unexported fields
}
NetworkConnectLibpodReader is a Reader for the NetworkConnectLibpod structure.
func (*NetworkConnectLibpodReader) ReadResponse ¶
func (o *NetworkConnectLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type NetworkCreateLibpodBadRequest ¶
type NetworkCreateLibpodBadRequest struct {
Payload *models.ErrorModel
}
NetworkCreateLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewNetworkCreateLibpodBadRequest ¶
func NewNetworkCreateLibpodBadRequest() *NetworkCreateLibpodBadRequest
NewNetworkCreateLibpodBadRequest creates a NetworkCreateLibpodBadRequest with default headers values
func (*NetworkCreateLibpodBadRequest) Code ¶
func (o *NetworkCreateLibpodBadRequest) Code() int
Code gets the status code for the network create libpod bad request response
func (*NetworkCreateLibpodBadRequest) Error ¶
func (o *NetworkCreateLibpodBadRequest) Error() string
func (*NetworkCreateLibpodBadRequest) GetPayload ¶
func (o *NetworkCreateLibpodBadRequest) GetPayload() *models.ErrorModel
func (*NetworkCreateLibpodBadRequest) IsClientError ¶
func (o *NetworkCreateLibpodBadRequest) IsClientError() bool
IsClientError returns true when this network create libpod bad request response has a 4xx status code
func (*NetworkCreateLibpodBadRequest) IsCode ¶
func (o *NetworkCreateLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this network create libpod bad request response a status code equal to that given
func (*NetworkCreateLibpodBadRequest) IsRedirect ¶
func (o *NetworkCreateLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this network create libpod bad request response has a 3xx status code
func (*NetworkCreateLibpodBadRequest) IsServerError ¶
func (o *NetworkCreateLibpodBadRequest) IsServerError() bool
IsServerError returns true when this network create libpod bad request response has a 5xx status code
func (*NetworkCreateLibpodBadRequest) IsSuccess ¶
func (o *NetworkCreateLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this network create libpod bad request response has a 2xx status code
func (*NetworkCreateLibpodBadRequest) String ¶
func (o *NetworkCreateLibpodBadRequest) String() string
type NetworkCreateLibpodConflict ¶
type NetworkCreateLibpodConflict struct {
Payload *models.ErrorModel
}
NetworkCreateLibpodConflict describes a response with status code 409, with default header values.
Conflict error in operation
func NewNetworkCreateLibpodConflict ¶
func NewNetworkCreateLibpodConflict() *NetworkCreateLibpodConflict
NewNetworkCreateLibpodConflict creates a NetworkCreateLibpodConflict with default headers values
func (*NetworkCreateLibpodConflict) Code ¶
func (o *NetworkCreateLibpodConflict) Code() int
Code gets the status code for the network create libpod conflict response
func (*NetworkCreateLibpodConflict) Error ¶
func (o *NetworkCreateLibpodConflict) Error() string
func (*NetworkCreateLibpodConflict) GetPayload ¶
func (o *NetworkCreateLibpodConflict) GetPayload() *models.ErrorModel
func (*NetworkCreateLibpodConflict) IsClientError ¶
func (o *NetworkCreateLibpodConflict) IsClientError() bool
IsClientError returns true when this network create libpod conflict response has a 4xx status code
func (*NetworkCreateLibpodConflict) IsCode ¶
func (o *NetworkCreateLibpodConflict) IsCode(code int) bool
IsCode returns true when this network create libpod conflict response a status code equal to that given
func (*NetworkCreateLibpodConflict) IsRedirect ¶
func (o *NetworkCreateLibpodConflict) IsRedirect() bool
IsRedirect returns true when this network create libpod conflict response has a 3xx status code
func (*NetworkCreateLibpodConflict) IsServerError ¶
func (o *NetworkCreateLibpodConflict) IsServerError() bool
IsServerError returns true when this network create libpod conflict response has a 5xx status code
func (*NetworkCreateLibpodConflict) IsSuccess ¶
func (o *NetworkCreateLibpodConflict) IsSuccess() bool
IsSuccess returns true when this network create libpod conflict response has a 2xx status code
func (*NetworkCreateLibpodConflict) String ¶
func (o *NetworkCreateLibpodConflict) String() string
type NetworkCreateLibpodInternalServerError ¶
type NetworkCreateLibpodInternalServerError struct {
Payload *models.ErrorModel
}
NetworkCreateLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewNetworkCreateLibpodInternalServerError ¶
func NewNetworkCreateLibpodInternalServerError() *NetworkCreateLibpodInternalServerError
NewNetworkCreateLibpodInternalServerError creates a NetworkCreateLibpodInternalServerError with default headers values
func (*NetworkCreateLibpodInternalServerError) Code ¶
func (o *NetworkCreateLibpodInternalServerError) Code() int
Code gets the status code for the network create libpod internal server error response
func (*NetworkCreateLibpodInternalServerError) Error ¶
func (o *NetworkCreateLibpodInternalServerError) Error() string
func (*NetworkCreateLibpodInternalServerError) GetPayload ¶
func (o *NetworkCreateLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*NetworkCreateLibpodInternalServerError) IsClientError ¶
func (o *NetworkCreateLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this network create libpod internal server error response has a 4xx status code
func (*NetworkCreateLibpodInternalServerError) IsCode ¶
func (o *NetworkCreateLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this network create libpod internal server error response a status code equal to that given
func (*NetworkCreateLibpodInternalServerError) IsRedirect ¶
func (o *NetworkCreateLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this network create libpod internal server error response has a 3xx status code
func (*NetworkCreateLibpodInternalServerError) IsServerError ¶
func (o *NetworkCreateLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this network create libpod internal server error response has a 5xx status code
func (*NetworkCreateLibpodInternalServerError) IsSuccess ¶
func (o *NetworkCreateLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this network create libpod internal server error response has a 2xx status code
func (*NetworkCreateLibpodInternalServerError) String ¶
func (o *NetworkCreateLibpodInternalServerError) String() string
type NetworkCreateLibpodOK ¶
NetworkCreateLibpodOK describes a response with status code 200, with default header values.
Network create
func NewNetworkCreateLibpodOK ¶
func NewNetworkCreateLibpodOK() *NetworkCreateLibpodOK
NewNetworkCreateLibpodOK creates a NetworkCreateLibpodOK with default headers values
func (*NetworkCreateLibpodOK) Code ¶
func (o *NetworkCreateLibpodOK) Code() int
Code gets the status code for the network create libpod o k response
func (*NetworkCreateLibpodOK) Error ¶
func (o *NetworkCreateLibpodOK) Error() string
func (*NetworkCreateLibpodOK) GetPayload ¶
func (o *NetworkCreateLibpodOK) GetPayload() *models.Network
func (*NetworkCreateLibpodOK) IsClientError ¶
func (o *NetworkCreateLibpodOK) IsClientError() bool
IsClientError returns true when this network create libpod o k response has a 4xx status code
func (*NetworkCreateLibpodOK) IsCode ¶
func (o *NetworkCreateLibpodOK) IsCode(code int) bool
IsCode returns true when this network create libpod o k response a status code equal to that given
func (*NetworkCreateLibpodOK) IsRedirect ¶
func (o *NetworkCreateLibpodOK) IsRedirect() bool
IsRedirect returns true when this network create libpod o k response has a 3xx status code
func (*NetworkCreateLibpodOK) IsServerError ¶
func (o *NetworkCreateLibpodOK) IsServerError() bool
IsServerError returns true when this network create libpod o k response has a 5xx status code
func (*NetworkCreateLibpodOK) IsSuccess ¶
func (o *NetworkCreateLibpodOK) IsSuccess() bool
IsSuccess returns true when this network create libpod o k response has a 2xx status code
func (*NetworkCreateLibpodOK) String ¶
func (o *NetworkCreateLibpodOK) String() string
type NetworkCreateLibpodParams ¶
type NetworkCreateLibpodParams struct {
// Create.
//
// attributes for creating a network
Create *models.NetworkCreateLibpod
// IgnoreIfExists.
//
// Ignore the request if a network with the same name already exists.
IgnoreIfExists *bool
HTTPClient *http.Client
// contains filtered or unexported fields
}
NetworkCreateLibpodParams contains all the parameters to send to the API endpoint
for the network create libpod operation. Typically these are written to a http.Request.
func NewNetworkCreateLibpodParams ¶
func NewNetworkCreateLibpodParams() *NetworkCreateLibpodParams
NewNetworkCreateLibpodParams creates a new NetworkCreateLibpodParams 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 NewNetworkCreateLibpodParamsWithContext
deprecated
func NewNetworkCreateLibpodParamsWithContext(ctx context.Context) *NetworkCreateLibpodParams
NewNetworkCreateLibpodParamsWithContext creates a new NetworkCreateLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of NetworkCreateLibpodParams.
func NewNetworkCreateLibpodParamsWithHTTPClient ¶
func NewNetworkCreateLibpodParamsWithHTTPClient(client *http.Client) *NetworkCreateLibpodParams
NewNetworkCreateLibpodParamsWithHTTPClient creates a new NetworkCreateLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewNetworkCreateLibpodParamsWithTimeout ¶
func NewNetworkCreateLibpodParamsWithTimeout(timeout time.Duration) *NetworkCreateLibpodParams
NewNetworkCreateLibpodParamsWithTimeout creates a new NetworkCreateLibpodParams object with the ability to set a timeout on a request.
func (*NetworkCreateLibpodParams) SetContext
deprecated
func (o *NetworkCreateLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network create libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkCreateLibpodParams.
func (*NetworkCreateLibpodParams) SetCreate ¶
func (o *NetworkCreateLibpodParams) SetCreate(create *models.NetworkCreateLibpod)
SetCreate adds the create to the network create libpod params.
func (*NetworkCreateLibpodParams) SetDefaults ¶
func (o *NetworkCreateLibpodParams) SetDefaults()
SetDefaults hydrates default values in the network create libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkCreateLibpodParams) SetHTTPClient ¶
func (o *NetworkCreateLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the network create libpod params.
func (*NetworkCreateLibpodParams) SetIgnoreIfExists ¶
func (o *NetworkCreateLibpodParams) SetIgnoreIfExists(ignoreIfExists *bool)
SetIgnoreIfExists adds the ignoreIfExists to the network create libpod params.
func (*NetworkCreateLibpodParams) SetTimeout ¶
func (o *NetworkCreateLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the network create libpod params.
func (*NetworkCreateLibpodParams) WithContext
deprecated
func (o *NetworkCreateLibpodParams) WithContext(ctx context.Context) *NetworkCreateLibpodParams
WithContext adds the context to the network create libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkCreateLibpodParams.
func (*NetworkCreateLibpodParams) WithCreate ¶
func (o *NetworkCreateLibpodParams) WithCreate(create *models.NetworkCreateLibpod) *NetworkCreateLibpodParams
WithCreate adds the create to the network create libpod params.
func (*NetworkCreateLibpodParams) WithDefaults ¶
func (o *NetworkCreateLibpodParams) WithDefaults() *NetworkCreateLibpodParams
WithDefaults hydrates default values in the network create libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkCreateLibpodParams) WithHTTPClient ¶
func (o *NetworkCreateLibpodParams) WithHTTPClient(client *http.Client) *NetworkCreateLibpodParams
WithHTTPClient adds the HTTPClient to the network create libpod params.
func (*NetworkCreateLibpodParams) WithIgnoreIfExists ¶
func (o *NetworkCreateLibpodParams) WithIgnoreIfExists(ignoreIfExists *bool) *NetworkCreateLibpodParams
WithIgnoreIfExists adds the ignoreIfExists to the network create libpod params.
func (*NetworkCreateLibpodParams) WithTimeout ¶
func (o *NetworkCreateLibpodParams) WithTimeout(timeout time.Duration) *NetworkCreateLibpodParams
WithTimeout adds the timeout to the network create libpod params.
func (*NetworkCreateLibpodParams) WriteToRequest ¶
func (o *NetworkCreateLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type NetworkCreateLibpodReader ¶
type NetworkCreateLibpodReader struct {
// contains filtered or unexported fields
}
NetworkCreateLibpodReader is a Reader for the NetworkCreateLibpod structure.
func (*NetworkCreateLibpodReader) ReadResponse ¶
func (o *NetworkCreateLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type NetworkDeleteLibpodInternalServerError ¶
type NetworkDeleteLibpodInternalServerError struct {
Payload *models.ErrorModel
}
NetworkDeleteLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewNetworkDeleteLibpodInternalServerError ¶
func NewNetworkDeleteLibpodInternalServerError() *NetworkDeleteLibpodInternalServerError
NewNetworkDeleteLibpodInternalServerError creates a NetworkDeleteLibpodInternalServerError with default headers values
func (*NetworkDeleteLibpodInternalServerError) Code ¶
func (o *NetworkDeleteLibpodInternalServerError) Code() int
Code gets the status code for the network delete libpod internal server error response
func (*NetworkDeleteLibpodInternalServerError) Error ¶
func (o *NetworkDeleteLibpodInternalServerError) Error() string
func (*NetworkDeleteLibpodInternalServerError) GetPayload ¶
func (o *NetworkDeleteLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*NetworkDeleteLibpodInternalServerError) IsClientError ¶
func (o *NetworkDeleteLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this network delete libpod internal server error response has a 4xx status code
func (*NetworkDeleteLibpodInternalServerError) IsCode ¶
func (o *NetworkDeleteLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this network delete libpod internal server error response a status code equal to that given
func (*NetworkDeleteLibpodInternalServerError) IsRedirect ¶
func (o *NetworkDeleteLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this network delete libpod internal server error response has a 3xx status code
func (*NetworkDeleteLibpodInternalServerError) IsServerError ¶
func (o *NetworkDeleteLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this network delete libpod internal server error response has a 5xx status code
func (*NetworkDeleteLibpodInternalServerError) IsSuccess ¶
func (o *NetworkDeleteLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this network delete libpod internal server error response has a 2xx status code
func (*NetworkDeleteLibpodInternalServerError) String ¶
func (o *NetworkDeleteLibpodInternalServerError) String() string
type NetworkDeleteLibpodNotFound ¶
type NetworkDeleteLibpodNotFound struct {
Payload *models.ErrorModel
}
NetworkDeleteLibpodNotFound describes a response with status code 404, with default header values.
No such network
func NewNetworkDeleteLibpodNotFound ¶
func NewNetworkDeleteLibpodNotFound() *NetworkDeleteLibpodNotFound
NewNetworkDeleteLibpodNotFound creates a NetworkDeleteLibpodNotFound with default headers values
func (*NetworkDeleteLibpodNotFound) Code ¶
func (o *NetworkDeleteLibpodNotFound) Code() int
Code gets the status code for the network delete libpod not found response
func (*NetworkDeleteLibpodNotFound) Error ¶
func (o *NetworkDeleteLibpodNotFound) Error() string
func (*NetworkDeleteLibpodNotFound) GetPayload ¶
func (o *NetworkDeleteLibpodNotFound) GetPayload() *models.ErrorModel
func (*NetworkDeleteLibpodNotFound) IsClientError ¶
func (o *NetworkDeleteLibpodNotFound) IsClientError() bool
IsClientError returns true when this network delete libpod not found response has a 4xx status code
func (*NetworkDeleteLibpodNotFound) IsCode ¶
func (o *NetworkDeleteLibpodNotFound) IsCode(code int) bool
IsCode returns true when this network delete libpod not found response a status code equal to that given
func (*NetworkDeleteLibpodNotFound) IsRedirect ¶
func (o *NetworkDeleteLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this network delete libpod not found response has a 3xx status code
func (*NetworkDeleteLibpodNotFound) IsServerError ¶
func (o *NetworkDeleteLibpodNotFound) IsServerError() bool
IsServerError returns true when this network delete libpod not found response has a 5xx status code
func (*NetworkDeleteLibpodNotFound) IsSuccess ¶
func (o *NetworkDeleteLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this network delete libpod not found response has a 2xx status code
func (*NetworkDeleteLibpodNotFound) String ¶
func (o *NetworkDeleteLibpodNotFound) String() string
type NetworkDeleteLibpodOK ¶
type NetworkDeleteLibpodOK struct {
Payload []*models.NetworkRmReport
}
NetworkDeleteLibpodOK describes a response with status code 200, with default header values.
Network Delete
func NewNetworkDeleteLibpodOK ¶
func NewNetworkDeleteLibpodOK() *NetworkDeleteLibpodOK
NewNetworkDeleteLibpodOK creates a NetworkDeleteLibpodOK with default headers values
func (*NetworkDeleteLibpodOK) Code ¶
func (o *NetworkDeleteLibpodOK) Code() int
Code gets the status code for the network delete libpod o k response
func (*NetworkDeleteLibpodOK) Error ¶
func (o *NetworkDeleteLibpodOK) Error() string
func (*NetworkDeleteLibpodOK) GetPayload ¶
func (o *NetworkDeleteLibpodOK) GetPayload() []*models.NetworkRmReport
func (*NetworkDeleteLibpodOK) IsClientError ¶
func (o *NetworkDeleteLibpodOK) IsClientError() bool
IsClientError returns true when this network delete libpod o k response has a 4xx status code
func (*NetworkDeleteLibpodOK) IsCode ¶
func (o *NetworkDeleteLibpodOK) IsCode(code int) bool
IsCode returns true when this network delete libpod o k response a status code equal to that given
func (*NetworkDeleteLibpodOK) IsRedirect ¶
func (o *NetworkDeleteLibpodOK) IsRedirect() bool
IsRedirect returns true when this network delete libpod o k response has a 3xx status code
func (*NetworkDeleteLibpodOK) IsServerError ¶
func (o *NetworkDeleteLibpodOK) IsServerError() bool
IsServerError returns true when this network delete libpod o k response has a 5xx status code
func (*NetworkDeleteLibpodOK) IsSuccess ¶
func (o *NetworkDeleteLibpodOK) IsSuccess() bool
IsSuccess returns true when this network delete libpod o k response has a 2xx status code
func (*NetworkDeleteLibpodOK) String ¶
func (o *NetworkDeleteLibpodOK) String() string
type NetworkDeleteLibpodParams ¶
type NetworkDeleteLibpodParams struct {
// Force.
//
// remove containers associated with network
Force *bool
// Ignore.
//
// ignore if a specified network does not exist
Ignore *bool
// Name.
//
// the name of the network
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
NetworkDeleteLibpodParams contains all the parameters to send to the API endpoint
for the network delete libpod operation. Typically these are written to a http.Request.
func NewNetworkDeleteLibpodParams ¶
func NewNetworkDeleteLibpodParams() *NetworkDeleteLibpodParams
NewNetworkDeleteLibpodParams creates a new NetworkDeleteLibpodParams 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 NewNetworkDeleteLibpodParamsWithContext
deprecated
func NewNetworkDeleteLibpodParamsWithContext(ctx context.Context) *NetworkDeleteLibpodParams
NewNetworkDeleteLibpodParamsWithContext creates a new NetworkDeleteLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of NetworkDeleteLibpodParams.
func NewNetworkDeleteLibpodParamsWithHTTPClient ¶
func NewNetworkDeleteLibpodParamsWithHTTPClient(client *http.Client) *NetworkDeleteLibpodParams
NewNetworkDeleteLibpodParamsWithHTTPClient creates a new NetworkDeleteLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewNetworkDeleteLibpodParamsWithTimeout ¶
func NewNetworkDeleteLibpodParamsWithTimeout(timeout time.Duration) *NetworkDeleteLibpodParams
NewNetworkDeleteLibpodParamsWithTimeout creates a new NetworkDeleteLibpodParams object with the ability to set a timeout on a request.
func (*NetworkDeleteLibpodParams) SetContext
deprecated
func (o *NetworkDeleteLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network delete libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkDeleteLibpodParams.
func (*NetworkDeleteLibpodParams) SetDefaults ¶
func (o *NetworkDeleteLibpodParams) SetDefaults()
SetDefaults hydrates default values in the network delete libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkDeleteLibpodParams) SetForce ¶
func (o *NetworkDeleteLibpodParams) SetForce(force *bool)
SetForce adds the force to the network delete libpod params.
func (*NetworkDeleteLibpodParams) SetHTTPClient ¶
func (o *NetworkDeleteLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the network delete libpod params.
func (*NetworkDeleteLibpodParams) SetIgnore ¶
func (o *NetworkDeleteLibpodParams) SetIgnore(ignore *bool)
SetIgnore adds the ignore to the network delete libpod params.
func (*NetworkDeleteLibpodParams) SetName ¶
func (o *NetworkDeleteLibpodParams) SetName(name string)
SetName adds the name to the network delete libpod params.
func (*NetworkDeleteLibpodParams) SetTimeout ¶
func (o *NetworkDeleteLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the network delete libpod params.
func (*NetworkDeleteLibpodParams) WithContext
deprecated
func (o *NetworkDeleteLibpodParams) WithContext(ctx context.Context) *NetworkDeleteLibpodParams
WithContext adds the context to the network delete libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkDeleteLibpodParams.
func (*NetworkDeleteLibpodParams) WithDefaults ¶
func (o *NetworkDeleteLibpodParams) WithDefaults() *NetworkDeleteLibpodParams
WithDefaults hydrates default values in the network delete libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkDeleteLibpodParams) WithForce ¶
func (o *NetworkDeleteLibpodParams) WithForce(force *bool) *NetworkDeleteLibpodParams
WithForce adds the force to the network delete libpod params.
func (*NetworkDeleteLibpodParams) WithHTTPClient ¶
func (o *NetworkDeleteLibpodParams) WithHTTPClient(client *http.Client) *NetworkDeleteLibpodParams
WithHTTPClient adds the HTTPClient to the network delete libpod params.
func (*NetworkDeleteLibpodParams) WithIgnore ¶
func (o *NetworkDeleteLibpodParams) WithIgnore(ignore *bool) *NetworkDeleteLibpodParams
WithIgnore adds the ignore to the network delete libpod params.
func (*NetworkDeleteLibpodParams) WithName ¶
func (o *NetworkDeleteLibpodParams) WithName(name string) *NetworkDeleteLibpodParams
WithName adds the name to the network delete libpod params.
func (*NetworkDeleteLibpodParams) WithTimeout ¶
func (o *NetworkDeleteLibpodParams) WithTimeout(timeout time.Duration) *NetworkDeleteLibpodParams
WithTimeout adds the timeout to the network delete libpod params.
func (*NetworkDeleteLibpodParams) WriteToRequest ¶
func (o *NetworkDeleteLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type NetworkDeleteLibpodReader ¶
type NetworkDeleteLibpodReader struct {
// contains filtered or unexported fields
}
NetworkDeleteLibpodReader is a Reader for the NetworkDeleteLibpod structure.
func (*NetworkDeleteLibpodReader) ReadResponse ¶
func (o *NetworkDeleteLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type NetworkDisconnectLibpodInternalServerError ¶
type NetworkDisconnectLibpodInternalServerError struct {
Payload *models.ErrorModel
}
NetworkDisconnectLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewNetworkDisconnectLibpodInternalServerError ¶
func NewNetworkDisconnectLibpodInternalServerError() *NetworkDisconnectLibpodInternalServerError
NewNetworkDisconnectLibpodInternalServerError creates a NetworkDisconnectLibpodInternalServerError with default headers values
func (*NetworkDisconnectLibpodInternalServerError) Code ¶
func (o *NetworkDisconnectLibpodInternalServerError) Code() int
Code gets the status code for the network disconnect libpod internal server error response
func (*NetworkDisconnectLibpodInternalServerError) Error ¶
func (o *NetworkDisconnectLibpodInternalServerError) Error() string
func (*NetworkDisconnectLibpodInternalServerError) GetPayload ¶
func (o *NetworkDisconnectLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*NetworkDisconnectLibpodInternalServerError) IsClientError ¶
func (o *NetworkDisconnectLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this network disconnect libpod internal server error response has a 4xx status code
func (*NetworkDisconnectLibpodInternalServerError) IsCode ¶
func (o *NetworkDisconnectLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this network disconnect libpod internal server error response a status code equal to that given
func (*NetworkDisconnectLibpodInternalServerError) IsRedirect ¶
func (o *NetworkDisconnectLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this network disconnect libpod internal server error response has a 3xx status code
func (*NetworkDisconnectLibpodInternalServerError) IsServerError ¶
func (o *NetworkDisconnectLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this network disconnect libpod internal server error response has a 5xx status code
func (*NetworkDisconnectLibpodInternalServerError) IsSuccess ¶
func (o *NetworkDisconnectLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this network disconnect libpod internal server error response has a 2xx status code
func (*NetworkDisconnectLibpodInternalServerError) String ¶
func (o *NetworkDisconnectLibpodInternalServerError) String() string
type NetworkDisconnectLibpodNotFound ¶
type NetworkDisconnectLibpodNotFound struct {
Payload *models.ErrorModel
}
NetworkDisconnectLibpodNotFound describes a response with status code 404, with default header values.
No such network
func NewNetworkDisconnectLibpodNotFound ¶
func NewNetworkDisconnectLibpodNotFound() *NetworkDisconnectLibpodNotFound
NewNetworkDisconnectLibpodNotFound creates a NetworkDisconnectLibpodNotFound with default headers values
func (*NetworkDisconnectLibpodNotFound) Code ¶
func (o *NetworkDisconnectLibpodNotFound) Code() int
Code gets the status code for the network disconnect libpod not found response
func (*NetworkDisconnectLibpodNotFound) Error ¶
func (o *NetworkDisconnectLibpodNotFound) Error() string
func (*NetworkDisconnectLibpodNotFound) GetPayload ¶
func (o *NetworkDisconnectLibpodNotFound) GetPayload() *models.ErrorModel
func (*NetworkDisconnectLibpodNotFound) IsClientError ¶
func (o *NetworkDisconnectLibpodNotFound) IsClientError() bool
IsClientError returns true when this network disconnect libpod not found response has a 4xx status code
func (*NetworkDisconnectLibpodNotFound) IsCode ¶
func (o *NetworkDisconnectLibpodNotFound) IsCode(code int) bool
IsCode returns true when this network disconnect libpod not found response a status code equal to that given
func (*NetworkDisconnectLibpodNotFound) IsRedirect ¶
func (o *NetworkDisconnectLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this network disconnect libpod not found response has a 3xx status code
func (*NetworkDisconnectLibpodNotFound) IsServerError ¶
func (o *NetworkDisconnectLibpodNotFound) IsServerError() bool
IsServerError returns true when this network disconnect libpod not found response has a 5xx status code
func (*NetworkDisconnectLibpodNotFound) IsSuccess ¶
func (o *NetworkDisconnectLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this network disconnect libpod not found response has a 2xx status code
func (*NetworkDisconnectLibpodNotFound) String ¶
func (o *NetworkDisconnectLibpodNotFound) String() string
type NetworkDisconnectLibpodOK ¶
type NetworkDisconnectLibpodOK struct {
}
NetworkDisconnectLibpodOK describes a response with status code 200, with default header values.
OK
func NewNetworkDisconnectLibpodOK ¶
func NewNetworkDisconnectLibpodOK() *NetworkDisconnectLibpodOK
NewNetworkDisconnectLibpodOK creates a NetworkDisconnectLibpodOK with default headers values
func (*NetworkDisconnectLibpodOK) Code ¶
func (o *NetworkDisconnectLibpodOK) Code() int
Code gets the status code for the network disconnect libpod o k response
func (*NetworkDisconnectLibpodOK) Error ¶
func (o *NetworkDisconnectLibpodOK) Error() string
func (*NetworkDisconnectLibpodOK) IsClientError ¶
func (o *NetworkDisconnectLibpodOK) IsClientError() bool
IsClientError returns true when this network disconnect libpod o k response has a 4xx status code
func (*NetworkDisconnectLibpodOK) IsCode ¶
func (o *NetworkDisconnectLibpodOK) IsCode(code int) bool
IsCode returns true when this network disconnect libpod o k response a status code equal to that given
func (*NetworkDisconnectLibpodOK) IsRedirect ¶
func (o *NetworkDisconnectLibpodOK) IsRedirect() bool
IsRedirect returns true when this network disconnect libpod o k response has a 3xx status code
func (*NetworkDisconnectLibpodOK) IsServerError ¶
func (o *NetworkDisconnectLibpodOK) IsServerError() bool
IsServerError returns true when this network disconnect libpod o k response has a 5xx status code
func (*NetworkDisconnectLibpodOK) IsSuccess ¶
func (o *NetworkDisconnectLibpodOK) IsSuccess() bool
IsSuccess returns true when this network disconnect libpod o k response has a 2xx status code
func (*NetworkDisconnectLibpodOK) String ¶
func (o *NetworkDisconnectLibpodOK) String() string
type NetworkDisconnectLibpodParams ¶
type NetworkDisconnectLibpodParams struct {
// Create.
//
// attributes for disconnecting a container from a network
Create *models.NetworkDisconnectRequest
// Name.
//
// the name of the network
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
NetworkDisconnectLibpodParams contains all the parameters to send to the API endpoint
for the network disconnect libpod operation. Typically these are written to a http.Request.
func NewNetworkDisconnectLibpodParams ¶
func NewNetworkDisconnectLibpodParams() *NetworkDisconnectLibpodParams
NewNetworkDisconnectLibpodParams creates a new NetworkDisconnectLibpodParams 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 NewNetworkDisconnectLibpodParamsWithContext
deprecated
func NewNetworkDisconnectLibpodParamsWithContext(ctx context.Context) *NetworkDisconnectLibpodParams
NewNetworkDisconnectLibpodParamsWithContext creates a new NetworkDisconnectLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of NetworkDisconnectLibpodParams.
func NewNetworkDisconnectLibpodParamsWithHTTPClient ¶
func NewNetworkDisconnectLibpodParamsWithHTTPClient(client *http.Client) *NetworkDisconnectLibpodParams
NewNetworkDisconnectLibpodParamsWithHTTPClient creates a new NetworkDisconnectLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewNetworkDisconnectLibpodParamsWithTimeout ¶
func NewNetworkDisconnectLibpodParamsWithTimeout(timeout time.Duration) *NetworkDisconnectLibpodParams
NewNetworkDisconnectLibpodParamsWithTimeout creates a new NetworkDisconnectLibpodParams object with the ability to set a timeout on a request.
func (*NetworkDisconnectLibpodParams) SetContext
deprecated
func (o *NetworkDisconnectLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network disconnect libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkDisconnectLibpodParams.
func (*NetworkDisconnectLibpodParams) SetCreate ¶
func (o *NetworkDisconnectLibpodParams) SetCreate(create *models.NetworkDisconnectRequest)
SetCreate adds the create to the network disconnect libpod params.
func (*NetworkDisconnectLibpodParams) SetDefaults ¶
func (o *NetworkDisconnectLibpodParams) SetDefaults()
SetDefaults hydrates default values in the network disconnect libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkDisconnectLibpodParams) SetHTTPClient ¶
func (o *NetworkDisconnectLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the network disconnect libpod params.
func (*NetworkDisconnectLibpodParams) SetName ¶
func (o *NetworkDisconnectLibpodParams) SetName(name string)
SetName adds the name to the network disconnect libpod params.
func (*NetworkDisconnectLibpodParams) SetTimeout ¶
func (o *NetworkDisconnectLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the network disconnect libpod params.
func (*NetworkDisconnectLibpodParams) WithContext
deprecated
func (o *NetworkDisconnectLibpodParams) WithContext(ctx context.Context) *NetworkDisconnectLibpodParams
WithContext adds the context to the network disconnect libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkDisconnectLibpodParams.
func (*NetworkDisconnectLibpodParams) WithCreate ¶
func (o *NetworkDisconnectLibpodParams) WithCreate(create *models.NetworkDisconnectRequest) *NetworkDisconnectLibpodParams
WithCreate adds the create to the network disconnect libpod params.
func (*NetworkDisconnectLibpodParams) WithDefaults ¶
func (o *NetworkDisconnectLibpodParams) WithDefaults() *NetworkDisconnectLibpodParams
WithDefaults hydrates default values in the network disconnect libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkDisconnectLibpodParams) WithHTTPClient ¶
func (o *NetworkDisconnectLibpodParams) WithHTTPClient(client *http.Client) *NetworkDisconnectLibpodParams
WithHTTPClient adds the HTTPClient to the network disconnect libpod params.
func (*NetworkDisconnectLibpodParams) WithName ¶
func (o *NetworkDisconnectLibpodParams) WithName(name string) *NetworkDisconnectLibpodParams
WithName adds the name to the network disconnect libpod params.
func (*NetworkDisconnectLibpodParams) WithTimeout ¶
func (o *NetworkDisconnectLibpodParams) WithTimeout(timeout time.Duration) *NetworkDisconnectLibpodParams
WithTimeout adds the timeout to the network disconnect libpod params.
func (*NetworkDisconnectLibpodParams) WriteToRequest ¶
func (o *NetworkDisconnectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type NetworkDisconnectLibpodReader ¶
type NetworkDisconnectLibpodReader struct {
// contains filtered or unexported fields
}
NetworkDisconnectLibpodReader is a Reader for the NetworkDisconnectLibpod structure.
func (*NetworkDisconnectLibpodReader) ReadResponse ¶
func (o *NetworkDisconnectLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type NetworkExistsLibpodInternalServerError ¶
type NetworkExistsLibpodInternalServerError struct {
Payload *models.ErrorModel
}
NetworkExistsLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewNetworkExistsLibpodInternalServerError ¶
func NewNetworkExistsLibpodInternalServerError() *NetworkExistsLibpodInternalServerError
NewNetworkExistsLibpodInternalServerError creates a NetworkExistsLibpodInternalServerError with default headers values
func (*NetworkExistsLibpodInternalServerError) Code ¶
func (o *NetworkExistsLibpodInternalServerError) Code() int
Code gets the status code for the network exists libpod internal server error response
func (*NetworkExistsLibpodInternalServerError) Error ¶
func (o *NetworkExistsLibpodInternalServerError) Error() string
func (*NetworkExistsLibpodInternalServerError) GetPayload ¶
func (o *NetworkExistsLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*NetworkExistsLibpodInternalServerError) IsClientError ¶
func (o *NetworkExistsLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this network exists libpod internal server error response has a 4xx status code
func (*NetworkExistsLibpodInternalServerError) IsCode ¶
func (o *NetworkExistsLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this network exists libpod internal server error response a status code equal to that given
func (*NetworkExistsLibpodInternalServerError) IsRedirect ¶
func (o *NetworkExistsLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this network exists libpod internal server error response has a 3xx status code
func (*NetworkExistsLibpodInternalServerError) IsServerError ¶
func (o *NetworkExistsLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this network exists libpod internal server error response has a 5xx status code
func (*NetworkExistsLibpodInternalServerError) IsSuccess ¶
func (o *NetworkExistsLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this network exists libpod internal server error response has a 2xx status code
func (*NetworkExistsLibpodInternalServerError) String ¶
func (o *NetworkExistsLibpodInternalServerError) String() string
type NetworkExistsLibpodNoContent ¶
type NetworkExistsLibpodNoContent struct {
}
NetworkExistsLibpodNoContent describes a response with status code 204, with default header values.
network exists
func NewNetworkExistsLibpodNoContent ¶
func NewNetworkExistsLibpodNoContent() *NetworkExistsLibpodNoContent
NewNetworkExistsLibpodNoContent creates a NetworkExistsLibpodNoContent with default headers values
func (*NetworkExistsLibpodNoContent) Code ¶
func (o *NetworkExistsLibpodNoContent) Code() int
Code gets the status code for the network exists libpod no content response
func (*NetworkExistsLibpodNoContent) Error ¶
func (o *NetworkExistsLibpodNoContent) Error() string
func (*NetworkExistsLibpodNoContent) IsClientError ¶
func (o *NetworkExistsLibpodNoContent) IsClientError() bool
IsClientError returns true when this network exists libpod no content response has a 4xx status code
func (*NetworkExistsLibpodNoContent) IsCode ¶
func (o *NetworkExistsLibpodNoContent) IsCode(code int) bool
IsCode returns true when this network exists libpod no content response a status code equal to that given
func (*NetworkExistsLibpodNoContent) IsRedirect ¶
func (o *NetworkExistsLibpodNoContent) IsRedirect() bool
IsRedirect returns true when this network exists libpod no content response has a 3xx status code
func (*NetworkExistsLibpodNoContent) IsServerError ¶
func (o *NetworkExistsLibpodNoContent) IsServerError() bool
IsServerError returns true when this network exists libpod no content response has a 5xx status code
func (*NetworkExistsLibpodNoContent) IsSuccess ¶
func (o *NetworkExistsLibpodNoContent) IsSuccess() bool
IsSuccess returns true when this network exists libpod no content response has a 2xx status code
func (*NetworkExistsLibpodNoContent) String ¶
func (o *NetworkExistsLibpodNoContent) String() string
type NetworkExistsLibpodNotFound ¶
type NetworkExistsLibpodNotFound struct {
Payload *models.ErrorModel
}
NetworkExistsLibpodNotFound describes a response with status code 404, with default header values.
No such network
func NewNetworkExistsLibpodNotFound ¶
func NewNetworkExistsLibpodNotFound() *NetworkExistsLibpodNotFound
NewNetworkExistsLibpodNotFound creates a NetworkExistsLibpodNotFound with default headers values
func (*NetworkExistsLibpodNotFound) Code ¶
func (o *NetworkExistsLibpodNotFound) Code() int
Code gets the status code for the network exists libpod not found response
func (*NetworkExistsLibpodNotFound) Error ¶
func (o *NetworkExistsLibpodNotFound) Error() string
func (*NetworkExistsLibpodNotFound) GetPayload ¶
func (o *NetworkExistsLibpodNotFound) GetPayload() *models.ErrorModel
func (*NetworkExistsLibpodNotFound) IsClientError ¶
func (o *NetworkExistsLibpodNotFound) IsClientError() bool
IsClientError returns true when this network exists libpod not found response has a 4xx status code
func (*NetworkExistsLibpodNotFound) IsCode ¶
func (o *NetworkExistsLibpodNotFound) IsCode(code int) bool
IsCode returns true when this network exists libpod not found response a status code equal to that given
func (*NetworkExistsLibpodNotFound) IsRedirect ¶
func (o *NetworkExistsLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this network exists libpod not found response has a 3xx status code
func (*NetworkExistsLibpodNotFound) IsServerError ¶
func (o *NetworkExistsLibpodNotFound) IsServerError() bool
IsServerError returns true when this network exists libpod not found response has a 5xx status code
func (*NetworkExistsLibpodNotFound) IsSuccess ¶
func (o *NetworkExistsLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this network exists libpod not found response has a 2xx status code
func (*NetworkExistsLibpodNotFound) String ¶
func (o *NetworkExistsLibpodNotFound) String() string
type NetworkExistsLibpodParams ¶
type NetworkExistsLibpodParams struct {
// Name.
//
// the name or ID of the network
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
NetworkExistsLibpodParams contains all the parameters to send to the API endpoint
for the network exists libpod operation. Typically these are written to a http.Request.
func NewNetworkExistsLibpodParams ¶
func NewNetworkExistsLibpodParams() *NetworkExistsLibpodParams
NewNetworkExistsLibpodParams creates a new NetworkExistsLibpodParams 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 NewNetworkExistsLibpodParamsWithContext
deprecated
func NewNetworkExistsLibpodParamsWithContext(ctx context.Context) *NetworkExistsLibpodParams
NewNetworkExistsLibpodParamsWithContext creates a new NetworkExistsLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of NetworkExistsLibpodParams.
func NewNetworkExistsLibpodParamsWithHTTPClient ¶
func NewNetworkExistsLibpodParamsWithHTTPClient(client *http.Client) *NetworkExistsLibpodParams
NewNetworkExistsLibpodParamsWithHTTPClient creates a new NetworkExistsLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewNetworkExistsLibpodParamsWithTimeout ¶
func NewNetworkExistsLibpodParamsWithTimeout(timeout time.Duration) *NetworkExistsLibpodParams
NewNetworkExistsLibpodParamsWithTimeout creates a new NetworkExistsLibpodParams object with the ability to set a timeout on a request.
func (*NetworkExistsLibpodParams) SetContext
deprecated
func (o *NetworkExistsLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network exists libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkExistsLibpodParams.
func (*NetworkExistsLibpodParams) SetDefaults ¶
func (o *NetworkExistsLibpodParams) SetDefaults()
SetDefaults hydrates default values in the network exists libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkExistsLibpodParams) SetHTTPClient ¶
func (o *NetworkExistsLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the network exists libpod params.
func (*NetworkExistsLibpodParams) SetName ¶
func (o *NetworkExistsLibpodParams) SetName(name string)
SetName adds the name to the network exists libpod params.
func (*NetworkExistsLibpodParams) SetTimeout ¶
func (o *NetworkExistsLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the network exists libpod params.
func (*NetworkExistsLibpodParams) WithContext
deprecated
func (o *NetworkExistsLibpodParams) WithContext(ctx context.Context) *NetworkExistsLibpodParams
WithContext adds the context to the network exists libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkExistsLibpodParams.
func (*NetworkExistsLibpodParams) WithDefaults ¶
func (o *NetworkExistsLibpodParams) WithDefaults() *NetworkExistsLibpodParams
WithDefaults hydrates default values in the network exists libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkExistsLibpodParams) WithHTTPClient ¶
func (o *NetworkExistsLibpodParams) WithHTTPClient(client *http.Client) *NetworkExistsLibpodParams
WithHTTPClient adds the HTTPClient to the network exists libpod params.
func (*NetworkExistsLibpodParams) WithName ¶
func (o *NetworkExistsLibpodParams) WithName(name string) *NetworkExistsLibpodParams
WithName adds the name to the network exists libpod params.
func (*NetworkExistsLibpodParams) WithTimeout ¶
func (o *NetworkExistsLibpodParams) WithTimeout(timeout time.Duration) *NetworkExistsLibpodParams
WithTimeout adds the timeout to the network exists libpod params.
func (*NetworkExistsLibpodParams) WriteToRequest ¶
func (o *NetworkExistsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type NetworkExistsLibpodReader ¶
type NetworkExistsLibpodReader struct {
// contains filtered or unexported fields
}
NetworkExistsLibpodReader is a Reader for the NetworkExistsLibpod structure.
func (*NetworkExistsLibpodReader) ReadResponse ¶
func (o *NetworkExistsLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type NetworkInspectLibpodInternalServerError ¶
type NetworkInspectLibpodInternalServerError struct {
Payload *models.ErrorModel
}
NetworkInspectLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewNetworkInspectLibpodInternalServerError ¶
func NewNetworkInspectLibpodInternalServerError() *NetworkInspectLibpodInternalServerError
NewNetworkInspectLibpodInternalServerError creates a NetworkInspectLibpodInternalServerError with default headers values
func (*NetworkInspectLibpodInternalServerError) Code ¶
func (o *NetworkInspectLibpodInternalServerError) Code() int
Code gets the status code for the network inspect libpod internal server error response
func (*NetworkInspectLibpodInternalServerError) Error ¶
func (o *NetworkInspectLibpodInternalServerError) Error() string
func (*NetworkInspectLibpodInternalServerError) GetPayload ¶
func (o *NetworkInspectLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*NetworkInspectLibpodInternalServerError) IsClientError ¶
func (o *NetworkInspectLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this network inspect libpod internal server error response has a 4xx status code
func (*NetworkInspectLibpodInternalServerError) IsCode ¶
func (o *NetworkInspectLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this network inspect libpod internal server error response a status code equal to that given
func (*NetworkInspectLibpodInternalServerError) IsRedirect ¶
func (o *NetworkInspectLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this network inspect libpod internal server error response has a 3xx status code
func (*NetworkInspectLibpodInternalServerError) IsServerError ¶
func (o *NetworkInspectLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this network inspect libpod internal server error response has a 5xx status code
func (*NetworkInspectLibpodInternalServerError) IsSuccess ¶
func (o *NetworkInspectLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this network inspect libpod internal server error response has a 2xx status code
func (*NetworkInspectLibpodInternalServerError) String ¶
func (o *NetworkInspectLibpodInternalServerError) String() string
type NetworkInspectLibpodNotFound ¶
type NetworkInspectLibpodNotFound struct {
Payload *models.ErrorModel
}
NetworkInspectLibpodNotFound describes a response with status code 404, with default header values.
No such network
func NewNetworkInspectLibpodNotFound ¶
func NewNetworkInspectLibpodNotFound() *NetworkInspectLibpodNotFound
NewNetworkInspectLibpodNotFound creates a NetworkInspectLibpodNotFound with default headers values
func (*NetworkInspectLibpodNotFound) Code ¶
func (o *NetworkInspectLibpodNotFound) Code() int
Code gets the status code for the network inspect libpod not found response
func (*NetworkInspectLibpodNotFound) Error ¶
func (o *NetworkInspectLibpodNotFound) Error() string
func (*NetworkInspectLibpodNotFound) GetPayload ¶
func (o *NetworkInspectLibpodNotFound) GetPayload() *models.ErrorModel
func (*NetworkInspectLibpodNotFound) IsClientError ¶
func (o *NetworkInspectLibpodNotFound) IsClientError() bool
IsClientError returns true when this network inspect libpod not found response has a 4xx status code
func (*NetworkInspectLibpodNotFound) IsCode ¶
func (o *NetworkInspectLibpodNotFound) IsCode(code int) bool
IsCode returns true when this network inspect libpod not found response a status code equal to that given
func (*NetworkInspectLibpodNotFound) IsRedirect ¶
func (o *NetworkInspectLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this network inspect libpod not found response has a 3xx status code
func (*NetworkInspectLibpodNotFound) IsServerError ¶
func (o *NetworkInspectLibpodNotFound) IsServerError() bool
IsServerError returns true when this network inspect libpod not found response has a 5xx status code
func (*NetworkInspectLibpodNotFound) IsSuccess ¶
func (o *NetworkInspectLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this network inspect libpod not found response has a 2xx status code
func (*NetworkInspectLibpodNotFound) String ¶
func (o *NetworkInspectLibpodNotFound) String() string
type NetworkInspectLibpodOK ¶
type NetworkInspectLibpodOK struct {
Payload *models.NetworkInspectReport
}
NetworkInspectLibpodOK describes a response with status code 200, with default header values.
Network inspect
func NewNetworkInspectLibpodOK ¶
func NewNetworkInspectLibpodOK() *NetworkInspectLibpodOK
NewNetworkInspectLibpodOK creates a NetworkInspectLibpodOK with default headers values
func (*NetworkInspectLibpodOK) Code ¶
func (o *NetworkInspectLibpodOK) Code() int
Code gets the status code for the network inspect libpod o k response
func (*NetworkInspectLibpodOK) Error ¶
func (o *NetworkInspectLibpodOK) Error() string
func (*NetworkInspectLibpodOK) GetPayload ¶
func (o *NetworkInspectLibpodOK) GetPayload() *models.NetworkInspectReport
func (*NetworkInspectLibpodOK) IsClientError ¶
func (o *NetworkInspectLibpodOK) IsClientError() bool
IsClientError returns true when this network inspect libpod o k response has a 4xx status code
func (*NetworkInspectLibpodOK) IsCode ¶
func (o *NetworkInspectLibpodOK) IsCode(code int) bool
IsCode returns true when this network inspect libpod o k response a status code equal to that given
func (*NetworkInspectLibpodOK) IsRedirect ¶
func (o *NetworkInspectLibpodOK) IsRedirect() bool
IsRedirect returns true when this network inspect libpod o k response has a 3xx status code
func (*NetworkInspectLibpodOK) IsServerError ¶
func (o *NetworkInspectLibpodOK) IsServerError() bool
IsServerError returns true when this network inspect libpod o k response has a 5xx status code
func (*NetworkInspectLibpodOK) IsSuccess ¶
func (o *NetworkInspectLibpodOK) IsSuccess() bool
IsSuccess returns true when this network inspect libpod o k response has a 2xx status code
func (*NetworkInspectLibpodOK) String ¶
func (o *NetworkInspectLibpodOK) String() string
type NetworkInspectLibpodParams ¶
type NetworkInspectLibpodParams struct {
// Name.
//
// the name of the network
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
NetworkInspectLibpodParams contains all the parameters to send to the API endpoint
for the network inspect libpod operation. Typically these are written to a http.Request.
func NewNetworkInspectLibpodParams ¶
func NewNetworkInspectLibpodParams() *NetworkInspectLibpodParams
NewNetworkInspectLibpodParams creates a new NetworkInspectLibpodParams 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 NewNetworkInspectLibpodParamsWithContext
deprecated
func NewNetworkInspectLibpodParamsWithContext(ctx context.Context) *NetworkInspectLibpodParams
NewNetworkInspectLibpodParamsWithContext creates a new NetworkInspectLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of NetworkInspectLibpodParams.
func NewNetworkInspectLibpodParamsWithHTTPClient ¶
func NewNetworkInspectLibpodParamsWithHTTPClient(client *http.Client) *NetworkInspectLibpodParams
NewNetworkInspectLibpodParamsWithHTTPClient creates a new NetworkInspectLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewNetworkInspectLibpodParamsWithTimeout ¶
func NewNetworkInspectLibpodParamsWithTimeout(timeout time.Duration) *NetworkInspectLibpodParams
NewNetworkInspectLibpodParamsWithTimeout creates a new NetworkInspectLibpodParams object with the ability to set a timeout on a request.
func (*NetworkInspectLibpodParams) SetContext
deprecated
func (o *NetworkInspectLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network inspect libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkInspectLibpodParams.
func (*NetworkInspectLibpodParams) SetDefaults ¶
func (o *NetworkInspectLibpodParams) SetDefaults()
SetDefaults hydrates default values in the network inspect libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkInspectLibpodParams) SetHTTPClient ¶
func (o *NetworkInspectLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the network inspect libpod params.
func (*NetworkInspectLibpodParams) SetName ¶
func (o *NetworkInspectLibpodParams) SetName(name string)
SetName adds the name to the network inspect libpod params.
func (*NetworkInspectLibpodParams) SetTimeout ¶
func (o *NetworkInspectLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the network inspect libpod params.
func (*NetworkInspectLibpodParams) WithContext
deprecated
func (o *NetworkInspectLibpodParams) WithContext(ctx context.Context) *NetworkInspectLibpodParams
WithContext adds the context to the network inspect libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkInspectLibpodParams.
func (*NetworkInspectLibpodParams) WithDefaults ¶
func (o *NetworkInspectLibpodParams) WithDefaults() *NetworkInspectLibpodParams
WithDefaults hydrates default values in the network inspect libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkInspectLibpodParams) WithHTTPClient ¶
func (o *NetworkInspectLibpodParams) WithHTTPClient(client *http.Client) *NetworkInspectLibpodParams
WithHTTPClient adds the HTTPClient to the network inspect libpod params.
func (*NetworkInspectLibpodParams) WithName ¶
func (o *NetworkInspectLibpodParams) WithName(name string) *NetworkInspectLibpodParams
WithName adds the name to the network inspect libpod params.
func (*NetworkInspectLibpodParams) WithTimeout ¶
func (o *NetworkInspectLibpodParams) WithTimeout(timeout time.Duration) *NetworkInspectLibpodParams
WithTimeout adds the timeout to the network inspect libpod params.
func (*NetworkInspectLibpodParams) WriteToRequest ¶
func (o *NetworkInspectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type NetworkInspectLibpodReader ¶
type NetworkInspectLibpodReader struct {
// contains filtered or unexported fields
}
NetworkInspectLibpodReader is a Reader for the NetworkInspectLibpod structure.
func (*NetworkInspectLibpodReader) ReadResponse ¶
func (o *NetworkInspectLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type NetworkListLibpodInternalServerError ¶
type NetworkListLibpodInternalServerError struct {
Payload *models.ErrorModel
}
NetworkListLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewNetworkListLibpodInternalServerError ¶
func NewNetworkListLibpodInternalServerError() *NetworkListLibpodInternalServerError
NewNetworkListLibpodInternalServerError creates a NetworkListLibpodInternalServerError with default headers values
func (*NetworkListLibpodInternalServerError) Code ¶
func (o *NetworkListLibpodInternalServerError) Code() int
Code gets the status code for the network list libpod internal server error response
func (*NetworkListLibpodInternalServerError) Error ¶
func (o *NetworkListLibpodInternalServerError) Error() string
func (*NetworkListLibpodInternalServerError) GetPayload ¶
func (o *NetworkListLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*NetworkListLibpodInternalServerError) IsClientError ¶
func (o *NetworkListLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this network list libpod internal server error response has a 4xx status code
func (*NetworkListLibpodInternalServerError) IsCode ¶
func (o *NetworkListLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this network list libpod internal server error response a status code equal to that given
func (*NetworkListLibpodInternalServerError) IsRedirect ¶
func (o *NetworkListLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this network list libpod internal server error response has a 3xx status code
func (*NetworkListLibpodInternalServerError) IsServerError ¶
func (o *NetworkListLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this network list libpod internal server error response has a 5xx status code
func (*NetworkListLibpodInternalServerError) IsSuccess ¶
func (o *NetworkListLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this network list libpod internal server error response has a 2xx status code
func (*NetworkListLibpodInternalServerError) String ¶
func (o *NetworkListLibpodInternalServerError) String() string
type NetworkListLibpodOK ¶
NetworkListLibpodOK describes a response with status code 200, with default header values.
Network list
func NewNetworkListLibpodOK ¶
func NewNetworkListLibpodOK() *NetworkListLibpodOK
NewNetworkListLibpodOK creates a NetworkListLibpodOK with default headers values
func (*NetworkListLibpodOK) Code ¶
func (o *NetworkListLibpodOK) Code() int
Code gets the status code for the network list libpod o k response
func (*NetworkListLibpodOK) Error ¶
func (o *NetworkListLibpodOK) Error() string
func (*NetworkListLibpodOK) GetPayload ¶
func (o *NetworkListLibpodOK) GetPayload() []*models.Network
func (*NetworkListLibpodOK) IsClientError ¶
func (o *NetworkListLibpodOK) IsClientError() bool
IsClientError returns true when this network list libpod o k response has a 4xx status code
func (*NetworkListLibpodOK) IsCode ¶
func (o *NetworkListLibpodOK) IsCode(code int) bool
IsCode returns true when this network list libpod o k response a status code equal to that given
func (*NetworkListLibpodOK) IsRedirect ¶
func (o *NetworkListLibpodOK) IsRedirect() bool
IsRedirect returns true when this network list libpod o k response has a 3xx status code
func (*NetworkListLibpodOK) IsServerError ¶
func (o *NetworkListLibpodOK) IsServerError() bool
IsServerError returns true when this network list libpod o k response has a 5xx status code
func (*NetworkListLibpodOK) IsSuccess ¶
func (o *NetworkListLibpodOK) IsSuccess() bool
IsSuccess returns true when this network list libpod o k response has a 2xx status code
func (*NetworkListLibpodOK) String ¶
func (o *NetworkListLibpodOK) String() string
type NetworkListLibpodParams ¶
type NetworkListLibpodParams struct {
// Filters.
//
// JSON encoded value of the filters (a `map[string][]string`) to process on the network list. Available filters:
// - `name=[name]` Matches network name (accepts regex).
// - `id=[id]` Matches for full or partial ID.
// - `driver=[driver]` Only bridge is supported.
// - `label=[key]` or `label=[key=value]` Matches networks based on the presence of a label alone or a label and a value.
// - `until=[timestamp]` Matches all networks that were created before the given timestamp.
//
Filters *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
NetworkListLibpodParams contains all the parameters to send to the API endpoint
for the network list libpod operation. Typically these are written to a http.Request.
func NewNetworkListLibpodParams ¶
func NewNetworkListLibpodParams() *NetworkListLibpodParams
NewNetworkListLibpodParams creates a new NetworkListLibpodParams 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 NewNetworkListLibpodParamsWithContext
deprecated
func NewNetworkListLibpodParamsWithContext(ctx context.Context) *NetworkListLibpodParams
NewNetworkListLibpodParamsWithContext creates a new NetworkListLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of NetworkListLibpodParams.
func NewNetworkListLibpodParamsWithHTTPClient ¶
func NewNetworkListLibpodParamsWithHTTPClient(client *http.Client) *NetworkListLibpodParams
NewNetworkListLibpodParamsWithHTTPClient creates a new NetworkListLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewNetworkListLibpodParamsWithTimeout ¶
func NewNetworkListLibpodParamsWithTimeout(timeout time.Duration) *NetworkListLibpodParams
NewNetworkListLibpodParamsWithTimeout creates a new NetworkListLibpodParams object with the ability to set a timeout on a request.
func (*NetworkListLibpodParams) SetContext
deprecated
func (o *NetworkListLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network list libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkListLibpodParams.
func (*NetworkListLibpodParams) SetDefaults ¶
func (o *NetworkListLibpodParams) SetDefaults()
SetDefaults hydrates default values in the network list libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkListLibpodParams) SetFilters ¶
func (o *NetworkListLibpodParams) SetFilters(filters *string)
SetFilters adds the filters to the network list libpod params.
func (*NetworkListLibpodParams) SetHTTPClient ¶
func (o *NetworkListLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the network list libpod params.
func (*NetworkListLibpodParams) SetTimeout ¶
func (o *NetworkListLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the network list libpod params.
func (*NetworkListLibpodParams) WithContext
deprecated
func (o *NetworkListLibpodParams) WithContext(ctx context.Context) *NetworkListLibpodParams
WithContext adds the context to the network list libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkListLibpodParams.
func (*NetworkListLibpodParams) WithDefaults ¶
func (o *NetworkListLibpodParams) WithDefaults() *NetworkListLibpodParams
WithDefaults hydrates default values in the network list libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkListLibpodParams) WithFilters ¶
func (o *NetworkListLibpodParams) WithFilters(filters *string) *NetworkListLibpodParams
WithFilters adds the filters to the network list libpod params.
func (*NetworkListLibpodParams) WithHTTPClient ¶
func (o *NetworkListLibpodParams) WithHTTPClient(client *http.Client) *NetworkListLibpodParams
WithHTTPClient adds the HTTPClient to the network list libpod params.
func (*NetworkListLibpodParams) WithTimeout ¶
func (o *NetworkListLibpodParams) WithTimeout(timeout time.Duration) *NetworkListLibpodParams
WithTimeout adds the timeout to the network list libpod params.
func (*NetworkListLibpodParams) WriteToRequest ¶
func (o *NetworkListLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type NetworkListLibpodReader ¶
type NetworkListLibpodReader struct {
// contains filtered or unexported fields
}
NetworkListLibpodReader is a Reader for the NetworkListLibpod structure.
func (*NetworkListLibpodReader) ReadResponse ¶
func (o *NetworkListLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type NetworkPruneLibpodInternalServerError ¶
type NetworkPruneLibpodInternalServerError struct {
Payload *models.ErrorModel
}
NetworkPruneLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewNetworkPruneLibpodInternalServerError ¶
func NewNetworkPruneLibpodInternalServerError() *NetworkPruneLibpodInternalServerError
NewNetworkPruneLibpodInternalServerError creates a NetworkPruneLibpodInternalServerError with default headers values
func (*NetworkPruneLibpodInternalServerError) Code ¶
func (o *NetworkPruneLibpodInternalServerError) Code() int
Code gets the status code for the network prune libpod internal server error response
func (*NetworkPruneLibpodInternalServerError) Error ¶
func (o *NetworkPruneLibpodInternalServerError) Error() string
func (*NetworkPruneLibpodInternalServerError) GetPayload ¶
func (o *NetworkPruneLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*NetworkPruneLibpodInternalServerError) IsClientError ¶
func (o *NetworkPruneLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this network prune libpod internal server error response has a 4xx status code
func (*NetworkPruneLibpodInternalServerError) IsCode ¶
func (o *NetworkPruneLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this network prune libpod internal server error response a status code equal to that given
func (*NetworkPruneLibpodInternalServerError) IsRedirect ¶
func (o *NetworkPruneLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this network prune libpod internal server error response has a 3xx status code
func (*NetworkPruneLibpodInternalServerError) IsServerError ¶
func (o *NetworkPruneLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this network prune libpod internal server error response has a 5xx status code
func (*NetworkPruneLibpodInternalServerError) IsSuccess ¶
func (o *NetworkPruneLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this network prune libpod internal server error response has a 2xx status code
func (*NetworkPruneLibpodInternalServerError) String ¶
func (o *NetworkPruneLibpodInternalServerError) String() string
type NetworkPruneLibpodOK ¶
type NetworkPruneLibpodOK struct {
Payload []*models.NetworkPruneReport
}
NetworkPruneLibpodOK describes a response with status code 200, with default header values.
Network prune
func NewNetworkPruneLibpodOK ¶
func NewNetworkPruneLibpodOK() *NetworkPruneLibpodOK
NewNetworkPruneLibpodOK creates a NetworkPruneLibpodOK with default headers values
func (*NetworkPruneLibpodOK) Code ¶
func (o *NetworkPruneLibpodOK) Code() int
Code gets the status code for the network prune libpod o k response
func (*NetworkPruneLibpodOK) Error ¶
func (o *NetworkPruneLibpodOK) Error() string
func (*NetworkPruneLibpodOK) GetPayload ¶
func (o *NetworkPruneLibpodOK) GetPayload() []*models.NetworkPruneReport
func (*NetworkPruneLibpodOK) IsClientError ¶
func (o *NetworkPruneLibpodOK) IsClientError() bool
IsClientError returns true when this network prune libpod o k response has a 4xx status code
func (*NetworkPruneLibpodOK) IsCode ¶
func (o *NetworkPruneLibpodOK) IsCode(code int) bool
IsCode returns true when this network prune libpod o k response a status code equal to that given
func (*NetworkPruneLibpodOK) IsRedirect ¶
func (o *NetworkPruneLibpodOK) IsRedirect() bool
IsRedirect returns true when this network prune libpod o k response has a 3xx status code
func (*NetworkPruneLibpodOK) IsServerError ¶
func (o *NetworkPruneLibpodOK) IsServerError() bool
IsServerError returns true when this network prune libpod o k response has a 5xx status code
func (*NetworkPruneLibpodOK) IsSuccess ¶
func (o *NetworkPruneLibpodOK) IsSuccess() bool
IsSuccess returns true when this network prune libpod o k response has a 2xx status code
func (*NetworkPruneLibpodOK) String ¶
func (o *NetworkPruneLibpodOK) String() string
type NetworkPruneLibpodParams ¶
type NetworkPruneLibpodParams struct {
// Filters.
//
// Filters to process on the prune list, encoded as JSON (a `map[string][]string`).
// Available filters:
// - `until=<timestamp>` Prune networks 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.
// - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune networks with (or without, in case `label!=...` is used) the specified labels.
//
Filters *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
NetworkPruneLibpodParams contains all the parameters to send to the API endpoint
for the network prune libpod operation. Typically these are written to a http.Request.
func NewNetworkPruneLibpodParams ¶
func NewNetworkPruneLibpodParams() *NetworkPruneLibpodParams
NewNetworkPruneLibpodParams creates a new NetworkPruneLibpodParams 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 NewNetworkPruneLibpodParamsWithContext
deprecated
func NewNetworkPruneLibpodParamsWithContext(ctx context.Context) *NetworkPruneLibpodParams
NewNetworkPruneLibpodParamsWithContext creates a new NetworkPruneLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of NetworkPruneLibpodParams.
func NewNetworkPruneLibpodParamsWithHTTPClient ¶
func NewNetworkPruneLibpodParamsWithHTTPClient(client *http.Client) *NetworkPruneLibpodParams
NewNetworkPruneLibpodParamsWithHTTPClient creates a new NetworkPruneLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewNetworkPruneLibpodParamsWithTimeout ¶
func NewNetworkPruneLibpodParamsWithTimeout(timeout time.Duration) *NetworkPruneLibpodParams
NewNetworkPruneLibpodParamsWithTimeout creates a new NetworkPruneLibpodParams object with the ability to set a timeout on a request.
func (*NetworkPruneLibpodParams) SetContext
deprecated
func (o *NetworkPruneLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network prune libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkPruneLibpodParams.
func (*NetworkPruneLibpodParams) SetDefaults ¶
func (o *NetworkPruneLibpodParams) SetDefaults()
SetDefaults hydrates default values in the network prune libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkPruneLibpodParams) SetFilters ¶
func (o *NetworkPruneLibpodParams) SetFilters(filters *string)
SetFilters adds the filters to the network prune libpod params.
func (*NetworkPruneLibpodParams) SetHTTPClient ¶
func (o *NetworkPruneLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the network prune libpod params.
func (*NetworkPruneLibpodParams) SetTimeout ¶
func (o *NetworkPruneLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the network prune libpod params.
func (*NetworkPruneLibpodParams) WithContext
deprecated
func (o *NetworkPruneLibpodParams) WithContext(ctx context.Context) *NetworkPruneLibpodParams
WithContext adds the context to the network prune libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkPruneLibpodParams.
func (*NetworkPruneLibpodParams) WithDefaults ¶
func (o *NetworkPruneLibpodParams) WithDefaults() *NetworkPruneLibpodParams
WithDefaults hydrates default values in the network prune libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkPruneLibpodParams) WithFilters ¶
func (o *NetworkPruneLibpodParams) WithFilters(filters *string) *NetworkPruneLibpodParams
WithFilters adds the filters to the network prune libpod params.
func (*NetworkPruneLibpodParams) WithHTTPClient ¶
func (o *NetworkPruneLibpodParams) WithHTTPClient(client *http.Client) *NetworkPruneLibpodParams
WithHTTPClient adds the HTTPClient to the network prune libpod params.
func (*NetworkPruneLibpodParams) WithTimeout ¶
func (o *NetworkPruneLibpodParams) WithTimeout(timeout time.Duration) *NetworkPruneLibpodParams
WithTimeout adds the timeout to the network prune libpod params.
func (*NetworkPruneLibpodParams) WriteToRequest ¶
func (o *NetworkPruneLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type NetworkPruneLibpodReader ¶
type NetworkPruneLibpodReader struct {
// contains filtered or unexported fields
}
NetworkPruneLibpodReader is a Reader for the NetworkPruneLibpod structure.
func (*NetworkPruneLibpodReader) ReadResponse ¶
func (o *NetworkPruneLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type NetworkUpdateLibpodBadRequest ¶
type NetworkUpdateLibpodBadRequest struct {
Payload *models.ErrorModel
}
NetworkUpdateLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewNetworkUpdateLibpodBadRequest ¶
func NewNetworkUpdateLibpodBadRequest() *NetworkUpdateLibpodBadRequest
NewNetworkUpdateLibpodBadRequest creates a NetworkUpdateLibpodBadRequest with default headers values
func (*NetworkUpdateLibpodBadRequest) Code ¶
func (o *NetworkUpdateLibpodBadRequest) Code() int
Code gets the status code for the network update libpod bad request response
func (*NetworkUpdateLibpodBadRequest) Error ¶
func (o *NetworkUpdateLibpodBadRequest) Error() string
func (*NetworkUpdateLibpodBadRequest) GetPayload ¶
func (o *NetworkUpdateLibpodBadRequest) GetPayload() *models.ErrorModel
func (*NetworkUpdateLibpodBadRequest) IsClientError ¶
func (o *NetworkUpdateLibpodBadRequest) IsClientError() bool
IsClientError returns true when this network update libpod bad request response has a 4xx status code
func (*NetworkUpdateLibpodBadRequest) IsCode ¶
func (o *NetworkUpdateLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this network update libpod bad request response a status code equal to that given
func (*NetworkUpdateLibpodBadRequest) IsRedirect ¶
func (o *NetworkUpdateLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this network update libpod bad request response has a 3xx status code
func (*NetworkUpdateLibpodBadRequest) IsServerError ¶
func (o *NetworkUpdateLibpodBadRequest) IsServerError() bool
IsServerError returns true when this network update libpod bad request response has a 5xx status code
func (*NetworkUpdateLibpodBadRequest) IsSuccess ¶
func (o *NetworkUpdateLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this network update libpod bad request response has a 2xx status code
func (*NetworkUpdateLibpodBadRequest) String ¶
func (o *NetworkUpdateLibpodBadRequest) String() string
type NetworkUpdateLibpodInternalServerError ¶
type NetworkUpdateLibpodInternalServerError struct {
Payload *models.ErrorModel
}
NetworkUpdateLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewNetworkUpdateLibpodInternalServerError ¶
func NewNetworkUpdateLibpodInternalServerError() *NetworkUpdateLibpodInternalServerError
NewNetworkUpdateLibpodInternalServerError creates a NetworkUpdateLibpodInternalServerError with default headers values
func (*NetworkUpdateLibpodInternalServerError) Code ¶
func (o *NetworkUpdateLibpodInternalServerError) Code() int
Code gets the status code for the network update libpod internal server error response
func (*NetworkUpdateLibpodInternalServerError) Error ¶
func (o *NetworkUpdateLibpodInternalServerError) Error() string
func (*NetworkUpdateLibpodInternalServerError) GetPayload ¶
func (o *NetworkUpdateLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*NetworkUpdateLibpodInternalServerError) IsClientError ¶
func (o *NetworkUpdateLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this network update libpod internal server error response has a 4xx status code
func (*NetworkUpdateLibpodInternalServerError) IsCode ¶
func (o *NetworkUpdateLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this network update libpod internal server error response a status code equal to that given
func (*NetworkUpdateLibpodInternalServerError) IsRedirect ¶
func (o *NetworkUpdateLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this network update libpod internal server error response has a 3xx status code
func (*NetworkUpdateLibpodInternalServerError) IsServerError ¶
func (o *NetworkUpdateLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this network update libpod internal server error response has a 5xx status code
func (*NetworkUpdateLibpodInternalServerError) IsSuccess ¶
func (o *NetworkUpdateLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this network update libpod internal server error response has a 2xx status code
func (*NetworkUpdateLibpodInternalServerError) String ¶
func (o *NetworkUpdateLibpodInternalServerError) String() string
type NetworkUpdateLibpodOK ¶
type NetworkUpdateLibpodOK struct {
}
NetworkUpdateLibpodOK describes a response with status code 200, with default header values.
OK
func NewNetworkUpdateLibpodOK ¶
func NewNetworkUpdateLibpodOK() *NetworkUpdateLibpodOK
NewNetworkUpdateLibpodOK creates a NetworkUpdateLibpodOK with default headers values
func (*NetworkUpdateLibpodOK) Code ¶
func (o *NetworkUpdateLibpodOK) Code() int
Code gets the status code for the network update libpod o k response
func (*NetworkUpdateLibpodOK) Error ¶
func (o *NetworkUpdateLibpodOK) Error() string
func (*NetworkUpdateLibpodOK) IsClientError ¶
func (o *NetworkUpdateLibpodOK) IsClientError() bool
IsClientError returns true when this network update libpod o k response has a 4xx status code
func (*NetworkUpdateLibpodOK) IsCode ¶
func (o *NetworkUpdateLibpodOK) IsCode(code int) bool
IsCode returns true when this network update libpod o k response a status code equal to that given
func (*NetworkUpdateLibpodOK) IsRedirect ¶
func (o *NetworkUpdateLibpodOK) IsRedirect() bool
IsRedirect returns true when this network update libpod o k response has a 3xx status code
func (*NetworkUpdateLibpodOK) IsServerError ¶
func (o *NetworkUpdateLibpodOK) IsServerError() bool
IsServerError returns true when this network update libpod o k response has a 5xx status code
func (*NetworkUpdateLibpodOK) IsSuccess ¶
func (o *NetworkUpdateLibpodOK) IsSuccess() bool
IsSuccess returns true when this network update libpod o k response has a 2xx status code
func (*NetworkUpdateLibpodOK) String ¶
func (o *NetworkUpdateLibpodOK) String() string
type NetworkUpdateLibpodParams ¶
type NetworkUpdateLibpodParams struct {
// Name.
//
// the name or ID of the network
Name string
// Update.
//
// attributes for updating a netavark network
Update *models.NetworkUpdateRequestLibpod
HTTPClient *http.Client
// contains filtered or unexported fields
}
NetworkUpdateLibpodParams contains all the parameters to send to the API endpoint
for the network update libpod operation. Typically these are written to a http.Request.
func NewNetworkUpdateLibpodParams ¶
func NewNetworkUpdateLibpodParams() *NetworkUpdateLibpodParams
NewNetworkUpdateLibpodParams creates a new NetworkUpdateLibpodParams 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 NewNetworkUpdateLibpodParamsWithContext
deprecated
func NewNetworkUpdateLibpodParamsWithContext(ctx context.Context) *NetworkUpdateLibpodParams
NewNetworkUpdateLibpodParamsWithContext creates a new NetworkUpdateLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of NetworkUpdateLibpodParams.
func NewNetworkUpdateLibpodParamsWithHTTPClient ¶
func NewNetworkUpdateLibpodParamsWithHTTPClient(client *http.Client) *NetworkUpdateLibpodParams
NewNetworkUpdateLibpodParamsWithHTTPClient creates a new NetworkUpdateLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewNetworkUpdateLibpodParamsWithTimeout ¶
func NewNetworkUpdateLibpodParamsWithTimeout(timeout time.Duration) *NetworkUpdateLibpodParams
NewNetworkUpdateLibpodParamsWithTimeout creates a new NetworkUpdateLibpodParams object with the ability to set a timeout on a request.
func (*NetworkUpdateLibpodParams) SetContext
deprecated
func (o *NetworkUpdateLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network update libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkUpdateLibpodParams.
func (*NetworkUpdateLibpodParams) SetDefaults ¶
func (o *NetworkUpdateLibpodParams) SetDefaults()
SetDefaults hydrates default values in the network update libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkUpdateLibpodParams) SetHTTPClient ¶
func (o *NetworkUpdateLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the network update libpod params.
func (*NetworkUpdateLibpodParams) SetName ¶
func (o *NetworkUpdateLibpodParams) SetName(name string)
SetName adds the name to the network update libpod params.
func (*NetworkUpdateLibpodParams) SetTimeout ¶
func (o *NetworkUpdateLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the network update libpod params.
func (*NetworkUpdateLibpodParams) SetUpdate ¶
func (o *NetworkUpdateLibpodParams) SetUpdate(update *models.NetworkUpdateRequestLibpod)
SetUpdate adds the update to the network update libpod params.
func (*NetworkUpdateLibpodParams) WithContext
deprecated
func (o *NetworkUpdateLibpodParams) WithContext(ctx context.Context) *NetworkUpdateLibpodParams
WithContext adds the context to the network update libpod params.
Deprecated: use the operation call with context to pass the context instead of NetworkUpdateLibpodParams.
func (*NetworkUpdateLibpodParams) WithDefaults ¶
func (o *NetworkUpdateLibpodParams) WithDefaults() *NetworkUpdateLibpodParams
WithDefaults hydrates default values in the network update libpod params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkUpdateLibpodParams) WithHTTPClient ¶
func (o *NetworkUpdateLibpodParams) WithHTTPClient(client *http.Client) *NetworkUpdateLibpodParams
WithHTTPClient adds the HTTPClient to the network update libpod params.
func (*NetworkUpdateLibpodParams) WithName ¶
func (o *NetworkUpdateLibpodParams) WithName(name string) *NetworkUpdateLibpodParams
WithName adds the name to the network update libpod params.
func (*NetworkUpdateLibpodParams) WithTimeout ¶
func (o *NetworkUpdateLibpodParams) WithTimeout(timeout time.Duration) *NetworkUpdateLibpodParams
WithTimeout adds the timeout to the network update libpod params.
func (*NetworkUpdateLibpodParams) WithUpdate ¶
func (o *NetworkUpdateLibpodParams) WithUpdate(update *models.NetworkUpdateRequestLibpod) *NetworkUpdateLibpodParams
WithUpdate adds the update to the network update libpod params.
func (*NetworkUpdateLibpodParams) WriteToRequest ¶
func (o *NetworkUpdateLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type NetworkUpdateLibpodReader ¶
type NetworkUpdateLibpodReader struct {
// contains filtered or unexported fields
}
NetworkUpdateLibpodReader is a Reader for the NetworkUpdateLibpod structure.
func (*NetworkUpdateLibpodReader) ReadResponse ¶
func (o *NetworkUpdateLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- network_connect_libpod_parameters.go
- network_connect_libpod_responses.go
- network_create_libpod_parameters.go
- network_create_libpod_responses.go
- network_delete_libpod_parameters.go
- network_delete_libpod_responses.go
- network_disconnect_libpod_parameters.go
- network_disconnect_libpod_responses.go
- network_exists_libpod_parameters.go
- network_exists_libpod_responses.go
- network_inspect_libpod_parameters.go
- network_inspect_libpod_responses.go
- network_list_libpod_parameters.go
- network_list_libpod_responses.go
- network_prune_libpod_parameters.go
- network_prune_libpod_responses.go
- network_update_libpod_parameters.go
- network_update_libpod_responses.go
- networks_client.go