endpoint

package
v1.14.14 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 39

Documentation

Index

Constants

View Source
const DeleteEndpointErrorsCode int = 206

DeleteEndpointErrorsCode is the HTTP code returned for type DeleteEndpointErrors

View Source
const DeleteEndpointIDErrorsCode int = 206

DeleteEndpointIDErrorsCode is the HTTP code returned for type DeleteEndpointIDErrors

View Source
const DeleteEndpointIDForbiddenCode int = 403

DeleteEndpointIDForbiddenCode is the HTTP code returned for type DeleteEndpointIDForbidden

View Source
const DeleteEndpointIDInvalidCode int = 400

DeleteEndpointIDInvalidCode is the HTTP code returned for type DeleteEndpointIDInvalid

View Source
const DeleteEndpointIDNotFoundCode int = 404

DeleteEndpointIDNotFoundCode is the HTTP code returned for type DeleteEndpointIDNotFound

View Source
const DeleteEndpointIDOKCode int = 200

DeleteEndpointIDOKCode is the HTTP code returned for type DeleteEndpointIDOK

View Source
const DeleteEndpointIDTooManyRequestsCode int = 429

DeleteEndpointIDTooManyRequestsCode is the HTTP code returned for type DeleteEndpointIDTooManyRequests

View Source
const DeleteEndpointInvalidCode int = 400

DeleteEndpointInvalidCode is the HTTP code returned for type DeleteEndpointInvalid

View Source
const DeleteEndpointNotFoundCode int = 404

DeleteEndpointNotFoundCode is the HTTP code returned for type DeleteEndpointNotFound

View Source
const DeleteEndpointOKCode int = 200

DeleteEndpointOKCode is the HTTP code returned for type DeleteEndpointOK

View Source
const DeleteEndpointTooManyRequestsCode int = 429

DeleteEndpointTooManyRequestsCode is the HTTP code returned for type DeleteEndpointTooManyRequests

View Source
const GetEndpointIDConfigNotFoundCode int = 404

GetEndpointIDConfigNotFoundCode is the HTTP code returned for type GetEndpointIDConfigNotFound

View Source
const GetEndpointIDConfigOKCode int = 200

GetEndpointIDConfigOKCode is the HTTP code returned for type GetEndpointIDConfigOK

View Source
const GetEndpointIDConfigTooManyRequestsCode int = 429

GetEndpointIDConfigTooManyRequestsCode is the HTTP code returned for type GetEndpointIDConfigTooManyRequests

View Source
const GetEndpointIDHealthzInvalidCode int = 400

GetEndpointIDHealthzInvalidCode is the HTTP code returned for type GetEndpointIDHealthzInvalid

View Source
const GetEndpointIDHealthzNotFoundCode int = 404

GetEndpointIDHealthzNotFoundCode is the HTTP code returned for type GetEndpointIDHealthzNotFound

View Source
const GetEndpointIDHealthzOKCode int = 200

GetEndpointIDHealthzOKCode is the HTTP code returned for type GetEndpointIDHealthzOK

View Source
const GetEndpointIDHealthzTooManyRequestsCode int = 429

GetEndpointIDHealthzTooManyRequestsCode is the HTTP code returned for type GetEndpointIDHealthzTooManyRequests

View Source
const GetEndpointIDInvalidCode int = 400

GetEndpointIDInvalidCode is the HTTP code returned for type GetEndpointIDInvalid

View Source
const GetEndpointIDLabelsNotFoundCode int = 404

GetEndpointIDLabelsNotFoundCode is the HTTP code returned for type GetEndpointIDLabelsNotFound

View Source
const GetEndpointIDLabelsOKCode int = 200

GetEndpointIDLabelsOKCode is the HTTP code returned for type GetEndpointIDLabelsOK

View Source
const GetEndpointIDLabelsTooManyRequestsCode int = 429

GetEndpointIDLabelsTooManyRequestsCode is the HTTP code returned for type GetEndpointIDLabelsTooManyRequests

View Source
const GetEndpointIDLogInvalidCode int = 400

GetEndpointIDLogInvalidCode is the HTTP code returned for type GetEndpointIDLogInvalid

View Source
const GetEndpointIDLogNotFoundCode int = 404

GetEndpointIDLogNotFoundCode is the HTTP code returned for type GetEndpointIDLogNotFound

View Source
const GetEndpointIDLogOKCode int = 200

GetEndpointIDLogOKCode is the HTTP code returned for type GetEndpointIDLogOK

View Source
const GetEndpointIDLogTooManyRequestsCode int = 429

GetEndpointIDLogTooManyRequestsCode is the HTTP code returned for type GetEndpointIDLogTooManyRequests

View Source
const GetEndpointIDNotFoundCode int = 404

GetEndpointIDNotFoundCode is the HTTP code returned for type GetEndpointIDNotFound

View Source
const GetEndpointIDOKCode int = 200

GetEndpointIDOKCode is the HTTP code returned for type GetEndpointIDOK

View Source
const GetEndpointIDTooManyRequestsCode int = 429

GetEndpointIDTooManyRequestsCode is the HTTP code returned for type GetEndpointIDTooManyRequests

View Source
const GetEndpointNotFoundCode int = 404

GetEndpointNotFoundCode is the HTTP code returned for type GetEndpointNotFound

View Source
const GetEndpointOKCode int = 200

GetEndpointOKCode is the HTTP code returned for type GetEndpointOK

View Source
const GetEndpointTooManyRequestsCode int = 429

GetEndpointTooManyRequestsCode is the HTTP code returned for type GetEndpointTooManyRequests

View Source
const PatchEndpointIDConfigFailedCode int = 500

PatchEndpointIDConfigFailedCode is the HTTP code returned for type PatchEndpointIDConfigFailed

View Source
const PatchEndpointIDConfigForbiddenCode int = 403

PatchEndpointIDConfigForbiddenCode is the HTTP code returned for type PatchEndpointIDConfigForbidden

View Source
const PatchEndpointIDConfigInvalidCode int = 400

PatchEndpointIDConfigInvalidCode is the HTTP code returned for type PatchEndpointIDConfigInvalid

View Source
const PatchEndpointIDConfigNotFoundCode int = 404

PatchEndpointIDConfigNotFoundCode is the HTTP code returned for type PatchEndpointIDConfigNotFound

View Source
const PatchEndpointIDConfigOKCode int = 200

PatchEndpointIDConfigOKCode is the HTTP code returned for type PatchEndpointIDConfigOK

View Source
const PatchEndpointIDConfigTooManyRequestsCode int = 429

PatchEndpointIDConfigTooManyRequestsCode is the HTTP code returned for type PatchEndpointIDConfigTooManyRequests

View Source
const PatchEndpointIDFailedCode int = 500

PatchEndpointIDFailedCode is the HTTP code returned for type PatchEndpointIDFailed

View Source
const PatchEndpointIDForbiddenCode int = 403

PatchEndpointIDForbiddenCode is the HTTP code returned for type PatchEndpointIDForbidden

View Source
const PatchEndpointIDInvalidCode int = 400

PatchEndpointIDInvalidCode is the HTTP code returned for type PatchEndpointIDInvalid

View Source
const PatchEndpointIDLabelsForbiddenCode int = 403

PatchEndpointIDLabelsForbiddenCode is the HTTP code returned for type PatchEndpointIDLabelsForbidden

View Source
const PatchEndpointIDLabelsNotFoundCode int = 404

PatchEndpointIDLabelsNotFoundCode is the HTTP code returned for type PatchEndpointIDLabelsNotFound

View Source
const PatchEndpointIDLabelsOKCode int = 200

PatchEndpointIDLabelsOKCode is the HTTP code returned for type PatchEndpointIDLabelsOK

View Source
const PatchEndpointIDLabelsTooManyRequestsCode int = 429

PatchEndpointIDLabelsTooManyRequestsCode is the HTTP code returned for type PatchEndpointIDLabelsTooManyRequests

View Source
const PatchEndpointIDLabelsUpdateFailedCode int = 500

PatchEndpointIDLabelsUpdateFailedCode is the HTTP code returned for type PatchEndpointIDLabelsUpdateFailed

View Source
const PatchEndpointIDNotFoundCode int = 404

PatchEndpointIDNotFoundCode is the HTTP code returned for type PatchEndpointIDNotFound

View Source
const PatchEndpointIDOKCode int = 200

PatchEndpointIDOKCode is the HTTP code returned for type PatchEndpointIDOK

View Source
const PatchEndpointIDTooManyRequestsCode int = 429

PatchEndpointIDTooManyRequestsCode is the HTTP code returned for type PatchEndpointIDTooManyRequests

View Source
const PutEndpointIDCreatedCode int = 201

PutEndpointIDCreatedCode is the HTTP code returned for type PutEndpointIDCreated

