Documentation
¶
Index ¶
- type Client
- func (a *Client) NetworkConnectLibpod(params *NetworkConnectLibpodParams, opts ...ClientOption) (*NetworkConnectLibpodOK, error)
- func (a *Client) NetworkCreateLibpod(params *NetworkCreateLibpodParams, opts ...ClientOption) (*NetworkCreateLibpodOK, error)
- func (a *Client) NetworkDeleteLibpod(params *NetworkDeleteLibpodParams, opts ...ClientOption) (*NetworkDeleteLibpodOK, error)
- func (a *Client) NetworkDisconnectLibpod(params *NetworkDisconnectLibpodParams, opts ...ClientOption) (*NetworkDisconnectLibpodOK, error)
- func (a *Client) NetworkExistsLibpod(params *NetworkExistsLibpodParams, opts ...ClientOption) (*NetworkExistsLibpodNoContent, error)
- func (a *Client) NetworkInspectLibpod(params *NetworkInspectLibpodParams, opts ...ClientOption) (*NetworkInspectLibpodOK, error)
- func (a *Client) NetworkListLibpod(params *NetworkListLibpodParams, opts ...ClientOption) (*NetworkListLibpodOK, error)
- func (a *Client) NetworkPruneLibpod(params *NetworkPruneLibpodParams, opts ...ClientOption) (*NetworkPruneLibpodOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type NetworkConnectLibpodInternalServerError
- func (o *NetworkConnectLibpodInternalServerError) Error() string
- func (o *NetworkConnectLibpodInternalServerError) GetPayload() *NetworkConnectLibpodInternalServerErrorBody
- 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 NetworkConnectLibpodInternalServerErrorBody
- func (o *NetworkConnectLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkConnectLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *NetworkConnectLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *NetworkConnectLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type NetworkConnectLibpodNotFound
- func (o *NetworkConnectLibpodNotFound) Error() string
- func (o *NetworkConnectLibpodNotFound) GetPayload() *NetworkConnectLibpodNotFoundBody
- 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 NetworkConnectLibpodNotFoundBody
- func (o *NetworkConnectLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkConnectLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *NetworkConnectLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *NetworkConnectLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type NetworkConnectLibpodOK
- 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) *NetworkConnectLibpodParams
- func NewNetworkConnectLibpodParamsWithHTTPClient(client *http.Client) *NetworkConnectLibpodParams
- func NewNetworkConnectLibpodParamsWithTimeout(timeout time.Duration) *NetworkConnectLibpodParams
- func (o *NetworkConnectLibpodParams) SetContext(ctx context.Context)
- func (o *NetworkConnectLibpodParams) SetCreate(create *models.SwagNetworkConnectRequest)
- 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) *NetworkConnectLibpodParams
- func (o *NetworkConnectLibpodParams) WithCreate(create *models.SwagNetworkConnectRequest) *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) Error() string
- func (o *NetworkCreateLibpodBadRequest) GetPayload() *NetworkCreateLibpodBadRequestBody
- 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 NetworkCreateLibpodBadRequestBody
- func (o *NetworkCreateLibpodBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkCreateLibpodBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *NetworkCreateLibpodBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *NetworkCreateLibpodBadRequestBody) Validate(formats strfmt.Registry) error
- type NetworkCreateLibpodConflict
- func (o *NetworkCreateLibpodConflict) Error() string
- func (o *NetworkCreateLibpodConflict) GetPayload() *NetworkCreateLibpodConflictBody
- 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 NetworkCreateLibpodConflictBody
- func (o *NetworkCreateLibpodConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkCreateLibpodConflictBody) MarshalBinary() ([]byte, error)
- func (o *NetworkCreateLibpodConflictBody) UnmarshalBinary(b []byte) error
- func (o *NetworkCreateLibpodConflictBody) Validate(formats strfmt.Registry) error
- type NetworkCreateLibpodInternalServerError
- func (o *NetworkCreateLibpodInternalServerError) Error() string
- func (o *NetworkCreateLibpodInternalServerError) GetPayload() *NetworkCreateLibpodInternalServerErrorBody
- 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 NetworkCreateLibpodInternalServerErrorBody
- func (o *NetworkCreateLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkCreateLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *NetworkCreateLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *NetworkCreateLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type NetworkCreateLibpodOK
- 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) *NetworkCreateLibpodParams
- func NewNetworkCreateLibpodParamsWithHTTPClient(client *http.Client) *NetworkCreateLibpodParams
- func NewNetworkCreateLibpodParamsWithTimeout(timeout time.Duration) *NetworkCreateLibpodParams
- func (o *NetworkCreateLibpodParams) SetContext(ctx context.Context)
- func (o *NetworkCreateLibpodParams) SetCreate(create *models.SwagNetworkCreateLibpod)
- func (o *NetworkCreateLibpodParams) SetDefaults()
- func (o *NetworkCreateLibpodParams) SetHTTPClient(client *http.Client)
- func (o *NetworkCreateLibpodParams) SetTimeout(timeout time.Duration)
- func (o *NetworkCreateLibpodParams) WithContext(ctx context.Context) *NetworkCreateLibpodParams
- func (o *NetworkCreateLibpodParams) WithCreate(create *models.SwagNetworkCreateLibpod) *NetworkCreateLibpodParams
- func (o *NetworkCreateLibpodParams) WithDefaults() *NetworkCreateLibpodParams
- func (o *NetworkCreateLibpodParams) WithHTTPClient(client *http.Client) *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) Error() string
- func (o *NetworkDeleteLibpodInternalServerError) GetPayload() *NetworkDeleteLibpodInternalServerErrorBody
- 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 NetworkDeleteLibpodInternalServerErrorBody
- func (o *NetworkDeleteLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkDeleteLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *NetworkDeleteLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *NetworkDeleteLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type NetworkDeleteLibpodNotFound
- func (o *NetworkDeleteLibpodNotFound) Error() string
- func (o *NetworkDeleteLibpodNotFound) GetPayload() *NetworkDeleteLibpodNotFoundBody
- 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 NetworkDeleteLibpodNotFoundBody
- func (o *NetworkDeleteLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkDeleteLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *NetworkDeleteLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *NetworkDeleteLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type NetworkDeleteLibpodOK
- 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) *NetworkDeleteLibpodParams
- func NewNetworkDeleteLibpodParamsWithHTTPClient(client *http.Client) *NetworkDeleteLibpodParams
- func NewNetworkDeleteLibpodParamsWithTimeout(timeout time.Duration) *NetworkDeleteLibpodParams
- func (o *NetworkDeleteLibpodParams) SetContext(ctx context.Context)
- func (o *NetworkDeleteLibpodParams) SetDefaults()
- func (o *NetworkDeleteLibpodParams) SetForce(force *bool)
- func (o *NetworkDeleteLibpodParams) SetHTTPClient(client *http.Client)
- func (o *NetworkDeleteLibpodParams) SetName(name string)
- func (o *NetworkDeleteLibpodParams) SetTimeout(timeout time.Duration)
- func (o *NetworkDeleteLibpodParams) WithContext(ctx context.Context) *NetworkDeleteLibpodParams
- func (o *NetworkDeleteLibpodParams) WithDefaults() *NetworkDeleteLibpodParams
- func (o *NetworkDeleteLibpodParams) WithForce(force *bool) *NetworkDeleteLibpodParams
- func (o *NetworkDeleteLibpodParams) WithHTTPClient(client *http.Client) *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) Error() string
- func (o *NetworkDisconnectLibpodInternalServerError) GetPayload() *NetworkDisconnectLibpodInternalServerErrorBody
- 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 NetworkDisconnectLibpodInternalServerErrorBody
- func (o *NetworkDisconnectLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkDisconnectLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *NetworkDisconnectLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *NetworkDisconnectLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type NetworkDisconnectLibpodNotFound
- func (o *NetworkDisconnectLibpodNotFound) Error() string
- func (o *NetworkDisconnectLibpodNotFound) GetPayload() *NetworkDisconnectLibpodNotFoundBody
- 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 NetworkDisconnectLibpodNotFoundBody
- func (o *NetworkDisconnectLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkDisconnectLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *NetworkDisconnectLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *NetworkDisconnectLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type NetworkDisconnectLibpodOK
- 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) *NetworkDisconnectLibpodParams
- func NewNetworkDisconnectLibpodParamsWithHTTPClient(client *http.Client) *NetworkDisconnectLibpodParams
- func NewNetworkDisconnectLibpodParamsWithTimeout(timeout time.Duration) *NetworkDisconnectLibpodParams
- func (o *NetworkDisconnectLibpodParams) SetContext(ctx context.Context)
- func (o *NetworkDisconnectLibpodParams) SetCreate(create *models.SwagCompatNetworkDisconnectRequest)
- 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) *NetworkDisconnectLibpodParams
- func (o *NetworkDisconnectLibpodParams) WithCreate(create *models.SwagCompatNetworkDisconnectRequest) *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) Error() string
- func (o *NetworkExistsLibpodInternalServerError) GetPayload() *NetworkExistsLibpodInternalServerErrorBody
- 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 NetworkExistsLibpodInternalServerErrorBody
- func (o *NetworkExistsLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkExistsLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *NetworkExistsLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *NetworkExistsLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type NetworkExistsLibpodNoContent
- 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) Error() string
- func (o *NetworkExistsLibpodNotFound) GetPayload() *NetworkExistsLibpodNotFoundBody
- 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 NetworkExistsLibpodNotFoundBody
- func (o *NetworkExistsLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkExistsLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *NetworkExistsLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *NetworkExistsLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type NetworkExistsLibpodParams
- func NewNetworkExistsLibpodParams() *NetworkExistsLibpodParams
- func NewNetworkExistsLibpodParamsWithContext(ctx context.Context) *NetworkExistsLibpodParams
- func NewNetworkExistsLibpodParamsWithHTTPClient(client *http.Client) *NetworkExistsLibpodParams
- func NewNetworkExistsLibpodParamsWithTimeout(timeout time.Duration) *NetworkExistsLibpodParams
- func (o *NetworkExistsLibpodParams) SetContext(ctx context.Context)
- 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) *NetworkExistsLibpodParams
- 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) Error() string
- func (o *NetworkInspectLibpodInternalServerError) GetPayload() *NetworkInspectLibpodInternalServerErrorBody
- 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 NetworkInspectLibpodInternalServerErrorBody
- func (o *NetworkInspectLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkInspectLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *NetworkInspectLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *NetworkInspectLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type NetworkInspectLibpodNotFound
- func (o *NetworkInspectLibpodNotFound) Error() string
- func (o *NetworkInspectLibpodNotFound) GetPayload() *NetworkInspectLibpodNotFoundBody
- 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 NetworkInspectLibpodNotFoundBody
- func (o *NetworkInspectLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkInspectLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *NetworkInspectLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *NetworkInspectLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type NetworkInspectLibpodOK
- func (o *NetworkInspectLibpodOK) Error() string
- func (o *NetworkInspectLibpodOK) GetPayload() *models.Network
- 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) *NetworkInspectLibpodParams
- func NewNetworkInspectLibpodParamsWithHTTPClient(client *http.Client) *NetworkInspectLibpodParams
- func NewNetworkInspectLibpodParamsWithTimeout(timeout time.Duration) *NetworkInspectLibpodParams
- func (o *NetworkInspectLibpodParams) SetContext(ctx context.Context)
- 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) *NetworkInspectLibpodParams
- 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) Error() string
- func (o *NetworkListLibpodInternalServerError) GetPayload() *NetworkListLibpodInternalServerErrorBody
- 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 NetworkListLibpodInternalServerErrorBody
- func (o *NetworkListLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkListLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *NetworkListLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *NetworkListLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type NetworkListLibpodOK
- 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) *NetworkListLibpodParams
- func NewNetworkListLibpodParamsWithHTTPClient(client *http.Client) *NetworkListLibpodParams
- func NewNetworkListLibpodParamsWithTimeout(timeout time.Duration) *NetworkListLibpodParams
- func (o *NetworkListLibpodParams) SetContext(ctx context.Context)
- 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) *NetworkListLibpodParams
- 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) Error() string
- func (o *NetworkPruneLibpodInternalServerError) GetPayload() *NetworkPruneLibpodInternalServerErrorBody
- 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 NetworkPruneLibpodInternalServerErrorBody
- func (o *NetworkPruneLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NetworkPruneLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *NetworkPruneLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *NetworkPruneLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type NetworkPruneLibpodOK
- 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) *NetworkPruneLibpodParams
- func NewNetworkPruneLibpodParamsWithHTTPClient(client *http.Client) *NetworkPruneLibpodParams
- func NewNetworkPruneLibpodParamsWithTimeout(timeout time.Duration) *NetworkPruneLibpodParams
- func (o *NetworkPruneLibpodParams) SetContext(ctx context.Context)
- 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) *NetworkPruneLibpodParams
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for 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.
func (*Client) NetworkCreateLibpod ¶
func (a *Client) NetworkCreateLibpod(params *NetworkCreateLibpodParams, opts ...ClientOption) (*NetworkCreateLibpodOK, error)
NetworkCreateLibpod creates network
Create a new network configuration
func (*Client) NetworkDeleteLibpod ¶
func (a *Client) NetworkDeleteLibpod(params *NetworkDeleteLibpodParams, opts ...ClientOption) (*NetworkDeleteLibpodOK, error)
NetworkDeleteLibpod removes a network
Remove a CNI configured network
func (*Client) NetworkDisconnectLibpod ¶
func (a *Client) NetworkDisconnectLibpod(params *NetworkDisconnectLibpodParams, opts ...ClientOption) (*NetworkDisconnectLibpodOK, error)
NetworkDisconnectLibpod disconnects container from network
Disconnect a container from a network.
func (*Client) NetworkExistsLibpod ¶
func (a *Client) NetworkExistsLibpod(params *NetworkExistsLibpodParams, opts ...ClientOption) (*NetworkExistsLibpodNoContent, error)
NetworkExistsLibpod networks exists
Check if network exists
func (*Client) NetworkInspectLibpod ¶
func (a *Client) NetworkInspectLibpod(params *NetworkInspectLibpodParams, opts ...ClientOption) (*NetworkInspectLibpodOK, error)
NetworkInspectLibpod inspects a network
Display low level configuration for a CNI network. - In a 200 response, all of the fields named Bytes are returned as a Base64 encoded string.
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.
func (*Client) NetworkPruneLibpod ¶
func (a *Client) NetworkPruneLibpod(params *NetworkPruneLibpodParams, opts ...ClientOption) (*NetworkPruneLibpodOK, error)
NetworkPruneLibpod deletes unused networks
Remove CNI networks that do not have containers
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { NetworkConnectLibpod(params *NetworkConnectLibpodParams, opts ...ClientOption) (*NetworkConnectLibpodOK, error) NetworkCreateLibpod(params *NetworkCreateLibpodParams, opts ...ClientOption) (*NetworkCreateLibpodOK, error) NetworkDeleteLibpod(params *NetworkDeleteLibpodParams, opts ...ClientOption) (*NetworkDeleteLibpodOK, error) NetworkDisconnectLibpod(params *NetworkDisconnectLibpodParams, opts ...ClientOption) (*NetworkDisconnectLibpodOK, error) NetworkExistsLibpod(params *NetworkExistsLibpodParams, opts ...ClientOption) (*NetworkExistsLibpodNoContent, error) NetworkInspectLibpod(params *NetworkInspectLibpodParams, opts ...ClientOption) (*NetworkInspectLibpodOK, error) NetworkListLibpod(params *NetworkListLibpodParams, opts ...ClientOption) (*NetworkListLibpodOK, error) NetworkPruneLibpod(params *NetworkPruneLibpodParams, opts ...ClientOption) (*NetworkPruneLibpodOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new networks API client.
type NetworkConnectLibpodInternalServerError ¶
type NetworkConnectLibpodInternalServerError struct {
Payload *NetworkConnectLibpodInternalServerErrorBody
}
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) Error ¶
func (o *NetworkConnectLibpodInternalServerError) Error() string
func (*NetworkConnectLibpodInternalServerError) GetPayload ¶
func (o *NetworkConnectLibpodInternalServerError) GetPayload() *NetworkConnectLibpodInternalServerErrorBody
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 NetworkConnectLibpodInternalServerErrorBody ¶
type NetworkConnectLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkConnectLibpodInternalServerErrorBody network connect libpod internal server error body swagger:model NetworkConnectLibpodInternalServerErrorBody
func (*NetworkConnectLibpodInternalServerErrorBody) ContextValidate ¶
func (o *NetworkConnectLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network connect libpod internal server error body based on context it is used
func (*NetworkConnectLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *NetworkConnectLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkConnectLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *NetworkConnectLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkConnectLibpodNotFound ¶
type NetworkConnectLibpodNotFound struct {
Payload *NetworkConnectLibpodNotFoundBody
}
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) Error ¶
func (o *NetworkConnectLibpodNotFound) Error() string
func (*NetworkConnectLibpodNotFound) GetPayload ¶
func (o *NetworkConnectLibpodNotFound) GetPayload() *NetworkConnectLibpodNotFoundBody
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 NetworkConnectLibpodNotFoundBody ¶
type NetworkConnectLibpodNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkConnectLibpodNotFoundBody network connect libpod not found body swagger:model NetworkConnectLibpodNotFoundBody
func (*NetworkConnectLibpodNotFoundBody) ContextValidate ¶
func (o *NetworkConnectLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network connect libpod not found body based on context it is used
func (*NetworkConnectLibpodNotFoundBody) MarshalBinary ¶
func (o *NetworkConnectLibpodNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkConnectLibpodNotFoundBody) UnmarshalBinary ¶
func (o *NetworkConnectLibpodNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) 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.SwagNetworkConnectRequest /* Name. the name of the network */ Name string Context context.Context 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 ¶
func NewNetworkConnectLibpodParamsWithContext(ctx context.Context) *NetworkConnectLibpodParams
NewNetworkConnectLibpodParamsWithContext creates a new NetworkConnectLibpodParams object with the ability to set a context for a request.
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 ¶
func (o *NetworkConnectLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network connect libpod params
func (*NetworkConnectLibpodParams) SetCreate ¶
func (o *NetworkConnectLibpodParams) SetCreate(create *models.SwagNetworkConnectRequest)
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 ¶
func (o *NetworkConnectLibpodParams) WithContext(ctx context.Context) *NetworkConnectLibpodParams
WithContext adds the context to the network connect libpod params
func (*NetworkConnectLibpodParams) WithCreate ¶
func (o *NetworkConnectLibpodParams) WithCreate(create *models.SwagNetworkConnectRequest) *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 swagger request
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) (interface{}, error)
ReadResponse reads a server response into the received o.
type NetworkCreateLibpodBadRequest ¶
type NetworkCreateLibpodBadRequest struct {
Payload *NetworkCreateLibpodBadRequestBody
}
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) Error ¶
func (o *NetworkCreateLibpodBadRequest) Error() string
func (*NetworkCreateLibpodBadRequest) GetPayload ¶
func (o *NetworkCreateLibpodBadRequest) GetPayload() *NetworkCreateLibpodBadRequestBody
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 NetworkCreateLibpodBadRequestBody ¶
type NetworkCreateLibpodBadRequestBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkCreateLibpodBadRequestBody network create libpod bad request body swagger:model NetworkCreateLibpodBadRequestBody
func (*NetworkCreateLibpodBadRequestBody) ContextValidate ¶
func (o *NetworkCreateLibpodBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network create libpod bad request body based on context it is used
func (*NetworkCreateLibpodBadRequestBody) MarshalBinary ¶
func (o *NetworkCreateLibpodBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkCreateLibpodBadRequestBody) UnmarshalBinary ¶
func (o *NetworkCreateLibpodBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkCreateLibpodConflict ¶
type NetworkCreateLibpodConflict struct {
Payload *NetworkCreateLibpodConflictBody
}
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) Error ¶
func (o *NetworkCreateLibpodConflict) Error() string
func (*NetworkCreateLibpodConflict) GetPayload ¶
func (o *NetworkCreateLibpodConflict) GetPayload() *NetworkCreateLibpodConflictBody
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 NetworkCreateLibpodConflictBody ¶
type NetworkCreateLibpodConflictBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkCreateLibpodConflictBody network create libpod conflict body swagger:model NetworkCreateLibpodConflictBody
func (*NetworkCreateLibpodConflictBody) ContextValidate ¶
func (o *NetworkCreateLibpodConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network create libpod conflict body based on context it is used
func (*NetworkCreateLibpodConflictBody) MarshalBinary ¶
func (o *NetworkCreateLibpodConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkCreateLibpodConflictBody) UnmarshalBinary ¶
func (o *NetworkCreateLibpodConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkCreateLibpodInternalServerError ¶
type NetworkCreateLibpodInternalServerError struct {
Payload *NetworkCreateLibpodInternalServerErrorBody
}
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) Error ¶
func (o *NetworkCreateLibpodInternalServerError) Error() string
func (*NetworkCreateLibpodInternalServerError) GetPayload ¶
func (o *NetworkCreateLibpodInternalServerError) GetPayload() *NetworkCreateLibpodInternalServerErrorBody
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 NetworkCreateLibpodInternalServerErrorBody ¶
type NetworkCreateLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkCreateLibpodInternalServerErrorBody network create libpod internal server error body swagger:model NetworkCreateLibpodInternalServerErrorBody
func (*NetworkCreateLibpodInternalServerErrorBody) ContextValidate ¶
func (o *NetworkCreateLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network create libpod internal server error body based on context it is used
func (*NetworkCreateLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *NetworkCreateLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkCreateLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *NetworkCreateLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) 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.SwagNetworkCreateLibpod Context context.Context 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 ¶
func NewNetworkCreateLibpodParamsWithContext(ctx context.Context) *NetworkCreateLibpodParams
NewNetworkCreateLibpodParamsWithContext creates a new NetworkCreateLibpodParams object with the ability to set a context for a request.
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 ¶
func (o *NetworkCreateLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network create libpod params
func (*NetworkCreateLibpodParams) SetCreate ¶
func (o *NetworkCreateLibpodParams) SetCreate(create *models.SwagNetworkCreateLibpod)
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) SetTimeout ¶
func (o *NetworkCreateLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the network create libpod params
func (*NetworkCreateLibpodParams) WithContext ¶
func (o *NetworkCreateLibpodParams) WithContext(ctx context.Context) *NetworkCreateLibpodParams
WithContext adds the context to the network create libpod params
func (*NetworkCreateLibpodParams) WithCreate ¶
func (o *NetworkCreateLibpodParams) WithCreate(create *models.SwagNetworkCreateLibpod) *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) 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 swagger request
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) (interface{}, error)
ReadResponse reads a server response into the received o.
type NetworkDeleteLibpodInternalServerError ¶
type NetworkDeleteLibpodInternalServerError struct {
Payload *NetworkDeleteLibpodInternalServerErrorBody
}
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) Error ¶
func (o *NetworkDeleteLibpodInternalServerError) Error() string
func (*NetworkDeleteLibpodInternalServerError) GetPayload ¶
func (o *NetworkDeleteLibpodInternalServerError) GetPayload() *NetworkDeleteLibpodInternalServerErrorBody
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 NetworkDeleteLibpodInternalServerErrorBody ¶
type NetworkDeleteLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkDeleteLibpodInternalServerErrorBody network delete libpod internal server error body swagger:model NetworkDeleteLibpodInternalServerErrorBody
func (*NetworkDeleteLibpodInternalServerErrorBody) ContextValidate ¶
func (o *NetworkDeleteLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network delete libpod internal server error body based on context it is used
func (*NetworkDeleteLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *NetworkDeleteLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkDeleteLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *NetworkDeleteLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkDeleteLibpodNotFound ¶
type NetworkDeleteLibpodNotFound struct {
Payload *NetworkDeleteLibpodNotFoundBody
}
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) Error ¶
func (o *NetworkDeleteLibpodNotFound) Error() string
func (*NetworkDeleteLibpodNotFound) GetPayload ¶
func (o *NetworkDeleteLibpodNotFound) GetPayload() *NetworkDeleteLibpodNotFoundBody
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 NetworkDeleteLibpodNotFoundBody ¶
type NetworkDeleteLibpodNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkDeleteLibpodNotFoundBody network delete libpod not found body swagger:model NetworkDeleteLibpodNotFoundBody
func (*NetworkDeleteLibpodNotFoundBody) ContextValidate ¶
func (o *NetworkDeleteLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network delete libpod not found body based on context it is used
func (*NetworkDeleteLibpodNotFoundBody) MarshalBinary ¶
func (o *NetworkDeleteLibpodNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkDeleteLibpodNotFoundBody) UnmarshalBinary ¶
func (o *NetworkDeleteLibpodNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkDeleteLibpodOK ¶
type NetworkDeleteLibpodOK struct {
Payload []*models.NetworkRmReport
}
NetworkDeleteLibpodOK describes a response with status code 200, with default header values.
Network rm
func NewNetworkDeleteLibpodOK ¶
func NewNetworkDeleteLibpodOK() *NetworkDeleteLibpodOK
NewNetworkDeleteLibpodOK creates a NetworkDeleteLibpodOK with default headers values
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 /* Name. the name of the network */ Name string Context context.Context 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 ¶
func NewNetworkDeleteLibpodParamsWithContext(ctx context.Context) *NetworkDeleteLibpodParams
NewNetworkDeleteLibpodParamsWithContext creates a new NetworkDeleteLibpodParams object with the ability to set a context for a request.
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 ¶
func (o *NetworkDeleteLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network delete libpod params
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) 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 ¶
func (o *NetworkDeleteLibpodParams) WithContext(ctx context.Context) *NetworkDeleteLibpodParams
WithContext adds the context to the network delete libpod params
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) 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 swagger request
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) (interface{}, error)
ReadResponse reads a server response into the received o.
type NetworkDisconnectLibpodInternalServerError ¶
type NetworkDisconnectLibpodInternalServerError struct {
Payload *NetworkDisconnectLibpodInternalServerErrorBody
}
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) Error ¶
func (o *NetworkDisconnectLibpodInternalServerError) Error() string
func (*NetworkDisconnectLibpodInternalServerError) GetPayload ¶
func (o *NetworkDisconnectLibpodInternalServerError) GetPayload() *NetworkDisconnectLibpodInternalServerErrorBody
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 NetworkDisconnectLibpodInternalServerErrorBody ¶
type NetworkDisconnectLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkDisconnectLibpodInternalServerErrorBody network disconnect libpod internal server error body swagger:model NetworkDisconnectLibpodInternalServerErrorBody
func (*NetworkDisconnectLibpodInternalServerErrorBody) ContextValidate ¶
func (o *NetworkDisconnectLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network disconnect libpod internal server error body based on context it is used
func (*NetworkDisconnectLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *NetworkDisconnectLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkDisconnectLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *NetworkDisconnectLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkDisconnectLibpodNotFound ¶
type NetworkDisconnectLibpodNotFound struct {
Payload *NetworkDisconnectLibpodNotFoundBody
}
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) Error ¶
func (o *NetworkDisconnectLibpodNotFound) Error() string
func (*NetworkDisconnectLibpodNotFound) GetPayload ¶
func (o *NetworkDisconnectLibpodNotFound) GetPayload() *NetworkDisconnectLibpodNotFoundBody
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 NetworkDisconnectLibpodNotFoundBody ¶
type NetworkDisconnectLibpodNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkDisconnectLibpodNotFoundBody network disconnect libpod not found body swagger:model NetworkDisconnectLibpodNotFoundBody
func (*NetworkDisconnectLibpodNotFoundBody) ContextValidate ¶
func (o *NetworkDisconnectLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network disconnect libpod not found body based on context it is used
func (*NetworkDisconnectLibpodNotFoundBody) MarshalBinary ¶
func (o *NetworkDisconnectLibpodNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkDisconnectLibpodNotFoundBody) UnmarshalBinary ¶
func (o *NetworkDisconnectLibpodNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) 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.SwagCompatNetworkDisconnectRequest /* Name. the name of the network */ Name string Context context.Context 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 ¶
func NewNetworkDisconnectLibpodParamsWithContext(ctx context.Context) *NetworkDisconnectLibpodParams
NewNetworkDisconnectLibpodParamsWithContext creates a new NetworkDisconnectLibpodParams object with the ability to set a context for a request.
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 ¶
func (o *NetworkDisconnectLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network disconnect libpod params
func (*NetworkDisconnectLibpodParams) SetCreate ¶
func (o *NetworkDisconnectLibpodParams) SetCreate(create *models.SwagCompatNetworkDisconnectRequest)
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 ¶
func (o *NetworkDisconnectLibpodParams) WithContext(ctx context.Context) *NetworkDisconnectLibpodParams
WithContext adds the context to the network disconnect libpod params
func (*NetworkDisconnectLibpodParams) WithCreate ¶
func (o *NetworkDisconnectLibpodParams) WithCreate(create *models.SwagCompatNetworkDisconnectRequest) *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 swagger request
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) (interface{}, error)
ReadResponse reads a server response into the received o.
type NetworkExistsLibpodInternalServerError ¶
type NetworkExistsLibpodInternalServerError struct {
Payload *NetworkExistsLibpodInternalServerErrorBody
}
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) Error ¶
func (o *NetworkExistsLibpodInternalServerError) Error() string
func (*NetworkExistsLibpodInternalServerError) GetPayload ¶
func (o *NetworkExistsLibpodInternalServerError) GetPayload() *NetworkExistsLibpodInternalServerErrorBody
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 NetworkExistsLibpodInternalServerErrorBody ¶
type NetworkExistsLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkExistsLibpodInternalServerErrorBody network exists libpod internal server error body swagger:model NetworkExistsLibpodInternalServerErrorBody
func (*NetworkExistsLibpodInternalServerErrorBody) ContextValidate ¶
func (o *NetworkExistsLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network exists libpod internal server error body based on context it is used
func (*NetworkExistsLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *NetworkExistsLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkExistsLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *NetworkExistsLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) 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 *NetworkExistsLibpodNotFoundBody
}
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) Error ¶
func (o *NetworkExistsLibpodNotFound) Error() string
func (*NetworkExistsLibpodNotFound) GetPayload ¶
func (o *NetworkExistsLibpodNotFound) GetPayload() *NetworkExistsLibpodNotFoundBody
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 NetworkExistsLibpodNotFoundBody ¶
type NetworkExistsLibpodNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkExistsLibpodNotFoundBody network exists libpod not found body swagger:model NetworkExistsLibpodNotFoundBody
func (*NetworkExistsLibpodNotFoundBody) ContextValidate ¶
func (o *NetworkExistsLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network exists libpod not found body based on context it is used
func (*NetworkExistsLibpodNotFoundBody) MarshalBinary ¶
func (o *NetworkExistsLibpodNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkExistsLibpodNotFoundBody) UnmarshalBinary ¶
func (o *NetworkExistsLibpodNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkExistsLibpodParams ¶
type NetworkExistsLibpodParams struct { /* Name. the name or ID of the network */ Name string Context context.Context 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 ¶
func NewNetworkExistsLibpodParamsWithContext(ctx context.Context) *NetworkExistsLibpodParams
NewNetworkExistsLibpodParamsWithContext creates a new NetworkExistsLibpodParams object with the ability to set a context for a request.
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 ¶
func (o *NetworkExistsLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network exists libpod params
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 ¶
func (o *NetworkExistsLibpodParams) WithContext(ctx context.Context) *NetworkExistsLibpodParams
WithContext adds the context to the network exists libpod params
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 swagger request
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) (interface{}, error)
ReadResponse reads a server response into the received o.
type NetworkInspectLibpodInternalServerError ¶
type NetworkInspectLibpodInternalServerError struct {
Payload *NetworkInspectLibpodInternalServerErrorBody
}
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) Error ¶
func (o *NetworkInspectLibpodInternalServerError) Error() string
func (*NetworkInspectLibpodInternalServerError) GetPayload ¶
func (o *NetworkInspectLibpodInternalServerError) GetPayload() *NetworkInspectLibpodInternalServerErrorBody
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 NetworkInspectLibpodInternalServerErrorBody ¶
type NetworkInspectLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkInspectLibpodInternalServerErrorBody network inspect libpod internal server error body swagger:model NetworkInspectLibpodInternalServerErrorBody
func (*NetworkInspectLibpodInternalServerErrorBody) ContextValidate ¶
func (o *NetworkInspectLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network inspect libpod internal server error body based on context it is used
func (*NetworkInspectLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *NetworkInspectLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkInspectLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *NetworkInspectLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkInspectLibpodNotFound ¶
type NetworkInspectLibpodNotFound struct {
Payload *NetworkInspectLibpodNotFoundBody
}
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) Error ¶
func (o *NetworkInspectLibpodNotFound) Error() string
func (*NetworkInspectLibpodNotFound) GetPayload ¶
func (o *NetworkInspectLibpodNotFound) GetPayload() *NetworkInspectLibpodNotFoundBody
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 NetworkInspectLibpodNotFoundBody ¶
type NetworkInspectLibpodNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkInspectLibpodNotFoundBody network inspect libpod not found body swagger:model NetworkInspectLibpodNotFoundBody
func (*NetworkInspectLibpodNotFoundBody) ContextValidate ¶
func (o *NetworkInspectLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network inspect libpod not found body based on context it is used
func (*NetworkInspectLibpodNotFoundBody) MarshalBinary ¶
func (o *NetworkInspectLibpodNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkInspectLibpodNotFoundBody) UnmarshalBinary ¶
func (o *NetworkInspectLibpodNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkInspectLibpodOK ¶
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) Error ¶
func (o *NetworkInspectLibpodOK) Error() string
func (*NetworkInspectLibpodOK) GetPayload ¶
func (o *NetworkInspectLibpodOK) GetPayload() *models.Network
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 Context context.Context 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 ¶
func NewNetworkInspectLibpodParamsWithContext(ctx context.Context) *NetworkInspectLibpodParams
NewNetworkInspectLibpodParamsWithContext creates a new NetworkInspectLibpodParams object with the ability to set a context for a request.
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 ¶
func (o *NetworkInspectLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network inspect libpod params
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 ¶
func (o *NetworkInspectLibpodParams) WithContext(ctx context.Context) *NetworkInspectLibpodParams
WithContext adds the context to the network inspect libpod params
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 swagger request
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) (interface{}, error)
ReadResponse reads a server response into the received o.
type NetworkListLibpodInternalServerError ¶
type NetworkListLibpodInternalServerError struct {
Payload *NetworkListLibpodInternalServerErrorBody
}
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) Error ¶
func (o *NetworkListLibpodInternalServerError) Error() string
func (*NetworkListLibpodInternalServerError) GetPayload ¶
func (o *NetworkListLibpodInternalServerError) GetPayload() *NetworkListLibpodInternalServerErrorBody
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 NetworkListLibpodInternalServerErrorBody ¶
type NetworkListLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkListLibpodInternalServerErrorBody network list libpod internal server error body swagger:model NetworkListLibpodInternalServerErrorBody
func (*NetworkListLibpodInternalServerErrorBody) ContextValidate ¶
func (o *NetworkListLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network list libpod internal server error body based on context it is used
func (*NetworkListLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *NetworkListLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkListLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *NetworkListLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) 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 create before the given timestamp. */ Filters *string Context context.Context 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 ¶
func NewNetworkListLibpodParamsWithContext(ctx context.Context) *NetworkListLibpodParams
NewNetworkListLibpodParamsWithContext creates a new NetworkListLibpodParams object with the ability to set a context for a request.
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 ¶
func (o *NetworkListLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network list libpod params
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 ¶
func (o *NetworkListLibpodParams) WithContext(ctx context.Context) *NetworkListLibpodParams
WithContext adds the context to the network list libpod params
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 swagger request
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) (interface{}, error)
ReadResponse reads a server response into the received o.
type NetworkPruneLibpodInternalServerError ¶
type NetworkPruneLibpodInternalServerError struct {
Payload *NetworkPruneLibpodInternalServerErrorBody
}
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) Error ¶
func (o *NetworkPruneLibpodInternalServerError) Error() string
func (*NetworkPruneLibpodInternalServerError) GetPayload ¶
func (o *NetworkPruneLibpodInternalServerError) GetPayload() *NetworkPruneLibpodInternalServerErrorBody
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 NetworkPruneLibpodInternalServerErrorBody ¶
type NetworkPruneLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
NetworkPruneLibpodInternalServerErrorBody network prune libpod internal server error body swagger:model NetworkPruneLibpodInternalServerErrorBody
func (*NetworkPruneLibpodInternalServerErrorBody) ContextValidate ¶
func (o *NetworkPruneLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network prune libpod internal server error body based on context it is used
func (*NetworkPruneLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *NetworkPruneLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkPruneLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *NetworkPruneLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) 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 Context context.Context 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 ¶
func NewNetworkPruneLibpodParamsWithContext(ctx context.Context) *NetworkPruneLibpodParams
NewNetworkPruneLibpodParamsWithContext creates a new NetworkPruneLibpodParams object with the ability to set a context for a request.
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 ¶
func (o *NetworkPruneLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the network prune libpod params
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 ¶
func (o *NetworkPruneLibpodParams) WithContext(ctx context.Context) *NetworkPruneLibpodParams
WithContext adds the context to the network prune libpod params
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 swagger request
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) (interface{}, 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
- networks_client.go