networks

package
v0.0.0-...-fe9a356 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationxTar

func WithContentTypeApplicationxTar(r *runtime.ClientOperation)

WithContentTypeApplicationxTar sets the Content-Type header to "application/x-tar".

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for networks API.

func (*Client) NetworkConnectLibpod

func (a *Client) NetworkConnectLibpod(params *NetworkConnectLibpodParams, opts ...ClientOption) (*NetworkConnectLibpodOK, error)

NetworkConnectLibpod connects container to network.

Connect a container to a network..

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.NetworkConnectLibpodContext instead.

func (*Client) NetworkConnectLibpodContext

func (a *Client) NetworkConnectLibpodContext(ctx context.Context, params *NetworkConnectLibpodParams, opts ...ClientOption) (*NetworkConnectLibpodOK, error)

NetworkConnectLibpodContext connects container to network.

Connect a container to a network..

Do not use the deprecated [NetworkConnectLibpodParams.Context] with this method: it would be ignored.

func (*Client) NetworkCreateLibpod

func (a *Client) NetworkCreateLibpod(params *NetworkCreateLibpodParams, opts ...ClientOption) (*NetworkCreateLibpodOK, error)

NetworkCreateLibpod creates network.

Create a new network configuration.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.NetworkCreateLibpodContext instead.

func (*Client) NetworkCreateLibpodContext

func (a *Client) NetworkCreateLibpodContext(ctx context.Context, params *NetworkCreateLibpodParams, opts ...ClientOption) (*NetworkCreateLibpodOK, error)

NetworkCreateLibpodContext creates network.

Create a new network configuration.

Do not use the deprecated [NetworkCreateLibpodParams.Context] with this method: it would be ignored.

func (*Client) NetworkDeleteLibpod

func (a *Client) NetworkDeleteLibpod(params *NetworkDeleteLibpodParams, opts ...ClientOption) (*NetworkDeleteLibpodOK, error)

NetworkDeleteLibpod removes a network.

Remove a configured network.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.NetworkDeleteLibpodContext instead.

func (*Client) NetworkDeleteLibpodContext

func (a *Client) NetworkDeleteLibpodContext(ctx context.Context, params *NetworkDeleteLibpodParams, opts ...ClientOption) (*NetworkDeleteLibpodOK, error)

NetworkDeleteLibpodContext removes a network.

Remove a configured network.

Do not use the deprecated [NetworkDeleteLibpodParams.Context] with this method: it would be ignored.

func (*Client) NetworkDisconnectLibpod

func (a *Client) NetworkDisconnectLibpod(params *NetworkDisconnectLibpodParams, opts ...ClientOption) (*NetworkDisconnectLibpodOK, error)

NetworkDisconnectLibpod disconnects container from network.

Disconnect a container from a network..

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.NetworkDisconnectLibpodContext instead.

func (*Client) NetworkDisconnectLibpodContext

func (a *Client) NetworkDisconnectLibpodContext(ctx context.Context, params *NetworkDisconnectLibpodParams, opts ...ClientOption) (*NetworkDisconnectLibpodOK, error)

NetworkDisconnectLibpodContext disconnects container from network.

Disconnect a container from a network..

Do not use the deprecated [NetworkDisconnectLibpodParams.Context] with this method: it would be ignored.

func (*Client) NetworkExistsLibpod

func (a *Client) NetworkExistsLibpod(params *NetworkExistsLibpodParams, opts ...ClientOption) (*NetworkExistsLibpodNoContent, error)

NetworkExistsLibpod networks exists.

Check if network exists.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.NetworkExistsLibpodContext instead.

func (*Client) NetworkExistsLibpodContext

func (a *Client) NetworkExistsLibpodContext(ctx context.Context, params *NetworkExistsLibpodParams, opts ...ClientOption) (*NetworkExistsLibpodNoContent, error)

NetworkExistsLibpodContext networks exists.

Check if network exists.

Do not use the deprecated [NetworkExistsLibpodParams.Context] with this method: it would be ignored.

func (*Client) NetworkInspectLibpod

func (a *Client) NetworkInspectLibpod(params *NetworkInspectLibpodParams, opts ...ClientOption) (*NetworkInspectLibpodOK, error)

NetworkInspectLibpod inspects a network.

Display configuration for a network. .

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.NetworkInspectLibpodContext instead.

func (*Client) NetworkInspectLibpodContext

func (a *Client) NetworkInspectLibpodContext(ctx context.Context, params *NetworkInspectLibpodParams, opts ...ClientOption) (*NetworkInspectLibpodOK, error)

NetworkInspectLibpodContext inspects a network.

Display configuration for a network. .

Do not use the deprecated [NetworkInspectLibpodParams.Context] with this method: it would be ignored.

func (*Client) NetworkListLibpod

func (a *Client) NetworkListLibpod(params *NetworkListLibpodParams, opts ...ClientOption) (*NetworkListLibpodOK, error)

NetworkListLibpod lists networks.

Display summary of network configurations.

  • In a 200 response, all of the fields named Bytes are returned as a Base64 encoded string.

.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.NetworkListLibpodContext instead.

func (*Client) NetworkListLibpodContext

func (a *Client) NetworkListLibpodContext(ctx context.Context, params *NetworkListLibpodParams, opts ...ClientOption) (*NetworkListLibpodOK, error)

NetworkListLibpodContext lists networks.

Display summary of network configurations.

  • In a 200 response, all of the fields named Bytes are returned as a Base64 encoded string.

.

Do not use the deprecated [NetworkListLibpodParams.Context] with this method: it would be ignored.

func (*Client) NetworkPruneLibpod

func (a *Client) NetworkPruneLibpod(params *NetworkPruneLibpodParams, opts ...ClientOption) (*NetworkPruneLibpodOK, error)

NetworkPruneLibpod deletes unused networks.

Remove networks that do not have containers.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.NetworkPruneLibpodContext instead.

func (*Client) NetworkPruneLibpodContext

func (a *Client) NetworkPruneLibpodContext(ctx context.Context, params *NetworkPruneLibpodParams, opts ...ClientOption) (*NetworkPruneLibpodOK, error)

NetworkPruneLibpodContext deletes unused networks.

Remove networks that do not have containers.

Do not use the deprecated [NetworkPruneLibpodParams.Context] with this method: it would be ignored.

func (*Client) NetworkUpdateLibpod

func (a *Client) NetworkUpdateLibpod(params *NetworkUpdateLibpodParams, opts ...ClientOption) (*NetworkUpdateLibpodOK, error)

NetworkUpdateLibpod updates existing podman network.

Update existing podman network.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.NetworkUpdateLibpodContext instead.

func (*Client) NetworkUpdateLibpodContext

func (a *Client) NetworkUpdateLibpodContext(ctx context.Context, params *NetworkUpdateLibpodParams, opts ...ClientOption) (*NetworkUpdateLibpodOK, error)

NetworkUpdateLibpodContext updates existing podman network.

Update existing podman network.