View Source
const PutEndpointIDExistsCode int = 409

PutEndpointIDExistsCode is the HTTP code returned for type PutEndpointIDExists

View Source
const PutEndpointIDFailedCode int = 500

PutEndpointIDFailedCode is the HTTP code returned for type PutEndpointIDFailed

View Source
const PutEndpointIDForbiddenCode int = 403

PutEndpointIDForbiddenCode is the HTTP code returned for type PutEndpointIDForbidden

View Source
const PutEndpointIDInvalidCode int = 400

PutEndpointIDInvalidCode is the HTTP code returned for type PutEndpointIDInvalid

View Source
const PutEndpointIDTooManyRequestsCode int = 429

PutEndpointIDTooManyRequestsCode is the HTTP code returned for type PutEndpointIDTooManyRequests

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteEndpoint added in v0.15.7

type DeleteEndpoint struct {
	Context *middleware.Context
	Handler DeleteEndpointHandler
}
DeleteEndpoint swagger:route DELETE /endpoint endpoint deleteEndpoint

Deletes a list of endpoints

Deletes a list of endpoints that have endpoints matching the provided properties

func NewDeleteEndpoint added in v0.15.7

func NewDeleteEndpoint(ctx *middleware.Context, handler DeleteEndpointHandler) *DeleteEndpoint

NewDeleteEndpoint creates a new http.Handler for the delete endpoint operation

func (*DeleteEndpoint) ServeHTTP added in v0.15.7

func (o *DeleteEndpoint) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteEndpointErrors added in v0.15.7

type DeleteEndpointErrors struct {

	/*
	  In: Body
	*/
	Payload int64 `json:"body,omitempty"`
}

DeleteEndpointErrors Deleted with a number of errors encountered

swagger:response deleteEndpointErrors

func NewDeleteEndpointErrors added in v0.15.7

func NewDeleteEndpointErrors() *DeleteEndpointErrors

NewDeleteEndpointErrors creates DeleteEndpointErrors with default headers values

func (*DeleteEndpointErrors) SetPayload added in v0.15.7

func (o *DeleteEndpointErrors) SetPayload(payload int64)

SetPayload sets the payload to the delete endpoint errors response

func (*DeleteEndpointErrors) WithPayload added in v0.15.7

func (o *DeleteEndpointErrors) WithPayload(payload int64) *DeleteEndpointErrors

WithPayload adds the payload to the delete endpoint errors response

func (*DeleteEndpointErrors) WriteResponse added in v0.15.7

func (o *DeleteEndpointErrors) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteEndpointHandler added in v0.15.7

type DeleteEndpointHandler interface {
	Handle(DeleteEndpointParams) middleware.Responder
}

DeleteEndpointHandler interface for that can handle valid delete endpoint params

type DeleteEndpointHandlerFunc added in v0.15.7

type DeleteEndpointHandlerFunc func(DeleteEndpointParams) middleware.Responder

DeleteEndpointHandlerFunc turns a function with the right signature into a delete endpoint handler

func (DeleteEndpointHandlerFunc) Handle added in v0.15.7

Handle executing the request and returning a response

type DeleteEndpointID

type DeleteEndpointID struct {
	Context *middleware.Context
	Handler DeleteEndpointIDHandler
}
DeleteEndpointID swagger:route DELETE /endpoint/{id} endpoint deleteEndpointId

Delete 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 NewDeleteEndpointID

func NewDeleteEndpointID(ctx *middleware.Context, handler DeleteEndpointIDHandler) *DeleteEndpointID

NewDeleteEndpointID creates a new http.Handler for the delete endpoint ID operation

func (*DeleteEndpointID) ServeHTTP

