endpoint

package
v1.6.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 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 New

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

New creates a new endpoint API client.

func (*Client) DeleteEndpointID

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) (*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) (*GetEndpointIDOK, error)

GetEndpointID gets endpoint by endpoint ID

Returns endpoint information

func (*Client) GetEndpointIDConfig

func (a *Client) GetEndpointIDConfig(params *GetEndpointIDConfigParams) (*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) (*GetEndpointIDHealthzOK, error)

GetEndpointIDHealthz retrieves the status logs associated with this endpoint

func (*Client) GetEndpointIDLabels

func (a *Client) GetEndpointIDLabels(params *GetEndpointIDLabelsParams) (*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) (*GetEndpointIDLogOK, error)

GetEndpointIDLog retrieves the status logs associated with this endpoint

func (*Client) PatchEndpointID

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

PatchEndpointID modifies existing endpoint

Applies the endpoint change request to an existing endpoint

func (*Client) PatchEndpointIDConfig

func (a *Client) PatchEndpointIDConfig(params *PatchEndpointIDConfigParams) (*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) (*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) (*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 DeleteEndpointIDErrors

type DeleteEndpointIDErrors struct {
	Payload int64
}

DeleteEndpointIDErrors handles this case 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

type DeleteEndpointIDInvalid

type DeleteEndpointIDInvalid struct {
	Payload models.Error
}

DeleteEndpointIDInvalid handles this case 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

type DeleteEndpointIDNotFound

type DeleteEndpointIDNotFound struct {
}

DeleteEndpointIDNotFound handles this case 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

type DeleteEndpointIDOK

type DeleteEndpointIDOK struct {
}

DeleteEndpointIDOK handles this case 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

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 values initialized.

func NewDeleteEndpointIDParamsWithContext

func NewDeleteEndpointIDParamsWithContext(ctx context.Context) *DeleteEndpointIDParams

NewDeleteEndpointIDParamsWithContext creates a new DeleteEndpointIDParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetEndpointIDConfigNotFound

type GetEndpointIDConfigNotFound struct {
}

GetEndpointIDConfigNotFound handles this case with default header values.

Endpoint not found

func NewGetEndpointIDConfigNotFound

func NewGetEndpointIDConfigNotFound() *GetEndpointIDConfigNotFound

NewGetEndpointIDConfigNotFound creates a GetEndpointIDConfigNotFound with default headers values

func (*GetEndpointIDConfigNotFound) Error

type GetEndpointIDConfigOK

type GetEndpointIDConfigOK struct {
	Payload *models.EndpointConfigurationStatus
}

GetEndpointIDConfigOK handles this case 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

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 values initialized.

func NewGetEndpointIDConfigParamsWithContext

func NewGetEndpointIDConfigParamsWithContext(ctx context.Context) *GetEndpointIDConfigParams

NewGetEndpointIDConfigParamsWithContext creates a new GetEndpointIDConfigParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetEndpointIDHealthzInvalid added in v1.5.0

type GetEndpointIDHealthzInvalid struct {
}

GetEndpointIDHealthzInvalid handles this case 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

type GetEndpointIDHealthzNotFound added in v1.5.0

type GetEndpointIDHealthzNotFound struct {
}

GetEndpointIDHealthzNotFound handles this case 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

type GetEndpointIDHealthzOK added in v1.5.0

type GetEndpointIDHealthzOK struct {
	Payload *models.EndpointHealth
}

GetEndpointIDHealthzOK handles this case 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

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 values initialized.

func NewGetEndpointIDHealthzParamsWithContext added in v1.5.0

func NewGetEndpointIDHealthzParamsWithContext(ctx context.Context) *GetEndpointIDHealthzParams

NewGetEndpointIDHealthzParamsWithContext creates a new GetEndpointIDHealthzParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetEndpointIDInvalid

type GetEndpointIDInvalid struct {
	Payload models.Error
}

GetEndpointIDInvalid handles this case 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

type GetEndpointIDLabelsNotFound

type GetEndpointIDLabelsNotFound struct {
}

GetEndpointIDLabelsNotFound handles this case with default header values.

Endpoint not found

func NewGetEndpointIDLabelsNotFound

func NewGetEndpointIDLabelsNotFound() *GetEndpointIDLabelsNotFound

NewGetEndpointIDLabelsNotFound creates a GetEndpointIDLabelsNotFound with default headers values

func (*GetEndpointIDLabelsNotFound) Error

type GetEndpointIDLabelsOK

type GetEndpointIDLabelsOK struct {
	Payload *models.LabelConfiguration
}

GetEndpointIDLabelsOK handles this case 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

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 values initialized.

func NewGetEndpointIDLabelsParamsWithContext

func NewGetEndpointIDLabelsParamsWithContext(ctx context.Context) *GetEndpointIDLabelsParams

NewGetEndpointIDLabelsParamsWithContext creates a new GetEndpointIDLabelsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetEndpointIDLogInvalid added in v1.5.0

type GetEndpointIDLogInvalid struct {
}

GetEndpointIDLogInvalid handles this case 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

type GetEndpointIDLogNotFound added in v1.5.0

type GetEndpointIDLogNotFound struct {
}

GetEndpointIDLogNotFound handles this case 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

type GetEndpointIDLogOK added in v1.5.0

type GetEndpointIDLogOK struct {
	Payload models.EndpointStatusLog
}

GetEndpointIDLogOK handles this case 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

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 values initialized.

func NewGetEndpointIDLogParamsWithContext added in v1.5.0

func NewGetEndpointIDLogParamsWithContext(ctx context.Context) *GetEndpointIDLogParams

NewGetEndpointIDLogParamsWithContext creates a new GetEndpointIDLogParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetEndpointIDNotFound

type GetEndpointIDNotFound struct {
}

GetEndpointIDNotFound handles this case 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

type GetEndpointIDOK

type GetEndpointIDOK struct {
	Payload *models.Endpoint
}

GetEndpointIDOK handles this case 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

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 values initialized.

func NewGetEndpointIDParamsWithContext

func NewGetEndpointIDParamsWithContext(ctx context.Context) *GetEndpointIDParams

NewGetEndpointIDParamsWithContext creates a new GetEndpointIDParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetEndpointNotFound added in v0.10.0

type GetEndpointNotFound struct {
}

GetEndpointNotFound handles this case 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

type GetEndpointOK

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

GetEndpointOK handles this case 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

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 values initialized.

func NewGetEndpointParamsWithContext

func NewGetEndpointParamsWithContext(ctx context.Context) *GetEndpointParams

NewGetEndpointParamsWithContext creates a new GetEndpointParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PatchEndpointIDConfigFailed

type PatchEndpointIDConfigFailed struct {
	Payload models.Error
}

PatchEndpointIDConfigFailed handles this case 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

type PatchEndpointIDConfigInvalid

type PatchEndpointIDConfigInvalid struct {
}

PatchEndpointIDConfigInvalid handles this case with default header values.

Invalid configuration request

func NewPatchEndpointIDConfigInvalid

func NewPatchEndpointIDConfigInvalid() *PatchEndpointIDConfigInvalid

NewPatchEndpointIDConfigInvalid creates a PatchEndpointIDConfigInvalid with default headers values

func (*PatchEndpointIDConfigInvalid) Error

type PatchEndpointIDConfigNotFound

type PatchEndpointIDConfigNotFound struct {
}

PatchEndpointIDConfigNotFound handles this case with default header values.

Endpoint not found

func NewPatchEndpointIDConfigNotFound

func NewPatchEndpointIDConfigNotFound() *PatchEndpointIDConfigNotFound

NewPatchEndpointIDConfigNotFound creates a PatchEndpointIDConfigNotFound with default headers values

func (*PatchEndpointIDConfigNotFound) Error

type PatchEndpointIDConfigOK

type PatchEndpointIDConfigOK struct {
}

PatchEndpointIDConfigOK handles this case 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

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 values initialized.

func NewPatchEndpointIDConfigParamsWithContext

func NewPatchEndpointIDConfigParamsWithContext(ctx context.Context) *PatchEndpointIDConfigParams

NewPatchEndpointIDConfigParamsWithContext creates a new PatchEndpointIDConfigParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PatchEndpointIDFailed

type PatchEndpointIDFailed struct {
	Payload models.Error
}

PatchEndpointIDFailed handles this case 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

type PatchEndpointIDInvalid

type PatchEndpointIDInvalid struct {
	Payload models.Error
}

PatchEndpointIDInvalid handles this case 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

type PatchEndpointIDLabelsNotFound added in v1.5.0

type PatchEndpointIDLabelsNotFound struct {
}

PatchEndpointIDLabelsNotFound handles this case 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

type PatchEndpointIDLabelsOK added in v1.5.0

type PatchEndpointIDLabelsOK struct {
}

PatchEndpointIDLabelsOK handles this case 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

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 values initialized.

func NewPatchEndpointIDLabelsParamsWithContext added in v1.5.0

func NewPatchEndpointIDLabelsParamsWithContext(ctx context.Context) *PatchEndpointIDLabelsParams

NewPatchEndpointIDLabelsParamsWithContext creates a new PatchEndpointIDLabelsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PatchEndpointIDLabelsUpdateFailed added in v1.5.0

type PatchEndpointIDLabelsUpdateFailed struct {
	Payload models.Error
}

PatchEndpointIDLabelsUpdateFailed handles this case 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

type PatchEndpointIDNotFound

type PatchEndpointIDNotFound struct {
}

PatchEndpointIDNotFound handles this case 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

type PatchEndpointIDOK

type PatchEndpointIDOK struct {
}

PatchEndpointIDOK handles this case 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

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 values initialized.

func NewPatchEndpointIDParamsWithContext

func NewPatchEndpointIDParamsWithContext(ctx context.Context) *PatchEndpointIDParams

NewPatchEndpointIDParamsWithContext creates a new PatchEndpointIDParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PutEndpointIDCreated

type PutEndpointIDCreated struct {
}

PutEndpointIDCreated handles this case 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

type PutEndpointIDExists

type PutEndpointIDExists struct {
}

PutEndpointIDExists handles this case 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

type PutEndpointIDFailed

type PutEndpointIDFailed struct {
	Payload models.Error
}

PutEndpointIDFailed handles this case 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

type PutEndpointIDInvalid

type PutEndpointIDInvalid struct {
	Payload models.Error
}

PutEndpointIDInvalid handles this case 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

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 values initialized.

func NewPutEndpointIDParamsWithContext

func NewPutEndpointIDParamsWithContext(ctx context.Context) *PutEndpointIDParams

NewPutEndpointIDParamsWithContext creates a new PutEndpointIDParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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.

Jump to

Keyboard shortcuts

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