Do not use the deprecated [NetworkUpdateLibpodParams.Context] with this method: it would be ignored.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ContextualTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {

	// NetworkConnectLibpod connect container to network.
	NetworkConnectLibpod(params *NetworkConnectLibpodParams, opts ...ClientOption) (*NetworkConnectLibpodOK, error)

	// NetworkConnectLibpodContext connect container to network.
	NetworkConnectLibpodContext(ctx context.Context, params *NetworkConnectLibpodParams, opts ...ClientOption) (*NetworkConnectLibpodOK, error)

	// NetworkCreateLibpod create network.
	NetworkCreateLibpod(params *NetworkCreateLibpodParams, opts ...ClientOption) (*NetworkCreateLibpodOK, error)

	// NetworkCreateLibpodContext create network.
	NetworkCreateLibpodContext(ctx context.Context, params *NetworkCreateLibpodParams, opts ...ClientOption) (*NetworkCreateLibpodOK, error)

	// NetworkDeleteLibpod remove a network.
	NetworkDeleteLibpod(params *NetworkDeleteLibpodParams, opts ...ClientOption) (*NetworkDeleteLibpodOK, error)

	// NetworkDeleteLibpodContext remove a network.
	NetworkDeleteLibpodContext(ctx context.Context, params *NetworkDeleteLibpodParams, opts ...ClientOption) (*NetworkDeleteLibpodOK, error)

	// NetworkDisconnectLibpod disconnect container from network.
	NetworkDisconnectLibpod(params *NetworkDisconnectLibpodParams, opts ...ClientOption) (*NetworkDisconnectLibpodOK, error)

	// NetworkDisconnectLibpodContext disconnect container from network.
	NetworkDisconnectLibpodContext(ctx context.Context, params *NetworkDisconnectLibpodParams, opts ...ClientOption) (*NetworkDisconnectLibpodOK, error)

	// NetworkExistsLibpod network exists.
	NetworkExistsLibpod(params *NetworkExistsLibpodParams, opts ...ClientOption) (*NetworkExistsLibpodNoContent, error)

	// NetworkExistsLibpodContext network exists.
	NetworkExistsLibpodContext(ctx context.Context, params *NetworkExistsLibpodParams, opts ...ClientOption) (*NetworkExistsLibpodNoContent, error)

	// NetworkInspectLibpod inspect a network.
	NetworkInspectLibpod(params *NetworkInspectLibpodParams, opts ...ClientOption) (*NetworkInspectLibpodOK, error)

	// NetworkInspectLibpodContext inspect a network.
	NetworkInspectLibpodContext(ctx context.Context, params *NetworkInspectLibpodParams, opts ...ClientOption) (*NetworkInspectLibpodOK, error)

	// NetworkListLibpod list networks.
	NetworkListLibpod(params *NetworkListLibpodParams, opts ...ClientOption) (*NetworkListLibpodOK, error)

	// NetworkListLibpodContext list networks.
	NetworkListLibpodContext(ctx context.Context, params *NetworkListLibpodParams, opts ...ClientOption) (*NetworkListLibpodOK, error)

	// NetworkPruneLibpod delete unused networks.
	NetworkPruneLibpod(params *NetworkPruneLibpodParams, opts ...ClientOption) (*NetworkPruneLibpodOK, error)

	// NetworkPruneLibpodContext delete unused networks.
	NetworkPruneLibpodContext(ctx context.Context, params *NetworkPruneLibpodParams, opts ...ClientOption) (*NetworkPruneLibpodOK, error)

	// NetworkUpdateLibpod update existing podman network.
	NetworkUpdateLibpod(params *NetworkUpdateLibpodParams, opts ...ClientOption) (*NetworkUpdateLibpodOK, error)

	// NetworkUpdateLibpodContext update existing podman network.
	NetworkUpdateLibpodContext(ctx context.Context, params *NetworkUpdateLibpodParams, opts ...ClientOption) (*NetworkUpdateLibpodOK, error)

	SetTransport(transport runtime.ContextualTransport)
}

ClientService is the interface for Client methods.

func New

New creates a new networks API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new networks API client with basic auth credentials.

It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new networks API client with a bearer token for authentication.

It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type NetworkConnectLibpodInternalServerError

type NetworkConnectLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

NetworkConnectLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewNetworkConnectLibpodInternalServerError

func NewNetworkConnectLibpodInternalServerError() *NetworkConnectLibpodInternalServerError

NewNetworkConnectLibpodInternalServerError creates a NetworkConnectLibpodInternalServerError with default headers values

func (*NetworkConnectLibpodInternalServerError) Code

Code gets the status code for the network connect libpod internal server error response

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 NetworkConnectLibpodNotFound

type NetworkConnectLibpodNotFound struct {
	Payload *models.ErrorModel
}

NetworkConnectLibpodNotFound describes a response with status code 404, with default header values.

No such network

func NewNetworkConnectLibpodNotFound

func NewNetworkConnectLibpodNotFound() *NetworkConnectLibpodNotFound

NewNetworkConnectLibpodNotFound creates a NetworkConnectLibpodNotFound with default headers values

func (*NetworkConnectLibpodNotFound) Code

Code gets the status code for the network connect libpod not found response

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 NetworkConnectLibpodOK

type NetworkConnectLibpodOK struct {
}

NetworkConnectLibpodOK describes a response with status code 200, with default header values.

OK

func NewNetworkConnectLibpodOK

func NewNetworkConnectLibpodOK() *NetworkConnectLibpodOK

NewNetworkConnectLibpodOK creates a NetworkConnectLibpodOK with default headers values

func (*NetworkConnectLibpodOK) Code

func (o *NetworkConnectLibpodOK) Code() int

Code gets the status code for the network connect libpod o k response

func (*NetworkConnectLibpodOK) Error

func (o *NetworkConnectLibpodOK) Error() string

func (*NetworkConnectLibpodOK) IsClientError

func (o *NetworkConnectLibpodOK) IsClientError() bool

IsClientError returns true when this network connect libpod o k response has a 4xx status code

func (*NetworkConnectLibpodOK) IsCode

func (o *NetworkConnectLibpodOK) IsCode(code int) bool

IsCode returns true when this network connect libpod o k response a status code equal to that given

func (*NetworkConnectLibpodOK) IsRedirect

func (o *NetworkConnectLibpodOK) IsRedirect() bool

IsRedirect returns true when this network connect libpod o k response has a 3xx status code

func (*NetworkConnectLibpodOK) IsServerError

func (o *NetworkConnectLibpodOK) IsServerError() bool

IsServerError returns true when this network connect libpod o k response has a 5xx status code

func (*NetworkConnectLibpodOK) IsSuccess

func (o *NetworkConnectLibpodOK) IsSuccess() bool

IsSuccess returns true when this network connect libpod o k response has a 2xx status code

func (*NetworkConnectLibpodOK) String

func (o *NetworkConnectLibpodOK) String() string

type NetworkConnectLibpodParams

