endpoint

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2017 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) GetEndpointIDLabels

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

GetEndpointIDLabels retrieves the list of labels associated with an 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) PutEndpointID

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

PutEndpointID creates endpoint

Updates an existing endpoint

func (*Client) PutEndpointIDLabels

func (a *Client) PutEndpointIDLabels(params *PutEndpointIDLabelsParams) (*PutEndpointIDLabelsOK, error)

PutEndpointIDLabels modifies label configuration of endpoint

Updates the list of labels associated with an endpoint by applying a label modificator structure to the label configuration of an endpoint.

The label configuration mutation is only executed as a whole, i.e. if any of the labels to be deleted are not either on the list of orchestration system labels, custom labels, or already disabled, then the request will fail. Labels to be added which already exist on either the orchestration list or custom list will be ignored.

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-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-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.Configuration
}

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-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-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 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-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-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 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-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-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 {

	/*Configuration*/
	Configuration models.ConfigurationMap
	/*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-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-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) SetConfiguration

func (o *PatchEndpointIDConfigParams) SetConfiguration(configuration models.ConfigurationMap)

SetConfiguration adds the configuration to the patch endpoint ID config params

func (*PatchEndpointIDConfigParams) SetContext

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

SetContext adds the context 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) WithConfiguration

WithConfiguration adds the configuration to the patch endpoint ID config params

func (*PatchEndpointIDConfigParams) WithContext

WithContext adds the context 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 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-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-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 PutEndpointIDLabelsLabelNotFound

type PutEndpointIDLabelsLabelNotFound struct {
	Payload models.Error
}

PutEndpointIDLabelsLabelNotFound handles this case with default header values.

Label to be deleted not found

func NewPutEndpointIDLabelsLabelNotFound

func NewPutEndpointIDLabelsLabelNotFound() *PutEndpointIDLabelsLabelNotFound

NewPutEndpointIDLabelsLabelNotFound creates a PutEndpointIDLabelsLabelNotFound with default headers values

func (*PutEndpointIDLabelsLabelNotFound) Error

type PutEndpointIDLabelsNotFound

type PutEndpointIDLabelsNotFound struct {
}

PutEndpointIDLabelsNotFound handles this case with default header values.

Endpoint not found

func NewPutEndpointIDLabelsNotFound

func NewPutEndpointIDLabelsNotFound() *PutEndpointIDLabelsNotFound

NewPutEndpointIDLabelsNotFound creates a PutEndpointIDLabelsNotFound with default headers values

func (*PutEndpointIDLabelsNotFound) Error

type PutEndpointIDLabelsOK

type PutEndpointIDLabelsOK struct {
}

PutEndpointIDLabelsOK handles this case with default header values.

Success

func NewPutEndpointIDLabelsOK

func NewPutEndpointIDLabelsOK() *PutEndpointIDLabelsOK

NewPutEndpointIDLabelsOK creates a PutEndpointIDLabelsOK with default headers values

func (*PutEndpointIDLabelsOK) Error

func (o *PutEndpointIDLabelsOK) Error() string

type PutEndpointIDLabelsParams

type PutEndpointIDLabelsParams struct {

	/*Configuration*/
	Configuration *models.LabelConfigurationModifier
	/*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-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444


	*/
	ID string

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

PutEndpointIDLabelsParams contains all the parameters to send to the API endpoint for the put endpoint ID labels operation typically these are written to a http.Request

func NewPutEndpointIDLabelsParams

func NewPutEndpointIDLabelsParams() *PutEndpointIDLabelsParams

NewPutEndpointIDLabelsParams creates a new PutEndpointIDLabelsParams object with the default values initialized.

func NewPutEndpointIDLabelsParamsWithContext

func NewPutEndpointIDLabelsParamsWithContext(ctx context.Context) *PutEndpointIDLabelsParams

NewPutEndpointIDLabelsParamsWithContext creates a new PutEndpointIDLabelsParams object with the default values initialized, and the ability to set a context for a request

func NewPutEndpointIDLabelsParamsWithHTTPClient

func NewPutEndpointIDLabelsParamsWithHTTPClient(client *http.Client) *PutEndpointIDLabelsParams

NewPutEndpointIDLabelsParamsWithHTTPClient creates a new PutEndpointIDLabelsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutEndpointIDLabelsParamsWithTimeout

func NewPutEndpointIDLabelsParamsWithTimeout(timeout time.Duration) *PutEndpointIDLabelsParams

NewPutEndpointIDLabelsParamsWithTimeout creates a new PutEndpointIDLabelsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutEndpointIDLabelsParams) SetConfiguration

func (o *PutEndpointIDLabelsParams) SetConfiguration(configuration *models.LabelConfigurationModifier)

SetConfiguration adds the configuration to the put endpoint ID labels params

func (*PutEndpointIDLabelsParams) SetContext

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

SetContext adds the context to the put endpoint ID labels params

func (*PutEndpointIDLabelsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put endpoint ID labels params

func (*PutEndpointIDLabelsParams) SetID

func (o *PutEndpointIDLabelsParams) SetID(id string)

SetID adds the id to the put endpoint ID labels params

func (*PutEndpointIDLabelsParams) SetTimeout

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

SetTimeout adds the timeout to the put endpoint ID labels params

func (*PutEndpointIDLabelsParams) WithConfiguration

WithConfiguration adds the configuration to the put endpoint ID labels params

func (*PutEndpointIDLabelsParams) WithContext

WithContext adds the context to the put endpoint ID labels params

func (*PutEndpointIDLabelsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put endpoint ID labels params

func (*PutEndpointIDLabelsParams) WithID

WithID adds the id to the put endpoint ID labels params

func (*PutEndpointIDLabelsParams) WithTimeout

WithTimeout adds the timeout to the put endpoint ID labels params

func (*PutEndpointIDLabelsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutEndpointIDLabelsReader

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

PutEndpointIDLabelsReader is a Reader for the PutEndpointIDLabels structure.

func (*PutEndpointIDLabelsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutEndpointIDLabelsUpdateFailed

type PutEndpointIDLabelsUpdateFailed struct {
	Payload models.Error
}

PutEndpointIDLabelsUpdateFailed handles this case with default header values.

Error while updating labels

func NewPutEndpointIDLabelsUpdateFailed

func NewPutEndpointIDLabelsUpdateFailed() *PutEndpointIDLabelsUpdateFailed

NewPutEndpointIDLabelsUpdateFailed creates a PutEndpointIDLabelsUpdateFailed with default headers values

func (*PutEndpointIDLabelsUpdateFailed) Error

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-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-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