func (o *DeleteEndpointID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteEndpointIDErrors

type DeleteEndpointIDErrors struct {

	/*
	  In: Body
	*/
	Payload int64 `json:"body,omitempty"`
}

DeleteEndpointIDErrors Deleted with a number of errors encountered

swagger:response deleteEndpointIdErrors

func NewDeleteEndpointIDErrors

func NewDeleteEndpointIDErrors() *DeleteEndpointIDErrors

NewDeleteEndpointIDErrors creates DeleteEndpointIDErrors with default headers values

func (*DeleteEndpointIDErrors) SetPayload

func (o *DeleteEndpointIDErrors) SetPayload(payload int64)

SetPayload sets the payload to the delete endpoint Id errors response

func (*DeleteEndpointIDErrors) WithPayload

func (o *DeleteEndpointIDErrors) WithPayload(payload int64) *DeleteEndpointIDErrors

WithPayload adds the payload to the delete endpoint Id errors response

func (*DeleteEndpointIDErrors) WriteResponse

func (o *DeleteEndpointIDErrors) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteEndpointIDForbidden added in v0.15.7

type DeleteEndpointIDForbidden struct {
}

DeleteEndpointIDForbidden Forbidden

swagger:response deleteEndpointIdForbidden

func NewDeleteEndpointIDForbidden added in v0.15.7

func NewDeleteEndpointIDForbidden() *DeleteEndpointIDForbidden

NewDeleteEndpointIDForbidden creates DeleteEndpointIDForbidden with default headers values

func (*DeleteEndpointIDForbidden) WriteResponse added in v0.15.7

func (o *DeleteEndpointIDForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteEndpointIDHandler

type DeleteEndpointIDHandler interface {
	Handle(DeleteEndpointIDParams) middleware.Responder
}

DeleteEndpointIDHandler interface for that can handle valid delete endpoint ID params

type DeleteEndpointIDHandlerFunc

type DeleteEndpointIDHandlerFunc func(DeleteEndpointIDParams) middleware.Responder

DeleteEndpointIDHandlerFunc turns a function with the right signature into a delete endpoint ID handler

func (DeleteEndpointIDHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteEndpointIDInvalid

type DeleteEndpointIDInvalid struct {

	/*
	  In: Body
	*/
	Payload models.Error `json:"body,omitempty"`
}

DeleteEndpointIDInvalid Invalid endpoint ID format for specified type. Details in error message

swagger:response deleteEndpointIdInvalid

func NewDeleteEndpointIDInvalid

func NewDeleteEndpointIDInvalid() *DeleteEndpointIDInvalid

NewDeleteEndpointIDInvalid creates DeleteEndpointIDInvalid with default headers values

func (*DeleteEndpointIDInvalid) SetPayload

func (o *DeleteEndpointIDInvalid) SetPayload(payload models.Error)

SetPayload sets the payload to the delete endpoint Id invalid response

func (*DeleteEndpointIDInvalid) WithPayload

WithPayload adds the payload to the delete endpoint Id invalid response

func (*DeleteEndpointIDInvalid) WriteResponse

func (o *DeleteEndpointIDInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteEndpointIDNotFound

type DeleteEndpointIDNotFound struct {
}

DeleteEndpointIDNotFound Endpoint not found

swagger:response deleteEndpointIdNotFound

func NewDeleteEndpointIDNotFound

func NewDeleteEndpointIDNotFound() *DeleteEndpointIDNotFound

NewDeleteEndpointIDNotFound creates DeleteEndpointIDNotFound with default headers values

func (*DeleteEndpointIDNotFound) WriteResponse

func (o *DeleteEndpointIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteEndpointIDOK

type DeleteEndpointIDOK struct {
}

DeleteEndpointIDOK Success

swagger:response deleteEndpointIdOK

func NewDeleteEndpointIDOK

func NewDeleteEndpointIDOK() *DeleteEndpointIDOK

NewDeleteEndpointIDOK creates DeleteEndpointIDOK with default headers values

func (*DeleteEndpointIDOK) WriteResponse

func (o *DeleteEndpointIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteEndpointIDParams

type DeleteEndpointIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

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

	  Required: true
	  In: path
	*/
	ID string
}

DeleteEndpointIDParams contains all the bound params for the delete endpoint ID operation typically these are obtained from a http.Request

swagger:parameters DeleteEndpointID

func NewDeleteEndpointIDParams

func NewDeleteEndpointIDParams() DeleteEndpointIDParams

NewDeleteEndpointIDParams creates a new DeleteEndpointIDParams object

There are no default values defined in the spec.

func (*DeleteEndpointIDParams) BindRequest

func (o *DeleteEndpointIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteEndpointIDParams() beforehand.

type DeleteEndpointIDTooManyRequests added in v0.15.7

type DeleteEndpointIDTooManyRequests struct {
}

DeleteEndpointIDTooManyRequests Rate-limiting too many requests in the given time frame

swagger:response deleteEndpointIdTooManyRequests

func NewDeleteEndpointIDTooManyRequests added in v0.15.7

func NewDeleteEndpointIDTooManyRequests() *DeleteEndpointIDTooManyRequests

NewDeleteEndpointIDTooManyRequests creates DeleteEndpointIDTooManyRequests with default headers values

func (*DeleteEndpointIDTooManyRequests) WriteResponse added in v0.15.7

func (o *DeleteEndpointIDTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteEndpointInvalid added in v0.15.7

type DeleteEndpointInvalid struct {
}

DeleteEndpointInvalid Invalid endpoint delete request

swagger:response deleteEndpointInvalid

func NewDeleteEndpointInvalid added in v0.15.7

func NewDeleteEndpointInvalid() *DeleteEndpointInvalid

NewDeleteEndpointInvalid creates DeleteEndpointInvalid with default headers values

func (*DeleteEndpointInvalid) WriteResponse added in v0.15.7

func (o *DeleteEndpointInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteEndpointNotFound added in v0.15.7

type DeleteEndpointNotFound struct {
}

DeleteEndpointNotFound No endpoints with provided parameters found

swagger:response deleteEndpointNotFound

func NewDeleteEndpointNotFound added in v0.15.7

func NewDeleteEndpointNotFound() *DeleteEndpointNotFound

NewDeleteEndpointNotFound creates DeleteEndpointNotFound with default headers values

func (*DeleteEndpointNotFound) WriteResponse added in v0.15.7

func (o *DeleteEndpointNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteEndpointOK added in v0.15.7

type DeleteEndpointOK struct {
}

DeleteEndpointOK Success

swagger:response deleteEndpointOK

func NewDeleteEndpointOK added in v0.15.7

func NewDeleteEndpointOK() *DeleteEndpointOK

NewDeleteEndpointOK creates DeleteEndpointOK with default headers values

func (*DeleteEndpointOK) WriteResponse added in v0.15.7

func (o *DeleteEndpointOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteEndpointParams added in v0.15.7

type DeleteEndpointParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Endpoint *models.EndpointBatchDeleteRequest
}

DeleteEndpointParams contains all the bound params for the delete endpoint operation typically these are obtained from a http.Request

swagger:parameters DeleteEndpoint

func NewDeleteEndpointParams added in v0.15.7

func NewDeleteEndpointParams() DeleteEndpointParams

NewDeleteEndpointParams creates a new DeleteEndpointParams object

There are no default values defined in the spec.

func (*DeleteEndpointParams) BindRequest added in v0.15.7

func (o *DeleteEndpointParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteEndpointParams() beforehand.

type DeleteEndpointTooManyRequests added in v0.15.7

type DeleteEndpointTooManyRequests struct {
}

DeleteEndpointTooManyRequests Rate-limiting too many requests in the given time frame

swagger:response deleteEndpointTooManyRequests

func NewDeleteEndpointTooManyRequests added in v0.15.7

func NewDeleteEndpointTooManyRequests() *DeleteEndpointTooManyRequests

NewDeleteEndpointTooManyRequests creates DeleteEndpointTooManyRequests with default headers values

func (*DeleteEndpointTooManyRequests) WriteResponse added in v0.15.7

func (o *DeleteEndpointTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpoint

type GetEndpoint struct {
	Context *middleware.Context
	Handler GetEndpointHandler
}
GetEndpoint swagger:route GET /endpoint endpoint 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 NewGetEndpoint

func NewGetEndpoint(ctx *middleware.Context, handler GetEndpointHandler) *GetEndpoint

NewGetEndpoint creates a new http.Handler for the get endpoint operation

func (*GetEndpoint) ServeHTTP

func (o *GetEndpoint) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetEndpointHandler

type GetEndpointHandler interface {
	Handle(GetEndpointParams) middleware.Responder
}

GetEndpointHandler interface for that can handle valid get endpoint params

type GetEndpointHandlerFunc

type GetEndpointHandlerFunc func(GetEndpointParams) middleware.Responder

GetEndpointHandlerFunc turns a function with the right signature into a get endpoint handler

func (GetEndpointHandlerFunc) Handle

Handle executing the request and returning a response

type GetEndpointID

type GetEndpointID struct {
	Context *middleware.Context
	Handler GetEndpointIDHandler
}
GetEndpointID swagger:route GET /endpoint/{id} endpoint getEndpointId

Get endpoint by endpoint ID

Returns endpoint information

func NewGetEndpointID

func NewGetEndpointID(ctx *middleware.Context, handler GetEndpointIDHandler) *GetEndpointID

NewGetEndpointID creates a new http.Handler for the get endpoint ID operation

func (*GetEndpointID) ServeHTTP

func (o *GetEndpointID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetEndpointIDConfig

type GetEndpointIDConfig struct {
	Context *middleware.Context
	Handler GetEndpointIDConfigHandler
}
GetEndpointIDConfig swagger:route GET /endpoint/{id}/config endpoint getEndpointIdConfig

Retrieve endpoint configuration

Retrieves the configuration of the specified endpoint.

func NewGetEndpointIDConfig

func NewGetEndpointIDConfig(ctx *middleware.Context, handler GetEndpointIDConfigHandler) *GetEndpointIDConfig

NewGetEndpointIDConfig creates a new http.Handler for the get endpoint ID config operation

func (*GetEndpointIDConfig) ServeHTTP

func (o *GetEndpointIDConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetEndpointIDConfigHandler

type GetEndpointIDConfigHandler interface {
	Handle(GetEndpointIDConfigParams) middleware.Responder
}

GetEndpointIDConfigHandler interface for that can handle valid get endpoint ID config params

type GetEndpointIDConfigHandlerFunc

type GetEndpointIDConfigHandlerFunc func(GetEndpointIDConfigParams) middleware.Responder

GetEndpointIDConfigHandlerFunc turns a function with the right signature into a get endpoint ID config handler

func (GetEndpointIDConfigHandlerFunc) Handle

Handle executing the request and returning a response

type GetEndpointIDConfigNotFound

type GetEndpointIDConfigNotFound struct {
}

GetEndpointIDConfigNotFound Endpoint not found

swagger:response getEndpointIdConfigNotFound

func NewGetEndpointIDConfigNotFound

func NewGetEndpointIDConfigNotFound() *GetEndpointIDConfigNotFound

NewGetEndpointIDConfigNotFound creates GetEndpointIDConfigNotFound with default headers values

func (*GetEndpointIDConfigNotFound) WriteResponse

func (o *GetEndpointIDConfigNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointIDConfigOK

type GetEndpointIDConfigOK struct {

	/*
	  In: Body
	*/
	Payload *models.EndpointConfigurationStatus `json:"body,omitempty"`
}

GetEndpointIDConfigOK Success

swagger:response getEndpointIdConfigOK

func NewGetEndpointIDConfigOK

func NewGetEndpointIDConfigOK() *GetEndpointIDConfigOK

NewGetEndpointIDConfigOK creates GetEndpointIDConfigOK with default headers values

func (*GetEndpointIDConfigOK) SetPayload

SetPayload sets the payload to the get endpoint Id config o k response

func (*GetEndpointIDConfigOK) WithPayload

WithPayload adds the payload to the get endpoint Id config o k response

func (*GetEndpointIDConfigOK) WriteResponse

func (o *GetEndpointIDConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointIDConfigParams

type GetEndpointIDConfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

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

	  Required: true
	  In: path
	*/
	ID string
}

GetEndpointIDConfigParams contains all the bound params for the get endpoint ID config operation typically these are obtained from a http.Request

swagger:parameters GetEndpointIDConfig

func NewGetEndpointIDConfigParams

func NewGetEndpointIDConfigParams() GetEndpointIDConfigParams

NewGetEndpointIDConfigParams creates a new GetEndpointIDConfigParams object

There are no default values defined in the spec.

func (*GetEndpointIDConfigParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetEndpointIDConfigParams() beforehand.

type GetEndpointIDConfigTooManyRequests added in v0.15.7

type GetEndpointIDConfigTooManyRequests struct {
}

GetEndpointIDConfigTooManyRequests Rate-limiting too many requests in the given time frame

swagger:response getEndpointIdConfigTooManyRequests

func NewGetEndpointIDConfigTooManyRequests added in v0.15.7

func NewGetEndpointIDConfigTooManyRequests() *GetEndpointIDConfigTooManyRequests

NewGetEndpointIDConfigTooManyRequests creates GetEndpointIDConfigTooManyRequests with default headers values

func (*GetEndpointIDConfigTooManyRequests) WriteResponse added in v0.15.7

WriteResponse to the client

type GetEndpointIDHandler

type GetEndpointIDHandler interface {
	Handle(GetEndpointIDParams) middleware.Responder
}

GetEndpointIDHandler interface for that can handle valid get endpoint ID params

type GetEndpointIDHandlerFunc

type GetEndpointIDHandlerFunc func(GetEndpointIDParams) middleware.Responder

GetEndpointIDHandlerFunc turns a function with the right signature into a get endpoint ID handler

func (GetEndpointIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetEndpointIDHealthz added in v0.15.7

type GetEndpointIDHealthz struct {
	Context *middleware.Context
	Handler GetEndpointIDHealthzHandler
}
GetEndpointIDHealthz swagger:route GET /endpoint/{id}/healthz endpoint getEndpointIdHealthz

Retrieves the status logs associated with this endpoint.

func NewGetEndpointIDHealthz added in v0.15.7

func NewGetEndpointIDHealthz(ctx *middleware.Context, handler GetEndpointIDHealthzHandler) *GetEndpointIDHealthz

NewGetEndpointIDHealthz creates a new http.Handler for the get endpoint ID healthz operation

func (*GetEndpointIDHealthz) ServeHTTP added in v0.15.7

func (o *GetEndpointIDHealthz) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetEndpointIDHealthzHandler added in v0.15.7

type GetEndpointIDHealthzHandler interface {
	Handle(GetEndpointIDHealthzParams) middleware.Responder
}

GetEndpointIDHealthzHandler interface for that can handle valid get endpoint ID healthz params

type GetEndpointIDHealthzHandlerFunc added in v0.15.7

type GetEndpointIDHealthzHandlerFunc func(GetEndpointIDHealthzParams) middleware.Responder

GetEndpointIDHealthzHandlerFunc turns a function with the right signature into a get endpoint ID healthz handler

func (GetEndpointIDHealthzHandlerFunc) Handle added in v0.15.7

Handle executing the request and returning a response

type GetEndpointIDHealthzInvalid added in v0.15.7

type GetEndpointIDHealthzInvalid struct {
}

GetEndpointIDHealthzInvalid Invalid identity provided

swagger:response getEndpointIdHealthzInvalid

func NewGetEndpointIDHealthzInvalid added in v0.15.7

func NewGetEndpointIDHealthzInvalid() *GetEndpointIDHealthzInvalid

NewGetEndpointIDHealthzInvalid creates GetEndpointIDHealthzInvalid with default headers values

func (*GetEndpointIDHealthzInvalid) WriteResponse added in v0.15.7

func (o *GetEndpointIDHealthzInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointIDHealthzNotFound added in v0.15.7

type GetEndpointIDHealthzNotFound struct {
}

GetEndpointIDHealthzNotFound Endpoint not found

swagger:response getEndpointIdHealthzNotFound

func NewGetEndpointIDHealthzNotFound added in v0.15.7

func NewGetEndpointIDHealthzNotFound() *GetEndpointIDHealthzNotFound

NewGetEndpointIDHealthzNotFound creates GetEndpointIDHealthzNotFound with default headers values

func (*GetEndpointIDHealthzNotFound) WriteResponse added in v0.15.7

func (o *GetEndpointIDHealthzNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointIDHealthzOK added in v0.15.7

type GetEndpointIDHealthzOK struct {

	/*
	  In: Body
	*/
	Payload *models.EndpointHealth `json:"body,omitempty"`
}

GetEndpointIDHealthzOK Success

swagger:response getEndpointIdHealthzOK

func NewGetEndpointIDHealthzOK added in v0.15.7

func NewGetEndpointIDHealthzOK() *GetEndpointIDHealthzOK

NewGetEndpointIDHealthzOK creates GetEndpointIDHealthzOK with default headers values

func (*GetEndpointIDHealthzOK) SetPayload added in v0.15.7

func (o *GetEndpointIDHealthzOK) SetPayload(payload *models.EndpointHealth)

SetPayload sets the payload to the get endpoint Id healthz o k response

func (*GetEndpointIDHealthzOK) WithPayload added in v0.15.7

WithPayload adds the payload to the get endpoint Id healthz o k response

func (*GetEndpointIDHealthzOK) WriteResponse added in v0.15.7

func (o *GetEndpointIDHealthzOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointIDHealthzParams added in v0.15.7

type GetEndpointIDHealthzParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

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

	  Required: true
	  In: path
	*/
	ID string
}

GetEndpointIDHealthzParams contains all the bound params for the get endpoint ID healthz operation typically these are obtained from a http.Request

swagger:parameters GetEndpointIDHealthz

func NewGetEndpointIDHealthzParams added in v0.15.7

func NewGetEndpointIDHealthzParams() GetEndpointIDHealthzParams

NewGetEndpointIDHealthzParams creates a new GetEndpointIDHealthzParams object

There are no default values defined in the spec.

func (*GetEndpointIDHealthzParams) BindRequest added in v0.15.7

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetEndpointIDHealthzParams() beforehand.

type GetEndpointIDHealthzTooManyRequests added in v0.15.7

type GetEndpointIDHealthzTooManyRequests struct {
}

GetEndpointIDHealthzTooManyRequests Rate-limiting too many requests in the given time frame

swagger:response getEndpointIdHealthzTooManyRequests

func NewGetEndpointIDHealthzTooManyRequests added in v0.15.7

func NewGetEndpointIDHealthzTooManyRequests() *GetEndpointIDHealthzTooManyRequests

NewGetEndpointIDHealthzTooManyRequests creates GetEndpointIDHealthzTooManyRequests with default headers values

func (*GetEndpointIDHealthzTooManyRequests) WriteResponse added in v0.15.7

WriteResponse to the client

type GetEndpointIDInvalid

type GetEndpointIDInvalid struct {

	/*
	  In: Body
	*/
	Payload models.Error `json:"body,omitempty"`
}

GetEndpointIDInvalid Invalid endpoint ID format for specified type

swagger:response getEndpointIdInvalid

func NewGetEndpointIDInvalid

func NewGetEndpointIDInvalid() *GetEndpointIDInvalid

NewGetEndpointIDInvalid creates GetEndpointIDInvalid with default headers values

func (*GetEndpointIDInvalid) SetPayload

func (o *GetEndpointIDInvalid) SetPayload(payload models.Error)

SetPayload sets the payload to the get endpoint Id invalid response

func (*GetEndpointIDInvalid) WithPayload

func (o *GetEndpointIDInvalid) WithPayload(payload models.Error) *GetEndpointIDInvalid

WithPayload adds the payload to the get endpoint Id invalid response

func (*GetEndpointIDInvalid) WriteResponse

func (o *GetEndpointIDInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointIDLabels

type GetEndpointIDLabels struct {
	Context *middleware.Context
	Handler GetEndpointIDLabelsHandler
}
GetEndpointIDLabels swagger:route GET /endpoint/{id}/labels endpoint getEndpointIdLabels

Retrieves the list of labels associated with an endpoint.

func NewGetEndpointIDLabels

func NewGetEndpointIDLabels(ctx *middleware.Context, handler GetEndpointIDLabelsHandler) *GetEndpointIDLabels

NewGetEndpointIDLabels creates a new http.Handler for the get endpoint ID labels operation

func (*GetEndpointIDLabels) ServeHTTP

func (o *GetEndpointIDLabels) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetEndpointIDLabelsHandler

type GetEndpointIDLabelsHandler interface {
	Handle(GetEndpointIDLabelsParams) middleware.Responder
}

GetEndpointIDLabelsHandler interface for that can handle valid get endpoint ID labels params

type GetEndpointIDLabelsHandlerFunc

type GetEndpointIDLabelsHandlerFunc func(GetEndpointIDLabelsParams) middleware.Responder

GetEndpointIDLabelsHandlerFunc turns a function with the right signature into a get endpoint ID labels handler

func (GetEndpointIDLabelsHandlerFunc) Handle

Handle executing the request and returning a response

type GetEndpointIDLabelsNotFound

type GetEndpointIDLabelsNotFound struct {
}

GetEndpointIDLabelsNotFound Endpoint not found

swagger:response getEndpointIdLabelsNotFound

func NewGetEndpointIDLabelsNotFound

func NewGetEndpointIDLabelsNotFound() *GetEndpointIDLabelsNotFound

NewGetEndpointIDLabelsNotFound creates GetEndpointIDLabelsNotFound with default headers values

func (*GetEndpointIDLabelsNotFound) WriteResponse

func (o *GetEndpointIDLabelsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointIDLabelsOK

type GetEndpointIDLabelsOK struct {

	/*
	  In: Body
	*/
	Payload *models.LabelConfiguration `json:"body,omitempty"`
}

GetEndpointIDLabelsOK Success

swagger:response getEndpointIdLabelsOK

func NewGetEndpointIDLabelsOK

func NewGetEndpointIDLabelsOK() *GetEndpointIDLabelsOK

NewGetEndpointIDLabelsOK creates GetEndpointIDLabelsOK with default headers values

func (*GetEndpointIDLabelsOK) SetPayload

func (o *GetEndpointIDLabelsOK) SetPayload(payload *models.LabelConfiguration)

SetPayload sets the payload to the get endpoint Id labels o k response

func (*GetEndpointIDLabelsOK) WithPayload

WithPayload adds the payload to the get endpoint Id labels o k response

func (*GetEndpointIDLabelsOK) WriteResponse

func (o *GetEndpointIDLabelsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointIDLabelsParams

type GetEndpointIDLabelsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

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

	  Required: true
	  In: path
	*/
	ID string
}

GetEndpointIDLabelsParams contains all the bound params for the get endpoint ID labels operation typically these are obtained from a http.Request

swagger:parameters GetEndpointIDLabels

func NewGetEndpointIDLabelsParams

func NewGetEndpointIDLabelsParams() GetEndpointIDLabelsParams

NewGetEndpointIDLabelsParams creates a new GetEndpointIDLabelsParams object

There are no default values defined in the spec.

func (*GetEndpointIDLabelsParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetEndpointIDLabelsParams() beforehand.

type GetEndpointIDLabelsTooManyRequests added in v0.15.7

type GetEndpointIDLabelsTooManyRequests struct {
}

GetEndpointIDLabelsTooManyRequests Rate-limiting too many requests in the given time frame

swagger:response getEndpointIdLabelsTooManyRequests

func NewGetEndpointIDLabelsTooManyRequests added in v0.15.7

func NewGetEndpointIDLabelsTooManyRequests() *GetEndpointIDLabelsTooManyRequests

NewGetEndpointIDLabelsTooManyRequests creates GetEndpointIDLabelsTooManyRequests with default headers values

func (*GetEndpointIDLabelsTooManyRequests) WriteResponse added in v0.15.7

WriteResponse to the client

type GetEndpointIDLog added in v0.15.7

type GetEndpointIDLog struct {
	Context *middleware.Context
	Handler GetEndpointIDLogHandler
}
GetEndpointIDLog swagger:route GET /endpoint/{id}/log endpoint getEndpointIdLog

Retrieves the status logs associated with this endpoint.

func NewGetEndpointIDLog added in v0.15.7

func NewGetEndpointIDLog(ctx *middleware.Context, handler GetEndpointIDLogHandler) *GetEndpointIDLog

NewGetEndpointIDLog creates a new http.Handler for the get endpoint ID log operation

func (*GetEndpointIDLog) ServeHTTP added in v0.15.7

func (o *GetEndpointIDLog) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetEndpointIDLogHandler added in v0.15.7

type GetEndpointIDLogHandler interface {
	Handle(GetEndpointIDLogParams) middleware.Responder
}

GetEndpointIDLogHandler interface for that can handle valid get endpoint ID log params

type GetEndpointIDLogHandlerFunc added in v0.15.7

type GetEndpointIDLogHandlerFunc func(GetEndpointIDLogParams) middleware.Responder

GetEndpointIDLogHandlerFunc turns a function with the right signature into a get endpoint ID log handler

func (GetEndpointIDLogHandlerFunc) Handle added in v0.15.7

Handle executing the request and returning a response

type GetEndpointIDLogInvalid added in v0.15.7

type GetEndpointIDLogInvalid struct {
}

GetEndpointIDLogInvalid Invalid identity provided

swagger:response getEndpointIdLogInvalid

func NewGetEndpointIDLogInvalid added in v0.15.7

func NewGetEndpointIDLogInvalid() *GetEndpointIDLogInvalid

NewGetEndpointIDLogInvalid creates GetEndpointIDLogInvalid with default headers values

func (*GetEndpointIDLogInvalid) WriteResponse added in v0.15.7

func (o *GetEndpointIDLogInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointIDLogNotFound added in v0.15.7

type GetEndpointIDLogNotFound struct {
}

GetEndpointIDLogNotFound Endpoint not found

swagger:response getEndpointIdLogNotFound

func NewGetEndpointIDLogNotFound added in v0.15.7

func NewGetEndpointIDLogNotFound() *GetEndpointIDLogNotFound

NewGetEndpointIDLogNotFound creates GetEndpointIDLogNotFound with default headers values

func (*GetEndpointIDLogNotFound) WriteResponse added in v0.15.7

func (o *GetEndpointIDLogNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointIDLogOK added in v0.15.7

type GetEndpointIDLogOK struct {

	/*
	  In: Body
	*/
	Payload models.EndpointStatusLog `json:"body,omitempty"`
}

GetEndpointIDLogOK Success

swagger:response getEndpointIdLogOK

func NewGetEndpointIDLogOK added in v0.15.7

func NewGetEndpointIDLogOK() *GetEndpointIDLogOK

NewGetEndpointIDLogOK creates GetEndpointIDLogOK with default headers values

func (*GetEndpointIDLogOK) SetPayload added in v0.15.7

func (o *GetEndpointIDLogOK) SetPayload(payload models.EndpointStatusLog)

SetPayload sets the payload to the get endpoint Id log o k response

func (*GetEndpointIDLogOK) WithPayload added in v0.15.7

WithPayload adds the payload to the get endpoint Id log o k response

func (*GetEndpointIDLogOK) WriteResponse added in v0.15.7

func (o *GetEndpointIDLogOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointIDLogParams added in v0.15.7

type GetEndpointIDLogParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

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

	  Required: true
	  In: path
	*/
	ID string
}

GetEndpointIDLogParams contains all the bound params for the get endpoint ID log operation typically these are obtained from a http.Request

swagger:parameters GetEndpointIDLog

func NewGetEndpointIDLogParams added in v0.15.7

func NewGetEndpointIDLogParams() GetEndpointIDLogParams

NewGetEndpointIDLogParams creates a new GetEndpointIDLogParams object

There are no default values defined in the spec.

func (*GetEndpointIDLogParams) BindRequest added in v0.15.7

func (o *GetEndpointIDLogParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetEndpointIDLogParams() beforehand.

type GetEndpointIDLogTooManyRequests added in v0.15.7

type GetEndpointIDLogTooManyRequests struct {
}

GetEndpointIDLogTooManyRequests Rate-limiting too many requests in the given time frame

swagger:response getEndpointIdLogTooManyRequests

func NewGetEndpointIDLogTooManyRequests added in v0.15.7

func NewGetEndpointIDLogTooManyRequests() *GetEndpointIDLogTooManyRequests

NewGetEndpointIDLogTooManyRequests creates GetEndpointIDLogTooManyRequests with default headers values

func (*GetEndpointIDLogTooManyRequests) WriteResponse added in v0.15.7

func (o *GetEndpointIDLogTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointIDNotFound

type GetEndpointIDNotFound struct {
}

GetEndpointIDNotFound Endpoint not found

swagger:response getEndpointIdNotFound

func NewGetEndpointIDNotFound

func NewGetEndpointIDNotFound() *GetEndpointIDNotFound

NewGetEndpointIDNotFound creates GetEndpointIDNotFound with default headers values

func (*GetEndpointIDNotFound) WriteResponse

func (o *GetEndpointIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointIDOK

type GetEndpointIDOK struct {

	/*
	  In: Body
	*/
	Payload *models.Endpoint `json:"body,omitempty"`
}

GetEndpointIDOK Success

swagger:response getEndpointIdOK

func NewGetEndpointIDOK

func NewGetEndpointIDOK() *GetEndpointIDOK

NewGetEndpointIDOK creates GetEndpointIDOK with default headers values

func (*GetEndpointIDOK) SetPayload

func (o *GetEndpointIDOK) SetPayload(payload *models.Endpoint)

SetPayload sets the payload to the get endpoint Id o k response

func (*GetEndpointIDOK) WithPayload

func (o *GetEndpointIDOK) WithPayload(payload *models.Endpoint) *GetEndpointIDOK

WithPayload adds the payload to the get endpoint Id o k response

func (*GetEndpointIDOK) WriteResponse

func (o *GetEndpointIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointIDParams

type GetEndpointIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

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

	  Required: true
	  In: path
	*/
	ID string
}

GetEndpointIDParams contains all the bound params for the get endpoint ID operation typically these are obtained from a http.Request

swagger:parameters GetEndpointID

func NewGetEndpointIDParams

func NewGetEndpointIDParams() GetEndpointIDParams

NewGetEndpointIDParams creates a new GetEndpointIDParams object

There are no default values defined in the spec.

func (*GetEndpointIDParams) BindRequest

func (o *GetEndpointIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetEndpointIDParams() beforehand.

type GetEndpointIDTooManyRequests added in v0.15.7

type GetEndpointIDTooManyRequests struct {
}

GetEndpointIDTooManyRequests Rate-limiting too many requests in the given time frame

swagger:response getEndpointIdTooManyRequests

func NewGetEndpointIDTooManyRequests added in v0.15.7

func NewGetEndpointIDTooManyRequests() *GetEndpointIDTooManyRequests

NewGetEndpointIDTooManyRequests creates GetEndpointIDTooManyRequests with default headers values

func (*GetEndpointIDTooManyRequests) WriteResponse added in v0.15.7

func (o *GetEndpointIDTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointNotFound added in v0.10.0

type GetEndpointNotFound struct {
}

GetEndpointNotFound Endpoints with provided parameters not found

swagger:response getEndpointNotFound

func NewGetEndpointNotFound added in v0.10.0

func NewGetEndpointNotFound() *GetEndpointNotFound

NewGetEndpointNotFound creates GetEndpointNotFound with default headers values

func (*GetEndpointNotFound) WriteResponse added in v0.10.0

func (o *GetEndpointNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointOK

type GetEndpointOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Endpoint `json:"body,omitempty"`
}

GetEndpointOK Success

swagger:response getEndpointOK

func NewGetEndpointOK

func NewGetEndpointOK() *GetEndpointOK

NewGetEndpointOK creates GetEndpointOK with default headers values

func (*GetEndpointOK) SetPayload

func (o *GetEndpointOK) SetPayload(payload []*models.Endpoint)

SetPayload sets the payload to the get endpoint o k response

func (*GetEndpointOK) WithPayload

func (o *GetEndpointOK) WithPayload(payload []*models.Endpoint) *GetEndpointOK

WithPayload adds the payload to the get endpoint o k response

func (*GetEndpointOK) WriteResponse

func (o *GetEndpointOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEndpointParams

type GetEndpointParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*List of labels

	  In: body
	*/
	Labels models.Labels
}

GetEndpointParams contains all the bound params for the get endpoint operation typically these are obtained from a http.Request

swagger:parameters GetEndpoint

func NewGetEndpointParams

func NewGetEndpointParams() GetEndpointParams

NewGetEndpointParams creates a new GetEndpointParams object

There are no default values defined in the spec.

func (*GetEndpointParams) BindRequest

func (o *GetEndpointParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetEndpointParams() beforehand.

type GetEndpointTooManyRequests added in v0.15.7

type GetEndpointTooManyRequests struct {
}

GetEndpointTooManyRequests Rate-limiting too many requests in the given time frame

swagger:response getEndpointTooManyRequests

func NewGetEndpointTooManyRequests added in v0.15.7

func NewGetEndpointTooManyRequests() *GetEndpointTooManyRequests

NewGetEndpointTooManyRequests creates GetEndpointTooManyRequests with default headers values

func (*GetEndpointTooManyRequests) WriteResponse added in v0.15.7

func (o *GetEndpointTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointID

type PatchEndpointID struct {
	Context *middleware.Context
	Handler PatchEndpointIDHandler
}
PatchEndpointID swagger:route PATCH /endpoint/{id} endpoint patchEndpointId

Modify existing endpoint

Applies the endpoint change request to an existing endpoint

func NewPatchEndpointID

func NewPatchEndpointID(ctx *middleware.Context, handler PatchEndpointIDHandler) *PatchEndpointID

NewPatchEndpointID creates a new http.Handler for the patch endpoint ID operation

func (*PatchEndpointID) ServeHTTP

func (o *PatchEndpointID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PatchEndpointIDConfig

type PatchEndpointIDConfig struct {
	Context *middleware.Context
	Handler PatchEndpointIDConfigHandler
}
PatchEndpointIDConfig swagger:route PATCH /endpoint/{id}/config endpoint patchEndpointIdConfig

Modify mutable endpoint configuration

Update the configuration of an existing endpoint and regenerates & recompiles the corresponding programs automatically.

func NewPatchEndpointIDConfig

func NewPatchEndpointIDConfig(ctx *middleware.Context, handler PatchEndpointIDConfigHandler) *PatchEndpointIDConfig

NewPatchEndpointIDConfig creates a new http.Handler for the patch endpoint ID config operation

func (*PatchEndpointIDConfig) ServeHTTP

func (o *PatchEndpointIDConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PatchEndpointIDConfigFailed

type PatchEndpointIDConfigFailed struct {

	/*
	  In: Body
	*/
	Payload models.Error `json:"body,omitempty"`
}

PatchEndpointIDConfigFailed Update failed. Details in message.

swagger:response patchEndpointIdConfigFailed

func NewPatchEndpointIDConfigFailed

func NewPatchEndpointIDConfigFailed() *PatchEndpointIDConfigFailed

NewPatchEndpointIDConfigFailed creates PatchEndpointIDConfigFailed with default headers values

func (*PatchEndpointIDConfigFailed) SetPayload

func (o *PatchEndpointIDConfigFailed) SetPayload(payload models.Error)

SetPayload sets the payload to the patch endpoint Id config failed response

func (*PatchEndpointIDConfigFailed) WithPayload

WithPayload adds the payload to the patch endpoint Id config failed response

func (*PatchEndpointIDConfigFailed) WriteResponse

func (o *PatchEndpointIDConfigFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointIDConfigForbidden added in v0.15.7

type PatchEndpointIDConfigForbidden struct {
}

PatchEndpointIDConfigForbidden Forbidden

swagger:response patchEndpointIdConfigForbidden

func NewPatchEndpointIDConfigForbidden added in v0.15.7

func NewPatchEndpointIDConfigForbidden() *PatchEndpointIDConfigForbidden

NewPatchEndpointIDConfigForbidden creates PatchEndpointIDConfigForbidden with default headers values

func (*PatchEndpointIDConfigForbidden) WriteResponse added in v0.15.7

func (o *PatchEndpointIDConfigForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointIDConfigHandler

type PatchEndpointIDConfigHandler interface {
	Handle(PatchEndpointIDConfigParams) middleware.Responder
}

PatchEndpointIDConfigHandler interface for that can handle valid patch endpoint ID config params

type PatchEndpointIDConfigHandlerFunc

type PatchEndpointIDConfigHandlerFunc func(PatchEndpointIDConfigParams) middleware.Responder

PatchEndpointIDConfigHandlerFunc turns a function with the right signature into a patch endpoint ID config handler

func (PatchEndpointIDConfigHandlerFunc) Handle

Handle executing the request and returning a response

type PatchEndpointIDConfigInvalid

type PatchEndpointIDConfigInvalid struct {
}

PatchEndpointIDConfigInvalid Invalid configuration request

swagger:response patchEndpointIdConfigInvalid

func NewPatchEndpointIDConfigInvalid

func NewPatchEndpointIDConfigInvalid() *PatchEndpointIDConfigInvalid

NewPatchEndpointIDConfigInvalid creates PatchEndpointIDConfigInvalid with default headers values

func (*PatchEndpointIDConfigInvalid) WriteResponse

func (o *PatchEndpointIDConfigInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointIDConfigNotFound

type PatchEndpointIDConfigNotFound struct {
}

PatchEndpointIDConfigNotFound Endpoint not found

swagger:response patchEndpointIdConfigNotFound

func NewPatchEndpointIDConfigNotFound

func NewPatchEndpointIDConfigNotFound() *PatchEndpointIDConfigNotFound

NewPatchEndpointIDConfigNotFound creates PatchEndpointIDConfigNotFound with default headers values

func (*PatchEndpointIDConfigNotFound) WriteResponse

func (o *PatchEndpointIDConfigNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointIDConfigOK

type PatchEndpointIDConfigOK struct {
}

PatchEndpointIDConfigOK Success

swagger:response patchEndpointIdConfigOK

func NewPatchEndpointIDConfigOK

func NewPatchEndpointIDConfigOK() *PatchEndpointIDConfigOK

NewPatchEndpointIDConfigOK creates PatchEndpointIDConfigOK with default headers values

func (*PatchEndpointIDConfigOK) WriteResponse

func (o *PatchEndpointIDConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointIDConfigParams

type PatchEndpointIDConfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	EndpointConfiguration *models.EndpointConfigurationSpec
	/*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

	  Required: true
	  In: path
	*/
	ID string
}

PatchEndpointIDConfigParams contains all the bound params for the patch endpoint ID config operation typically these are obtained from a http.Request

swagger:parameters PatchEndpointIDConfig

func NewPatchEndpointIDConfigParams

func NewPatchEndpointIDConfigParams() PatchEndpointIDConfigParams

NewPatchEndpointIDConfigParams creates a new PatchEndpointIDConfigParams object

There are no default values defined in the spec.

func (*PatchEndpointIDConfigParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPatchEndpointIDConfigParams() beforehand.

type PatchEndpointIDConfigTooManyRequests added in v0.15.7

type PatchEndpointIDConfigTooManyRequests struct {
}

PatchEndpointIDConfigTooManyRequests Rate-limiting too many requests in the given time frame

swagger:response patchEndpointIdConfigTooManyRequests

func NewPatchEndpointIDConfigTooManyRequests added in v0.15.7

func NewPatchEndpointIDConfigTooManyRequests() *PatchEndpointIDConfigTooManyRequests

NewPatchEndpointIDConfigTooManyRequests creates PatchEndpointIDConfigTooManyRequests with default headers values

func (*PatchEndpointIDConfigTooManyRequests) WriteResponse added in v0.15.7

WriteResponse to the client

type PatchEndpointIDFailed

type PatchEndpointIDFailed struct {

	/*
	  In: Body
	*/
	Payload models.Error `json:"body,omitempty"`
}

PatchEndpointIDFailed Endpoint update failed

swagger:response patchEndpointIdFailed

func NewPatchEndpointIDFailed

func NewPatchEndpointIDFailed() *PatchEndpointIDFailed

NewPatchEndpointIDFailed creates PatchEndpointIDFailed with default headers values

func (*PatchEndpointIDFailed) SetPayload

func (o *PatchEndpointIDFailed) SetPayload(payload models.Error)

SetPayload sets the payload to the patch endpoint Id failed response

func (*PatchEndpointIDFailed) WithPayload

func (o *PatchEndpointIDFailed) WithPayload(payload models.Error) *PatchEndpointIDFailed

WithPayload adds the payload to the patch endpoint Id failed response

func (*PatchEndpointIDFailed) WriteResponse

func (o *PatchEndpointIDFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointIDForbidden added in v0.15.7

type PatchEndpointIDForbidden struct {
}

PatchEndpointIDForbidden Forbidden

swagger:response patchEndpointIdForbidden

func NewPatchEndpointIDForbidden added in v0.15.7

func NewPatchEndpointIDForbidden() *PatchEndpointIDForbidden

NewPatchEndpointIDForbidden creates PatchEndpointIDForbidden with default headers values

func (*PatchEndpointIDForbidden) WriteResponse added in v0.15.7

func (o *PatchEndpointIDForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointIDHandler

type PatchEndpointIDHandler interface {
	Handle(PatchEndpointIDParams) middleware.Responder
}

PatchEndpointIDHandler interface for that can handle valid patch endpoint ID params

type PatchEndpointIDHandlerFunc

type PatchEndpointIDHandlerFunc func(PatchEndpointIDParams) middleware.Responder

PatchEndpointIDHandlerFunc turns a function with the right signature into a patch endpoint ID handler

func (PatchEndpointIDHandlerFunc) Handle

Handle executing the request and returning a response

type PatchEndpointIDInvalid

type PatchEndpointIDInvalid struct {

	/*
	  In: Body
	*/
	Payload models.Error `json:"body,omitempty"`
}

PatchEndpointIDInvalid Invalid modify endpoint request

swagger:response patchEndpointIdInvalid

func NewPatchEndpointIDInvalid

func NewPatchEndpointIDInvalid() *PatchEndpointIDInvalid

NewPatchEndpointIDInvalid creates PatchEndpointIDInvalid with default headers values

func (*PatchEndpointIDInvalid) SetPayload

func (o *PatchEndpointIDInvalid) SetPayload(payload models.Error)

SetPayload sets the payload to the patch endpoint Id invalid response

func (*PatchEndpointIDInvalid) WithPayload

func (o *PatchEndpointIDInvalid) WithPayload(payload models.Error) *PatchEndpointIDInvalid

WithPayload adds the payload to the patch endpoint Id invalid response

func (*PatchEndpointIDInvalid) WriteResponse

func (o *PatchEndpointIDInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointIDLabels added in v0.15.7

type PatchEndpointIDLabels struct {
	Context *middleware.Context
	Handler PatchEndpointIDLabelsHandler
}
PatchEndpointIDLabels swagger:route PATCH /endpoint/{id}/labels endpoint patchEndpointIdLabels

Set label configuration of endpoint

Sets labels associated with an endpoint. These can be user provided or derived from the orchestration system.

func NewPatchEndpointIDLabels added in v0.15.7

func NewPatchEndpointIDLabels(ctx *middleware.Context, handler PatchEndpointIDLabelsHandler) *PatchEndpointIDLabels

NewPatchEndpointIDLabels creates a new http.Handler for the patch endpoint ID labels operation

func (*PatchEndpointIDLabels) ServeHTTP added in v0.15.7

func (o *PatchEndpointIDLabels) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PatchEndpointIDLabelsForbidden added in v0.15.7

type PatchEndpointIDLabelsForbidden struct {
}

PatchEndpointIDLabelsForbidden Forbidden

swagger:response patchEndpointIdLabelsForbidden

func NewPatchEndpointIDLabelsForbidden added in v0.15.7

func NewPatchEndpointIDLabelsForbidden() *PatchEndpointIDLabelsForbidden

NewPatchEndpointIDLabelsForbidden creates PatchEndpointIDLabelsForbidden with default headers values

func (*PatchEndpointIDLabelsForbidden) WriteResponse added in v0.15.7

func (o *PatchEndpointIDLabelsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointIDLabelsHandler added in v0.15.7

type PatchEndpointIDLabelsHandler interface {
	Handle(PatchEndpointIDLabelsParams) middleware.Responder
}

PatchEndpointIDLabelsHandler interface for that can handle valid patch endpoint ID labels params

type PatchEndpointIDLabelsHandlerFunc added in v0.15.7

type PatchEndpointIDLabelsHandlerFunc func(PatchEndpointIDLabelsParams) middleware.Responder

PatchEndpointIDLabelsHandlerFunc turns a function with the right signature into a patch endpoint ID labels handler

func (PatchEndpointIDLabelsHandlerFunc) Handle added in v0.15.7

Handle executing the request and returning a response

type PatchEndpointIDLabelsNotFound added in v0.15.7

type PatchEndpointIDLabelsNotFound struct {
}

PatchEndpointIDLabelsNotFound Endpoint not found

swagger:response patchEndpointIdLabelsNotFound

func NewPatchEndpointIDLabelsNotFound added in v0.15.7

func NewPatchEndpointIDLabelsNotFound() *PatchEndpointIDLabelsNotFound

NewPatchEndpointIDLabelsNotFound creates PatchEndpointIDLabelsNotFound with default headers values

func (*PatchEndpointIDLabelsNotFound) WriteResponse added in v0.15.7

func (o *PatchEndpointIDLabelsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointIDLabelsOK added in v0.15.7

type PatchEndpointIDLabelsOK struct {
}

PatchEndpointIDLabelsOK Success

swagger:response patchEndpointIdLabelsOK

func NewPatchEndpointIDLabelsOK added in v0.15.7

func NewPatchEndpointIDLabelsOK() *PatchEndpointIDLabelsOK

NewPatchEndpointIDLabelsOK creates PatchEndpointIDLabelsOK with default headers values

func (*PatchEndpointIDLabelsOK) WriteResponse added in v0.15.7

func (o *PatchEndpointIDLabelsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointIDLabelsParams added in v0.15.7

type PatchEndpointIDLabelsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Configuration *models.LabelConfigurationSpec
	/*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

	  Required: true
	  In: path
	*/
	ID string
}

PatchEndpointIDLabelsParams contains all the bound params for the patch endpoint ID labels operation typically these are obtained from a http.Request

swagger:parameters PatchEndpointIDLabels

func NewPatchEndpointIDLabelsParams added in v0.15.7

func NewPatchEndpointIDLabelsParams() PatchEndpointIDLabelsParams

NewPatchEndpointIDLabelsParams creates a new PatchEndpointIDLabelsParams object

There are no default values defined in the spec.

func (*PatchEndpointIDLabelsParams) BindRequest added in v0.15.7

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPatchEndpointIDLabelsParams() beforehand.

type PatchEndpointIDLabelsTooManyRequests added in v0.15.7

type PatchEndpointIDLabelsTooManyRequests struct {
}

PatchEndpointIDLabelsTooManyRequests Rate-limiting too many requests in the given time frame

swagger:response patchEndpointIdLabelsTooManyRequests

func NewPatchEndpointIDLabelsTooManyRequests added in v0.15.7

func NewPatchEndpointIDLabelsTooManyRequests() *PatchEndpointIDLabelsTooManyRequests

NewPatchEndpointIDLabelsTooManyRequests creates PatchEndpointIDLabelsTooManyRequests with default headers values

func (*PatchEndpointIDLabelsTooManyRequests) WriteResponse added in v0.15.7

WriteResponse to the client

type PatchEndpointIDLabelsUpdateFailed added in v0.15.7

type PatchEndpointIDLabelsUpdateFailed struct {

	/*
	  In: Body
	*/
	Payload models.Error `json:"body,omitempty"`
}

PatchEndpointIDLabelsUpdateFailed Error while updating labels

swagger:response patchEndpointIdLabelsUpdateFailed

func NewPatchEndpointIDLabelsUpdateFailed added in v0.15.7

func NewPatchEndpointIDLabelsUpdateFailed() *PatchEndpointIDLabelsUpdateFailed

NewPatchEndpointIDLabelsUpdateFailed creates PatchEndpointIDLabelsUpdateFailed with default headers values

func (*PatchEndpointIDLabelsUpdateFailed) SetPayload added in v0.15.7

func (o *PatchEndpointIDLabelsUpdateFailed) SetPayload(payload models.Error)

SetPayload sets the payload to the patch endpoint Id labels update failed response

func (*PatchEndpointIDLabelsUpdateFailed) WithPayload added in v0.15.7

WithPayload adds the payload to the patch endpoint Id labels update failed response

func (*PatchEndpointIDLabelsUpdateFailed) WriteResponse added in v0.15.7

func (o *PatchEndpointIDLabelsUpdateFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointIDNotFound

type PatchEndpointIDNotFound struct {
}

PatchEndpointIDNotFound Endpoint does not exist

swagger:response patchEndpointIdNotFound

func NewPatchEndpointIDNotFound

func NewPatchEndpointIDNotFound() *PatchEndpointIDNotFound

NewPatchEndpointIDNotFound creates PatchEndpointIDNotFound with default headers values

func (*PatchEndpointIDNotFound) WriteResponse

func (o *PatchEndpointIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointIDOK

type PatchEndpointIDOK struct {
}

PatchEndpointIDOK Success

swagger:response patchEndpointIdOK

func NewPatchEndpointIDOK

func NewPatchEndpointIDOK() *PatchEndpointIDOK

NewPatchEndpointIDOK creates PatchEndpointIDOK with default headers values

func (*PatchEndpointIDOK) WriteResponse

func (o *PatchEndpointIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEndpointIDParams

type PatchEndpointIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Endpoint *models.EndpointChangeRequest
	/*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

	  Required: true
	  In: path
	*/
	ID string
}

PatchEndpointIDParams contains all the bound params for the patch endpoint ID operation typically these are obtained from a http.Request

swagger:parameters PatchEndpointID

func NewPatchEndpointIDParams

func NewPatchEndpointIDParams() PatchEndpointIDParams

NewPatchEndpointIDParams creates a new PatchEndpointIDParams object

There are no default values defined in the spec.

func (*PatchEndpointIDParams) BindRequest

func (o *PatchEndpointIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPatchEndpointIDParams() beforehand.

type PatchEndpointIDTooManyRequests added in v0.15.7

type PatchEndpointIDTooManyRequests struct {
}

PatchEndpointIDTooManyRequests Rate-limiting too many requests in the given time frame

swagger:response patchEndpointIdTooManyRequests

func NewPatchEndpointIDTooManyRequests added in v0.15.7

func NewPatchEndpointIDTooManyRequests() *PatchEndpointIDTooManyRequests

NewPatchEndpointIDTooManyRequests creates PatchEndpointIDTooManyRequests with default headers values

func (*PatchEndpointIDTooManyRequests) WriteResponse added in v0.15.7

func (o *PatchEndpointIDTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutEndpointID

type PutEndpointID struct {
	Context *middleware.Context
	Handler PutEndpointIDHandler
}
PutEndpointID swagger:route PUT /endpoint/{id} endpoint putEndpointId

Create endpoint

Creates a new endpoint

func NewPutEndpointID

func NewPutEndpointID(ctx *middleware.Context, handler PutEndpointIDHandler) *PutEndpointID

NewPutEndpointID creates a new http.Handler for the put endpoint ID operation

func (*PutEndpointID) ServeHTTP

func (o *PutEndpointID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PutEndpointIDCreated

type PutEndpointIDCreated struct {
}

PutEndpointIDCreated Created

swagger:response putEndpointIdCreated

func NewPutEndpointIDCreated

func NewPutEndpointIDCreated() *PutEndpointIDCreated

NewPutEndpointIDCreated creates PutEndpointIDCreated with default headers values

func (*PutEndpointIDCreated) WriteResponse

func (o *PutEndpointIDCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutEndpointIDExists

type PutEndpointIDExists struct {
}

PutEndpointIDExists Endpoint already exists

swagger:response putEndpointIdExists

func NewPutEndpointIDExists

func NewPutEndpointIDExists() *PutEndpointIDExists

NewPutEndpointIDExists creates PutEndpointIDExists with default headers values

func (*PutEndpointIDExists) WriteResponse

func (o *PutEndpointIDExists) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutEndpointIDFailed

type PutEndpointIDFailed struct {

	/*
	  In: Body
	*/
	Payload models.Error `json:"body,omitempty"`
}

PutEndpointIDFailed Endpoint creation failed

swagger:response putEndpointIdFailed

func NewPutEndpointIDFailed

func NewPutEndpointIDFailed() *PutEndpointIDFailed

NewPutEndpointIDFailed creates PutEndpointIDFailed with default headers values

func (*PutEndpointIDFailed) SetPayload

func (o *PutEndpointIDFailed) SetPayload(payload models.Error)

SetPayload sets the payload to the put endpoint Id failed response

func (*PutEndpointIDFailed) WithPayload

func (o *PutEndpointIDFailed) WithPayload(payload models.Error) *PutEndpointIDFailed

WithPayload adds the payload to the put endpoint Id failed response

func (*PutEndpointIDFailed) WriteResponse

func (o *PutEndpointIDFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutEndpointIDForbidden added in v0.15.7

type PutEndpointIDForbidden struct {
}

PutEndpointIDForbidden Forbidden

swagger:response putEndpointIdForbidden

func NewPutEndpointIDForbidden added in v0.15.7

func NewPutEndpointIDForbidden() *PutEndpointIDForbidden

NewPutEndpointIDForbidden creates PutEndpointIDForbidden with default headers values

func (*PutEndpointIDForbidden) WriteResponse added in v0.15.7

func (o *PutEndpointIDForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutEndpointIDHandler

type PutEndpointIDHandler interface {
	Handle(PutEndpointIDParams) middleware.Responder
}

PutEndpointIDHandler interface for that can handle valid put endpoint ID params

type PutEndpointIDHandlerFunc

type PutEndpointIDHandlerFunc func(PutEndpointIDParams) middleware.Responder

PutEndpointIDHandlerFunc turns a function with the right signature into a put endpoint ID handler

func (PutEndpointIDHandlerFunc) Handle

Handle executing the request and returning a response

type PutEndpointIDInvalid

type PutEndpointIDInvalid struct {

	/*
	  In: Body
	*/
	Payload models.Error `json:"body,omitempty"`
}

PutEndpointIDInvalid Invalid endpoint in request

swagger:response putEndpointIdInvalid

func NewPutEndpointIDInvalid

func NewPutEndpointIDInvalid() *PutEndpointIDInvalid

NewPutEndpointIDInvalid creates PutEndpointIDInvalid with default headers values

func (*PutEndpointIDInvalid) SetPayload

func (o *PutEndpointIDInvalid) SetPayload(payload models.Error)

SetPayload sets the payload to the put endpoint Id invalid response

func (*PutEndpointIDInvalid) WithPayload

func (o *PutEndpointIDInvalid) WithPayload(payload models.Error) *PutEndpointIDInvalid

WithPayload adds the payload to the put endpoint Id invalid response

func (*PutEndpointIDInvalid) WriteResponse

func (o *PutEndpointIDInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutEndpointIDParams

type PutEndpointIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Endpoint *models.EndpointChangeRequest
	/*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

	  Required: true
	  In: path
	*/
	ID string
}

PutEndpointIDParams contains all the bound params for the put endpoint ID operation typically these are obtained from a http.Request

swagger:parameters PutEndpointID

func NewPutEndpointIDParams

func NewPutEndpointIDParams() PutEndpointIDParams

NewPutEndpointIDParams creates a new PutEndpointIDParams object

There are no default values defined in the spec.

func (*PutEndpointIDParams) BindRequest

func (o *PutEndpointIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPutEndpointIDParams() beforehand.

type PutEndpointIDTooManyRequests added in v0.15.7

type PutEndpointIDTooManyRequests struct {
}

PutEndpointIDTooManyRequests Rate-limiting too many requests in the given time frame

swagger:response putEndpointIdTooManyRequests

func NewPutEndpointIDTooManyRequests added in v0.15.7

func NewPutEndpointIDTooManyRequests() *PutEndpointIDTooManyRequests

NewPutEndpointIDTooManyRequests creates PutEndpointIDTooManyRequests with default headers values

func (*PutEndpointIDTooManyRequests) WriteResponse added in v0.15.7

func (o *PutEndpointIDTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

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