networks

package
v4.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

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 (*NetworkConnectLibpodInternalServerError) GetPayload

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

IsCode returns true when this network connect libpod internal server error response a status code equal to that given

func (*NetworkConnectLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this network connect libpod internal server error response has a 2xx status code

func (*NetworkConnectLibpodInternalServerError) 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

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

func (*NetworkConnectLibpodInternalServerErrorBody) Validate

Validate validates this network connect libpod internal server error body

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 (*NetworkConnectLibpodNotFound) GetPayload

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

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

func (*NetworkConnectLibpodNotFoundBody) Validate

Validate validates this network connect libpod not found body

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

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

WithContext adds the context to the network connect libpod params

func (*NetworkConnectLibpodParams) WithCreate

WithCreate adds the create to the network connect libpod params

func (*NetworkConnectLibpodParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the network connect libpod params

func (*NetworkConnectLibpodParams) WithName

WithName adds the name to the network connect libpod params

func (*NetworkConnectLibpodParams) WithTimeout

WithTimeout adds the timeout to the network connect libpod params

func (*NetworkConnectLibpodParams) WriteToRequest

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 (*NetworkCreateLibpodBadRequest) GetPayload

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

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

func (*NetworkCreateLibpodBadRequestBody) Validate

Validate validates this network create libpod bad request body

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 (*NetworkCreateLibpodConflict) GetPayload

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

func (*NetworkCreateLibpodConflictBody) Validate

Validate validates this network create libpod conflict body

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 (*NetworkCreateLibpodInternalServerError) GetPayload

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

IsCode returns true when this network create libpod internal server error response a status code equal to that given

func (*NetworkCreateLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this network create libpod internal server error response has a 2xx status code

func (*NetworkCreateLibpodInternalServerError) 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

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

func (*NetworkCreateLibpodInternalServerErrorBody) Validate

Validate validates this network create libpod internal server error body

type NetworkCreateLibpodOK

type NetworkCreateLibpodOK struct {
	Payload *models.Network
}

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

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

WithContext adds the context to the network create libpod params

func (*NetworkCreateLibpodParams) WithCreate

WithCreate adds the create to the network create libpod params

func (*NetworkCreateLibpodParams) WithDefaults

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

WithTimeout adds the timeout to the network create libpod params

func (*NetworkCreateLibpodParams) WriteToRequest

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 (*NetworkDeleteLibpodInternalServerError) GetPayload

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

IsCode returns true when this network delete libpod internal server error response a status code equal to that given

func (*NetworkDeleteLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this network delete libpod internal server error response has a 2xx status code

func (*NetworkDeleteLibpodInternalServerError) 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

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

func (*NetworkDeleteLibpodInternalServerErrorBody) Validate

Validate validates this network delete libpod internal server error body

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 (*NetworkDeleteLibpodNotFound) GetPayload

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

func (*NetworkDeleteLibpodNotFoundBody) Validate

Validate validates this network delete libpod not found body

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

WithContext adds the context to the network delete libpod params

func (*NetworkDeleteLibpodParams) WithDefaults

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

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

WithName adds the name to the network delete libpod params

func (*NetworkDeleteLibpodParams) WithTimeout

WithTimeout adds the timeout to the network delete libpod params

func (*NetworkDeleteLibpodParams) WriteToRequest

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 (*NetworkDisconnectLibpodInternalServerError) GetPayload

func (*NetworkDisconnectLibpodInternalServerError) IsClientError

IsClientError returns true when this network disconnect libpod internal server error response has a 4xx status code

func (*NetworkDisconnectLibpodInternalServerError) IsCode

IsCode returns true when this network disconnect libpod internal server error response a status code equal to that given

func (*NetworkDisconnectLibpodInternalServerError) IsRedirect

IsRedirect returns true when this network disconnect libpod internal server error response has a 3xx status code

func (*NetworkDisconnectLibpodInternalServerError) IsServerError

IsServerError returns true when this network disconnect libpod internal server error response has a 5xx status code

func (*NetworkDisconnectLibpodInternalServerError) IsSuccess

IsSuccess returns true when this network disconnect libpod internal server error response has a 2xx status code

func (*NetworkDisconnectLibpodInternalServerError) 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

ContextValidate validates this network disconnect libpod internal server error body based on context it is used

func (*NetworkDisconnectLibpodInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*NetworkDisconnectLibpodInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NetworkDisconnectLibpodInternalServerErrorBody) Validate

Validate validates this network disconnect libpod internal server error body

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 (*NetworkDisconnectLibpodNotFound) GetPayload

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

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

func (*NetworkDisconnectLibpodNotFoundBody) Validate

Validate validates this network disconnect libpod not found body

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

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

WithContext adds the context to the network disconnect libpod params

func (*NetworkDisconnectLibpodParams) WithCreate

WithCreate adds the create to the network disconnect libpod params

func (*NetworkDisconnectLibpodParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the network disconnect libpod params

func (*NetworkDisconnectLibpodParams) WithName

WithName adds the name to the network disconnect libpod params

func (*NetworkDisconnectLibpodParams) WithTimeout

WithTimeout adds the timeout to the network disconnect libpod params

func (*NetworkDisconnectLibpodParams) WriteToRequest

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 (*NetworkExistsLibpodInternalServerError) GetPayload

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

IsCode returns true when this network exists libpod internal server error response a status code equal to that given

func (*NetworkExistsLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this network exists libpod internal server error response has a 2xx status code

func (*NetworkExistsLibpodInternalServerError) 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

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

func (*NetworkExistsLibpodInternalServerErrorBody) Validate

Validate validates this network exists libpod internal server error body

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 (*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

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 (*NetworkExistsLibpodNotFound) GetPayload

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

func (*NetworkExistsLibpodNotFoundBody) Validate

Validate validates this network exists libpod not found body

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

WithContext adds the context to the network exists libpod params

func (*NetworkExistsLibpodParams) WithDefaults

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

WithName adds the name to the network exists libpod params

func (*NetworkExistsLibpodParams) WithTimeout

WithTimeout adds the timeout to the network exists libpod params

func (*NetworkExistsLibpodParams) WriteToRequest

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 (*NetworkInspectLibpodInternalServerError) GetPayload

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

IsCode returns true when this network inspect libpod internal server error response a status code equal to that given

func (*NetworkInspectLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this network inspect libpod internal server error response has a 2xx status code

func (*NetworkInspectLibpodInternalServerError) 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

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

func (*NetworkInspectLibpodInternalServerErrorBody) Validate

Validate validates this network inspect libpod internal server error body

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 (*NetworkInspectLibpodNotFound) GetPayload

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

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

func (*NetworkInspectLibpodNotFoundBody) Validate

Validate validates this network inspect libpod not found body

type NetworkInspectLibpodOK

type NetworkInspectLibpodOK struct {
	Payload *models.Network
}

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

WithContext adds the context to the network inspect libpod params

func (*NetworkInspectLibpodParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the network inspect libpod params

func (*NetworkInspectLibpodParams) WithName

WithName adds the name to the network inspect libpod params

func (*NetworkInspectLibpodParams) WithTimeout

WithTimeout adds the timeout to the network inspect libpod params

func (*NetworkInspectLibpodParams) WriteToRequest

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 (*NetworkListLibpodInternalServerError) GetPayload

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

IsCode returns true when this network list libpod internal server error response a status code equal to that given

func (*NetworkListLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this network list libpod internal server error response has a 2xx status code

func (*NetworkListLibpodInternalServerError) 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

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

func (*NetworkListLibpodInternalServerErrorBody) Validate

Validate validates this network list libpod internal server error body

type NetworkListLibpodOK

type NetworkListLibpodOK struct {
	Payload []*models.Network
}

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

WithContext adds the context to the network list libpod params

func (*NetworkListLibpodParams) WithDefaults

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

WithTimeout adds the timeout to the network list libpod params

func (*NetworkListLibpodParams) WriteToRequest

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 (*NetworkPruneLibpodInternalServerError) GetPayload

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

IsCode returns true when this network prune libpod internal server error response a status code equal to that given

func (*NetworkPruneLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this network prune libpod internal server error response has a 2xx status code

func (*NetworkPruneLibpodInternalServerError) 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

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

func (*NetworkPruneLibpodInternalServerErrorBody) Validate

Validate validates this network prune libpod internal server error body

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

WithContext adds the context to the network prune libpod params

func (*NetworkPruneLibpodParams) WithDefaults

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

WithTimeout adds the timeout to the network prune libpod params

func (*NetworkPruneLibpodParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL