endpoint

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for endpoint API

func (*Client) DeleteEndpointID

func (a *Client) DeleteEndpointID(params *DeleteEndpointIDParams, opts ...ClientOption) (*DeleteEndpointIDOK, *DeleteEndpointIDErrors, error)
DeleteEndpointID deletes endpoint

Deletes the endpoint specified by the ID. Deletion is imminent and

atomic, if the deletion request is valid and the endpoint exists, deletion will occur even if errors are encountered in the process. If errors have been encountered, the code 202 will be returned, otherwise 200 on success.

All resources associated with the endpoint will be freed and the workload represented by the endpoint will be disconnected.It will no longer be able to initiate or receive communications of any sort.

func (*Client) GetEndpoint

func (a *Client) GetEndpoint(params *GetEndpointParams, opts ...ClientOption) (*GetEndpointOK, error)

GetEndpoint retrieves a list of endpoints that have metadata matching the provided parameters

Retrieves a list of endpoints that have metadata matching the provided parameters, or all endpoints if no parameters provided.

func (*Client) GetEndpointID

func (a *Client) GetEndpointID(params *GetEndpointIDParams, opts ...ClientOption) (*GetEndpointIDOK, error)

GetEndpointID gets endpoint by endpoint ID

Returns endpoint information

func (*Client) GetEndpointIDConfig

func (a *Client) GetEndpointIDConfig(params *GetEndpointIDConfigParams, opts ...ClientOption) (*GetEndpointIDConfigOK, error)

GetEndpointIDConfig retrieves endpoint configuration

Retrieves the configuration of the specified endpoint.

func (*Client) GetEndpointIDHealthz added in v1.5.0

func (a *Client) GetEndpointIDHealthz(params *GetEndpointIDHealthzParams, opts ...ClientOption) (*GetEndpointIDHealthzOK, error)

GetEndpointIDHealthz retrieves the status logs associated with this endpoint

func (*Client) GetEndpointIDLabels

func (a *Client) GetEndpointIDLabels(params *GetEndpointIDLabelsParams, opts ...ClientOption) (*GetEndpointIDLabelsOK, error)

GetEndpointIDLabels retrieves the list of labels associated with an endpoint

func (*Client) GetEndpointIDLog added in v1.5.0

func (a *Client) GetEndpointIDLog(params *GetEndpointIDLogParams, opts ...ClientOption) (*GetEndpointIDLogOK, error)

GetEndpointIDLog retrieves the status logs associated with this endpoint

func (*Client) PatchEndpointID

func (a *Client) PatchEndpointID(params *PatchEndpointIDParams, opts ...ClientOption) (*PatchEndpointIDOK, error)

PatchEndpointID modifies existing endpoint

Applies the endpoint change request to an existing endpoint

func (*Client) PatchEndpointIDConfig

func (a *Client) PatchEndpointIDConfig(params *PatchEndpointIDConfigParams, opts ...ClientOption) (*PatchEndpointIDConfigOK, error)
PatchEndpointIDConfig modifies mutable endpoint configuration

Update the configuration of an existing endpoint and regenerates &

recompiles the corresponding programs automatically.

func (*Client) PatchEndpointIDLabels added in v1.5.0

func (a *Client) PatchEndpointIDLabels(params *PatchEndpointIDLabelsParams, opts ...ClientOption) (*PatchEndpointIDLabelsOK, error)
PatchEndpointIDLabels sets label configuration of endpoint

Sets labels associated with an endpoint. These can be user provided or

derived from the orchestration system.

func (*Client) PutEndpointID

func (a *Client) PutEndpointID(params *PutEndpointIDParams, opts ...ClientOption) (*PutEndpointIDCreated, error)

PutEndpointID creates endpoint

Creates a new endpoint

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v1.14.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v1.14.0