type NetworkConnectLibpodParams struct {

	// Create.
	//
	// attributes for connecting a container to a network
	Create *models.NetworkConnectRequestLibpod

	// Name.
	//
	// the name of the network
	Name string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NetworkConnectLibpodParams contains all the parameters to send to the API endpoint

for the network connect libpod operation.

Typically these are written to a http.Request.

func NewNetworkConnectLibpodParams

func NewNetworkConnectLibpodParams() *NetworkConnectLibpodParams

NewNetworkConnectLibpodParams creates a new NetworkConnectLibpodParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewNetworkConnectLibpodParamsWithContext deprecated

func NewNetworkConnectLibpodParamsWithContext(ctx context.Context) *NetworkConnectLibpodParams

NewNetworkConnectLibpodParamsWithContext creates a new NetworkConnectLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of NetworkConnectLibpodParams.

func NewNetworkConnectLibpodParamsWithHTTPClient

func NewNetworkConnectLibpodParamsWithHTTPClient(client *http.Client) *NetworkConnectLibpodParams

NewNetworkConnectLibpodParamsWithHTTPClient creates a new NetworkConnectLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewNetworkConnectLibpodParamsWithTimeout

func NewNetworkConnectLibpodParamsWithTimeout(timeout time.Duration) *NetworkConnectLibpodParams

NewNetworkConnectLibpodParamsWithTimeout creates a new NetworkConnectLibpodParams object with the ability to set a timeout on a request.

func (*NetworkConnectLibpodParams) SetContext deprecated

func (o *NetworkConnectLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the network connect libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkConnectLibpodParams.

func (*NetworkConnectLibpodParams) SetCreate

SetCreate adds the create to the network connect libpod params.

func (*NetworkConnectLibpodParams) SetDefaults

func (o *NetworkConnectLibpodParams) SetDefaults()

SetDefaults hydrates default values in the network connect libpod params (not the query body).

All values with no default are reset to their zero value.

func (*NetworkConnectLibpodParams) SetHTTPClient

func (o *NetworkConnectLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the network connect libpod params.

func (*NetworkConnectLibpodParams) SetName

func (o *NetworkConnectLibpodParams) SetName(name string)

SetName adds the name to the network connect libpod params.

func (*NetworkConnectLibpodParams) SetTimeout

func (o *NetworkConnectLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the network connect libpod params.

func (*NetworkConnectLibpodParams) WithContext deprecated

WithContext adds the context to the network connect libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkConnectLibpodParams.

func (*NetworkConnectLibpodParams) WithCreate

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 runtime.ClientRequest.

type NetworkConnectLibpodReader

type NetworkConnectLibpodReader struct {
	// contains filtered or unexported fields
}

NetworkConnectLibpodReader is a Reader for the NetworkConnectLibpod structure.

func (*NetworkConnectLibpodReader) ReadResponse

func (o *NetworkConnectLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type NetworkCreateLibpodBadRequest

type NetworkCreateLibpodBadRequest struct {
	Payload *models.ErrorModel
}

NetworkCreateLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewNetworkCreateLibpodBadRequest

func NewNetworkCreateLibpodBadRequest() *NetworkCreateLibpodBadRequest

NewNetworkCreateLibpodBadRequest creates a NetworkCreateLibpodBadRequest with default headers values

func (*NetworkCreateLibpodBadRequest) Code

Code gets the status code for the network create libpod bad request response

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 NetworkCreateLibpodConflict

type NetworkCreateLibpodConflict struct {
	Payload *models.ErrorModel
}

NetworkCreateLibpodConflict describes a response with status code 409, with default header values.

Conflict error in operation

func NewNetworkCreateLibpodConflict

func NewNetworkCreateLibpodConflict() *NetworkCreateLibpodConflict

NewNetworkCreateLibpodConflict creates a NetworkCreateLibpodConflict with default headers values

func (*NetworkCreateLibpodConflict) Code

func (o *NetworkCreateLibpodConflict) Code() int

Code gets the status code for the network create libpod conflict response

func (*NetworkCreateLibpodConflict) Error

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

type NetworkCreateLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

NetworkCreateLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewNetworkCreateLibpodInternalServerError

func NewNetworkCreateLibpodInternalServerError() *NetworkCreateLibpodInternalServerError

NewNetworkCreateLibpodInternalServerError creates a NetworkCreateLibpodInternalServerError with default headers values

func (*NetworkCreateLibpodInternalServerError) Code

Code gets the status code for the network create libpod internal server error response

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 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) Code

func (o *NetworkCreateLibpodOK) Code() int

Code gets the status code for the network create libpod o k response

func (*NetworkCreateLibpodOK) Error

func (o *NetworkCreateLibpodOK) Error() string

func (*NetworkCreateLibpodOK) GetPayload

func (o *NetworkCreateLibpodOK) GetPayload() *models.Network

func (*NetworkCreateLibpodOK) IsClientError

func (o *NetworkCreateLibpodOK) IsClientError() bool

IsClientError returns true when this network create libpod o k response has a 4xx status code

func (*NetworkCreateLibpodOK) IsCode

func (o *NetworkCreateLibpodOK) IsCode(code int) bool

IsCode returns true when this network create libpod o k response a status code equal to that given

func (*NetworkCreateLibpodOK) IsRedirect

func (o *NetworkCreateLibpodOK) IsRedirect() bool

IsRedirect returns true when this network create libpod o k response has a 3xx status code

func (*NetworkCreateLibpodOK) IsServerError

func (o *NetworkCreateLibpodOK) IsServerError() bool

IsServerError returns true when this network create libpod o k response has a 5xx status code

func (*NetworkCreateLibpodOK) IsSuccess

func (o *NetworkCreateLibpodOK) IsSuccess() bool

IsSuccess returns true when this network create libpod o k response has a 2xx status code

func (*NetworkCreateLibpodOK) String

func (o *NetworkCreateLibpodOK) String() string

type NetworkCreateLibpodParams

type NetworkCreateLibpodParams struct {

	// Create.
	//
	// attributes for creating a network
	Create *models.NetworkCreateLibpod

	// IgnoreIfExists.
	//
	// Ignore the request if a network with the same name already exists.
	IgnoreIfExists *bool

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NetworkCreateLibpodParams contains all the parameters to send to the API endpoint

for the network create libpod operation.

Typically these are written to a http.Request.

func NewNetworkCreateLibpodParams

func NewNetworkCreateLibpodParams() *NetworkCreateLibpodParams

NewNetworkCreateLibpodParams creates a new NetworkCreateLibpodParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewNetworkCreateLibpodParamsWithContext deprecated

func NewNetworkCreateLibpodParamsWithContext(ctx context.Context) *NetworkCreateLibpodParams

NewNetworkCreateLibpodParamsWithContext creates a new NetworkCreateLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of NetworkCreateLibpodParams.

func NewNetworkCreateLibpodParamsWithHTTPClient

func NewNetworkCreateLibpodParamsWithHTTPClient(client *http.Client) *NetworkCreateLibpodParams

NewNetworkCreateLibpodParamsWithHTTPClient creates a new NetworkCreateLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewNetworkCreateLibpodParamsWithTimeout

func NewNetworkCreateLibpodParamsWithTimeout(timeout time.Duration) *NetworkCreateLibpodParams

NewNetworkCreateLibpodParamsWithTimeout creates a new NetworkCreateLibpodParams object with the ability to set a timeout on a request.

func (*NetworkCreateLibpodParams) SetContext deprecated

func (o *NetworkCreateLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the network create libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkCreateLibpodParams.

func (*NetworkCreateLibpodParams) SetCreate

SetCreate adds the create to the network create libpod params.

func (*NetworkCreateLibpodParams) SetDefaults

func (o *NetworkCreateLibpodParams) SetDefaults()

SetDefaults hydrates default values in the network create libpod params (not the query body).

All values with no default are reset to their zero value.

func (*NetworkCreateLibpodParams) SetHTTPClient

func (o *NetworkCreateLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the network create libpod params.

func (*NetworkCreateLibpodParams) SetIgnoreIfExists

func (o *NetworkCreateLibpodParams) SetIgnoreIfExists(ignoreIfExists *bool)

SetIgnoreIfExists adds the ignoreIfExists to the network create libpod params.

func (*NetworkCreateLibpodParams) SetTimeout

func (o *NetworkCreateLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the network create libpod params.

func (*NetworkCreateLibpodParams) WithContext deprecated

WithContext adds the context to the network create libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkCreateLibpodParams.

func (*NetworkCreateLibpodParams) WithCreate

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) WithIgnoreIfExists

func (o *NetworkCreateLibpodParams) WithIgnoreIfExists(ignoreIfExists *bool) *NetworkCreateLibpodParams

WithIgnoreIfExists adds the ignoreIfExists 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 runtime.ClientRequest.

type NetworkCreateLibpodReader

type NetworkCreateLibpodReader struct {
	// contains filtered or unexported fields
}

NetworkCreateLibpodReader is a Reader for the NetworkCreateLibpod structure.

func (*NetworkCreateLibpodReader) ReadResponse

func (o *NetworkCreateLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type NetworkDeleteLibpodInternalServerError

type NetworkDeleteLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

NetworkDeleteLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewNetworkDeleteLibpodInternalServerError

func NewNetworkDeleteLibpodInternalServerError() *NetworkDeleteLibpodInternalServerError

NewNetworkDeleteLibpodInternalServerError creates a NetworkDeleteLibpodInternalServerError with default headers values

func (*NetworkDeleteLibpodInternalServerError) Code

Code gets the status code for the network delete libpod internal server error response

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 NetworkDeleteLibpodNotFound

type NetworkDeleteLibpodNotFound struct {
	Payload *models.ErrorModel
}

NetworkDeleteLibpodNotFound describes a response with status code 404, with default header values.

No such network

func NewNetworkDeleteLibpodNotFound

func NewNetworkDeleteLibpodNotFound() *NetworkDeleteLibpodNotFound

NewNetworkDeleteLibpodNotFound creates a NetworkDeleteLibpodNotFound with default headers values

func (*NetworkDeleteLibpodNotFound) Code

func (o *NetworkDeleteLibpodNotFound) Code() int

Code gets the status code for the network delete libpod not found response

func (*NetworkDeleteLibpodNotFound) Error

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

type NetworkDeleteLibpodOK struct {
	Payload []*models.NetworkRmReport
}

NetworkDeleteLibpodOK describes a response with status code 200, with default header values.

Network Delete

func NewNetworkDeleteLibpodOK

func NewNetworkDeleteLibpodOK() *NetworkDeleteLibpodOK

NewNetworkDeleteLibpodOK creates a NetworkDeleteLibpodOK with default headers values

func (*NetworkDeleteLibpodOK) Code

func (o *NetworkDeleteLibpodOK) Code() int

Code gets the status code for the network delete libpod o k response

func (*NetworkDeleteLibpodOK) Error

func (o *NetworkDeleteLibpodOK) Error() string

func (*NetworkDeleteLibpodOK) GetPayload

func (o *NetworkDeleteLibpodOK) GetPayload() []*models.NetworkRmReport

func (*NetworkDeleteLibpodOK) IsClientError

func (o *NetworkDeleteLibpodOK) IsClientError() bool

IsClientError returns true when this network delete libpod o k response has a 4xx status code

func (*NetworkDeleteLibpodOK) IsCode

func (o *NetworkDeleteLibpodOK) IsCode(code int) bool

IsCode returns true when this network delete libpod o k response a status code equal to that given

func (*NetworkDeleteLibpodOK) IsRedirect

func (o *NetworkDeleteLibpodOK) IsRedirect() bool

IsRedirect returns true when this network delete libpod o k response has a 3xx status code

func (*NetworkDeleteLibpodOK) IsServerError

func (o *NetworkDeleteLibpodOK) IsServerError() bool

IsServerError returns true when this network delete libpod o k response has a 5xx status code

func (*NetworkDeleteLibpodOK) IsSuccess

func (o *NetworkDeleteLibpodOK) IsSuccess() bool

IsSuccess returns true when this network delete libpod o k response has a 2xx status code

func (*NetworkDeleteLibpodOK) String

func (o *NetworkDeleteLibpodOK) String() string

type NetworkDeleteLibpodParams

type NetworkDeleteLibpodParams struct {

	// Force.
	//
	// remove containers associated with network
	Force *bool

	// Ignore.
	//
	// ignore if a specified network does not exist
	Ignore *bool

	// Name.
	//
	// the name of the network
	Name string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NetworkDeleteLibpodParams contains all the parameters to send to the API endpoint

for the network delete libpod operation.

Typically these are written to a http.Request.

func NewNetworkDeleteLibpodParams

func NewNetworkDeleteLibpodParams() *NetworkDeleteLibpodParams

NewNetworkDeleteLibpodParams creates a new NetworkDeleteLibpodParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewNetworkDeleteLibpodParamsWithContext deprecated

func NewNetworkDeleteLibpodParamsWithContext(ctx context.Context) *NetworkDeleteLibpodParams

NewNetworkDeleteLibpodParamsWithContext creates a new NetworkDeleteLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of NetworkDeleteLibpodParams.

func NewNetworkDeleteLibpodParamsWithHTTPClient

func NewNetworkDeleteLibpodParamsWithHTTPClient(client *http.Client) *NetworkDeleteLibpodParams

NewNetworkDeleteLibpodParamsWithHTTPClient creates a new NetworkDeleteLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewNetworkDeleteLibpodParamsWithTimeout

func NewNetworkDeleteLibpodParamsWithTimeout(timeout time.Duration) *NetworkDeleteLibpodParams

NewNetworkDeleteLibpodParamsWithTimeout creates a new NetworkDeleteLibpodParams object with the ability to set a timeout on a request.

func (*NetworkDeleteLibpodParams) SetContext deprecated

func (o *NetworkDeleteLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the network delete libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkDeleteLibpodParams.

func (*NetworkDeleteLibpodParams) SetDefaults

func (o *NetworkDeleteLibpodParams) SetDefaults()

SetDefaults hydrates default values in the network delete libpod params (not the query body).

All values with no default are reset to their zero value.

func (*NetworkDeleteLibpodParams) SetForce

func (o *NetworkDeleteLibpodParams) SetForce(force *bool)

SetForce adds the force to the network delete libpod params.

func (*NetworkDeleteLibpodParams) SetHTTPClient

func (o *NetworkDeleteLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the network delete libpod params.

func (*NetworkDeleteLibpodParams) SetIgnore

func (o *NetworkDeleteLibpodParams) SetIgnore(ignore *bool)

SetIgnore adds the ignore to the network delete libpod params.

func (*NetworkDeleteLibpodParams) SetName

func (o *NetworkDeleteLibpodParams) SetName(name string)

SetName adds the name to the network delete libpod params.

func (*NetworkDeleteLibpodParams) SetTimeout

func (o *NetworkDeleteLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the network delete libpod params.

func (*NetworkDeleteLibpodParams) WithContext deprecated

WithContext adds the context to the network delete libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkDeleteLibpodParams.

func (*NetworkDeleteLibpodParams) WithDefaults

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) WithIgnore

WithIgnore adds the ignore 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 runtime.ClientRequest.

type NetworkDeleteLibpodReader

type NetworkDeleteLibpodReader struct {
	// contains filtered or unexported fields
}

NetworkDeleteLibpodReader is a Reader for the NetworkDeleteLibpod structure.

func (*NetworkDeleteLibpodReader) ReadResponse

func (o *NetworkDeleteLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type NetworkDisconnectLibpodInternalServerError

type NetworkDisconnectLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

NetworkDisconnectLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewNetworkDisconnectLibpodInternalServerError

func NewNetworkDisconnectLibpodInternalServerError() *NetworkDisconnectLibpodInternalServerError

NewNetworkDisconnectLibpodInternalServerError creates a NetworkDisconnectLibpodInternalServerError with default headers values

func (*NetworkDisconnectLibpodInternalServerError) Code

Code gets the status code for the network disconnect libpod internal server error response

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 NetworkDisconnectLibpodNotFound

type NetworkDisconnectLibpodNotFound struct {
	Payload *models.ErrorModel
}

NetworkDisconnectLibpodNotFound describes a response with status code 404, with default header values.

No such network

func NewNetworkDisconnectLibpodNotFound

func NewNetworkDisconnectLibpodNotFound() *NetworkDisconnectLibpodNotFound

NewNetworkDisconnectLibpodNotFound creates a NetworkDisconnectLibpodNotFound with default headers values

func (*NetworkDisconnectLibpodNotFound) Code

Code gets the status code for the network disconnect libpod not found response

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 NetworkDisconnectLibpodOK

type NetworkDisconnectLibpodOK struct {
}

NetworkDisconnectLibpodOK describes a response with status code 200, with default header values.

OK

func NewNetworkDisconnectLibpodOK

func NewNetworkDisconnectLibpodOK() *NetworkDisconnectLibpodOK

NewNetworkDisconnectLibpodOK creates a NetworkDisconnectLibpodOK with default headers values

func (*NetworkDisconnectLibpodOK) Code

func (o *NetworkDisconnectLibpodOK) Code() int

Code gets the status code for the network disconnect libpod o k response

func (*NetworkDisconnectLibpodOK) Error

func (o *NetworkDisconnectLibpodOK) Error() string

func (*NetworkDisconnectLibpodOK) IsClientError

func (o *NetworkDisconnectLibpodOK) IsClientError() bool

IsClientError returns true when this network disconnect libpod o k response has a 4xx status code

func (*NetworkDisconnectLibpodOK) IsCode

func (o *NetworkDisconnectLibpodOK) IsCode(code int) bool

IsCode returns true when this network disconnect libpod o k response a status code equal to that given

func (*NetworkDisconnectLibpodOK) IsRedirect

func (o *NetworkDisconnectLibpodOK) IsRedirect() bool

IsRedirect returns true when this network disconnect libpod o k response has a 3xx status code

func (*NetworkDisconnectLibpodOK) IsServerError

func (o *NetworkDisconnectLibpodOK) IsServerError() bool

IsServerError returns true when this network disconnect libpod o k response has a 5xx status code

func (*NetworkDisconnectLibpodOK) IsSuccess

func (o *NetworkDisconnectLibpodOK) IsSuccess() bool

IsSuccess returns true when this network disconnect libpod o k response has a 2xx status code

func (*NetworkDisconnectLibpodOK) String

func (o *NetworkDisconnectLibpodOK) String() string

type NetworkDisconnectLibpodParams

type NetworkDisconnectLibpodParams struct {

	// Create.
	//
	// attributes for disconnecting a container from a network
	Create *models.NetworkDisconnectRequest

	// Name.
	//
	// the name of the network
	Name string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NetworkDisconnectLibpodParams contains all the parameters to send to the API endpoint

for the network disconnect libpod operation.

Typically these are written to a http.Request.

func NewNetworkDisconnectLibpodParams

func NewNetworkDisconnectLibpodParams() *NetworkDisconnectLibpodParams

NewNetworkDisconnectLibpodParams creates a new NetworkDisconnectLibpodParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewNetworkDisconnectLibpodParamsWithContext deprecated

func NewNetworkDisconnectLibpodParamsWithContext(ctx context.Context) *NetworkDisconnectLibpodParams

NewNetworkDisconnectLibpodParamsWithContext creates a new NetworkDisconnectLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of NetworkDisconnectLibpodParams.

func NewNetworkDisconnectLibpodParamsWithHTTPClient

func NewNetworkDisconnectLibpodParamsWithHTTPClient(client *http.Client) *NetworkDisconnectLibpodParams

NewNetworkDisconnectLibpodParamsWithHTTPClient creates a new NetworkDisconnectLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewNetworkDisconnectLibpodParamsWithTimeout

func NewNetworkDisconnectLibpodParamsWithTimeout(timeout time.Duration) *NetworkDisconnectLibpodParams

NewNetworkDisconnectLibpodParamsWithTimeout creates a new NetworkDisconnectLibpodParams object with the ability to set a timeout on a request.

func (*NetworkDisconnectLibpodParams) SetContext deprecated

func (o *NetworkDisconnectLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the network disconnect libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkDisconnectLibpodParams.

func (*NetworkDisconnectLibpodParams) SetCreate

SetCreate adds the create to the network disconnect libpod params.

func (*NetworkDisconnectLibpodParams) SetDefaults

func (o *NetworkDisconnectLibpodParams) SetDefaults()

SetDefaults hydrates default values in the network disconnect libpod params (not the query body).

All values with no default are reset to their zero value.

func (*NetworkDisconnectLibpodParams) SetHTTPClient

func (o *NetworkDisconnectLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the network disconnect libpod params.

func (*NetworkDisconnectLibpodParams) SetName

func (o *NetworkDisconnectLibpodParams) SetName(name string)

SetName adds the name to the network disconnect libpod params.

func (*NetworkDisconnectLibpodParams) SetTimeout

func (o *NetworkDisconnectLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the network disconnect libpod params.

func (*NetworkDisconnectLibpodParams) WithContext deprecated

WithContext adds the context to the network disconnect libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkDisconnectLibpodParams.

func (*NetworkDisconnectLibpodParams) WithCreate

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 runtime.ClientRequest.

type NetworkDisconnectLibpodReader

type NetworkDisconnectLibpodReader struct {
	// contains filtered or unexported fields
}

NetworkDisconnectLibpodReader is a Reader for the NetworkDisconnectLibpod structure.

func (*NetworkDisconnectLibpodReader) ReadResponse

func (o *NetworkDisconnectLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type NetworkExistsLibpodInternalServerError

type NetworkExistsLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

NetworkExistsLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewNetworkExistsLibpodInternalServerError

func NewNetworkExistsLibpodInternalServerError() *NetworkExistsLibpodInternalServerError

NewNetworkExistsLibpodInternalServerError creates a NetworkExistsLibpodInternalServerError with default headers values

func (*NetworkExistsLibpodInternalServerError) Code

Code gets the status code for the network exists libpod internal server error response

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 NetworkExistsLibpodNoContent

type NetworkExistsLibpodNoContent struct {
}

NetworkExistsLibpodNoContent describes a response with status code 204, with default header values.

network exists

func NewNetworkExistsLibpodNoContent

func NewNetworkExistsLibpodNoContent() *NetworkExistsLibpodNoContent

NewNetworkExistsLibpodNoContent creates a NetworkExistsLibpodNoContent with default headers values

func (*NetworkExistsLibpodNoContent) Code

Code gets the status code for the network exists libpod no content response

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 *models.ErrorModel
}

NetworkExistsLibpodNotFound describes a response with status code 404, with default header values.

No such network

func NewNetworkExistsLibpodNotFound

func NewNetworkExistsLibpodNotFound() *NetworkExistsLibpodNotFound

NewNetworkExistsLibpodNotFound creates a NetworkExistsLibpodNotFound with default headers values

func (*NetworkExistsLibpodNotFound) Code

func (o *NetworkExistsLibpodNotFound) Code() int

Code gets the status code for the network exists libpod not found response

func (*NetworkExistsLibpodNotFound) Error

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

type NetworkExistsLibpodParams struct {

	// Name.
	//
	// the name or ID of the network
	Name string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NetworkExistsLibpodParams contains all the parameters to send to the API endpoint

for the network exists libpod operation.

Typically these are written to a http.Request.

func NewNetworkExistsLibpodParams

func NewNetworkExistsLibpodParams() *NetworkExistsLibpodParams

NewNetworkExistsLibpodParams creates a new NetworkExistsLibpodParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewNetworkExistsLibpodParamsWithContext deprecated

func NewNetworkExistsLibpodParamsWithContext(ctx context.Context) *NetworkExistsLibpodParams

NewNetworkExistsLibpodParamsWithContext creates a new NetworkExistsLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of NetworkExistsLibpodParams.

func NewNetworkExistsLibpodParamsWithHTTPClient

func NewNetworkExistsLibpodParamsWithHTTPClient(client *http.Client) *NetworkExistsLibpodParams

NewNetworkExistsLibpodParamsWithHTTPClient creates a new NetworkExistsLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewNetworkExistsLibpodParamsWithTimeout

func NewNetworkExistsLibpodParamsWithTimeout(timeout time.Duration) *NetworkExistsLibpodParams

NewNetworkExistsLibpodParamsWithTimeout creates a new NetworkExistsLibpodParams object with the ability to set a timeout on a request.

func (*NetworkExistsLibpodParams) SetContext deprecated

func (o *NetworkExistsLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the network exists libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkExistsLibpodParams.

func (*NetworkExistsLibpodParams) SetDefaults

func (o *NetworkExistsLibpodParams) SetDefaults()

SetDefaults hydrates default values in the network exists libpod params (not the query body).

All values with no default are reset to their zero value.

func (*NetworkExistsLibpodParams) SetHTTPClient

func (o *NetworkExistsLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the network exists libpod params.

func (*NetworkExistsLibpodParams) SetName

func (o *NetworkExistsLibpodParams) SetName(name string)

SetName adds the name to the network exists libpod params.

func (*NetworkExistsLibpodParams) SetTimeout

func (o *NetworkExistsLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the network exists libpod params.

func (*NetworkExistsLibpodParams) WithContext deprecated

WithContext adds the context to the network exists libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkExistsLibpodParams.

func (*NetworkExistsLibpodParams) WithDefaults

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 runtime.ClientRequest.

type NetworkExistsLibpodReader

type NetworkExistsLibpodReader struct {
	// contains filtered or unexported fields
}

NetworkExistsLibpodReader is a Reader for the NetworkExistsLibpod structure.

func (*NetworkExistsLibpodReader) ReadResponse

func (o *NetworkExistsLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type NetworkInspectLibpodInternalServerError

type NetworkInspectLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

NetworkInspectLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewNetworkInspectLibpodInternalServerError

func NewNetworkInspectLibpodInternalServerError() *NetworkInspectLibpodInternalServerError

NewNetworkInspectLibpodInternalServerError creates a NetworkInspectLibpodInternalServerError with default headers values

func (*NetworkInspectLibpodInternalServerError) Code

Code gets the status code for the network inspect libpod internal server error response

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 NetworkInspectLibpodNotFound

type NetworkInspectLibpodNotFound struct {
	Payload *models.ErrorModel
}

NetworkInspectLibpodNotFound describes a response with status code 404, with default header values.

No such network

func NewNetworkInspectLibpodNotFound

func NewNetworkInspectLibpodNotFound() *NetworkInspectLibpodNotFound

NewNetworkInspectLibpodNotFound creates a NetworkInspectLibpodNotFound with default headers values

func (*NetworkInspectLibpodNotFound) Code

Code gets the status code for the network inspect libpod not found response

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 NetworkInspectLibpodOK

type NetworkInspectLibpodOK struct {
	Payload *models.NetworkInspectReport
}

NetworkInspectLibpodOK describes a response with status code 200, with default header values.

Network inspect

func NewNetworkInspectLibpodOK

func NewNetworkInspectLibpodOK() *NetworkInspectLibpodOK

NewNetworkInspectLibpodOK creates a NetworkInspectLibpodOK with default headers values

func (*NetworkInspectLibpodOK) Code

func (o *NetworkInspectLibpodOK) Code() int

Code gets the status code for the network inspect libpod o k response

func (*NetworkInspectLibpodOK) Error

func (o *NetworkInspectLibpodOK) Error() string

func (*NetworkInspectLibpodOK) GetPayload

func (*NetworkInspectLibpodOK) IsClientError

func (o *NetworkInspectLibpodOK) IsClientError() bool

IsClientError returns true when this network inspect libpod o k response has a 4xx status code

func (*NetworkInspectLibpodOK) IsCode

func (o *NetworkInspectLibpodOK) IsCode(code int) bool

IsCode returns true when this network inspect libpod o k response a status code equal to that given

func (*NetworkInspectLibpodOK) IsRedirect

func (o *NetworkInspectLibpodOK) IsRedirect() bool

IsRedirect returns true when this network inspect libpod o k response has a 3xx status code

func (*NetworkInspectLibpodOK) IsServerError

func (o *NetworkInspectLibpodOK) IsServerError() bool

IsServerError returns true when this network inspect libpod o k response has a 5xx status code

func (*NetworkInspectLibpodOK) IsSuccess

func (o *NetworkInspectLibpodOK) IsSuccess() bool

IsSuccess returns true when this network inspect libpod o k response has a 2xx status code

func (*NetworkInspectLibpodOK) String

func (o *NetworkInspectLibpodOK) String() string

type NetworkInspectLibpodParams

type NetworkInspectLibpodParams struct {

	// Name.
	//
	// the name of the network
	Name string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NetworkInspectLibpodParams contains all the parameters to send to the API endpoint

for the network inspect libpod operation.

Typically these are written to a http.Request.

func NewNetworkInspectLibpodParams

func NewNetworkInspectLibpodParams() *NetworkInspectLibpodParams

NewNetworkInspectLibpodParams creates a new NetworkInspectLibpodParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewNetworkInspectLibpodParamsWithContext deprecated

func NewNetworkInspectLibpodParamsWithContext(ctx context.Context) *NetworkInspectLibpodParams

NewNetworkInspectLibpodParamsWithContext creates a new NetworkInspectLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of NetworkInspectLibpodParams.

func NewNetworkInspectLibpodParamsWithHTTPClient

func NewNetworkInspectLibpodParamsWithHTTPClient(client *http.Client) *NetworkInspectLibpodParams

NewNetworkInspectLibpodParamsWithHTTPClient creates a new NetworkInspectLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewNetworkInspectLibpodParamsWithTimeout

func NewNetworkInspectLibpodParamsWithTimeout(timeout time.Duration) *NetworkInspectLibpodParams

NewNetworkInspectLibpodParamsWithTimeout creates a new NetworkInspectLibpodParams object with the ability to set a timeout on a request.

func (*NetworkInspectLibpodParams) SetContext deprecated

func (o *NetworkInspectLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the network inspect libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkInspectLibpodParams.

func (*NetworkInspectLibpodParams) SetDefaults

func (o *NetworkInspectLibpodParams) SetDefaults()

SetDefaults hydrates default values in the network inspect libpod params (not the query body).

All values with no default are reset to their zero value.

func (*NetworkInspectLibpodParams) SetHTTPClient

func (o *NetworkInspectLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the network inspect libpod params.

func (*NetworkInspectLibpodParams) SetName

func (o *NetworkInspectLibpodParams) SetName(name string)

SetName adds the name to the network inspect libpod params.

func (*NetworkInspectLibpodParams) SetTimeout

func (o *NetworkInspectLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the network inspect libpod params.

func (*NetworkInspectLibpodParams) WithContext deprecated

WithContext adds the context to the network inspect libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkInspectLibpodParams.

func (*NetworkInspectLibpodParams) WithDefaults

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 runtime.ClientRequest.

type NetworkInspectLibpodReader

type NetworkInspectLibpodReader struct {
	// contains filtered or unexported fields
}

NetworkInspectLibpodReader is a Reader for the NetworkInspectLibpod structure.

func (*NetworkInspectLibpodReader) ReadResponse

func (o *NetworkInspectLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type NetworkListLibpodInternalServerError

type NetworkListLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

NetworkListLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewNetworkListLibpodInternalServerError

func NewNetworkListLibpodInternalServerError() *NetworkListLibpodInternalServerError

NewNetworkListLibpodInternalServerError creates a NetworkListLibpodInternalServerError with default headers values

func (*NetworkListLibpodInternalServerError) Code

Code gets the status code for the network list libpod internal server error response

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 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) Code

func (o *NetworkListLibpodOK) Code() int

Code gets the status code for the network list libpod o k response

func (*NetworkListLibpodOK) Error

func (o *NetworkListLibpodOK) Error() string

func (*NetworkListLibpodOK) GetPayload

func (o *NetworkListLibpodOK) GetPayload() []*models.Network

func (*NetworkListLibpodOK) IsClientError

func (o *NetworkListLibpodOK) IsClientError() bool

IsClientError returns true when this network list libpod o k response has a 4xx status code

func (*NetworkListLibpodOK) IsCode

func (o *NetworkListLibpodOK) IsCode(code int) bool

IsCode returns true when this network list libpod o k response a status code equal to that given

func (*NetworkListLibpodOK) IsRedirect

func (o *NetworkListLibpodOK) IsRedirect() bool

IsRedirect returns true when this network list libpod o k response has a 3xx status code

func (*NetworkListLibpodOK) IsServerError

func (o *NetworkListLibpodOK) IsServerError() bool

IsServerError returns true when this network list libpod o k response has a 5xx status code

func (*NetworkListLibpodOK) IsSuccess

func (o *NetworkListLibpodOK) IsSuccess() bool

IsSuccess returns true when this network list libpod o k response has a 2xx status code

func (*NetworkListLibpodOK) String

func (o *NetworkListLibpodOK) String() string

type NetworkListLibpodParams

type NetworkListLibpodParams struct {

	// Filters.
	//
	// JSON encoded value of the filters (a `map[string][]string`) to process on the network list. Available filters:
	//   - `name=[name]` Matches network name (accepts regex).
	//   - `id=[id]` Matches for full or partial ID.
	//   - `driver=[driver]` Only bridge is supported.
	//   - `label=[key]` or `label=[key=value]` Matches networks based on the presence of a label alone or a label and a value.
	//   - `until=[timestamp]` Matches all networks that were created before the given timestamp.
	//
	Filters *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NetworkListLibpodParams contains all the parameters to send to the API endpoint

for the network list libpod operation.

Typically these are written to a http.Request.

func NewNetworkListLibpodParams

func NewNetworkListLibpodParams() *NetworkListLibpodParams

NewNetworkListLibpodParams creates a new NetworkListLibpodParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewNetworkListLibpodParamsWithContext deprecated

func NewNetworkListLibpodParamsWithContext(ctx context.Context) *NetworkListLibpodParams

NewNetworkListLibpodParamsWithContext creates a new NetworkListLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of NetworkListLibpodParams.

func NewNetworkListLibpodParamsWithHTTPClient

func NewNetworkListLibpodParamsWithHTTPClient(client *http.Client) *NetworkListLibpodParams

NewNetworkListLibpodParamsWithHTTPClient creates a new NetworkListLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewNetworkListLibpodParamsWithTimeout

func NewNetworkListLibpodParamsWithTimeout(timeout time.Duration) *NetworkListLibpodParams

NewNetworkListLibpodParamsWithTimeout creates a new NetworkListLibpodParams object with the ability to set a timeout on a request.

func (*NetworkListLibpodParams) SetContext deprecated

func (o *NetworkListLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the network list libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkListLibpodParams.

func (*NetworkListLibpodParams) SetDefaults

func (o *NetworkListLibpodParams) SetDefaults()

SetDefaults hydrates default values in the network list libpod params (not the query body).

All values with no default are reset to their zero value.

func (*NetworkListLibpodParams) SetFilters

func (o *NetworkListLibpodParams) SetFilters(filters *string)

SetFilters adds the filters to the network list libpod params.

func (*NetworkListLibpodParams) SetHTTPClient

func (o *NetworkListLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the network list libpod params.

func (*NetworkListLibpodParams) SetTimeout

func (o *NetworkListLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the network list libpod params.

func (*NetworkListLibpodParams) WithContext deprecated

WithContext adds the context to the network list libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkListLibpodParams.

func (*NetworkListLibpodParams) WithDefaults

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 runtime.ClientRequest.

type NetworkListLibpodReader

type NetworkListLibpodReader struct {
	// contains filtered or unexported fields
}

NetworkListLibpodReader is a Reader for the NetworkListLibpod structure.

func (*NetworkListLibpodReader) ReadResponse

func (o *NetworkListLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type NetworkPruneLibpodInternalServerError

type NetworkPruneLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

NetworkPruneLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewNetworkPruneLibpodInternalServerError

func NewNetworkPruneLibpodInternalServerError() *NetworkPruneLibpodInternalServerError

NewNetworkPruneLibpodInternalServerError creates a NetworkPruneLibpodInternalServerError with default headers values

func (*NetworkPruneLibpodInternalServerError) Code

Code gets the status code for the network prune libpod internal server error response

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 NetworkPruneLibpodOK

type NetworkPruneLibpodOK struct {
	Payload []*models.NetworkPruneReport
}

NetworkPruneLibpodOK describes a response with status code 200, with default header values.

Network prune

func NewNetworkPruneLibpodOK

func NewNetworkPruneLibpodOK() *NetworkPruneLibpodOK

NewNetworkPruneLibpodOK creates a NetworkPruneLibpodOK with default headers values

func (*NetworkPruneLibpodOK) Code

func (o *NetworkPruneLibpodOK) Code() int

Code gets the status code for the network prune libpod o k response

func (*NetworkPruneLibpodOK) Error

func (o *NetworkPruneLibpodOK) Error() string

func (*NetworkPruneLibpodOK) GetPayload

func (o *NetworkPruneLibpodOK) GetPayload() []*models.NetworkPruneReport

func (*NetworkPruneLibpodOK) IsClientError

func (o *NetworkPruneLibpodOK) IsClientError() bool

IsClientError returns true when this network prune libpod o k response has a 4xx status code

func (*NetworkPruneLibpodOK) IsCode

func (o *NetworkPruneLibpodOK) IsCode(code int) bool

IsCode returns true when this network prune libpod o k response a status code equal to that given

func (*NetworkPruneLibpodOK) IsRedirect

func (o *NetworkPruneLibpodOK) IsRedirect() bool

IsRedirect returns true when this network prune libpod o k response has a 3xx status code

func (*NetworkPruneLibpodOK) IsServerError

func (o *NetworkPruneLibpodOK) IsServerError() bool

IsServerError returns true when this network prune libpod o k response has a 5xx status code

func (*NetworkPruneLibpodOK) IsSuccess

func (o *NetworkPruneLibpodOK) IsSuccess() bool

IsSuccess returns true when this network prune libpod o k response has a 2xx status code

func (*NetworkPruneLibpodOK) String

func (o *NetworkPruneLibpodOK) String() string

type NetworkPruneLibpodParams

type NetworkPruneLibpodParams struct {

	// Filters.
	//
	// Filters to process on the prune list, encoded as JSON (a `map[string][]string`).
	// Available filters:
	//   - `until=<timestamp>` Prune networks created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time.
	//   - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune networks with (or without, in case `label!=...` is used) the specified labels.
	//
	Filters *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NetworkPruneLibpodParams contains all the parameters to send to the API endpoint

for the network prune libpod operation.

Typically these are written to a http.Request.

func NewNetworkPruneLibpodParams

func NewNetworkPruneLibpodParams() *NetworkPruneLibpodParams

NewNetworkPruneLibpodParams creates a new NetworkPruneLibpodParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewNetworkPruneLibpodParamsWithContext deprecated

func NewNetworkPruneLibpodParamsWithContext(ctx context.Context) *NetworkPruneLibpodParams

NewNetworkPruneLibpodParamsWithContext creates a new NetworkPruneLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of NetworkPruneLibpodParams.

func NewNetworkPruneLibpodParamsWithHTTPClient

func NewNetworkPruneLibpodParamsWithHTTPClient(client *http.Client) *NetworkPruneLibpodParams

NewNetworkPruneLibpodParamsWithHTTPClient creates a new NetworkPruneLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewNetworkPruneLibpodParamsWithTimeout

func NewNetworkPruneLibpodParamsWithTimeout(timeout time.Duration) *NetworkPruneLibpodParams

NewNetworkPruneLibpodParamsWithTimeout creates a new NetworkPruneLibpodParams object with the ability to set a timeout on a request.

func (*NetworkPruneLibpodParams) SetContext deprecated

func (o *NetworkPruneLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the network prune libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkPruneLibpodParams.

func (*NetworkPruneLibpodParams) SetDefaults

func (o *NetworkPruneLibpodParams) SetDefaults()

SetDefaults hydrates default values in the network prune libpod params (not the query body).

All values with no default are reset to their zero value.

func (*NetworkPruneLibpodParams) SetFilters

func (o *NetworkPruneLibpodParams) SetFilters(filters *string)

SetFilters adds the filters to the network prune libpod params.

func (*NetworkPruneLibpodParams) SetHTTPClient

func (o *NetworkPruneLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the network prune libpod params.

func (*NetworkPruneLibpodParams) SetTimeout

func (o *NetworkPruneLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the network prune libpod params.

func (*NetworkPruneLibpodParams) WithContext deprecated

WithContext adds the context to the network prune libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkPruneLibpodParams.

func (*NetworkPruneLibpodParams) WithDefaults

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 runtime.ClientRequest.

type NetworkPruneLibpodReader

type NetworkPruneLibpodReader struct {
	// contains filtered or unexported fields
}

NetworkPruneLibpodReader is a Reader for the NetworkPruneLibpod structure.

func (*NetworkPruneLibpodReader) ReadResponse

func (o *NetworkPruneLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type NetworkUpdateLibpodBadRequest

type NetworkUpdateLibpodBadRequest struct {
	Payload *models.ErrorModel
}

NetworkUpdateLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewNetworkUpdateLibpodBadRequest

func NewNetworkUpdateLibpodBadRequest() *NetworkUpdateLibpodBadRequest

NewNetworkUpdateLibpodBadRequest creates a NetworkUpdateLibpodBadRequest with default headers values

func (*NetworkUpdateLibpodBadRequest) Code

Code gets the status code for the network update libpod bad request response

func (*NetworkUpdateLibpodBadRequest) Error

func (*NetworkUpdateLibpodBadRequest) GetPayload

func (*NetworkUpdateLibpodBadRequest) IsClientError

func (o *NetworkUpdateLibpodBadRequest) IsClientError() bool

IsClientError returns true when this network update libpod bad request response has a 4xx status code

func (*NetworkUpdateLibpodBadRequest) IsCode

func (o *NetworkUpdateLibpodBadRequest) IsCode(code int) bool

IsCode returns true when this network update libpod bad request response a status code equal to that given

func (*NetworkUpdateLibpodBadRequest) IsRedirect

func (o *NetworkUpdateLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this network update libpod bad request response has a 3xx status code

func (*NetworkUpdateLibpodBadRequest) IsServerError

func (o *NetworkUpdateLibpodBadRequest) IsServerError() bool

IsServerError returns true when this network update libpod bad request response has a 5xx status code

func (*NetworkUpdateLibpodBadRequest) IsSuccess

func (o *NetworkUpdateLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this network update libpod bad request response has a 2xx status code

func (*NetworkUpdateLibpodBadRequest) String

type NetworkUpdateLibpodInternalServerError

type NetworkUpdateLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

NetworkUpdateLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewNetworkUpdateLibpodInternalServerError

func NewNetworkUpdateLibpodInternalServerError() *NetworkUpdateLibpodInternalServerError

NewNetworkUpdateLibpodInternalServerError creates a NetworkUpdateLibpodInternalServerError with default headers values

func (*NetworkUpdateLibpodInternalServerError) Code

Code gets the status code for the network update libpod internal server error response

func (*NetworkUpdateLibpodInternalServerError) Error

func (*NetworkUpdateLibpodInternalServerError) GetPayload

func (*NetworkUpdateLibpodInternalServerError) IsClientError

func (o *NetworkUpdateLibpodInternalServerError) IsClientError() bool

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

func (*NetworkUpdateLibpodInternalServerError) IsCode

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

func (*NetworkUpdateLibpodInternalServerError) IsRedirect

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

func (*NetworkUpdateLibpodInternalServerError) IsServerError

func (o *NetworkUpdateLibpodInternalServerError) IsServerError() bool

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

func (*NetworkUpdateLibpodInternalServerError) IsSuccess

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

func (*NetworkUpdateLibpodInternalServerError) String

type NetworkUpdateLibpodOK

type NetworkUpdateLibpodOK struct {
}

NetworkUpdateLibpodOK describes a response with status code 200, with default header values.

OK

func NewNetworkUpdateLibpodOK

func NewNetworkUpdateLibpodOK() *NetworkUpdateLibpodOK

NewNetworkUpdateLibpodOK creates a NetworkUpdateLibpodOK with default headers values

func (*NetworkUpdateLibpodOK) Code

func (o *NetworkUpdateLibpodOK) Code() int

Code gets the status code for the network update libpod o k response

func (*NetworkUpdateLibpodOK) Error

func (o *NetworkUpdateLibpodOK) Error() string

func (*NetworkUpdateLibpodOK) IsClientError

func (o *NetworkUpdateLibpodOK) IsClientError() bool

IsClientError returns true when this network update libpod o k response has a 4xx status code

func (*NetworkUpdateLibpodOK) IsCode

func (o *NetworkUpdateLibpodOK) IsCode(code int) bool

IsCode returns true when this network update libpod o k response a status code equal to that given

func (*NetworkUpdateLibpodOK) IsRedirect

func (o *NetworkUpdateLibpodOK) IsRedirect() bool

IsRedirect returns true when this network update libpod o k response has a 3xx status code

func (*NetworkUpdateLibpodOK) IsServerError

func (o *NetworkUpdateLibpodOK) IsServerError() bool

IsServerError returns true when this network update libpod o k response has a 5xx status code

func (*NetworkUpdateLibpodOK) IsSuccess

func (o *NetworkUpdateLibpodOK) IsSuccess() bool

IsSuccess returns true when this network update libpod o k response has a 2xx status code

func (*NetworkUpdateLibpodOK) String

func (o *NetworkUpdateLibpodOK) String() string

type NetworkUpdateLibpodParams

type NetworkUpdateLibpodParams struct {

	// Name.
	//
	// the name or ID of the network
	Name string

	// Update.
	//
	// attributes for updating a netavark network
	Update *models.NetworkUpdateRequestLibpod

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NetworkUpdateLibpodParams contains all the parameters to send to the API endpoint

for the network update libpod operation.

Typically these are written to a http.Request.

func NewNetworkUpdateLibpodParams

func NewNetworkUpdateLibpodParams() *NetworkUpdateLibpodParams

NewNetworkUpdateLibpodParams creates a new NetworkUpdateLibpodParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewNetworkUpdateLibpodParamsWithContext deprecated

func NewNetworkUpdateLibpodParamsWithContext(ctx context.Context) *NetworkUpdateLibpodParams

NewNetworkUpdateLibpodParamsWithContext creates a new NetworkUpdateLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of NetworkUpdateLibpodParams.

func NewNetworkUpdateLibpodParamsWithHTTPClient

func NewNetworkUpdateLibpodParamsWithHTTPClient(client *http.Client) *NetworkUpdateLibpodParams

NewNetworkUpdateLibpodParamsWithHTTPClient creates a new NetworkUpdateLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewNetworkUpdateLibpodParamsWithTimeout

func NewNetworkUpdateLibpodParamsWithTimeout(timeout time.Duration) *NetworkUpdateLibpodParams

NewNetworkUpdateLibpodParamsWithTimeout creates a new NetworkUpdateLibpodParams object with the ability to set a timeout on a request.

func (*NetworkUpdateLibpodParams) SetContext deprecated

func (o *NetworkUpdateLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the network update libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkUpdateLibpodParams.

func (*NetworkUpdateLibpodParams) SetDefaults

func (o *NetworkUpdateLibpodParams) SetDefaults()

SetDefaults hydrates default values in the network update libpod params (not the query body).

All values with no default are reset to their zero value.

func (*NetworkUpdateLibpodParams) SetHTTPClient

func (o *NetworkUpdateLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the network update libpod params.

func (*NetworkUpdateLibpodParams) SetName

func (o *NetworkUpdateLibpodParams) SetName(name string)

SetName adds the name to the network update libpod params.

func (*NetworkUpdateLibpodParams) SetTimeout

func (o *NetworkUpdateLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the network update libpod params.

func (*NetworkUpdateLibpodParams) SetUpdate

SetUpdate adds the update to the network update libpod params.

func (*NetworkUpdateLibpodParams) WithContext deprecated

WithContext adds the context to the network update libpod params.

Deprecated: use the operation call with context to pass the context instead of NetworkUpdateLibpodParams.

func (*NetworkUpdateLibpodParams) WithDefaults

WithDefaults hydrates default values in the network update libpod params (not the query body).

All values with no default are reset to their zero value.

func (*NetworkUpdateLibpodParams) WithHTTPClient

func (o *NetworkUpdateLibpodParams) WithHTTPClient(client *http.Client) *NetworkUpdateLibpodParams

WithHTTPClient adds the HTTPClient to the network update libpod params.

func (*NetworkUpdateLibpodParams) WithName

WithName adds the name to the network update libpod params.

func (*NetworkUpdateLibpodParams) WithTimeout

WithTimeout adds the timeout to the network update libpod params.

func (*NetworkUpdateLibpodParams) WithUpdate

WithUpdate adds the update to the network update libpod params.

func (*NetworkUpdateLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type NetworkUpdateLibpodReader

type NetworkUpdateLibpodReader struct {
	// contains filtered or unexported fields
}

NetworkUpdateLibpodReader is a Reader for the NetworkUpdateLibpod structure.

func (*NetworkUpdateLibpodReader) ReadResponse

func (o *NetworkUpdateLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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