type ClientService interface {
	DeleteEndpointID(params *DeleteEndpointIDParams, opts ...ClientOption) (*DeleteEndpointIDOK, *DeleteEndpointIDErrors, error)

	GetEndpoint(params *GetEndpointParams, opts ...ClientOption) (*GetEndpointOK, error)

	GetEndpointID(params *GetEndpointIDParams, opts ...ClientOption) (*GetEndpointIDOK, error)

	GetEndpointIDConfig(params *GetEndpointIDConfigParams, opts ...ClientOption) (*GetEndpointIDConfigOK, error)

	GetEndpointIDHealthz(params *GetEndpointIDHealthzParams, opts ...ClientOption) (*GetEndpointIDHealthzOK, error)

	GetEndpointIDLabels(params *GetEndpointIDLabelsParams, opts ...ClientOption) (*GetEndpointIDLabelsOK, error)

	GetEndpointIDLog(params *GetEndpointIDLogParams, opts ...ClientOption) (*GetEndpointIDLogOK, error)

	PatchEndpointID(params *PatchEndpointIDParams, opts ...ClientOption) (*PatchEndpointIDOK, error)

	PatchEndpointIDConfig(params *PatchEndpointIDConfigParams, opts ...ClientOption) (*PatchEndpointIDConfigOK, error)

	PatchEndpointIDLabels(params *PatchEndpointIDLabelsParams, opts ...ClientOption) (*PatchEndpointIDLabelsOK, error)

	PutEndpointID(params *PutEndpointIDParams, opts ...ClientOption) (*PutEndpointIDCreated, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new endpoint API client.

type DeleteEndpointIDErrors

type DeleteEndpointIDErrors struct {
	Payload int64
}

DeleteEndpointIDErrors describes a response with status code 206, with default header values.

Deleted with a number of errors encountered

func NewDeleteEndpointIDErrors

func NewDeleteEndpointIDErrors() *DeleteEndpointIDErrors

NewDeleteEndpointIDErrors creates a DeleteEndpointIDErrors with default headers values

func (*DeleteEndpointIDErrors) Error

func (o *DeleteEndpointIDErrors) Error() string

func (*DeleteEndpointIDErrors) GetPayload added in v1.14.0

func (o *DeleteEndpointIDErrors) GetPayload() int64

func (*DeleteEndpointIDErrors) IsClientError added in v1.14.0

func (o *DeleteEndpointIDErrors) IsClientError() bool

IsClientError returns true when this delete endpoint Id errors response has a 4xx status code

func (*DeleteEndpointIDErrors) IsCode added in v1.14.0

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

IsCode returns true when this delete endpoint Id errors response a status code equal to that given

func (*DeleteEndpointIDErrors) IsRedirect added in v1.14.0

func (o *DeleteEndpointIDErrors) IsRedirect() bool

IsRedirect returns true when this delete endpoint Id errors response has a 3xx status code

func (*DeleteEndpointIDErrors) IsServerError added in v1.14.0

func (o *DeleteEndpointIDErrors) IsServerError() bool

IsServerError returns true when this delete endpoint Id errors response has a 5xx status code

func (*DeleteEndpointIDErrors) IsSuccess added in v1.14.0

func (o *DeleteEndpointIDErrors) IsSuccess() bool

IsSuccess returns true when this delete endpoint Id errors response has a 2xx status code

func (*DeleteEndpointIDErrors) String added in v1.14.0

func (o *DeleteEndpointIDErrors) String() string

type DeleteEndpointIDInvalid

type DeleteEndpointIDInvalid struct {
	Payload models.Error
}
DeleteEndpointIDInvalid describes a response with status code 400, with default header values.

Invalid endpoint ID format for specified type. Details in error

message

func NewDeleteEndpointIDInvalid

func NewDeleteEndpointIDInvalid() *DeleteEndpointIDInvalid

NewDeleteEndpointIDInvalid creates a DeleteEndpointIDInvalid with default headers values

func (*DeleteEndpointIDInvalid) Error

func (o *DeleteEndpointIDInvalid) Error() string

func (*DeleteEndpointIDInvalid) GetPayload added in v1.14.0

func (o *DeleteEndpointIDInvalid) GetPayload() models.Error

func (*DeleteEndpointIDInvalid) IsClientError added in v1.14.0

func (o *DeleteEndpointIDInvalid) IsClientError() bool

IsClientError returns true when this delete endpoint Id invalid response has a 4xx status code

func (*DeleteEndpointIDInvalid) IsCode added in v1.14.0

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

IsCode returns true when this delete endpoint Id invalid response a status code equal to that given

func (*DeleteEndpointIDInvalid) IsRedirect added in v1.14.0

func (o *DeleteEndpointIDInvalid) IsRedirect() bool

IsRedirect returns true when this delete endpoint Id invalid response has a 3xx status code

func (*DeleteEndpointIDInvalid) IsServerError added in v1.14.0

func (o *DeleteEndpointIDInvalid) IsServerError() bool

IsServerError returns true when this delete endpoint Id invalid response has a 5xx status code

func (*DeleteEndpointIDInvalid) IsSuccess added in v1.14.0

func (o *DeleteEndpointIDInvalid) IsSuccess() bool

IsSuccess returns true when this delete endpoint Id invalid response has a 2xx status code

func (*DeleteEndpointIDInvalid) String added in v1.14.0

func (o *DeleteEndpointIDInvalid) String() string

type DeleteEndpointIDNotFound

type DeleteEndpointIDNotFound struct {
}

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

Endpoint not found

func NewDeleteEndpointIDNotFound

func NewDeleteEndpointIDNotFound() *DeleteEndpointIDNotFound

NewDeleteEndpointIDNotFound creates a DeleteEndpointIDNotFound with default headers values

func (*DeleteEndpointIDNotFound) Error

func (o *DeleteEndpointIDNotFound) Error() string

func (*DeleteEndpointIDNotFound) IsClientError added in v1.14.0

func (o *DeleteEndpointIDNotFound) IsClientError() bool

IsClientError returns true when this delete endpoint Id not found response has a 4xx status code

func (*DeleteEndpointIDNotFound) IsCode added in v1.14.0

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

IsCode returns true when this delete endpoint Id not found response a status code equal to that given

func (*DeleteEndpointIDNotFound) IsRedirect added in v1.14.0

func (o *DeleteEndpointIDNotFound) IsRedirect() bool

IsRedirect returns true when this delete endpoint Id not found response has a 3xx status code

func (*DeleteEndpointIDNotFound) IsServerError added in v1.14.0

func (o *DeleteEndpointIDNotFound) IsServerError() bool

IsServerError returns true when this delete endpoint Id not found response has a 5xx status code

func (*DeleteEndpointIDNotFound) IsSuccess added in v1.14.0

func (o *DeleteEndpointIDNotFound) IsSuccess() bool

IsSuccess returns true when this delete endpoint Id not found response has a 2xx status code

func (*DeleteEndpointIDNotFound) String added in v1.14.0

func (o *DeleteEndpointIDNotFound) String() string

type DeleteEndpointIDOK

type DeleteEndpointIDOK struct {
}

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

Success

func NewDeleteEndpointIDOK

func NewDeleteEndpointIDOK() *DeleteEndpointIDOK

NewDeleteEndpointIDOK creates a DeleteEndpointIDOK with default headers values

func (*DeleteEndpointIDOK) Error

func (o *DeleteEndpointIDOK) Error() string

func (*DeleteEndpointIDOK) IsClientError added in v1.14.0

func (o *DeleteEndpointIDOK) IsClientError() bool

IsClientError returns true when this delete endpoint Id o k response has a 4xx status code

func (*DeleteEndpointIDOK) IsCode added in v1.14.0

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

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

func (*DeleteEndpointIDOK) IsRedirect added in v1.14.0

func (o *DeleteEndpointIDOK) IsRedirect() bool

IsRedirect returns true when this delete endpoint Id o k response has a 3xx status code

func (*DeleteEndpointIDOK) IsServerError added in v1.14.0

func (o *DeleteEndpointIDOK) IsServerError() bool

IsServerError returns true when this delete endpoint Id o k response has a 5xx status code

func (*DeleteEndpointIDOK) IsSuccess added in v1.14.0

func (o *DeleteEndpointIDOK) IsSuccess() bool

IsSuccess returns true when this delete endpoint Id o k response has a 2xx status code

func (*DeleteEndpointIDOK) String added in v1.14.0

func (o *DeleteEndpointIDOK) String() string

type DeleteEndpointIDParams

type DeleteEndpointIDParams struct {

	/* ID.

	     String describing an endpoint with the format “[prefix:]id“. If no prefix
	is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints
	will be addressable by all endpoint ID prefixes with the exception of the
	local Cilium UUID which is assigned to all endpoints.

	Supported endpoint id prefixes:
	  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595
	  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343
	  - container-id: Container runtime ID, e.g. container-id:22222
	  - container-name: Container name, e.g. container-name:foobar
	  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar
	  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444

	*/
	ID string

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

DeleteEndpointIDParams contains all the parameters to send to the API endpoint

for the delete endpoint ID operation.

Typically these are written to a http.Request.

func NewDeleteEndpointIDParams

func NewDeleteEndpointIDParams() *DeleteEndpointIDParams

NewDeleteEndpointIDParams creates a new DeleteEndpointIDParams 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 NewDeleteEndpointIDParamsWithContext

func NewDeleteEndpointIDParamsWithContext(ctx context.Context) *DeleteEndpointIDParams

NewDeleteEndpointIDParamsWithContext creates a new DeleteEndpointIDParams object with the ability to set a context for a request.

func NewDeleteEndpointIDParamsWithHTTPClient

func NewDeleteEndpointIDParamsWithHTTPClient(client *http.Client) *DeleteEndpointIDParams

NewDeleteEndpointIDParamsWithHTTPClient creates a new DeleteEndpointIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEndpointIDParamsWithTimeout

func NewDeleteEndpointIDParamsWithTimeout(timeout time.Duration) *DeleteEndpointIDParams

NewDeleteEndpointIDParamsWithTimeout creates a new DeleteEndpointIDParams object with the ability to set a timeout on a request.

func (*DeleteEndpointIDParams) SetContext

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

SetContext adds the context to the delete endpoint ID params

func (*DeleteEndpointIDParams) SetDefaults added in v1.14.0

func (o *DeleteEndpointIDParams) SetDefaults()

SetDefaults hydrates default values in the delete endpoint ID params (not the query body).

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

func (*DeleteEndpointIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete endpoint ID params

func (*DeleteEndpointIDParams) SetID

func (o *DeleteEndpointIDParams) SetID(id string)

SetID adds the id to the delete endpoint ID params

func (*DeleteEndpointIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete endpoint ID params

func (*DeleteEndpointIDParams) WithContext

WithContext adds the context to the delete endpoint ID params

func (*DeleteEndpointIDParams) WithDefaults added in v1.14.0

WithDefaults hydrates default values in the delete endpoint ID params (not the query body).

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

func (*DeleteEndpointIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete endpoint ID params

func (*DeleteEndpointIDParams) WithID

WithID adds the id to the delete endpoint ID params

func (*DeleteEndpointIDParams) WithTimeout

WithTimeout adds the timeout to the delete endpoint ID params

func (*DeleteEndpointIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteEndpointIDReader

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

DeleteEndpointIDReader is a Reader for the DeleteEndpointID structure.

func (*DeleteEndpointIDReader) ReadResponse

func (o *DeleteEndpointIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteEndpointIDTooManyRequests added in v1.14.0

type DeleteEndpointIDTooManyRequests struct {
}

DeleteEndpointIDTooManyRequests describes a response with status code 429, with default header values.

Rate-limiting too many requests in the given time frame

func NewDeleteEndpointIDTooManyRequests added in v1.14.0

func NewDeleteEndpointIDTooManyRequests() *DeleteEndpointIDTooManyRequests

NewDeleteEndpointIDTooManyRequests creates a DeleteEndpointIDTooManyRequests with default headers values

func (*DeleteEndpointIDTooManyRequests) Error added in v1.14.0

func (*DeleteEndpointIDTooManyRequests) IsClientError added in v1.14.0

func (o *DeleteEndpointIDTooManyRequests) IsClientError() bool

IsClientError returns true when this delete endpoint Id too many requests response has a 4xx status code

func (*DeleteEndpointIDTooManyRequests) IsCode added in v1.14.0

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

IsCode returns true when this delete endpoint Id too many requests response a status code equal to that given

func (*DeleteEndpointIDTooManyRequests) IsRedirect added in v1.14.0

func (o *DeleteEndpointIDTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete endpoint Id too many requests response has a 3xx status code

func (*DeleteEndpointIDTooManyRequests) IsServerError added in v1.14.0

func (o *DeleteEndpointIDTooManyRequests) IsServerError() bool

IsServerError returns true when this delete endpoint Id too many requests response has a 5xx status code

func (*DeleteEndpointIDTooManyRequests) IsSuccess added in v1.14.0

func (o *DeleteEndpointIDTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete endpoint Id too many requests response has a 2xx status code

func (*DeleteEndpointIDTooManyRequests) String added in v1.14.0

type GetEndpointIDConfigNotFound

type GetEndpointIDConfigNotFound struct {
}

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

Endpoint not found

func NewGetEndpointIDConfigNotFound

func NewGetEndpointIDConfigNotFound() *GetEndpointIDConfigNotFound

NewGetEndpointIDConfigNotFound creates a GetEndpointIDConfigNotFound with default headers values

func (*GetEndpointIDConfigNotFound) Error

func (*GetEndpointIDConfigNotFound) IsClientError added in v1.14.0

func (o *GetEndpointIDConfigNotFound) IsClientError() bool

IsClientError returns true when this get endpoint Id config not found response has a 4xx status code

func (*GetEndpointIDConfigNotFound) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id config not found response a status code equal to that given

func (*GetEndpointIDConfigNotFound) IsRedirect added in v1.14.0

func (o *GetEndpointIDConfigNotFound) IsRedirect() bool

IsRedirect returns true when this get endpoint Id config not found response has a 3xx status code

func (*GetEndpointIDConfigNotFound) IsServerError added in v1.14.0

func (o *GetEndpointIDConfigNotFound) IsServerError() bool

IsServerError returns true when this get endpoint Id config not found response has a 5xx status code

func (*GetEndpointIDConfigNotFound) IsSuccess added in v1.14.0

func (o *GetEndpointIDConfigNotFound) IsSuccess() bool

IsSuccess returns true when this get endpoint Id config not found response has a 2xx status code

func (*GetEndpointIDConfigNotFound) String added in v1.14.0

func (o *GetEndpointIDConfigNotFound) String() string

type GetEndpointIDConfigOK

type GetEndpointIDConfigOK struct {
	Payload *models.EndpointConfigurationStatus
}

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

Success

func NewGetEndpointIDConfigOK

func NewGetEndpointIDConfigOK() *GetEndpointIDConfigOK

NewGetEndpointIDConfigOK creates a GetEndpointIDConfigOK with default headers values

func (*GetEndpointIDConfigOK) Error

func (o *GetEndpointIDConfigOK) Error() string

func (*GetEndpointIDConfigOK) GetPayload added in v1.14.0

func (*GetEndpointIDConfigOK) IsClientError added in v1.14.0

func (o *GetEndpointIDConfigOK) IsClientError() bool

IsClientError returns true when this get endpoint Id config o k response has a 4xx status code

func (*GetEndpointIDConfigOK) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id config o k response a status code equal to that given

func (*GetEndpointIDConfigOK) IsRedirect added in v1.14.0

func (o *GetEndpointIDConfigOK) IsRedirect() bool

IsRedirect returns true when this get endpoint Id config o k response has a 3xx status code

func (*GetEndpointIDConfigOK) IsServerError added in v1.14.0

func (o *GetEndpointIDConfigOK) IsServerError() bool

IsServerError returns true when this get endpoint Id config o k response has a 5xx status code

func (*GetEndpointIDConfigOK) IsSuccess added in v1.14.0

func (o *GetEndpointIDConfigOK) IsSuccess() bool

IsSuccess returns true when this get endpoint Id config o k response has a 2xx status code

func (*GetEndpointIDConfigOK) String added in v1.14.0

func (o *GetEndpointIDConfigOK) String() string

type GetEndpointIDConfigParams

type GetEndpointIDConfigParams struct {

	/* ID.

	     String describing an endpoint with the format “[prefix:]id“. If no prefix
	is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints
	will be addressable by all endpoint ID prefixes with the exception of the
	local Cilium UUID which is assigned to all endpoints.

	Supported endpoint id prefixes:
	  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595
	  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343
	  - container-id: Container runtime ID, e.g. container-id:22222
	  - container-name: Container name, e.g. container-name:foobar
	  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar
	  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444

	*/
	ID string

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

GetEndpointIDConfigParams contains all the parameters to send to the API endpoint

for the get endpoint ID config operation.

Typically these are written to a http.Request.

func NewGetEndpointIDConfigParams

func NewGetEndpointIDConfigParams() *GetEndpointIDConfigParams

NewGetEndpointIDConfigParams creates a new GetEndpointIDConfigParams 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 NewGetEndpointIDConfigParamsWithContext

func NewGetEndpointIDConfigParamsWithContext(ctx context.Context) *GetEndpointIDConfigParams

NewGetEndpointIDConfigParamsWithContext creates a new GetEndpointIDConfigParams object with the ability to set a context for a request.

func NewGetEndpointIDConfigParamsWithHTTPClient

func NewGetEndpointIDConfigParamsWithHTTPClient(client *http.Client) *GetEndpointIDConfigParams

NewGetEndpointIDConfigParamsWithHTTPClient creates a new GetEndpointIDConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetEndpointIDConfigParamsWithTimeout

func NewGetEndpointIDConfigParamsWithTimeout(timeout time.Duration) *GetEndpointIDConfigParams

NewGetEndpointIDConfigParamsWithTimeout creates a new GetEndpointIDConfigParams object with the ability to set a timeout on a request.

func (*GetEndpointIDConfigParams) SetContext

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

SetContext adds the context to the get endpoint ID config params

func (*GetEndpointIDConfigParams) SetDefaults added in v1.14.0

func (o *GetEndpointIDConfigParams) SetDefaults()

SetDefaults hydrates default values in the get endpoint ID config params (not the query body).

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

func (*GetEndpointIDConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get endpoint ID config params

func (*GetEndpointIDConfigParams) SetID

func (o *GetEndpointIDConfigParams) SetID(id string)

SetID adds the id to the get endpoint ID config params

func (*GetEndpointIDConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get endpoint ID config params

func (*GetEndpointIDConfigParams) WithContext

WithContext adds the context to the get endpoint ID config params

func (*GetEndpointIDConfigParams) WithDefaults added in v1.14.0

WithDefaults hydrates default values in the get endpoint ID config params (not the query body).

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

func (*GetEndpointIDConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get endpoint ID config params

func (*GetEndpointIDConfigParams) WithID

WithID adds the id to the get endpoint ID config params

func (*GetEndpointIDConfigParams) WithTimeout

WithTimeout adds the timeout to the get endpoint ID config params

func (*GetEndpointIDConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEndpointIDConfigReader

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

GetEndpointIDConfigReader is a Reader for the GetEndpointIDConfig structure.

func (*GetEndpointIDConfigReader) ReadResponse

func (o *GetEndpointIDConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEndpointIDConfigTooManyRequests added in v1.14.0

type GetEndpointIDConfigTooManyRequests struct {
}

GetEndpointIDConfigTooManyRequests describes a response with status code 429, with default header values.

Rate-limiting too many requests in the given time frame

func NewGetEndpointIDConfigTooManyRequests added in v1.14.0

func NewGetEndpointIDConfigTooManyRequests() *GetEndpointIDConfigTooManyRequests

NewGetEndpointIDConfigTooManyRequests creates a GetEndpointIDConfigTooManyRequests with default headers values

func (*GetEndpointIDConfigTooManyRequests) Error added in v1.14.0

func (*GetEndpointIDConfigTooManyRequests) IsClientError added in v1.14.0

func (o *GetEndpointIDConfigTooManyRequests) IsClientError() bool

IsClientError returns true when this get endpoint Id config too many requests response has a 4xx status code

func (*GetEndpointIDConfigTooManyRequests) IsCode added in v1.14.0

IsCode returns true when this get endpoint Id config too many requests response a status code equal to that given

func (*GetEndpointIDConfigTooManyRequests) IsRedirect added in v1.14.0

func (o *GetEndpointIDConfigTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get endpoint Id config too many requests response has a 3xx status code

func (*GetEndpointIDConfigTooManyRequests) IsServerError added in v1.14.0

func (o *GetEndpointIDConfigTooManyRequests) IsServerError() bool

IsServerError returns true when this get endpoint Id config too many requests response has a 5xx status code

func (*GetEndpointIDConfigTooManyRequests) IsSuccess added in v1.14.0

IsSuccess returns true when this get endpoint Id config too many requests response has a 2xx status code

func (*GetEndpointIDConfigTooManyRequests) String added in v1.14.0

type GetEndpointIDHealthzInvalid added in v1.5.0

type GetEndpointIDHealthzInvalid struct {
}

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

Invalid identity provided

func NewGetEndpointIDHealthzInvalid added in v1.5.0

func NewGetEndpointIDHealthzInvalid() *GetEndpointIDHealthzInvalid

NewGetEndpointIDHealthzInvalid creates a GetEndpointIDHealthzInvalid with default headers values

func (*GetEndpointIDHealthzInvalid) Error added in v1.5.0

func (*GetEndpointIDHealthzInvalid) IsClientError added in v1.14.0

func (o *GetEndpointIDHealthzInvalid) IsClientError() bool

IsClientError returns true when this get endpoint Id healthz invalid response has a 4xx status code

func (*GetEndpointIDHealthzInvalid) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id healthz invalid response a status code equal to that given

func (*GetEndpointIDHealthzInvalid) IsRedirect added in v1.14.0

func (o *GetEndpointIDHealthzInvalid) IsRedirect() bool

IsRedirect returns true when this get endpoint Id healthz invalid response has a 3xx status code

func (*GetEndpointIDHealthzInvalid) IsServerError added in v1.14.0

func (o *GetEndpointIDHealthzInvalid) IsServerError() bool

IsServerError returns true when this get endpoint Id healthz invalid response has a 5xx status code

func (*GetEndpointIDHealthzInvalid) IsSuccess added in v1.14.0

func (o *GetEndpointIDHealthzInvalid) IsSuccess() bool

IsSuccess returns true when this get endpoint Id healthz invalid response has a 2xx status code

func (*GetEndpointIDHealthzInvalid) String added in v1.14.0

func (o *GetEndpointIDHealthzInvalid) String() string

type GetEndpointIDHealthzNotFound added in v1.5.0

type GetEndpointIDHealthzNotFound struct {
}

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

Endpoint not found

func NewGetEndpointIDHealthzNotFound added in v1.5.0

func NewGetEndpointIDHealthzNotFound() *GetEndpointIDHealthzNotFound

NewGetEndpointIDHealthzNotFound creates a GetEndpointIDHealthzNotFound with default headers values

func (*GetEndpointIDHealthzNotFound) Error added in v1.5.0

func (*GetEndpointIDHealthzNotFound) IsClientError added in v1.14.0

func (o *GetEndpointIDHealthzNotFound) IsClientError() bool

IsClientError returns true when this get endpoint Id healthz not found response has a 4xx status code

func (*GetEndpointIDHealthzNotFound) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id healthz not found response a status code equal to that given

func (*GetEndpointIDHealthzNotFound) IsRedirect added in v1.14.0

func (o *GetEndpointIDHealthzNotFound) IsRedirect() bool

IsRedirect returns true when this get endpoint Id healthz not found response has a 3xx status code

func (*GetEndpointIDHealthzNotFound) IsServerError added in v1.14.0

func (o *GetEndpointIDHealthzNotFound) IsServerError() bool

IsServerError returns true when this get endpoint Id healthz not found response has a 5xx status code

func (*GetEndpointIDHealthzNotFound) IsSuccess added in v1.14.0

func (o *GetEndpointIDHealthzNotFound) IsSuccess() bool

IsSuccess returns true when this get endpoint Id healthz not found response has a 2xx status code

func (*GetEndpointIDHealthzNotFound) String added in v1.14.0

type GetEndpointIDHealthzOK added in v1.5.0

type GetEndpointIDHealthzOK struct {
	Payload *models.EndpointHealth
}

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

Success

func NewGetEndpointIDHealthzOK added in v1.5.0

func NewGetEndpointIDHealthzOK() *GetEndpointIDHealthzOK

NewGetEndpointIDHealthzOK creates a GetEndpointIDHealthzOK with default headers values

func (*GetEndpointIDHealthzOK) Error added in v1.5.0

func (o *GetEndpointIDHealthzOK) Error() string

func (*GetEndpointIDHealthzOK) GetPayload added in v1.14.0

func (o *GetEndpointIDHealthzOK) GetPayload() *models.EndpointHealth

func (*GetEndpointIDHealthzOK) IsClientError added in v1.14.0

func (o *GetEndpointIDHealthzOK) IsClientError() bool

IsClientError returns true when this get endpoint Id healthz o k response has a 4xx status code

func (*GetEndpointIDHealthzOK) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id healthz o k response a status code equal to that given

func (*GetEndpointIDHealthzOK) IsRedirect added in v1.14.0

func (o *GetEndpointIDHealthzOK) IsRedirect() bool

IsRedirect returns true when this get endpoint Id healthz o k response has a 3xx status code

func (*GetEndpointIDHealthzOK) IsServerError added in v1.14.0

func (o *GetEndpointIDHealthzOK) IsServerError() bool

IsServerError returns true when this get endpoint Id healthz o k response has a 5xx status code

func (*GetEndpointIDHealthzOK) IsSuccess added in v1.14.0

func (o *GetEndpointIDHealthzOK) IsSuccess() bool

IsSuccess returns true when this get endpoint Id healthz o k response has a 2xx status code

func (*GetEndpointIDHealthzOK) String added in v1.14.0

func (o *GetEndpointIDHealthzOK) String() string

type GetEndpointIDHealthzParams added in v1.5.0

type GetEndpointIDHealthzParams struct {

	/* ID.

	     String describing an endpoint with the format “[prefix:]id“. If no prefix
	is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints
	will be addressable by all endpoint ID prefixes with the exception of the
	local Cilium UUID which is assigned to all endpoints.

	Supported endpoint id prefixes:
	  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595
	  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343
	  - container-id: Container runtime ID, e.g. container-id:22222
	  - container-name: Container name, e.g. container-name:foobar
	  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar
	  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444

	*/
	ID string

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

GetEndpointIDHealthzParams contains all the parameters to send to the API endpoint

for the get endpoint ID healthz operation.

Typically these are written to a http.Request.

func NewGetEndpointIDHealthzParams added in v1.5.0

func NewGetEndpointIDHealthzParams() *GetEndpointIDHealthzParams

NewGetEndpointIDHealthzParams creates a new GetEndpointIDHealthzParams 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 NewGetEndpointIDHealthzParamsWithContext added in v1.5.0

func NewGetEndpointIDHealthzParamsWithContext(ctx context.Context) *GetEndpointIDHealthzParams

NewGetEndpointIDHealthzParamsWithContext creates a new GetEndpointIDHealthzParams object with the ability to set a context for a request.

func NewGetEndpointIDHealthzParamsWithHTTPClient added in v1.5.0

func NewGetEndpointIDHealthzParamsWithHTTPClient(client *http.Client) *GetEndpointIDHealthzParams

NewGetEndpointIDHealthzParamsWithHTTPClient creates a new GetEndpointIDHealthzParams object with the ability to set a custom HTTPClient for a request.

func NewGetEndpointIDHealthzParamsWithTimeout added in v1.5.0

func NewGetEndpointIDHealthzParamsWithTimeout(timeout time.Duration) *GetEndpointIDHealthzParams

NewGetEndpointIDHealthzParamsWithTimeout creates a new GetEndpointIDHealthzParams object with the ability to set a timeout on a request.

func (*GetEndpointIDHealthzParams) SetContext added in v1.5.0

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

SetContext adds the context to the get endpoint ID healthz params

func (*GetEndpointIDHealthzParams) SetDefaults added in v1.14.0

func (o *GetEndpointIDHealthzParams) SetDefaults()

SetDefaults hydrates default values in the get endpoint ID healthz params (not the query body).

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

func (*GetEndpointIDHealthzParams) SetHTTPClient added in v1.5.0

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

SetHTTPClient adds the HTTPClient to the get endpoint ID healthz params

func (*GetEndpointIDHealthzParams) SetID added in v1.5.0

func (o *GetEndpointIDHealthzParams) SetID(id string)

SetID adds the id to the get endpoint ID healthz params

func (*GetEndpointIDHealthzParams) SetTimeout added in v1.5.0

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

SetTimeout adds the timeout to the get endpoint ID healthz params

func (*GetEndpointIDHealthzParams) WithContext added in v1.5.0

WithContext adds the context to the get endpoint ID healthz params

func (*GetEndpointIDHealthzParams) WithDefaults added in v1.14.0

WithDefaults hydrates default values in the get endpoint ID healthz params (not the query body).

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

func (*GetEndpointIDHealthzParams) WithHTTPClient added in v1.5.0

WithHTTPClient adds the HTTPClient to the get endpoint ID healthz params

func (*GetEndpointIDHealthzParams) WithID added in v1.5.0

WithID adds the id to the get endpoint ID healthz params

func (*GetEndpointIDHealthzParams) WithTimeout added in v1.5.0

WithTimeout adds the timeout to the get endpoint ID healthz params

func (*GetEndpointIDHealthzParams) WriteToRequest added in v1.5.0

WriteToRequest writes these params to a swagger request

type GetEndpointIDHealthzReader added in v1.5.0

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

GetEndpointIDHealthzReader is a Reader for the GetEndpointIDHealthz structure.

func (*GetEndpointIDHealthzReader) ReadResponse added in v1.5.0

func (o *GetEndpointIDHealthzReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEndpointIDHealthzTooManyRequests added in v1.14.0

type GetEndpointIDHealthzTooManyRequests struct {
}

GetEndpointIDHealthzTooManyRequests describes a response with status code 429, with default header values.

Rate-limiting too many requests in the given time frame

func NewGetEndpointIDHealthzTooManyRequests added in v1.14.0

func NewGetEndpointIDHealthzTooManyRequests() *GetEndpointIDHealthzTooManyRequests

NewGetEndpointIDHealthzTooManyRequests creates a GetEndpointIDHealthzTooManyRequests with default headers values

func (*GetEndpointIDHealthzTooManyRequests) Error added in v1.14.0

func (*GetEndpointIDHealthzTooManyRequests) IsClientError added in v1.14.0

func (o *GetEndpointIDHealthzTooManyRequests) IsClientError() bool

IsClientError returns true when this get endpoint Id healthz too many requests response has a 4xx status code

func (*GetEndpointIDHealthzTooManyRequests) IsCode added in v1.14.0

IsCode returns true when this get endpoint Id healthz too many requests response a status code equal to that given

func (*GetEndpointIDHealthzTooManyRequests) IsRedirect added in v1.14.0

func (o *GetEndpointIDHealthzTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get endpoint Id healthz too many requests response has a 3xx status code

func (*GetEndpointIDHealthzTooManyRequests) IsServerError added in v1.14.0

func (o *GetEndpointIDHealthzTooManyRequests) IsServerError() bool

IsServerError returns true when this get endpoint Id healthz too many requests response has a 5xx status code

func (*GetEndpointIDHealthzTooManyRequests) IsSuccess added in v1.14.0

IsSuccess returns true when this get endpoint Id healthz too many requests response has a 2xx status code

func (*GetEndpointIDHealthzTooManyRequests) String added in v1.14.0

type GetEndpointIDInvalid

type GetEndpointIDInvalid struct {
	Payload models.Error
}

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

Invalid endpoint ID format for specified type

func NewGetEndpointIDInvalid

func NewGetEndpointIDInvalid() *GetEndpointIDInvalid

NewGetEndpointIDInvalid creates a GetEndpointIDInvalid with default headers values

func (*GetEndpointIDInvalid) Error

func (o *GetEndpointIDInvalid) Error() string

func (*GetEndpointIDInvalid) GetPayload added in v1.14.0

func (o *GetEndpointIDInvalid) GetPayload() models.Error

func (*GetEndpointIDInvalid) IsClientError added in v1.14.0

func (o *GetEndpointIDInvalid) IsClientError() bool

IsClientError returns true when this get endpoint Id invalid response has a 4xx status code

func (*GetEndpointIDInvalid) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id invalid response a status code equal to that given

func (*GetEndpointIDInvalid) IsRedirect added in v1.14.0

func (o *GetEndpointIDInvalid) IsRedirect() bool

IsRedirect returns true when this get endpoint Id invalid response has a 3xx status code

func (*GetEndpointIDInvalid) IsServerError added in v1.14.0

func (o *GetEndpointIDInvalid) IsServerError() bool

IsServerError returns true when this get endpoint Id invalid response has a 5xx status code

func (*GetEndpointIDInvalid) IsSuccess added in v1.14.0

func (o *GetEndpointIDInvalid) IsSuccess() bool

IsSuccess returns true when this get endpoint Id invalid response has a 2xx status code

func (*GetEndpointIDInvalid) String added in v1.14.0

func (o *GetEndpointIDInvalid) String() string

type GetEndpointIDLabelsNotFound

type GetEndpointIDLabelsNotFound struct {
}

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

Endpoint not found

func NewGetEndpointIDLabelsNotFound

func NewGetEndpointIDLabelsNotFound() *GetEndpointIDLabelsNotFound

NewGetEndpointIDLabelsNotFound creates a GetEndpointIDLabelsNotFound with default headers values

func (*GetEndpointIDLabelsNotFound) Error

func (*GetEndpointIDLabelsNotFound) IsClientError added in v1.14.0

func (o *GetEndpointIDLabelsNotFound) IsClientError() bool

IsClientError returns true when this get endpoint Id labels not found response has a 4xx status code

func (*GetEndpointIDLabelsNotFound) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id labels not found response a status code equal to that given

func (*GetEndpointIDLabelsNotFound) IsRedirect added in v1.14.0

func (o *GetEndpointIDLabelsNotFound) IsRedirect() bool

IsRedirect returns true when this get endpoint Id labels not found response has a 3xx status code

func (*GetEndpointIDLabelsNotFound) IsServerError added in v1.14.0

func (o *GetEndpointIDLabelsNotFound) IsServerError() bool

IsServerError returns true when this get endpoint Id labels not found response has a 5xx status code

func (*GetEndpointIDLabelsNotFound) IsSuccess added in v1.14.0

func (o *GetEndpointIDLabelsNotFound) IsSuccess() bool

IsSuccess returns true when this get endpoint Id labels not found response has a 2xx status code

func (*GetEndpointIDLabelsNotFound) String added in v1.14.0

func (o *GetEndpointIDLabelsNotFound) String() string

type GetEndpointIDLabelsOK

type GetEndpointIDLabelsOK struct {
	Payload *models.LabelConfiguration
}

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

Success

func NewGetEndpointIDLabelsOK

func NewGetEndpointIDLabelsOK() *GetEndpointIDLabelsOK

NewGetEndpointIDLabelsOK creates a GetEndpointIDLabelsOK with default headers values

func (*GetEndpointIDLabelsOK) Error

func (o *GetEndpointIDLabelsOK) Error() string

func (*GetEndpointIDLabelsOK) GetPayload added in v1.14.0

func (*GetEndpointIDLabelsOK) IsClientError added in v1.14.0

func (o *GetEndpointIDLabelsOK) IsClientError() bool

IsClientError returns true when this get endpoint Id labels o k response has a 4xx status code

func (*GetEndpointIDLabelsOK) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id labels o k response a status code equal to that given

func (*GetEndpointIDLabelsOK) IsRedirect added in v1.14.0

func (o *GetEndpointIDLabelsOK) IsRedirect() bool

IsRedirect returns true when this get endpoint Id labels o k response has a 3xx status code

func (*GetEndpointIDLabelsOK) IsServerError added in v1.14.0

func (o *GetEndpointIDLabelsOK) IsServerError() bool

IsServerError returns true when this get endpoint Id labels o k response has a 5xx status code

func (*GetEndpointIDLabelsOK) IsSuccess added in v1.14.0

func (o *GetEndpointIDLabelsOK) IsSuccess() bool

IsSuccess returns true when this get endpoint Id labels o k response has a 2xx status code

func (*GetEndpointIDLabelsOK) String added in v1.14.0

func (o *GetEndpointIDLabelsOK) String() string

type GetEndpointIDLabelsParams

type GetEndpointIDLabelsParams struct {

	/* ID.

	     String describing an endpoint with the format “[prefix:]id“. If no prefix
	is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints
	will be addressable by all endpoint ID prefixes with the exception of the
	local Cilium UUID which is assigned to all endpoints.

	Supported endpoint id prefixes:
	  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595
	  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343
	  - container-id: Container runtime ID, e.g. container-id:22222
	  - container-name: Container name, e.g. container-name:foobar
	  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar
	  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444

	*/
	ID string

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

GetEndpointIDLabelsParams contains all the parameters to send to the API endpoint

for the get endpoint ID labels operation.

Typically these are written to a http.Request.

func NewGetEndpointIDLabelsParams

func NewGetEndpointIDLabelsParams() *GetEndpointIDLabelsParams

NewGetEndpointIDLabelsParams creates a new GetEndpointIDLabelsParams 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 NewGetEndpointIDLabelsParamsWithContext

func NewGetEndpointIDLabelsParamsWithContext(ctx context.Context) *GetEndpointIDLabelsParams

NewGetEndpointIDLabelsParamsWithContext creates a new GetEndpointIDLabelsParams object with the ability to set a context for a request.

func NewGetEndpointIDLabelsParamsWithHTTPClient

func NewGetEndpointIDLabelsParamsWithHTTPClient(client *http.Client) *GetEndpointIDLabelsParams

NewGetEndpointIDLabelsParamsWithHTTPClient creates a new GetEndpointIDLabelsParams object with the ability to set a custom HTTPClient for a request.

func NewGetEndpointIDLabelsParamsWithTimeout

func NewGetEndpointIDLabelsParamsWithTimeout(timeout time.Duration) *GetEndpointIDLabelsParams

NewGetEndpointIDLabelsParamsWithTimeout creates a new GetEndpointIDLabelsParams object with the ability to set a timeout on a request.

func (*GetEndpointIDLabelsParams) SetContext

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

SetContext adds the context to the get endpoint ID labels params

func (*GetEndpointIDLabelsParams) SetDefaults added in v1.14.0

func (o *GetEndpointIDLabelsParams) SetDefaults()

SetDefaults hydrates default values in the get endpoint ID labels params (not the query body).

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

func (*GetEndpointIDLabelsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get endpoint ID labels params

func (*GetEndpointIDLabelsParams) SetID

func (o *GetEndpointIDLabelsParams) SetID(id string)

SetID adds the id to the get endpoint ID labels params

func (*GetEndpointIDLabelsParams) SetTimeout

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

SetTimeout adds the timeout to the get endpoint ID labels params

func (*GetEndpointIDLabelsParams) WithContext

WithContext adds the context to the get endpoint ID labels params

func (*GetEndpointIDLabelsParams) WithDefaults added in v1.14.0

WithDefaults hydrates default values in the get endpoint ID labels params (not the query body).

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

func (*GetEndpointIDLabelsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get endpoint ID labels params

func (*GetEndpointIDLabelsParams) WithID

WithID adds the id to the get endpoint ID labels params

func (*GetEndpointIDLabelsParams) WithTimeout

WithTimeout adds the timeout to the get endpoint ID labels params

func (*GetEndpointIDLabelsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEndpointIDLabelsReader

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

GetEndpointIDLabelsReader is a Reader for the GetEndpointIDLabels structure.

func (*GetEndpointIDLabelsReader) ReadResponse

func (o *GetEndpointIDLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEndpointIDLabelsTooManyRequests added in v1.14.0

type GetEndpointIDLabelsTooManyRequests struct {
}

GetEndpointIDLabelsTooManyRequests describes a response with status code 429, with default header values.

Rate-limiting too many requests in the given time frame

func NewGetEndpointIDLabelsTooManyRequests added in v1.14.0

func NewGetEndpointIDLabelsTooManyRequests() *GetEndpointIDLabelsTooManyRequests

NewGetEndpointIDLabelsTooManyRequests creates a GetEndpointIDLabelsTooManyRequests with default headers values

func (*GetEndpointIDLabelsTooManyRequests) Error added in v1.14.0

func (*GetEndpointIDLabelsTooManyRequests) IsClientError added in v1.14.0

func (o *GetEndpointIDLabelsTooManyRequests) IsClientError() bool

IsClientError returns true when this get endpoint Id labels too many requests response has a 4xx status code

func (*GetEndpointIDLabelsTooManyRequests) IsCode added in v1.14.0

IsCode returns true when this get endpoint Id labels too many requests response a status code equal to that given

func (*GetEndpointIDLabelsTooManyRequests) IsRedirect added in v1.14.0

func (o *GetEndpointIDLabelsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get endpoint Id labels too many requests response has a 3xx status code

func (*GetEndpointIDLabelsTooManyRequests) IsServerError added in v1.14.0

func (o *GetEndpointIDLabelsTooManyRequests) IsServerError() bool

IsServerError returns true when this get endpoint Id labels too many requests response has a 5xx status code

func (*GetEndpointIDLabelsTooManyRequests) IsSuccess added in v1.14.0

IsSuccess returns true when this get endpoint Id labels too many requests response has a 2xx status code

func (*GetEndpointIDLabelsTooManyRequests) String added in v1.14.0

type GetEndpointIDLogInvalid added in v1.5.0

type GetEndpointIDLogInvalid struct {
}

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

Invalid identity provided

func NewGetEndpointIDLogInvalid added in v1.5.0

func NewGetEndpointIDLogInvalid() *GetEndpointIDLogInvalid

NewGetEndpointIDLogInvalid creates a GetEndpointIDLogInvalid with default headers values

func (*GetEndpointIDLogInvalid) Error added in v1.5.0

func (o *GetEndpointIDLogInvalid) Error() string

func (*GetEndpointIDLogInvalid) IsClientError added in v1.14.0

func (o *GetEndpointIDLogInvalid) IsClientError() bool

IsClientError returns true when this get endpoint Id log invalid response has a 4xx status code

func (*GetEndpointIDLogInvalid) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id log invalid response a status code equal to that given

func (*GetEndpointIDLogInvalid) IsRedirect added in v1.14.0

func (o *GetEndpointIDLogInvalid) IsRedirect() bool

IsRedirect returns true when this get endpoint Id log invalid response has a 3xx status code

func (*GetEndpointIDLogInvalid) IsServerError added in v1.14.0

func (o *GetEndpointIDLogInvalid) IsServerError() bool

IsServerError returns true when this get endpoint Id log invalid response has a 5xx status code

func (*GetEndpointIDLogInvalid) IsSuccess added in v1.14.0

func (o *GetEndpointIDLogInvalid) IsSuccess() bool

IsSuccess returns true when this get endpoint Id log invalid response has a 2xx status code

func (*GetEndpointIDLogInvalid) String added in v1.14.0

func (o *GetEndpointIDLogInvalid) String() string

type GetEndpointIDLogNotFound added in v1.5.0

type GetEndpointIDLogNotFound struct {
}

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

Endpoint not found

func NewGetEndpointIDLogNotFound added in v1.5.0

func NewGetEndpointIDLogNotFound() *GetEndpointIDLogNotFound

NewGetEndpointIDLogNotFound creates a GetEndpointIDLogNotFound with default headers values

func (*GetEndpointIDLogNotFound) Error added in v1.5.0

func (o *GetEndpointIDLogNotFound) Error() string

func (*GetEndpointIDLogNotFound) IsClientError added in v1.14.0

func (o *GetEndpointIDLogNotFound) IsClientError() bool

IsClientError returns true when this get endpoint Id log not found response has a 4xx status code

func (*GetEndpointIDLogNotFound) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id log not found response a status code equal to that given

func (*GetEndpointIDLogNotFound) IsRedirect added in v1.14.0

func (o *GetEndpointIDLogNotFound) IsRedirect() bool

IsRedirect returns true when this get endpoint Id log not found response has a 3xx status code

func (*GetEndpointIDLogNotFound) IsServerError added in v1.14.0

func (o *GetEndpointIDLogNotFound) IsServerError() bool

IsServerError returns true when this get endpoint Id log not found response has a 5xx status code

func (*GetEndpointIDLogNotFound) IsSuccess added in v1.14.0

func (o *GetEndpointIDLogNotFound) IsSuccess() bool

IsSuccess returns true when this get endpoint Id log not found response has a 2xx status code

func (*GetEndpointIDLogNotFound) String added in v1.14.0

func (o *GetEndpointIDLogNotFound) String() string

type GetEndpointIDLogOK added in v1.5.0

type GetEndpointIDLogOK struct {
	Payload models.EndpointStatusLog
}

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

Success

func NewGetEndpointIDLogOK added in v1.5.0

func NewGetEndpointIDLogOK() *GetEndpointIDLogOK

NewGetEndpointIDLogOK creates a GetEndpointIDLogOK with default headers values

func (*GetEndpointIDLogOK) Error added in v1.5.0

func (o *GetEndpointIDLogOK) Error() string

func (*GetEndpointIDLogOK) GetPayload added in v1.14.0

func (*GetEndpointIDLogOK) IsClientError added in v1.14.0

func (o *GetEndpointIDLogOK) IsClientError() bool

IsClientError returns true when this get endpoint Id log o k response has a 4xx status code

func (*GetEndpointIDLogOK) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id log o k response a status code equal to that given

func (*GetEndpointIDLogOK) IsRedirect added in v1.14.0

func (o *GetEndpointIDLogOK) IsRedirect() bool

IsRedirect returns true when this get endpoint Id log o k response has a 3xx status code

func (*GetEndpointIDLogOK) IsServerError added in v1.14.0

func (o *GetEndpointIDLogOK) IsServerError() bool

IsServerError returns true when this get endpoint Id log o k response has a 5xx status code

func (*GetEndpointIDLogOK) IsSuccess added in v1.14.0

func (o *GetEndpointIDLogOK) IsSuccess() bool

IsSuccess returns true when this get endpoint Id log o k response has a 2xx status code

func (*GetEndpointIDLogOK) String added in v1.14.0

func (o *GetEndpointIDLogOK) String() string

type GetEndpointIDLogParams added in v1.5.0

type GetEndpointIDLogParams struct {

	/* ID.

	     String describing an endpoint with the format “[prefix:]id“. If no prefix
	is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints
	will be addressable by all endpoint ID prefixes with the exception of the
	local Cilium UUID which is assigned to all endpoints.

	Supported endpoint id prefixes:
	  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595
	  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343
	  - container-id: Container runtime ID, e.g. container-id:22222
	  - container-name: Container name, e.g. container-name:foobar
	  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar
	  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444

	*/
	ID string

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

GetEndpointIDLogParams contains all the parameters to send to the API endpoint

for the get endpoint ID log operation.

Typically these are written to a http.Request.

func NewGetEndpointIDLogParams added in v1.5.0

func NewGetEndpointIDLogParams() *GetEndpointIDLogParams

NewGetEndpointIDLogParams creates a new GetEndpointIDLogParams 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 NewGetEndpointIDLogParamsWithContext added in v1.5.0

func NewGetEndpointIDLogParamsWithContext(ctx context.Context) *GetEndpointIDLogParams

NewGetEndpointIDLogParamsWithContext creates a new GetEndpointIDLogParams object with the ability to set a context for a request.

func NewGetEndpointIDLogParamsWithHTTPClient added in v1.5.0

func NewGetEndpointIDLogParamsWithHTTPClient(client *http.Client) *GetEndpointIDLogParams

NewGetEndpointIDLogParamsWithHTTPClient creates a new GetEndpointIDLogParams object with the ability to set a custom HTTPClient for a request.

func NewGetEndpointIDLogParamsWithTimeout added in v1.5.0

func NewGetEndpointIDLogParamsWithTimeout(timeout time.Duration) *GetEndpointIDLogParams

NewGetEndpointIDLogParamsWithTimeout creates a new GetEndpointIDLogParams object with the ability to set a timeout on a request.

func (*GetEndpointIDLogParams) SetContext added in v1.5.0

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

SetContext adds the context to the get endpoint ID log params

func (*GetEndpointIDLogParams) SetDefaults added in v1.14.0

func (o *GetEndpointIDLogParams) SetDefaults()

SetDefaults hydrates default values in the get endpoint ID log params (not the query body).

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

func (*GetEndpointIDLogParams) SetHTTPClient added in v1.5.0

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

SetHTTPClient adds the HTTPClient to the get endpoint ID log params

func (*GetEndpointIDLogParams) SetID added in v1.5.0

func (o *GetEndpointIDLogParams) SetID(id string)

SetID adds the id to the get endpoint ID log params

func (*GetEndpointIDLogParams) SetTimeout added in v1.5.0

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

SetTimeout adds the timeout to the get endpoint ID log params

func (*GetEndpointIDLogParams) WithContext added in v1.5.0

WithContext adds the context to the get endpoint ID log params

func (*GetEndpointIDLogParams) WithDefaults added in v1.14.0

WithDefaults hydrates default values in the get endpoint ID log params (not the query body).

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

func (*GetEndpointIDLogParams) WithHTTPClient added in v1.5.0

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

WithHTTPClient adds the HTTPClient to the get endpoint ID log params

func (*GetEndpointIDLogParams) WithID added in v1.5.0

WithID adds the id to the get endpoint ID log params

func (*GetEndpointIDLogParams) WithTimeout added in v1.5.0

WithTimeout adds the timeout to the get endpoint ID log params

func (*GetEndpointIDLogParams) WriteToRequest added in v1.5.0

WriteToRequest writes these params to a swagger request

type GetEndpointIDLogReader added in v1.5.0

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

GetEndpointIDLogReader is a Reader for the GetEndpointIDLog structure.

func (*GetEndpointIDLogReader) ReadResponse added in v1.5.0

func (o *GetEndpointIDLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEndpointIDLogTooManyRequests added in v1.14.0

type GetEndpointIDLogTooManyRequests struct {
}

GetEndpointIDLogTooManyRequests describes a response with status code 429, with default header values.

Rate-limiting too many requests in the given time frame

func NewGetEndpointIDLogTooManyRequests added in v1.14.0

func NewGetEndpointIDLogTooManyRequests() *GetEndpointIDLogTooManyRequests

NewGetEndpointIDLogTooManyRequests creates a GetEndpointIDLogTooManyRequests with default headers values

func (*GetEndpointIDLogTooManyRequests) Error added in v1.14.0

func (*GetEndpointIDLogTooManyRequests) IsClientError added in v1.14.0

func (o *GetEndpointIDLogTooManyRequests) IsClientError() bool

IsClientError returns true when this get endpoint Id log too many requests response has a 4xx status code

func (*GetEndpointIDLogTooManyRequests) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id log too many requests response a status code equal to that given

func (*GetEndpointIDLogTooManyRequests) IsRedirect added in v1.14.0

func (o *GetEndpointIDLogTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get endpoint Id log too many requests response has a 3xx status code

func (*GetEndpointIDLogTooManyRequests) IsServerError added in v1.14.0

func (o *GetEndpointIDLogTooManyRequests) IsServerError() bool

IsServerError returns true when this get endpoint Id log too many requests response has a 5xx status code

func (*GetEndpointIDLogTooManyRequests) IsSuccess added in v1.14.0

func (o *GetEndpointIDLogTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get endpoint Id log too many requests response has a 2xx status code

func (*GetEndpointIDLogTooManyRequests) String added in v1.14.0

type GetEndpointIDNotFound

type GetEndpointIDNotFound struct {
}

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

Endpoint not found

func NewGetEndpointIDNotFound

func NewGetEndpointIDNotFound() *GetEndpointIDNotFound

NewGetEndpointIDNotFound creates a GetEndpointIDNotFound with default headers values

func (*GetEndpointIDNotFound) Error

func (o *GetEndpointIDNotFound) Error() string

func (*GetEndpointIDNotFound) IsClientError added in v1.14.0

func (o *GetEndpointIDNotFound) IsClientError() bool

IsClientError returns true when this get endpoint Id not found response has a 4xx status code

func (*GetEndpointIDNotFound) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id not found response a status code equal to that given

func (*GetEndpointIDNotFound) IsRedirect added in v1.14.0

func (o *GetEndpointIDNotFound) IsRedirect() bool

IsRedirect returns true when this get endpoint Id not found response has a 3xx status code

func (*GetEndpointIDNotFound) IsServerError added in v1.14.0

func (o *GetEndpointIDNotFound) IsServerError() bool

IsServerError returns true when this get endpoint Id not found response has a 5xx status code

func (*GetEndpointIDNotFound) IsSuccess added in v1.14.0

func (o *GetEndpointIDNotFound) IsSuccess() bool

IsSuccess returns true when this get endpoint Id not found response has a 2xx status code

func (*GetEndpointIDNotFound) String added in v1.14.0

func (o *GetEndpointIDNotFound) String() string

type GetEndpointIDOK

type GetEndpointIDOK struct {
	Payload *models.Endpoint
}

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

Success

func NewGetEndpointIDOK

func NewGetEndpointIDOK() *GetEndpointIDOK

NewGetEndpointIDOK creates a GetEndpointIDOK with default headers values

func (*GetEndpointIDOK) Error

func (o *GetEndpointIDOK) Error() string

func (*GetEndpointIDOK) GetPayload added in v1.14.0

func (o *GetEndpointIDOK) GetPayload() *models.Endpoint

func (*GetEndpointIDOK) IsClientError added in v1.14.0

func (o *GetEndpointIDOK) IsClientError() bool

IsClientError returns true when this get endpoint Id o k response has a 4xx status code

func (*GetEndpointIDOK) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id o k response a status code equal to that given

func (*GetEndpointIDOK) IsRedirect added in v1.14.0

func (o *GetEndpointIDOK) IsRedirect() bool

IsRedirect returns true when this get endpoint Id o k response has a 3xx status code

func (*GetEndpointIDOK) IsServerError added in v1.14.0

func (o *GetEndpointIDOK) IsServerError() bool

IsServerError returns true when this get endpoint Id o k response has a 5xx status code

func (*GetEndpointIDOK) IsSuccess added in v1.14.0

func (o *GetEndpointIDOK) IsSuccess() bool

IsSuccess returns true when this get endpoint Id o k response has a 2xx status code

func (*GetEndpointIDOK) String added in v1.14.0

func (o *GetEndpointIDOK) String() string

type GetEndpointIDParams

type GetEndpointIDParams struct {

	/* ID.

	     String describing an endpoint with the format “[prefix:]id“. If no prefix
	is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints
	will be addressable by all endpoint ID prefixes with the exception of the
	local Cilium UUID which is assigned to all endpoints.

	Supported endpoint id prefixes:
	  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595
	  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343
	  - container-id: Container runtime ID, e.g. container-id:22222
	  - container-name: Container name, e.g. container-name:foobar
	  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar
	  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444

	*/
	ID string

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

GetEndpointIDParams contains all the parameters to send to the API endpoint

for the get endpoint ID operation.

Typically these are written to a http.Request.

func NewGetEndpointIDParams

func NewGetEndpointIDParams() *GetEndpointIDParams

NewGetEndpointIDParams creates a new GetEndpointIDParams 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 NewGetEndpointIDParamsWithContext

func NewGetEndpointIDParamsWithContext(ctx context.Context) *GetEndpointIDParams

NewGetEndpointIDParamsWithContext creates a new GetEndpointIDParams object with the ability to set a context for a request.

func NewGetEndpointIDParamsWithHTTPClient

func NewGetEndpointIDParamsWithHTTPClient(client *http.Client) *GetEndpointIDParams

NewGetEndpointIDParamsWithHTTPClient creates a new GetEndpointIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetEndpointIDParamsWithTimeout

func NewGetEndpointIDParamsWithTimeout(timeout time.Duration) *GetEndpointIDParams

NewGetEndpointIDParamsWithTimeout creates a new GetEndpointIDParams object with the ability to set a timeout on a request.

func (*GetEndpointIDParams) SetContext

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

SetContext adds the context to the get endpoint ID params

func (*GetEndpointIDParams) SetDefaults added in v1.14.0

func (o *GetEndpointIDParams) SetDefaults()

SetDefaults hydrates default values in the get endpoint ID params (not the query body).

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

func (*GetEndpointIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get endpoint ID params

func (*GetEndpointIDParams) SetID

func (o *GetEndpointIDParams) SetID(id string)

SetID adds the id to the get endpoint ID params

func (*GetEndpointIDParams) SetTimeout

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

SetTimeout adds the timeout to the get endpoint ID params

func (*GetEndpointIDParams) WithContext

WithContext adds the context to the get endpoint ID params

func (*GetEndpointIDParams) WithDefaults added in v1.14.0

func (o *GetEndpointIDParams) WithDefaults() *GetEndpointIDParams

WithDefaults hydrates default values in the get endpoint ID params (not the query body).

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

func (*GetEndpointIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get endpoint ID params

func (*GetEndpointIDParams) WithID

WithID adds the id to the get endpoint ID params

func (*GetEndpointIDParams) WithTimeout

func (o *GetEndpointIDParams) WithTimeout(timeout time.Duration) *GetEndpointIDParams

WithTimeout adds the timeout to the get endpoint ID params

func (*GetEndpointIDParams) WriteToRequest

func (o *GetEndpointIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetEndpointIDReader

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

GetEndpointIDReader is a Reader for the GetEndpointID structure.

func (*GetEndpointIDReader) ReadResponse

func (o *GetEndpointIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEndpointIDTooManyRequests added in v1.14.0

type GetEndpointIDTooManyRequests struct {
}

GetEndpointIDTooManyRequests describes a response with status code 429, with default header values.

Rate-limiting too many requests in the given time frame

func NewGetEndpointIDTooManyRequests added in v1.14.0

func NewGetEndpointIDTooManyRequests() *GetEndpointIDTooManyRequests

NewGetEndpointIDTooManyRequests creates a GetEndpointIDTooManyRequests with default headers values

func (*GetEndpointIDTooManyRequests) Error added in v1.14.0

func (*GetEndpointIDTooManyRequests) IsClientError added in v1.14.0

func (o *GetEndpointIDTooManyRequests) IsClientError() bool

IsClientError returns true when this get endpoint Id too many requests response has a 4xx status code

func (*GetEndpointIDTooManyRequests) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint Id too many requests response a status code equal to that given

func (*GetEndpointIDTooManyRequests) IsRedirect added in v1.14.0

func (o *GetEndpointIDTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get endpoint Id too many requests response has a 3xx status code

func (*GetEndpointIDTooManyRequests) IsServerError added in v1.14.0

func (o *GetEndpointIDTooManyRequests) IsServerError() bool

IsServerError returns true when this get endpoint Id too many requests response has a 5xx status code

func (*GetEndpointIDTooManyRequests) IsSuccess added in v1.14.0

func (o *GetEndpointIDTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get endpoint Id too many requests response has a 2xx status code

func (*GetEndpointIDTooManyRequests) String added in v1.14.0

type GetEndpointNotFound added in v0.10.0

type GetEndpointNotFound struct {
}

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

Endpoints with provided parameters not found

func NewGetEndpointNotFound added in v0.10.0

func NewGetEndpointNotFound() *GetEndpointNotFound

NewGetEndpointNotFound creates a GetEndpointNotFound with default headers values

func (*GetEndpointNotFound) Error added in v0.10.0

func (o *GetEndpointNotFound) Error() string

func (*GetEndpointNotFound) IsClientError added in v1.14.0

func (o *GetEndpointNotFound) IsClientError() bool

IsClientError returns true when this get endpoint not found response has a 4xx status code

func (*GetEndpointNotFound) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint not found response a status code equal to that given

func (*GetEndpointNotFound) IsRedirect added in v1.14.0

func (o *GetEndpointNotFound) IsRedirect() bool

IsRedirect returns true when this get endpoint not found response has a 3xx status code

func (*GetEndpointNotFound) IsServerError added in v1.14.0

func (o *GetEndpointNotFound) IsServerError() bool

IsServerError returns true when this get endpoint not found response has a 5xx status code

func (*GetEndpointNotFound) IsSuccess added in v1.14.0

func (o *GetEndpointNotFound) IsSuccess() bool

IsSuccess returns true when this get endpoint not found response has a 2xx status code

func (*GetEndpointNotFound) String added in v1.14.0

func (o *GetEndpointNotFound) String() string

type GetEndpointOK

type GetEndpointOK struct {
	Payload []*models.Endpoint
}

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

Success

func NewGetEndpointOK

func NewGetEndpointOK() *GetEndpointOK

NewGetEndpointOK creates a GetEndpointOK with default headers values

func (*GetEndpointOK) Error

func (o *GetEndpointOK) Error() string

func (*GetEndpointOK) GetPayload added in v1.14.0

func (o *GetEndpointOK) GetPayload() []*models.Endpoint

func (*GetEndpointOK) IsClientError added in v1.14.0

func (o *GetEndpointOK) IsClientError() bool

IsClientError returns true when this get endpoint o k response has a 4xx status code

func (*GetEndpointOK) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint o k response a status code equal to that given

func (*GetEndpointOK) IsRedirect added in v1.14.0

func (o *GetEndpointOK) IsRedirect() bool

IsRedirect returns true when this get endpoint o k response has a 3xx status code

func (*GetEndpointOK) IsServerError added in v1.14.0

func (o *GetEndpointOK) IsServerError() bool

IsServerError returns true when this get endpoint o k response has a 5xx status code

func (*GetEndpointOK) IsSuccess added in v1.14.0

func (o *GetEndpointOK) IsSuccess() bool

IsSuccess returns true when this get endpoint o k response has a 2xx status code

func (*GetEndpointOK) String added in v1.14.0

func (o *GetEndpointOK) String() string

type GetEndpointParams

type GetEndpointParams struct {

	/* Labels.

	   List of labels

	*/
	Labels models.Labels

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

GetEndpointParams contains all the parameters to send to the API endpoint

for the get endpoint operation.

Typically these are written to a http.Request.

func NewGetEndpointParams

func NewGetEndpointParams() *GetEndpointParams

NewGetEndpointParams creates a new GetEndpointParams 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 NewGetEndpointParamsWithContext

func NewGetEndpointParamsWithContext(ctx context.Context) *GetEndpointParams

NewGetEndpointParamsWithContext creates a new GetEndpointParams object with the ability to set a context for a request.

func NewGetEndpointParamsWithHTTPClient

func NewGetEndpointParamsWithHTTPClient(client *http.Client) *GetEndpointParams

NewGetEndpointParamsWithHTTPClient creates a new GetEndpointParams object with the ability to set a custom HTTPClient for a request.

func NewGetEndpointParamsWithTimeout

func NewGetEndpointParamsWithTimeout(timeout time.Duration) *GetEndpointParams

NewGetEndpointParamsWithTimeout creates a new GetEndpointParams object with the ability to set a timeout on a request.

func (*GetEndpointParams) SetContext

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

SetContext adds the context to the get endpoint params

func (*GetEndpointParams) SetDefaults added in v1.14.0

func (o *GetEndpointParams) SetDefaults()

SetDefaults hydrates default values in the get endpoint params (not the query body).

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

func (*GetEndpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get endpoint params

func (*GetEndpointParams) SetLabels added in v0.10.0

func (o *GetEndpointParams) SetLabels(labels models.Labels)

SetLabels adds the labels to the get endpoint params

func (*GetEndpointParams) SetTimeout

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

SetTimeout adds the timeout to the get endpoint params

func (*GetEndpointParams) WithContext

func (o *GetEndpointParams) WithContext(ctx context.Context) *GetEndpointParams

WithContext adds the context to the get endpoint params

func (*GetEndpointParams) WithDefaults added in v1.14.0

func (o *GetEndpointParams) WithDefaults() *GetEndpointParams

WithDefaults hydrates default values in the get endpoint params (not the query body).

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

func (*GetEndpointParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get endpoint params

func (*GetEndpointParams) WithLabels added in v0.10.0

func (o *GetEndpointParams) WithLabels(labels models.Labels) *GetEndpointParams

WithLabels adds the labels to the get endpoint params

func (*GetEndpointParams) WithTimeout

func (o *GetEndpointParams) WithTimeout(timeout time.Duration) *GetEndpointParams

WithTimeout adds the timeout to the get endpoint params

func (*GetEndpointParams) WriteToRequest

func (o *GetEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetEndpointReader

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

GetEndpointReader is a Reader for the GetEndpoint structure.

func (*GetEndpointReader) ReadResponse

func (o *GetEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEndpointTooManyRequests added in v1.14.0

type GetEndpointTooManyRequests struct {
}

GetEndpointTooManyRequests describes a response with status code 429, with default header values.

Rate-limiting too many requests in the given time frame

func NewGetEndpointTooManyRequests added in v1.14.0

func NewGetEndpointTooManyRequests() *GetEndpointTooManyRequests

NewGetEndpointTooManyRequests creates a GetEndpointTooManyRequests with default headers values

func (*GetEndpointTooManyRequests) Error added in v1.14.0

func (*GetEndpointTooManyRequests) IsClientError added in v1.14.0

func (o *GetEndpointTooManyRequests) IsClientError() bool

IsClientError returns true when this get endpoint too many requests response has a 4xx status code

func (*GetEndpointTooManyRequests) IsCode added in v1.14.0

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

IsCode returns true when this get endpoint too many requests response a status code equal to that given

func (*GetEndpointTooManyRequests) IsRedirect added in v1.14.0

func (o *GetEndpointTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get endpoint too many requests response has a 3xx status code

func (*GetEndpointTooManyRequests) IsServerError added in v1.14.0

func (o *GetEndpointTooManyRequests) IsServerError() bool

IsServerError returns true when this get endpoint too many requests response has a 5xx status code

func (*GetEndpointTooManyRequests) IsSuccess added in v1.14.0

func (o *GetEndpointTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get endpoint too many requests response has a 2xx status code

func (*GetEndpointTooManyRequests) String added in v1.14.0

func (o *GetEndpointTooManyRequests) String() string

type PatchEndpointIDConfigFailed

type PatchEndpointIDConfigFailed struct {
	Payload models.Error
}

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

Update failed. Details in message.

func NewPatchEndpointIDConfigFailed

func NewPatchEndpointIDConfigFailed() *PatchEndpointIDConfigFailed

NewPatchEndpointIDConfigFailed creates a PatchEndpointIDConfigFailed with default headers values

func (*PatchEndpointIDConfigFailed) Error

func (*PatchEndpointIDConfigFailed) GetPayload added in v1.14.0

func (o *PatchEndpointIDConfigFailed) GetPayload() models.Error

func (*PatchEndpointIDConfigFailed) IsClientError added in v1.14.0

func (o *PatchEndpointIDConfigFailed) IsClientError() bool

IsClientError returns true when this patch endpoint Id config failed response has a 4xx status code

func (*PatchEndpointIDConfigFailed) IsCode added in v1.14.0

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

IsCode returns true when this patch endpoint Id config failed response a status code equal to that given

func (*PatchEndpointIDConfigFailed) IsRedirect added in v1.14.0

func (o *PatchEndpointIDConfigFailed) IsRedirect() bool

IsRedirect returns true when this patch endpoint Id config failed response has a 3xx status code

func (*PatchEndpointIDConfigFailed) IsServerError added in v1.14.0

func (o *PatchEndpointIDConfigFailed) IsServerError() bool

IsServerError returns true when this patch endpoint Id config failed response has a 5xx status code

func (*PatchEndpointIDConfigFailed) IsSuccess added in v1.14.0

func (o *PatchEndpointIDConfigFailed) IsSuccess() bool

IsSuccess returns true when this patch endpoint Id config failed response has a 2xx status code

func (*PatchEndpointIDConfigFailed) String added in v1.14.0

func (o *PatchEndpointIDConfigFailed) String() string

type PatchEndpointIDConfigInvalid

type PatchEndpointIDConfigInvalid struct {
}

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

Invalid configuration request

func NewPatchEndpointIDConfigInvalid

func NewPatchEndpointIDConfigInvalid() *PatchEndpointIDConfigInvalid

NewPatchEndpointIDConfigInvalid creates a PatchEndpointIDConfigInvalid with default headers values

func (*PatchEndpointIDConfigInvalid) Error

func (*PatchEndpointIDConfigInvalid) IsClientError added in v1.14.0

func (o *PatchEndpointIDConfigInvalid) IsClientError() bool

IsClientError returns true when this patch endpoint Id config invalid response has a 4xx status code

func (*PatchEndpointIDConfigInvalid) IsCode added in v1.14.0

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

IsCode returns true when this patch endpoint Id config invalid response a status code equal to that given

func (*PatchEndpointIDConfigInvalid) IsRedirect added in v1.14.0

func (o *PatchEndpointIDConfigInvalid) IsRedirect() bool

IsRedirect returns true when this patch endpoint Id config invalid response has a 3xx status code

func (*PatchEndpointIDConfigInvalid) IsServerError added in v1.14.0

func (o *PatchEndpointIDConfigInvalid) IsServerError() bool

IsServerError returns true when this patch endpoint Id config invalid response has a 5xx status code

func (*PatchEndpointIDConfigInvalid) IsSuccess added in v1.14.0

func (o *PatchEndpointIDConfigInvalid) IsSuccess() bool

IsSuccess returns true when this patch endpoint Id config invalid response has a 2xx status code

func (*PatchEndpointIDConfigInvalid) String added in v1.14.0

type PatchEndpointIDConfigNotFound

type PatchEndpointIDConfigNotFound struct {
}

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

Endpoint not found

func NewPatchEndpointIDConfigNotFound

func NewPatchEndpointIDConfigNotFound() *PatchEndpointIDConfigNotFound

NewPatchEndpointIDConfigNotFound creates a PatchEndpointIDConfigNotFound with default headers values

func (*PatchEndpointIDConfigNotFound) Error

func (*PatchEndpointIDConfigNotFound) IsClientError added in v1.14.0

func (o *PatchEndpointIDConfigNotFound) IsClientError() bool

IsClientError returns true when this patch endpoint Id config not found response has a 4xx status code

func (*PatchEndpointIDConfigNotFound) IsCode added in v1.14.0

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

IsCode returns true when this patch endpoint Id config not found response a status code equal to that given

func (*PatchEndpointIDConfigNotFound) IsRedirect added in v1.14.0

func (o *PatchEndpointIDConfigNotFound) IsRedirect() bool

IsRedirect returns true when this patch endpoint Id config not found response has a 3xx status code

func (*PatchEndpointIDConfigNotFound) IsServerError added in v1.14.0

func (o *PatchEndpointIDConfigNotFound) IsServerError() bool

IsServerError returns true when this patch endpoint Id config not found response has a 5xx status code

func (*PatchEndpointIDConfigNotFound) IsSuccess added in v1.14.0

func (o *PatchEndpointIDConfigNotFound) IsSuccess() bool

IsSuccess returns true when this patch endpoint Id config not found response has a 2xx status code

func (*PatchEndpointIDConfigNotFound) String added in v1.14.0

type PatchEndpointIDConfigOK

type PatchEndpointIDConfigOK struct {
}

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

Success

func NewPatchEndpointIDConfigOK

func NewPatchEndpointIDConfigOK() *PatchEndpointIDConfigOK

NewPatchEndpointIDConfigOK creates a PatchEndpointIDConfigOK with default headers values

func (*PatchEndpointIDConfigOK) Error

func (o *PatchEndpointIDConfigOK) Error() string

func (*PatchEndpointIDConfigOK) IsClientError added in v1.14.0

func (o *PatchEndpointIDConfigOK) IsClientError() bool

IsClientError returns true when this patch endpoint Id config o k response has a 4xx status code

func (*PatchEndpointIDConfigOK) IsCode added in v1.14.0

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

IsCode returns true when this patch endpoint Id config o k response a status code equal to that given

func (*PatchEndpointIDConfigOK) IsRedirect added in v1.14.0

func (o *PatchEndpointIDConfigOK) IsRedirect() bool

IsRedirect returns true when this patch endpoint Id config o k response has a 3xx status code

func (*PatchEndpointIDConfigOK) IsServerError added in v1.14.0

func (o *PatchEndpointIDConfigOK) IsServerError() bool

IsServerError returns true when this patch endpoint Id config o k response has a 5xx status code

func (*PatchEndpointIDConfigOK) IsSuccess added in v1.14.0

func (o *PatchEndpointIDConfigOK) IsSuccess() bool

IsSuccess returns true when this patch endpoint Id config o k response has a 2xx status code

func (*PatchEndpointIDConfigOK) String added in v1.14.0

func (o *PatchEndpointIDConfigOK) String() string

type PatchEndpointIDConfigParams

type PatchEndpointIDConfigParams struct {

	// EndpointConfiguration.
	EndpointConfiguration *models.EndpointConfigurationSpec

	/* ID.

	     String describing an endpoint with the format “[prefix:]id“. If no prefix
	is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints
	will be addressable by all endpoint ID prefixes with the exception of the
	local Cilium UUID which is assigned to all endpoints.

	Supported endpoint id prefixes:
	  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595
	  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343
	  - container-id: Container runtime ID, e.g. container-id:22222
	  - container-name: Container name, e.g. container-name:foobar
	  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar
	  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444

	*/
	ID string

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

PatchEndpointIDConfigParams contains all the parameters to send to the API endpoint

for the patch endpoint ID config operation.

Typically these are written to a http.Request.

func NewPatchEndpointIDConfigParams

func NewPatchEndpointIDConfigParams() *PatchEndpointIDConfigParams

NewPatchEndpointIDConfigParams creates a new PatchEndpointIDConfigParams 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 NewPatchEndpointIDConfigParamsWithContext

func NewPatchEndpointIDConfigParamsWithContext(ctx context.Context) *PatchEndpointIDConfigParams

NewPatchEndpointIDConfigParamsWithContext creates a new PatchEndpointIDConfigParams object with the ability to set a context for a request.

func NewPatchEndpointIDConfigParamsWithHTTPClient

func NewPatchEndpointIDConfigParamsWithHTTPClient(client *http.Client) *PatchEndpointIDConfigParams

NewPatchEndpointIDConfigParamsWithHTTPClient creates a new PatchEndpointIDConfigParams object with the ability to set a custom HTTPClient for a request.

func NewPatchEndpointIDConfigParamsWithTimeout

func NewPatchEndpointIDConfigParamsWithTimeout(timeout time.Duration) *PatchEndpointIDConfigParams

NewPatchEndpointIDConfigParamsWithTimeout creates a new PatchEndpointIDConfigParams object with the ability to set a timeout on a request.

func (*PatchEndpointIDConfigParams) SetContext

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

SetContext adds the context to the patch endpoint ID config params

func (*PatchEndpointIDConfigParams) SetDefaults added in v1.14.0

func (o *PatchEndpointIDConfigParams) SetDefaults()

SetDefaults hydrates default values in the patch endpoint ID config params (not the query body).

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

func (*PatchEndpointIDConfigParams) SetEndpointConfiguration added in v1.5.0

func (o *PatchEndpointIDConfigParams) SetEndpointConfiguration(endpointConfiguration *models.EndpointConfigurationSpec)

SetEndpointConfiguration adds the endpointConfiguration to the patch endpoint ID config params

func (*PatchEndpointIDConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch endpoint ID config params

func (*PatchEndpointIDConfigParams) SetID

func (o *PatchEndpointIDConfigParams) SetID(id string)

SetID adds the id to the patch endpoint ID config params

func (*PatchEndpointIDConfigParams) SetTimeout

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

SetTimeout adds the timeout to the patch endpoint ID config params

func (*PatchEndpointIDConfigParams) WithContext

WithContext adds the context to the patch endpoint ID config params

func (*PatchEndpointIDConfigParams) WithDefaults added in v1.14.0

WithDefaults hydrates default values in the patch endpoint ID config params (not the query body).

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

func (*PatchEndpointIDConfigParams) WithEndpointConfiguration added in v1.5.0

func (o *PatchEndpointIDConfigParams) WithEndpointConfiguration(endpointConfiguration *models.EndpointConfigurationSpec) *PatchEndpointIDConfigParams

WithEndpointConfiguration adds the endpointConfiguration to the patch endpoint ID config params

func (*PatchEndpointIDConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch endpoint ID config params

func (*PatchEndpointIDConfigParams) WithID

WithID adds the id to the patch endpoint ID config params

func (*PatchEndpointIDConfigParams) WithTimeout

WithTimeout adds the timeout to the patch endpoint ID config params

func (*PatchEndpointIDConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchEndpointIDConfigReader

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

PatchEndpointIDConfigReader is a Reader for the PatchEndpointIDConfig structure.

func (*PatchEndpointIDConfigReader) ReadResponse

func (o *PatchEndpointIDConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchEndpointIDConfigTooManyRequests added in v1.14.0

type PatchEndpointIDConfigTooManyRequests struct {
}

PatchEndpointIDConfigTooManyRequests describes a response with status code 429, with default header values.

Rate-limiting too many requests in the given time frame

func NewPatchEndpointIDConfigTooManyRequests added in v1.14.0

func NewPatchEndpointIDConfigTooManyRequests() *PatchEndpointIDConfigTooManyRequests

NewPatchEndpointIDConfigTooManyRequests creates a PatchEndpointIDConfigTooManyRequests with default headers values

func (*PatchEndpointIDConfigTooManyRequests) Error added in v1.14.0

func (*PatchEndpointIDConfigTooManyRequests) IsClientError added in v1.14.0

func (o *PatchEndpointIDConfigTooManyRequests) IsClientError() bool

IsClientError returns true when this patch endpoint Id config too many requests response has a 4xx status code

func (*PatchEndpointIDConfigTooManyRequests) IsCode added in v1.14.0

IsCode returns true when this patch endpoint Id config too many requests response a status code equal to that given

func (*PatchEndpointIDConfigTooManyRequests) IsRedirect added in v1.14.0

IsRedirect returns true when this patch endpoint Id config too many requests response has a 3xx status code

func (*PatchEndpointIDConfigTooManyRequests) IsServerError added in v1.14.0

func (o *PatchEndpointIDConfigTooManyRequests) IsServerError() bool

IsServerError returns true when this patch endpoint Id config too many requests response has a 5xx status code

func (*PatchEndpointIDConfigTooManyRequests) IsSuccess added in v1.14.0

IsSuccess returns true when this patch endpoint Id config too many requests response has a 2xx status code

func (*PatchEndpointIDConfigTooManyRequests) String added in v1.14.0

type PatchEndpointIDFailed

type PatchEndpointIDFailed struct {
	Payload models.Error
}

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

Endpoint update failed

func NewPatchEndpointIDFailed

func NewPatchEndpointIDFailed() *PatchEndpointIDFailed

NewPatchEndpointIDFailed creates a PatchEndpointIDFailed with default headers values

func (*PatchEndpointIDFailed) Error

func (o *PatchEndpointIDFailed) Error() string

func (*PatchEndpointIDFailed) GetPayload added in v1.14.0

func (o *PatchEndpointIDFailed) GetPayload() models.Error

func (*PatchEndpointIDFailed) IsClientError added in v1.14.0

func (o *PatchEndpointIDFailed) IsClientError() bool

IsClientError returns true when this patch endpoint Id failed response has a 4xx status code

func (*PatchEndpointIDFailed) IsCode added in v1.14.0

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

IsCode returns true when this patch endpoint Id failed response a status code equal to that given

func (*PatchEndpointIDFailed) IsRedirect added in v1.14.0

func (o *PatchEndpointIDFailed) IsRedirect() bool

IsRedirect returns true when this patch endpoint Id failed response has a 3xx status code

func (*PatchEndpointIDFailed) IsServerError added in v1.14.0

func (o *PatchEndpointIDFailed) IsServerError() bool

IsServerError returns true when this patch endpoint Id failed response has a 5xx status code

func (*PatchEndpointIDFailed) IsSuccess added in v1.14.0

func (o *PatchEndpointIDFailed) IsSuccess() bool

IsSuccess returns true when this patch endpoint Id failed response has a 2xx status code

func (*PatchEndpointIDFailed) String added in v1.14.0

func (o *PatchEndpointIDFailed) String() string

type PatchEndpointIDInvalid

type PatchEndpointIDInvalid struct {
	Payload models.Error
}

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

Invalid modify endpoint request

func NewPatchEndpointIDInvalid

func NewPatchEndpointIDInvalid() *PatchEndpointIDInvalid

NewPatchEndpointIDInvalid creates a PatchEndpointIDInvalid with default headers values

func (*PatchEndpointIDInvalid) Error

func (o *PatchEndpointIDInvalid) Error() string

func (*PatchEndpointIDInvalid) GetPayload added in v1.14.0

func (o *PatchEndpointIDInvalid) GetPayload() models.Error

func (*PatchEndpointIDInvalid) IsClientError added in v1.14.0

func (o *PatchEndpointIDInvalid) IsClientError() bool

IsClientError returns true when this patch endpoint Id invalid response has a 4xx status code

func (*PatchEndpointIDInvalid) IsCode added in v1.14.0

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

IsCode returns true when this patch endpoint Id invalid response a status code equal to that given

func (*PatchEndpointIDInvalid) IsRedirect added in v1.14.0

func (o *PatchEndpointIDInvalid) IsRedirect() bool

IsRedirect returns true when this patch endpoint Id invalid response has a 3xx status code

func (*PatchEndpointIDInvalid) IsServerError added in v1.14.0

func (o *PatchEndpointIDInvalid) IsServerError() bool

IsServerError returns true when this patch endpoint Id invalid response has a 5xx status code

func (*PatchEndpointIDInvalid) IsSuccess added in v1.14.0

func (o *PatchEndpointIDInvalid) IsSuccess() bool

IsSuccess returns true when this patch endpoint Id invalid response has a 2xx status code

func (*PatchEndpointIDInvalid) String added in v1.14.0

func (o *PatchEndpointIDInvalid) String() string

type PatchEndpointIDLabelsNotFound added in v1.5.0

type PatchEndpointIDLabelsNotFound struct {
}

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

Endpoint not found

func NewPatchEndpointIDLabelsNotFound added in v1.5.0

func NewPatchEndpointIDLabelsNotFound() *PatchEndpointIDLabelsNotFound

NewPatchEndpointIDLabelsNotFound creates a PatchEndpointIDLabelsNotFound with default headers values

func (*PatchEndpointIDLabelsNotFound) Error added in v1.5.0

func (*PatchEndpointIDLabelsNotFound) IsClientError added in v1.14.0

func (o *PatchEndpointIDLabelsNotFound) IsClientError() bool

IsClientError returns true when this patch endpoint Id labels not found response has a 4xx status code

func (*PatchEndpointIDLabelsNotFound) IsCode added in v1.14.0

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

IsCode returns true when this patch endpoint Id labels not found response a status code equal to that given

func (*PatchEndpointIDLabelsNotFound) IsRedirect added in v1.14.0

func (o *PatchEndpointIDLabelsNotFound) IsRedirect() bool

IsRedirect returns true when this patch endpoint Id labels not found response has a 3xx status code

func (*PatchEndpointIDLabelsNotFound) IsServerError added in v1.14.0

func (o *PatchEndpointIDLabelsNotFound) IsServerError() bool

IsServerError returns true when this patch endpoint Id labels not found response has a 5xx status code

func (*PatchEndpointIDLabelsNotFound) IsSuccess added in v1.14.0

func (o *PatchEndpointIDLabelsNotFound) IsSuccess() bool

IsSuccess returns true when this patch endpoint Id labels not found response has a 2xx status code

func (*PatchEndpointIDLabelsNotFound) String added in v1.14.0

type PatchEndpointIDLabelsOK added in v1.5.0

type PatchEndpointIDLabelsOK struct {
}

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

Success

func NewPatchEndpointIDLabelsOK added in v1.5.0

func NewPatchEndpointIDLabelsOK() *PatchEndpointIDLabelsOK

NewPatchEndpointIDLabelsOK creates a PatchEndpointIDLabelsOK with default headers values

func (*PatchEndpointIDLabelsOK) Error added in v1.5.0

func (o *PatchEndpointIDLabelsOK) Error() string

func (*PatchEndpointIDLabelsOK) IsClientError added in v1.14.0

func (o *PatchEndpointIDLabelsOK) IsClientError() bool

IsClientError returns true when this patch endpoint Id labels o k response has a 4xx status code

func (*PatchEndpointIDLabelsOK) IsCode added in v1.14.0

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

IsCode returns true when this patch endpoint Id labels o k response a status code equal to that given

func (*PatchEndpointIDLabelsOK) IsRedirect added in v1.14.0

func (o *PatchEndpointIDLabelsOK) IsRedirect() bool

IsRedirect returns true when this patch endpoint Id labels o k response has a 3xx status code

func (*PatchEndpointIDLabelsOK) IsServerError added in v1.14.0

func (o *PatchEndpointIDLabelsOK) IsServerError() bool

IsServerError returns true when this patch endpoint Id labels o k response has a 5xx status code

func (*PatchEndpointIDLabelsOK) IsSuccess added in v1.14.0

func (o *PatchEndpointIDLabelsOK) IsSuccess() bool

IsSuccess returns true when this patch endpoint Id labels o k response has a 2xx status code

func (*PatchEndpointIDLabelsOK) String added in v1.14.0

func (o *PatchEndpointIDLabelsOK) String() string

type PatchEndpointIDLabelsParams added in v1.5.0

type PatchEndpointIDLabelsParams struct {

	// Configuration.
	Configuration *models.LabelConfigurationSpec

	/* ID.

	     String describing an endpoint with the format “[prefix:]id“. If no prefix
	is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints
	will be addressable by all endpoint ID prefixes with the exception of the
	local Cilium UUID which is assigned to all endpoints.

	Supported endpoint id prefixes:
	  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595
	  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343
	  - container-id: Container runtime ID, e.g. container-id:22222
	  - container-name: Container name, e.g. container-name:foobar
	  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar
	  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444

	*/
	ID string

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

PatchEndpointIDLabelsParams contains all the parameters to send to the API endpoint

for the patch endpoint ID labels operation.

Typically these are written to a http.Request.

func NewPatchEndpointIDLabelsParams added in v1.5.0

func NewPatchEndpointIDLabelsParams() *PatchEndpointIDLabelsParams

NewPatchEndpointIDLabelsParams creates a new PatchEndpointIDLabelsParams 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 NewPatchEndpointIDLabelsParamsWithContext added in v1.5.0

func NewPatchEndpointIDLabelsParamsWithContext(ctx context.Context) *PatchEndpointIDLabelsParams

NewPatchEndpointIDLabelsParamsWithContext creates a new PatchEndpointIDLabelsParams object with the ability to set a context for a request.

func NewPatchEndpointIDLabelsParamsWithHTTPClient added in v1.5.0

func NewPatchEndpointIDLabelsParamsWithHTTPClient(client *http.Client) *PatchEndpointIDLabelsParams

NewPatchEndpointIDLabelsParamsWithHTTPClient creates a new PatchEndpointIDLabelsParams object with the ability to set a custom HTTPClient for a request.

func NewPatchEndpointIDLabelsParamsWithTimeout added in v1.5.0

func NewPatchEndpointIDLabelsParamsWithTimeout(timeout time.Duration) *PatchEndpointIDLabelsParams

NewPatchEndpointIDLabelsParamsWithTimeout creates a new PatchEndpointIDLabelsParams object with the ability to set a timeout on a request.

func (*PatchEndpointIDLabelsParams) SetConfiguration added in v1.5.0

func (o *PatchEndpointIDLabelsParams) SetConfiguration(configuration *models.LabelConfigurationSpec)

SetConfiguration adds the configuration to the patch endpoint ID labels params

func (*PatchEndpointIDLabelsParams) SetContext added in v1.5.0

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

SetContext adds the context to the patch endpoint ID labels params

func (*PatchEndpointIDLabelsParams) SetDefaults added in v1.14.0

func (o *PatchEndpointIDLabelsParams) SetDefaults()

SetDefaults hydrates default values in the patch endpoint ID labels params (not the query body).

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

func (*PatchEndpointIDLabelsParams) SetHTTPClient added in v1.5.0

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

SetHTTPClient adds the HTTPClient to the patch endpoint ID labels params

func (*PatchEndpointIDLabelsParams) SetID added in v1.5.0

func (o *PatchEndpointIDLabelsParams) SetID(id string)

SetID adds the id to the patch endpoint ID labels params

func (*PatchEndpointIDLabelsParams) SetTimeout added in v1.5.0

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

SetTimeout adds the timeout to the patch endpoint ID labels params

func (*PatchEndpointIDLabelsParams) WithConfiguration added in v1.5.0

WithConfiguration adds the configuration to the patch endpoint ID labels params

func (*PatchEndpointIDLabelsParams) WithContext added in v1.5.0

WithContext adds the context to the patch endpoint ID labels params

func (*PatchEndpointIDLabelsParams) WithDefaults added in v1.14.0

WithDefaults hydrates default values in the patch endpoint ID labels params (not the query body).

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

func (*PatchEndpointIDLabelsParams) WithHTTPClient added in v1.5.0

WithHTTPClient adds the HTTPClient to the patch endpoint ID labels params

func (*PatchEndpointIDLabelsParams) WithID added in v1.5.0

WithID adds the id to the patch endpoint ID labels params

func (*PatchEndpointIDLabelsParams) WithTimeout added in v1.5.0

WithTimeout adds the timeout to the patch endpoint ID labels params

func (*PatchEndpointIDLabelsParams) WriteToRequest added in v1.5.0

WriteToRequest writes these params to a swagger request

type PatchEndpointIDLabelsReader added in v1.5.0

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

PatchEndpointIDLabelsReader is a Reader for the PatchEndpointIDLabels structure.

func (*PatchEndpointIDLabelsReader) ReadResponse added in v1.5.0

func (o *PatchEndpointIDLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchEndpointIDLabelsTooManyRequests added in v1.14.0

type PatchEndpointIDLabelsTooManyRequests struct {
}

PatchEndpointIDLabelsTooManyRequests describes a response with status code 429, with default header values.

Rate-limiting too many requests in the given time frame

func NewPatchEndpointIDLabelsTooManyRequests added in v1.14.0

func NewPatchEndpointIDLabelsTooManyRequests() *PatchEndpointIDLabelsTooManyRequests

NewPatchEndpointIDLabelsTooManyRequests creates a PatchEndpointIDLabelsTooManyRequests with default headers values

func (*PatchEndpointIDLabelsTooManyRequests) Error added in v1.14.0

func (*PatchEndpointIDLabelsTooManyRequests) IsClientError added in v1.14.0

func (o *PatchEndpointIDLabelsTooManyRequests) IsClientError() bool

IsClientError returns true when this patch endpoint Id labels too many requests response has a 4xx status code

func (*PatchEndpointIDLabelsTooManyRequests) IsCode added in v1.14.0

IsCode returns true when this patch endpoint Id labels too many requests response a status code equal to that given

func (*PatchEndpointIDLabelsTooManyRequests) IsRedirect added in v1.14.0

IsRedirect returns true when this patch endpoint Id labels too many requests response has a 3xx status code

func (*PatchEndpointIDLabelsTooManyRequests) IsServerError added in v1.14.0

func (o *PatchEndpointIDLabelsTooManyRequests) IsServerError() bool

IsServerError returns true when this patch endpoint Id labels too many requests response has a 5xx status code

func (*PatchEndpointIDLabelsTooManyRequests) IsSuccess added in v1.14.0

IsSuccess returns true when this patch endpoint Id labels too many requests response has a 2xx status code

func (*PatchEndpointIDLabelsTooManyRequests) String added in v1.14.0

type PatchEndpointIDLabelsUpdateFailed added in v1.5.0

type PatchEndpointIDLabelsUpdateFailed struct {
	Payload models.Error
}

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

Error while updating labels

func NewPatchEndpointIDLabelsUpdateFailed added in v1.5.0

func NewPatchEndpointIDLabelsUpdateFailed() *PatchEndpointIDLabelsUpdateFailed

NewPatchEndpointIDLabelsUpdateFailed creates a PatchEndpointIDLabelsUpdateFailed with default headers values

func (*PatchEndpointIDLabelsUpdateFailed) Error added in v1.5.0

func (*PatchEndpointIDLabelsUpdateFailed) GetPayload added in v1.14.0

func (*PatchEndpointIDLabelsUpdateFailed) IsClientError added in v1.14.0

func (o *PatchEndpointIDLabelsUpdateFailed) IsClientError() bool

IsClientError returns true when this patch endpoint Id labels update failed response has a 4xx status code

func (*PatchEndpointIDLabelsUpdateFailed) IsCode added in v1.14.0

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

IsCode returns true when this patch endpoint Id labels update failed response a status code equal to that given

func (*PatchEndpointIDLabelsUpdateFailed) IsRedirect added in v1.14.0

func (o *PatchEndpointIDLabelsUpdateFailed) IsRedirect() bool

IsRedirect returns true when this patch endpoint Id labels update failed response has a 3xx status code

func (*PatchEndpointIDLabelsUpdateFailed) IsServerError added in v1.14.0

func (o *PatchEndpointIDLabelsUpdateFailed) IsServerError() bool

IsServerError returns true when this patch endpoint Id labels update failed response has a 5xx status code

func (*PatchEndpointIDLabelsUpdateFailed) IsSuccess added in v1.14.0

func (o *PatchEndpointIDLabelsUpdateFailed) IsSuccess() bool

IsSuccess returns true when this patch endpoint Id labels update failed response has a 2xx status code

func (*PatchEndpointIDLabelsUpdateFailed) String added in v1.14.0

type PatchEndpointIDNotFound

type PatchEndpointIDNotFound struct {
}

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

Endpoint does not exist

func NewPatchEndpointIDNotFound

func NewPatchEndpointIDNotFound() *PatchEndpointIDNotFound

NewPatchEndpointIDNotFound creates a PatchEndpointIDNotFound with default headers values

func (*PatchEndpointIDNotFound) Error

func (o *PatchEndpointIDNotFound) Error() string

func (*PatchEndpointIDNotFound) IsClientError added in v1.14.0

func (o *PatchEndpointIDNotFound) IsClientError() bool

IsClientError returns true when this patch endpoint Id not found response has a 4xx status code

func (*PatchEndpointIDNotFound) IsCode added in v1.14.0

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

IsCode returns true when this patch endpoint Id not found response a status code equal to that given

func (*PatchEndpointIDNotFound) IsRedirect added in v1.14.0

func (o *PatchEndpointIDNotFound) IsRedirect() bool

IsRedirect returns true when this patch endpoint Id not found response has a 3xx status code

func (*PatchEndpointIDNotFound) IsServerError added in v1.14.0

func (o *PatchEndpointIDNotFound) IsServerError() bool

IsServerError returns true when this patch endpoint Id not found response has a 5xx status code

func (*PatchEndpointIDNotFound) IsSuccess added in v1.14.0

func (o *PatchEndpointIDNotFound) IsSuccess() bool

IsSuccess returns true when this patch endpoint Id not found response has a 2xx status code

func (*PatchEndpointIDNotFound) String added in v1.14.0

func (o *PatchEndpointIDNotFound) String() string

type PatchEndpointIDOK

type PatchEndpointIDOK struct {
}

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

Success

func NewPatchEndpointIDOK

func NewPatchEndpointIDOK() *PatchEndpointIDOK

NewPatchEndpointIDOK creates a PatchEndpointIDOK with default headers values

func (*PatchEndpointIDOK) Error

func (o *PatchEndpointIDOK) Error() string

func (*PatchEndpointIDOK) IsClientError added in v1.14.0

func (o *PatchEndpointIDOK) IsClientError() bool

IsClientError returns true when this patch endpoint Id o k response has a 4xx status code

func (*PatchEndpointIDOK) IsCode added in v1.14.0

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

IsCode returns true when this patch endpoint Id o k response a status code equal to that given

func (*PatchEndpointIDOK) IsRedirect added in v1.14.0

func (o *PatchEndpointIDOK) IsRedirect() bool

IsRedirect returns true when this patch endpoint Id o k response has a 3xx status code

func (*PatchEndpointIDOK) IsServerError added in v1.14.0

func (o *PatchEndpointIDOK) IsServerError() bool

IsServerError returns true when this patch endpoint Id o k response has a 5xx status code

func (*PatchEndpointIDOK) IsSuccess added in v1.14.0

func (o *PatchEndpointIDOK) IsSuccess() bool

IsSuccess returns true when this patch endpoint Id o k response has a 2xx status code

func (*PatchEndpointIDOK) String added in v1.14.0

func (o *PatchEndpointIDOK) String() string

type PatchEndpointIDParams

type PatchEndpointIDParams struct {

	// Endpoint.
	Endpoint *models.EndpointChangeRequest

	/* ID.

	     String describing an endpoint with the format “[prefix:]id“. If no prefix
	is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints
	will be addressable by all endpoint ID prefixes with the exception of the
	local Cilium UUID which is assigned to all endpoints.

	Supported endpoint id prefixes:
	  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595
	  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343
	  - container-id: Container runtime ID, e.g. container-id:22222
	  - container-name: Container name, e.g. container-name:foobar
	  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar
	  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444

	*/
	ID string

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

PatchEndpointIDParams contains all the parameters to send to the API endpoint

for the patch endpoint ID operation.

Typically these are written to a http.Request.

func NewPatchEndpointIDParams

func NewPatchEndpointIDParams() *PatchEndpointIDParams

NewPatchEndpointIDParams creates a new PatchEndpointIDParams 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 NewPatchEndpointIDParamsWithContext

func NewPatchEndpointIDParamsWithContext(ctx context.Context) *PatchEndpointIDParams

NewPatchEndpointIDParamsWithContext creates a new PatchEndpointIDParams object with the ability to set a context for a request.

func NewPatchEndpointIDParamsWithHTTPClient

func NewPatchEndpointIDParamsWithHTTPClient(client *http.Client) *PatchEndpointIDParams

NewPatchEndpointIDParamsWithHTTPClient creates a new PatchEndpointIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchEndpointIDParamsWithTimeout

func NewPatchEndpointIDParamsWithTimeout(timeout time.Duration) *PatchEndpointIDParams

NewPatchEndpointIDParamsWithTimeout creates a new PatchEndpointIDParams object with the ability to set a timeout on a request.

func (*PatchEndpointIDParams) SetContext

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

SetContext adds the context to the patch endpoint ID params

func (*PatchEndpointIDParams) SetDefaults added in v1.14.0

func (o *PatchEndpointIDParams) SetDefaults()

SetDefaults hydrates default values in the patch endpoint ID params (not the query body).

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

func (*PatchEndpointIDParams) SetEndpoint

func (o *PatchEndpointIDParams) SetEndpoint(endpoint *models.EndpointChangeRequest)

SetEndpoint adds the endpoint to the patch endpoint ID params

func (*PatchEndpointIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch endpoint ID params

func (*PatchEndpointIDParams) SetID

func (o *PatchEndpointIDParams) SetID(id string)

SetID adds the id to the patch endpoint ID params

func (*PatchEndpointIDParams) SetTimeout

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

SetTimeout adds the timeout to the patch endpoint ID params

func (*PatchEndpointIDParams) WithContext

WithContext adds the context to the patch endpoint ID params

func (*PatchEndpointIDParams) WithDefaults added in v1.14.0

func (o *PatchEndpointIDParams) WithDefaults() *PatchEndpointIDParams

WithDefaults hydrates default values in the patch endpoint ID params (not the query body).

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

func (*PatchEndpointIDParams) WithEndpoint

WithEndpoint adds the endpoint to the patch endpoint ID params

func (*PatchEndpointIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch endpoint ID params

func (*PatchEndpointIDParams) WithID

WithID adds the id to the patch endpoint ID params

func (*PatchEndpointIDParams) WithTimeout

func (o *PatchEndpointIDParams) WithTimeout(timeout time.Duration) *PatchEndpointIDParams

WithTimeout adds the timeout to the patch endpoint ID params

func (*PatchEndpointIDParams) WriteToRequest

func (o *PatchEndpointIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PatchEndpointIDReader

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

PatchEndpointIDReader is a Reader for the PatchEndpointID structure.

func (*PatchEndpointIDReader) ReadResponse

func (o *PatchEndpointIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchEndpointIDTooManyRequests added in v1.14.0

type PatchEndpointIDTooManyRequests struct {
}

PatchEndpointIDTooManyRequests describes a response with status code 429, with default header values.

Rate-limiting too many requests in the given time frame

func NewPatchEndpointIDTooManyRequests added in v1.14.0

func NewPatchEndpointIDTooManyRequests() *PatchEndpointIDTooManyRequests

NewPatchEndpointIDTooManyRequests creates a PatchEndpointIDTooManyRequests with default headers values

func (*PatchEndpointIDTooManyRequests) Error added in v1.14.0

func (*PatchEndpointIDTooManyRequests) IsClientError added in v1.14.0

func (o *PatchEndpointIDTooManyRequests) IsClientError() bool

IsClientError returns true when this patch endpoint Id too many requests response has a 4xx status code

func (*PatchEndpointIDTooManyRequests) IsCode added in v1.14.0

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

IsCode returns true when this patch endpoint Id too many requests response a status code equal to that given

func (*PatchEndpointIDTooManyRequests) IsRedirect added in v1.14.0

func (o *PatchEndpointIDTooManyRequests) IsRedirect() bool

IsRedirect returns true when this patch endpoint Id too many requests response has a 3xx status code

func (*PatchEndpointIDTooManyRequests) IsServerError added in v1.14.0

func (o *PatchEndpointIDTooManyRequests) IsServerError() bool

IsServerError returns true when this patch endpoint Id too many requests response has a 5xx status code

func (*PatchEndpointIDTooManyRequests) IsSuccess added in v1.14.0

func (o *PatchEndpointIDTooManyRequests) IsSuccess() bool

IsSuccess returns true when this patch endpoint Id too many requests response has a 2xx status code

func (*PatchEndpointIDTooManyRequests) String added in v1.14.0

type PutEndpointIDCreated

type PutEndpointIDCreated struct {
}

PutEndpointIDCreated describes a response with status code 201, with default header values.

Created

func NewPutEndpointIDCreated

func NewPutEndpointIDCreated() *PutEndpointIDCreated

NewPutEndpointIDCreated creates a PutEndpointIDCreated with default headers values

func (*PutEndpointIDCreated) Error

func (o *PutEndpointIDCreated) Error() string

func (*PutEndpointIDCreated) IsClientError added in v1.14.0

func (o *PutEndpointIDCreated) IsClientError() bool

IsClientError returns true when this put endpoint Id created response has a 4xx status code

func (*PutEndpointIDCreated) IsCode added in v1.14.0

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

IsCode returns true when this put endpoint Id created response a status code equal to that given

func (*PutEndpointIDCreated) IsRedirect added in v1.14.0

func (o *PutEndpointIDCreated) IsRedirect() bool

IsRedirect returns true when this put endpoint Id created response has a 3xx status code

func (*PutEndpointIDCreated) IsServerError added in v1.14.0

func (o *PutEndpointIDCreated) IsServerError() bool

IsServerError returns true when this put endpoint Id created response has a 5xx status code

func (*PutEndpointIDCreated) IsSuccess added in v1.14.0

func (o *PutEndpointIDCreated) IsSuccess() bool

IsSuccess returns true when this put endpoint Id created response has a 2xx status code

func (*PutEndpointIDCreated) String added in v1.14.0

func (o *PutEndpointIDCreated) String() string

type PutEndpointIDExists

type PutEndpointIDExists struct {
}

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

Endpoint already exists

func NewPutEndpointIDExists

func NewPutEndpointIDExists() *PutEndpointIDExists

NewPutEndpointIDExists creates a PutEndpointIDExists with default headers values

func (*PutEndpointIDExists) Error

func (o *PutEndpointIDExists) Error() string

func (*PutEndpointIDExists) IsClientError added in v1.14.0

func (o *PutEndpointIDExists) IsClientError() bool

IsClientError returns true when this put endpoint Id exists response has a 4xx status code

func (*PutEndpointIDExists) IsCode added in v1.14.0

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

IsCode returns true when this put endpoint Id exists response a status code equal to that given

func (*PutEndpointIDExists) IsRedirect added in v1.14.0

func (o *PutEndpointIDExists) IsRedirect() bool

IsRedirect returns true when this put endpoint Id exists response has a 3xx status code

func (*PutEndpointIDExists) IsServerError added in v1.14.0

func (o *PutEndpointIDExists) IsServerError() bool

IsServerError returns true when this put endpoint Id exists response has a 5xx status code

func (*PutEndpointIDExists) IsSuccess added in v1.14.0

func (o *PutEndpointIDExists) IsSuccess() bool

IsSuccess returns true when this put endpoint Id exists response has a 2xx status code

func (*PutEndpointIDExists) String added in v1.14.0

func (o *PutEndpointIDExists) String() string

type PutEndpointIDFailed

type PutEndpointIDFailed struct {
	Payload models.Error
}

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

Endpoint creation failed

func NewPutEndpointIDFailed

func NewPutEndpointIDFailed() *PutEndpointIDFailed

NewPutEndpointIDFailed creates a PutEndpointIDFailed with default headers values

func (*PutEndpointIDFailed) Error

func (o *PutEndpointIDFailed) Error() string

func (*PutEndpointIDFailed) GetPayload added in v1.14.0

func (o *PutEndpointIDFailed) GetPayload() models.Error

func (*PutEndpointIDFailed) IsClientError added in v1.14.0

func (o *PutEndpointIDFailed) IsClientError() bool

IsClientError returns true when this put endpoint Id failed response has a 4xx status code

func (*PutEndpointIDFailed) IsCode added in v1.14.0

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

IsCode returns true when this put endpoint Id failed response a status code equal to that given

func (*PutEndpointIDFailed) IsRedirect added in v1.14.0

func (o *PutEndpointIDFailed) IsRedirect() bool

IsRedirect returns true when this put endpoint Id failed response has a 3xx status code

func (*PutEndpointIDFailed) IsServerError added in v1.14.0

func (o *PutEndpointIDFailed) IsServerError() bool

IsServerError returns true when this put endpoint Id failed response has a 5xx status code

func (*PutEndpointIDFailed) IsSuccess added in v1.14.0

func (o *PutEndpointIDFailed) IsSuccess() bool

IsSuccess returns true when this put endpoint Id failed response has a 2xx status code

func (*PutEndpointIDFailed) String added in v1.14.0

func (o *PutEndpointIDFailed) String() string

type PutEndpointIDInvalid

type PutEndpointIDInvalid struct {
	Payload models.Error
}

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

Invalid endpoint in request

func NewPutEndpointIDInvalid

func NewPutEndpointIDInvalid() *PutEndpointIDInvalid

NewPutEndpointIDInvalid creates a PutEndpointIDInvalid with default headers values

func (*PutEndpointIDInvalid) Error

func (o *PutEndpointIDInvalid) Error() string

func (*PutEndpointIDInvalid) GetPayload added in v1.14.0

func (o *PutEndpointIDInvalid) GetPayload() models.Error

func (*PutEndpointIDInvalid) IsClientError added in v1.14.0

func (o *PutEndpointIDInvalid) IsClientError() bool

IsClientError returns true when this put endpoint Id invalid response has a 4xx status code

func (*PutEndpointIDInvalid) IsCode added in v1.14.0

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

IsCode returns true when this put endpoint Id invalid response a status code equal to that given

func (*PutEndpointIDInvalid) IsRedirect added in v1.14.0

func (o *PutEndpointIDInvalid) IsRedirect() bool

IsRedirect returns true when this put endpoint Id invalid response has a 3xx status code

func (*PutEndpointIDInvalid) IsServerError added in v1.14.0

func (o *PutEndpointIDInvalid) IsServerError() bool

IsServerError returns true when this put endpoint Id invalid response has a 5xx status code

func (*PutEndpointIDInvalid) IsSuccess added in v1.14.0

func (o *PutEndpointIDInvalid) IsSuccess() bool

IsSuccess returns true when this put endpoint Id invalid response has a 2xx status code

func (*PutEndpointIDInvalid) String added in v1.14.0

func (o *PutEndpointIDInvalid) String() string

type PutEndpointIDParams

type PutEndpointIDParams struct {

	// Endpoint.
	Endpoint *models.EndpointChangeRequest

	/* ID.

	     String describing an endpoint with the format “[prefix:]id“. If no prefix
	is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints
	will be addressable by all endpoint ID prefixes with the exception of the
	local Cilium UUID which is assigned to all endpoints.

	Supported endpoint id prefixes:
	  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595
	  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343
	  - container-id: Container runtime ID, e.g. container-id:22222
	  - container-name: Container name, e.g. container-name:foobar
	  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar
	  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444

	*/
	ID string

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

PutEndpointIDParams contains all the parameters to send to the API endpoint

for the put endpoint ID operation.

Typically these are written to a http.Request.

func NewPutEndpointIDParams

func NewPutEndpointIDParams() *PutEndpointIDParams

NewPutEndpointIDParams creates a new PutEndpointIDParams 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 NewPutEndpointIDParamsWithContext

func NewPutEndpointIDParamsWithContext(ctx context.Context) *PutEndpointIDParams

NewPutEndpointIDParamsWithContext creates a new PutEndpointIDParams object with the ability to set a context for a request.

func NewPutEndpointIDParamsWithHTTPClient

func NewPutEndpointIDParamsWithHTTPClient(client *http.Client) *PutEndpointIDParams

NewPutEndpointIDParamsWithHTTPClient creates a new PutEndpointIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutEndpointIDParamsWithTimeout

func NewPutEndpointIDParamsWithTimeout(timeout time.Duration) *PutEndpointIDParams

NewPutEndpointIDParamsWithTimeout creates a new PutEndpointIDParams object with the ability to set a timeout on a request.

func (*PutEndpointIDParams) SetContext

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

SetContext adds the context to the put endpoint ID params

func (*PutEndpointIDParams) SetDefaults added in v1.14.0

func (o *PutEndpointIDParams) SetDefaults()

SetDefaults hydrates default values in the put endpoint ID params (not the query body).

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

func (*PutEndpointIDParams) SetEndpoint

func (o *PutEndpointIDParams) SetEndpoint(endpoint *models.EndpointChangeRequest)

SetEndpoint adds the endpoint to the put endpoint ID params

func (*PutEndpointIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put endpoint ID params

func (*PutEndpointIDParams) SetID

func (o *PutEndpointIDParams) SetID(id string)

SetID adds the id to the put endpoint ID params

func (*PutEndpointIDParams) SetTimeout

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

SetTimeout adds the timeout to the put endpoint ID params

func (*PutEndpointIDParams) WithContext

WithContext adds the context to the put endpoint ID params

func (*PutEndpointIDParams) WithDefaults added in v1.14.0

func (o *PutEndpointIDParams) WithDefaults() *PutEndpointIDParams

WithDefaults hydrates default values in the put endpoint ID params (not the query body).

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

func (*PutEndpointIDParams) WithEndpoint

WithEndpoint adds the endpoint to the put endpoint ID params

func (*PutEndpointIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put endpoint ID params

func (*PutEndpointIDParams) WithID

WithID adds the id to the put endpoint ID params

func (*PutEndpointIDParams) WithTimeout

func (o *PutEndpointIDParams) WithTimeout(timeout time.Duration) *PutEndpointIDParams

WithTimeout adds the timeout to the put endpoint ID params

func (*PutEndpointIDParams) WriteToRequest

func (o *PutEndpointIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutEndpointIDReader

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

PutEndpointIDReader is a Reader for the PutEndpointID structure.

func (*PutEndpointIDReader) ReadResponse

func (o *PutEndpointIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutEndpointIDTooManyRequests added in v1.14.0

type PutEndpointIDTooManyRequests struct {
}

PutEndpointIDTooManyRequests describes a response with status code 429, with default header values.

Rate-limiting too many requests in the given time frame

func NewPutEndpointIDTooManyRequests added in v1.14.0

func NewPutEndpointIDTooManyRequests() *PutEndpointIDTooManyRequests

NewPutEndpointIDTooManyRequests creates a PutEndpointIDTooManyRequests with default headers values

func (*PutEndpointIDTooManyRequests) Error added in v1.14.0

func (*PutEndpointIDTooManyRequests) IsClientError added in v1.14.0

func (o *PutEndpointIDTooManyRequests) IsClientError() bool

IsClientError returns true when this put endpoint Id too many requests response has a 4xx status code

func (*PutEndpointIDTooManyRequests) IsCode added in v1.14.0

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

IsCode returns true when this put endpoint Id too many requests response a status code equal to that given

func (*PutEndpointIDTooManyRequests) IsRedirect added in v1.14.0

func (o *PutEndpointIDTooManyRequests) IsRedirect() bool

IsRedirect returns true when this put endpoint Id too many requests response has a 3xx status code

func (*PutEndpointIDTooManyRequests) IsServerError added in v1.14.0

func (o *PutEndpointIDTooManyRequests) IsServerError() bool

IsServerError returns true when this put endpoint Id too many requests response has a 5xx status code

func (*PutEndpointIDTooManyRequests) IsSuccess added in v1.14.0

func (o *PutEndpointIDTooManyRequests) IsSuccess() bool

IsSuccess returns true when this put endpoint Id too many requests response has a 2xx status code

func (*PutEndpointIDTooManyRequests) String added in v1.14.0

Jump to

Keyboard shortcuts

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