cilium: github.com/cilium/cilium/api/v1/server/restapi/endpoint Index | Files

package endpoint

import "github.com/cilium/cilium/api/v1/server/restapi/endpoint"

Index

Package Files

delete_endpoint_id.go delete_endpoint_id_parameters.go delete_endpoint_id_responses.go delete_endpoint_id_urlbuilder.go get_endpoint.go get_endpoint_id.go get_endpoint_id_config.go get_endpoint_id_config_parameters.go get_endpoint_id_config_responses.go get_endpoint_id_config_urlbuilder.go get_endpoint_id_healthz.go get_endpoint_id_healthz_parameters.go get_endpoint_id_healthz_responses.go get_endpoint_id_healthz_urlbuilder.go get_endpoint_id_labels.go get_endpoint_id_labels_parameters.go get_endpoint_id_labels_responses.go get_endpoint_id_labels_urlbuilder.go get_endpoint_id_log.go get_endpoint_id_log_parameters.go get_endpoint_id_log_responses.go get_endpoint_id_log_urlbuilder.go get_endpoint_id_parameters.go get_endpoint_id_responses.go get_endpoint_id_urlbuilder.go get_endpoint_parameters.go get_endpoint_responses.go get_endpoint_urlbuilder.go patch_endpoint_id.go patch_endpoint_id_config.go patch_endpoint_id_config_parameters.go patch_endpoint_id_config_responses.go patch_endpoint_id_config_urlbuilder.go patch_endpoint_id_labels.go patch_endpoint_id_labels_parameters.go patch_endpoint_id_labels_responses.go patch_endpoint_id_labels_urlbuilder.go patch_endpoint_id_parameters.go patch_endpoint_id_responses.go patch_endpoint_id_urlbuilder.go put_endpoint_id.go put_endpoint_id_parameters.go put_endpoint_id_responses.go put_endpoint_id_urlbuilder.go

Constants

const DeleteEndpointIDErrorsCode int = 206

DeleteEndpointIDErrorsCode is the HTTP code returned for type DeleteEndpointIDErrors

const DeleteEndpointIDInvalidCode int = 400

DeleteEndpointIDInvalidCode is the HTTP code returned for type DeleteEndpointIDInvalid

const DeleteEndpointIDNotFoundCode int = 404

DeleteEndpointIDNotFoundCode is the HTTP code returned for type DeleteEndpointIDNotFound

const DeleteEndpointIDOKCode int = 200

DeleteEndpointIDOKCode is the HTTP code returned for type DeleteEndpointIDOK

const GetEndpointIDConfigNotFoundCode int = 404

GetEndpointIDConfigNotFoundCode is the HTTP code returned for type GetEndpointIDConfigNotFound

const GetEndpointIDConfigOKCode int = 200

GetEndpointIDConfigOKCode is the HTTP code returned for type GetEndpointIDConfigOK

const GetEndpointIDHealthzInvalidCode int = 400

GetEndpointIDHealthzInvalidCode is the HTTP code returned for type GetEndpointIDHealthzInvalid

const GetEndpointIDHealthzNotFoundCode int = 404

GetEndpointIDHealthzNotFoundCode is the HTTP code returned for type GetEndpointIDHealthzNotFound

const GetEndpointIDHealthzOKCode int = 200

GetEndpointIDHealthzOKCode is the HTTP code returned for type GetEndpointIDHealthzOK

const GetEndpointIDInvalidCode int = 400

GetEndpointIDInvalidCode is the HTTP code returned for type GetEndpointIDInvalid

const GetEndpointIDLabelsNotFoundCode int = 404

GetEndpointIDLabelsNotFoundCode is the HTTP code returned for type GetEndpointIDLabelsNotFound

const GetEndpointIDLabelsOKCode int = 200

GetEndpointIDLabelsOKCode is the HTTP code returned for type GetEndpointIDLabelsOK

const GetEndpointIDLogInvalidCode int = 400

GetEndpointIDLogInvalidCode is the HTTP code returned for type GetEndpointIDLogInvalid

const GetEndpointIDLogNotFoundCode int = 404

GetEndpointIDLogNotFoundCode is the HTTP code returned for type GetEndpointIDLogNotFound

const GetEndpointIDLogOKCode int = 200

GetEndpointIDLogOKCode is the HTTP code returned for type GetEndpointIDLogOK

const GetEndpointIDNotFoundCode int = 404

GetEndpointIDNotFoundCode is the HTTP code returned for type GetEndpointIDNotFound

const GetEndpointIDOKCode int = 200

GetEndpointIDOKCode is the HTTP code returned for type GetEndpointIDOK

const GetEndpointNotFoundCode int = 404

GetEndpointNotFoundCode is the HTTP code returned for type GetEndpointNotFound

const GetEndpointOKCode int = 200

GetEndpointOKCode is the HTTP code returned for type GetEndpointOK

const PatchEndpointIDConfigFailedCode int = 500

PatchEndpointIDConfigFailedCode is the HTTP code returned for type PatchEndpointIDConfigFailed

const PatchEndpointIDConfigInvalidCode int = 400

PatchEndpointIDConfigInvalidCode is the HTTP code returned for type PatchEndpointIDConfigInvalid

const PatchEndpointIDConfigNotFoundCode int = 404

PatchEndpointIDConfigNotFoundCode is the HTTP code returned for type PatchEndpointIDConfigNotFound

const PatchEndpointIDConfigOKCode int = 200

PatchEndpointIDConfigOKCode is the HTTP code returned for type PatchEndpointIDConfigOK

const PatchEndpointIDFailedCode int = 500

PatchEndpointIDFailedCode is the HTTP code returned for type PatchEndpointIDFailed

const PatchEndpointIDInvalidCode int = 400

PatchEndpointIDInvalidCode is the HTTP code returned for type PatchEndpointIDInvalid

const PatchEndpointIDLabelsNotFoundCode int = 404

PatchEndpointIDLabelsNotFoundCode is the HTTP code returned for type PatchEndpointIDLabelsNotFound

const PatchEndpointIDLabelsOKCode int = 200

PatchEndpointIDLabelsOKCode is the HTTP code returned for type PatchEndpointIDLabelsOK

const PatchEndpointIDLabelsUpdateFailedCode int = 500

PatchEndpointIDLabelsUpdateFailedCode is the HTTP code returned for type PatchEndpointIDLabelsUpdateFailed

const PatchEndpointIDNotFoundCode int = 404

PatchEndpointIDNotFoundCode is the HTTP code returned for type PatchEndpointIDNotFound

const PatchEndpointIDOKCode int = 200

PatchEndpointIDOKCode is the HTTP code returned for type PatchEndpointIDOK

const PutEndpointIDCreatedCode int = 201

PutEndpointIDCreatedCode is the HTTP code returned for type PutEndpointIDCreated

const PutEndpointIDExistsCode int = 409

PutEndpointIDExistsCode is the HTTP code returned for type PutEndpointIDExists

const PutEndpointIDFailedCode int = 500

PutEndpointIDFailedCode is the HTTP code returned for type PutEndpointIDFailed

const PutEndpointIDInvalidCode int = 400

PutEndpointIDInvalidCode is the HTTP code returned for type PutEndpointIDInvalid

type DeleteEndpointID Uses

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 Uses

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

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

func (*DeleteEndpointID) ServeHTTP Uses

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

type DeleteEndpointIDErrors Uses

type DeleteEndpointIDErrors struct {

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

DeleteEndpointIDErrors Deleted with a number of errors encountered

swagger:response deleteEndpointIdErrors

func NewDeleteEndpointIDErrors Uses

func NewDeleteEndpointIDErrors() *DeleteEndpointIDErrors

NewDeleteEndpointIDErrors creates DeleteEndpointIDErrors with default headers values

func (*DeleteEndpointIDErrors) SetPayload Uses

func (o *DeleteEndpointIDErrors) SetPayload(payload int64)

SetPayload sets the payload to the delete endpoint Id errors response

func (*DeleteEndpointIDErrors) WithPayload Uses

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

WithPayload adds the payload to the delete endpoint Id errors response

func (*DeleteEndpointIDErrors) WriteResponse Uses

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

WriteResponse to the client

type DeleteEndpointIDHandler Uses

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

DeleteEndpointIDHandler interface for that can handle valid delete endpoint ID params

type DeleteEndpointIDHandlerFunc Uses

type DeleteEndpointIDHandlerFunc func(DeleteEndpointIDParams) middleware.Responder

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

func (DeleteEndpointIDHandlerFunc) Handle Uses

func (fn DeleteEndpointIDHandlerFunc) Handle(params DeleteEndpointIDParams) middleware.Responder

Handle executing the request and returning a response

type DeleteEndpointIDInvalid Uses

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 Uses

func NewDeleteEndpointIDInvalid() *DeleteEndpointIDInvalid

NewDeleteEndpointIDInvalid creates DeleteEndpointIDInvalid with default headers values

func (*DeleteEndpointIDInvalid) SetPayload Uses

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

SetPayload sets the payload to the delete endpoint Id invalid response

func (*DeleteEndpointIDInvalid) WithPayload Uses

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

WithPayload adds the payload to the delete endpoint Id invalid response

func (*DeleteEndpointIDInvalid) WriteResponse Uses

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

WriteResponse to the client

type DeleteEndpointIDNotFound Uses

type DeleteEndpointIDNotFound struct {
}

DeleteEndpointIDNotFound Endpoint not found

swagger:response deleteEndpointIdNotFound

func NewDeleteEndpointIDNotFound Uses

func NewDeleteEndpointIDNotFound() *DeleteEndpointIDNotFound

NewDeleteEndpointIDNotFound creates DeleteEndpointIDNotFound with default headers values

func (*DeleteEndpointIDNotFound) WriteResponse Uses

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

WriteResponse to the client

type DeleteEndpointIDOK Uses

type DeleteEndpointIDOK struct {
}

DeleteEndpointIDOK Success

swagger:response deleteEndpointIdOK

func NewDeleteEndpointIDOK Uses

func NewDeleteEndpointIDOK() *DeleteEndpointIDOK

NewDeleteEndpointIDOK creates DeleteEndpointIDOK with default headers values

func (*DeleteEndpointIDOK) WriteResponse Uses

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

WriteResponse to the client

type DeleteEndpointIDParams Uses

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 Uses

func NewDeleteEndpointIDParams() DeleteEndpointIDParams

NewDeleteEndpointIDParams creates a new DeleteEndpointIDParams object no default values defined in spec.

func (*DeleteEndpointIDParams) BindRequest Uses

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 DeleteEndpointIDURL Uses

type DeleteEndpointIDURL struct {
    ID string
    // contains filtered or unexported fields
}

DeleteEndpointIDURL generates an URL for the delete endpoint ID operation

func (*DeleteEndpointIDURL) Build Uses

func (o *DeleteEndpointIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteEndpointIDURL) BuildFull Uses

func (o *DeleteEndpointIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteEndpointIDURL) Must Uses

func (o *DeleteEndpointIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteEndpointIDURL) SetBasePath Uses

func (o *DeleteEndpointIDURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteEndpointIDURL) String Uses

func (o *DeleteEndpointIDURL) String() string

String returns the string representation of the path with query string

func (*DeleteEndpointIDURL) StringFull Uses

func (o *DeleteEndpointIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteEndpointIDURL) WithBasePath Uses

func (o *DeleteEndpointIDURL) WithBasePath(bp string) *DeleteEndpointIDURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetEndpoint Uses

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 Uses

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

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

func (*GetEndpoint) ServeHTTP Uses

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

type GetEndpointHandler Uses

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

GetEndpointHandler interface for that can handle valid get endpoint params

type GetEndpointHandlerFunc Uses

type GetEndpointHandlerFunc func(GetEndpointParams) middleware.Responder

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

func (GetEndpointHandlerFunc) Handle Uses

func (fn GetEndpointHandlerFunc) Handle(params GetEndpointParams) middleware.Responder

Handle executing the request and returning a response

type GetEndpointID Uses

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 Uses

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

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

func (*GetEndpointID) ServeHTTP Uses

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

type GetEndpointIDConfig Uses

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 Uses

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

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

func (*GetEndpointIDConfig) ServeHTTP Uses

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

type GetEndpointIDConfigHandler Uses

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

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

type GetEndpointIDConfigHandlerFunc Uses

type GetEndpointIDConfigHandlerFunc func(GetEndpointIDConfigParams) middleware.Responder

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

func (GetEndpointIDConfigHandlerFunc) Handle Uses

func (fn GetEndpointIDConfigHandlerFunc) Handle(params GetEndpointIDConfigParams) middleware.Responder

Handle executing the request and returning a response

type GetEndpointIDConfigNotFound Uses

type GetEndpointIDConfigNotFound struct {
}

GetEndpointIDConfigNotFound Endpoint not found

swagger:response getEndpointIdConfigNotFound

func NewGetEndpointIDConfigNotFound Uses

func NewGetEndpointIDConfigNotFound() *GetEndpointIDConfigNotFound

NewGetEndpointIDConfigNotFound creates GetEndpointIDConfigNotFound with default headers values

func (*GetEndpointIDConfigNotFound) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointIDConfigOK Uses

type GetEndpointIDConfigOK struct {

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

GetEndpointIDConfigOK Success

swagger:response getEndpointIdConfigOK

func NewGetEndpointIDConfigOK Uses

func NewGetEndpointIDConfigOK() *GetEndpointIDConfigOK

NewGetEndpointIDConfigOK creates GetEndpointIDConfigOK with default headers values

func (*GetEndpointIDConfigOK) SetPayload Uses

func (o *GetEndpointIDConfigOK) SetPayload(payload *models.EndpointConfigurationStatus)

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

func (*GetEndpointIDConfigOK) WithPayload Uses

func (o *GetEndpointIDConfigOK) WithPayload(payload *models.EndpointConfigurationStatus) *GetEndpointIDConfigOK

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

func (*GetEndpointIDConfigOK) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointIDConfigParams Uses

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 Uses

func NewGetEndpointIDConfigParams() GetEndpointIDConfigParams

NewGetEndpointIDConfigParams creates a new GetEndpointIDConfigParams object no default values defined in spec.

func (*GetEndpointIDConfigParams) BindRequest Uses

func (o *GetEndpointIDConfigParams) 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 NewGetEndpointIDConfigParams() beforehand.

type GetEndpointIDConfigURL Uses

type GetEndpointIDConfigURL struct {
    ID string
    // contains filtered or unexported fields
}

GetEndpointIDConfigURL generates an URL for the get endpoint ID config operation

func (*GetEndpointIDConfigURL) Build Uses

func (o *GetEndpointIDConfigURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetEndpointIDConfigURL) BuildFull Uses

func (o *GetEndpointIDConfigURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetEndpointIDConfigURL) Must Uses

func (o *GetEndpointIDConfigURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetEndpointIDConfigURL) SetBasePath Uses

func (o *GetEndpointIDConfigURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetEndpointIDConfigURL) String Uses

func (o *GetEndpointIDConfigURL) String() string

String returns the string representation of the path with query string

func (*GetEndpointIDConfigURL) StringFull Uses

func (o *GetEndpointIDConfigURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetEndpointIDConfigURL) WithBasePath Uses

func (o *GetEndpointIDConfigURL) WithBasePath(bp string) *GetEndpointIDConfigURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetEndpointIDHandler Uses

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

GetEndpointIDHandler interface for that can handle valid get endpoint ID params

type GetEndpointIDHandlerFunc Uses

type GetEndpointIDHandlerFunc func(GetEndpointIDParams) middleware.Responder

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

func (GetEndpointIDHandlerFunc) Handle Uses

func (fn GetEndpointIDHandlerFunc) Handle(params GetEndpointIDParams) middleware.Responder

Handle executing the request and returning a response

type GetEndpointIDHealthz Uses

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 Uses

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

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

func (*GetEndpointIDHealthz) ServeHTTP Uses

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

type GetEndpointIDHealthzHandler Uses

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

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

type GetEndpointIDHealthzHandlerFunc Uses

type GetEndpointIDHealthzHandlerFunc func(GetEndpointIDHealthzParams) middleware.Responder

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

func (GetEndpointIDHealthzHandlerFunc) Handle Uses

func (fn GetEndpointIDHealthzHandlerFunc) Handle(params GetEndpointIDHealthzParams) middleware.Responder

Handle executing the request and returning a response

type GetEndpointIDHealthzInvalid Uses

type GetEndpointIDHealthzInvalid struct {
}

GetEndpointIDHealthzInvalid Invalid identity provided

swagger:response getEndpointIdHealthzInvalid

func NewGetEndpointIDHealthzInvalid Uses

func NewGetEndpointIDHealthzInvalid() *GetEndpointIDHealthzInvalid

NewGetEndpointIDHealthzInvalid creates GetEndpointIDHealthzInvalid with default headers values

func (*GetEndpointIDHealthzInvalid) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointIDHealthzNotFound Uses

type GetEndpointIDHealthzNotFound struct {
}

GetEndpointIDHealthzNotFound Endpoint not found

swagger:response getEndpointIdHealthzNotFound

func NewGetEndpointIDHealthzNotFound Uses

func NewGetEndpointIDHealthzNotFound() *GetEndpointIDHealthzNotFound

NewGetEndpointIDHealthzNotFound creates GetEndpointIDHealthzNotFound with default headers values

func (*GetEndpointIDHealthzNotFound) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointIDHealthzOK Uses

type GetEndpointIDHealthzOK struct {

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

GetEndpointIDHealthzOK Success

swagger:response getEndpointIdHealthzOK

func NewGetEndpointIDHealthzOK Uses

func NewGetEndpointIDHealthzOK() *GetEndpointIDHealthzOK

NewGetEndpointIDHealthzOK creates GetEndpointIDHealthzOK with default headers values

func (*GetEndpointIDHealthzOK) SetPayload Uses

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

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

func (*GetEndpointIDHealthzOK) WithPayload Uses

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

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

func (*GetEndpointIDHealthzOK) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointIDHealthzParams Uses

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 Uses

func NewGetEndpointIDHealthzParams() GetEndpointIDHealthzParams

NewGetEndpointIDHealthzParams creates a new GetEndpointIDHealthzParams object no default values defined in spec.

func (*GetEndpointIDHealthzParams) BindRequest Uses

func (o *GetEndpointIDHealthzParams) 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 NewGetEndpointIDHealthzParams() beforehand.

type GetEndpointIDHealthzURL Uses

type GetEndpointIDHealthzURL struct {
    ID string
    // contains filtered or unexported fields
}

GetEndpointIDHealthzURL generates an URL for the get endpoint ID healthz operation

func (*GetEndpointIDHealthzURL) Build Uses

func (o *GetEndpointIDHealthzURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetEndpointIDHealthzURL) BuildFull Uses

func (o *GetEndpointIDHealthzURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetEndpointIDHealthzURL) Must Uses

func (o *GetEndpointIDHealthzURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetEndpointIDHealthzURL) SetBasePath Uses

func (o *GetEndpointIDHealthzURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetEndpointIDHealthzURL) String Uses

func (o *GetEndpointIDHealthzURL) String() string

String returns the string representation of the path with query string

func (*GetEndpointIDHealthzURL) StringFull Uses

func (o *GetEndpointIDHealthzURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetEndpointIDHealthzURL) WithBasePath Uses

func (o *GetEndpointIDHealthzURL) WithBasePath(bp string) *GetEndpointIDHealthzURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetEndpointIDInvalid Uses

type GetEndpointIDInvalid struct {

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

GetEndpointIDInvalid Invalid endpoint ID format for specified type

swagger:response getEndpointIdInvalid

func NewGetEndpointIDInvalid Uses

func NewGetEndpointIDInvalid() *GetEndpointIDInvalid

NewGetEndpointIDInvalid creates GetEndpointIDInvalid with default headers values

func (*GetEndpointIDInvalid) SetPayload Uses

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

SetPayload sets the payload to the get endpoint Id invalid response

func (*GetEndpointIDInvalid) WithPayload Uses

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

WithPayload adds the payload to the get endpoint Id invalid response

func (*GetEndpointIDInvalid) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointIDLabels Uses

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 Uses

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

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

func (*GetEndpointIDLabels) ServeHTTP Uses

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

type GetEndpointIDLabelsHandler Uses

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

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

type GetEndpointIDLabelsHandlerFunc Uses

type GetEndpointIDLabelsHandlerFunc func(GetEndpointIDLabelsParams) middleware.Responder

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

func (GetEndpointIDLabelsHandlerFunc) Handle Uses

func (fn GetEndpointIDLabelsHandlerFunc) Handle(params GetEndpointIDLabelsParams) middleware.Responder

Handle executing the request and returning a response

type GetEndpointIDLabelsNotFound Uses

type GetEndpointIDLabelsNotFound struct {
}

GetEndpointIDLabelsNotFound Endpoint not found

swagger:response getEndpointIdLabelsNotFound

func NewGetEndpointIDLabelsNotFound Uses

func NewGetEndpointIDLabelsNotFound() *GetEndpointIDLabelsNotFound

NewGetEndpointIDLabelsNotFound creates GetEndpointIDLabelsNotFound with default headers values

func (*GetEndpointIDLabelsNotFound) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointIDLabelsOK Uses

type GetEndpointIDLabelsOK struct {

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

GetEndpointIDLabelsOK Success

swagger:response getEndpointIdLabelsOK

func NewGetEndpointIDLabelsOK Uses

func NewGetEndpointIDLabelsOK() *GetEndpointIDLabelsOK

NewGetEndpointIDLabelsOK creates GetEndpointIDLabelsOK with default headers values

func (*GetEndpointIDLabelsOK) SetPayload Uses

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

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

func (*GetEndpointIDLabelsOK) WithPayload Uses

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

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

func (*GetEndpointIDLabelsOK) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointIDLabelsParams Uses

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 Uses

func NewGetEndpointIDLabelsParams() GetEndpointIDLabelsParams

NewGetEndpointIDLabelsParams creates a new GetEndpointIDLabelsParams object no default values defined in spec.

func (*GetEndpointIDLabelsParams) BindRequest Uses

func (o *GetEndpointIDLabelsParams) 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 NewGetEndpointIDLabelsParams() beforehand.

type GetEndpointIDLabelsURL Uses

type GetEndpointIDLabelsURL struct {
    ID string
    // contains filtered or unexported fields
}

GetEndpointIDLabelsURL generates an URL for the get endpoint ID labels operation

func (*GetEndpointIDLabelsURL) Build Uses

func (o *GetEndpointIDLabelsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetEndpointIDLabelsURL) BuildFull Uses

func (o *GetEndpointIDLabelsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetEndpointIDLabelsURL) Must Uses

func (o *GetEndpointIDLabelsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetEndpointIDLabelsURL) SetBasePath Uses

func (o *GetEndpointIDLabelsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetEndpointIDLabelsURL) String Uses

func (o *GetEndpointIDLabelsURL) String() string

String returns the string representation of the path with query string

func (*GetEndpointIDLabelsURL) StringFull Uses

func (o *GetEndpointIDLabelsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetEndpointIDLabelsURL) WithBasePath Uses

func (o *GetEndpointIDLabelsURL) WithBasePath(bp string) *GetEndpointIDLabelsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetEndpointIDLog Uses

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 Uses

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

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

func (*GetEndpointIDLog) ServeHTTP Uses

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

type GetEndpointIDLogHandler Uses

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

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

type GetEndpointIDLogHandlerFunc Uses

type GetEndpointIDLogHandlerFunc func(GetEndpointIDLogParams) middleware.Responder

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

func (GetEndpointIDLogHandlerFunc) Handle Uses

func (fn GetEndpointIDLogHandlerFunc) Handle(params GetEndpointIDLogParams) middleware.Responder

Handle executing the request and returning a response

type GetEndpointIDLogInvalid Uses

type GetEndpointIDLogInvalid struct {
}

GetEndpointIDLogInvalid Invalid identity provided

swagger:response getEndpointIdLogInvalid

func NewGetEndpointIDLogInvalid Uses

func NewGetEndpointIDLogInvalid() *GetEndpointIDLogInvalid

NewGetEndpointIDLogInvalid creates GetEndpointIDLogInvalid with default headers values

func (*GetEndpointIDLogInvalid) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointIDLogNotFound Uses

type GetEndpointIDLogNotFound struct {
}

GetEndpointIDLogNotFound Endpoint not found

swagger:response getEndpointIdLogNotFound

func NewGetEndpointIDLogNotFound Uses

func NewGetEndpointIDLogNotFound() *GetEndpointIDLogNotFound

NewGetEndpointIDLogNotFound creates GetEndpointIDLogNotFound with default headers values

func (*GetEndpointIDLogNotFound) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointIDLogOK Uses

type GetEndpointIDLogOK struct {

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

GetEndpointIDLogOK Success

swagger:response getEndpointIdLogOK

func NewGetEndpointIDLogOK Uses

func NewGetEndpointIDLogOK() *GetEndpointIDLogOK

NewGetEndpointIDLogOK creates GetEndpointIDLogOK with default headers values

func (*GetEndpointIDLogOK) SetPayload Uses

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

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

func (*GetEndpointIDLogOK) WithPayload Uses

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

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

func (*GetEndpointIDLogOK) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointIDLogParams Uses

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 Uses

func NewGetEndpointIDLogParams() GetEndpointIDLogParams

NewGetEndpointIDLogParams creates a new GetEndpointIDLogParams object no default values defined in spec.

func (*GetEndpointIDLogParams) BindRequest Uses

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 GetEndpointIDLogURL Uses

type GetEndpointIDLogURL struct {
    ID string
    // contains filtered or unexported fields
}

GetEndpointIDLogURL generates an URL for the get endpoint ID log operation

func (*GetEndpointIDLogURL) Build Uses

func (o *GetEndpointIDLogURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetEndpointIDLogURL) BuildFull Uses

func (o *GetEndpointIDLogURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetEndpointIDLogURL) Must Uses

func (o *GetEndpointIDLogURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetEndpointIDLogURL) SetBasePath Uses

func (o *GetEndpointIDLogURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetEndpointIDLogURL) String Uses

func (o *GetEndpointIDLogURL) String() string

String returns the string representation of the path with query string

func (*GetEndpointIDLogURL) StringFull Uses

func (o *GetEndpointIDLogURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetEndpointIDLogURL) WithBasePath Uses

func (o *GetEndpointIDLogURL) WithBasePath(bp string) *GetEndpointIDLogURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetEndpointIDNotFound Uses

type GetEndpointIDNotFound struct {
}

GetEndpointIDNotFound Endpoint not found

swagger:response getEndpointIdNotFound

func NewGetEndpointIDNotFound Uses

func NewGetEndpointIDNotFound() *GetEndpointIDNotFound

NewGetEndpointIDNotFound creates GetEndpointIDNotFound with default headers values

func (*GetEndpointIDNotFound) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointIDOK Uses

type GetEndpointIDOK struct {

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

GetEndpointIDOK Success

swagger:response getEndpointIdOK

func NewGetEndpointIDOK Uses

func NewGetEndpointIDOK() *GetEndpointIDOK

NewGetEndpointIDOK creates GetEndpointIDOK with default headers values

func (*GetEndpointIDOK) SetPayload Uses

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

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

func (*GetEndpointIDOK) WithPayload Uses

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

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

func (*GetEndpointIDOK) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointIDParams Uses

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 Uses

func NewGetEndpointIDParams() GetEndpointIDParams

NewGetEndpointIDParams creates a new GetEndpointIDParams object no default values defined in spec.

func (*GetEndpointIDParams) BindRequest Uses

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 GetEndpointIDURL Uses

type GetEndpointIDURL struct {
    ID string
    // contains filtered or unexported fields
}

GetEndpointIDURL generates an URL for the get endpoint ID operation

func (*GetEndpointIDURL) Build Uses

func (o *GetEndpointIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetEndpointIDURL) BuildFull Uses

func (o *GetEndpointIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetEndpointIDURL) Must Uses

func (o *GetEndpointIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetEndpointIDURL) SetBasePath Uses

func (o *GetEndpointIDURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetEndpointIDURL) String Uses

func (o *GetEndpointIDURL) String() string

String returns the string representation of the path with query string

func (*GetEndpointIDURL) StringFull Uses

func (o *GetEndpointIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetEndpointIDURL) WithBasePath Uses

func (o *GetEndpointIDURL) WithBasePath(bp string) *GetEndpointIDURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetEndpointNotFound Uses

type GetEndpointNotFound struct {
}

GetEndpointNotFound Endpoints with provided parameters not found

swagger:response getEndpointNotFound

func NewGetEndpointNotFound Uses

func NewGetEndpointNotFound() *GetEndpointNotFound

NewGetEndpointNotFound creates GetEndpointNotFound with default headers values

func (*GetEndpointNotFound) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointOK Uses

type GetEndpointOK struct {

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

GetEndpointOK Success

swagger:response getEndpointOK

func NewGetEndpointOK Uses

func NewGetEndpointOK() *GetEndpointOK

NewGetEndpointOK creates GetEndpointOK with default headers values

func (*GetEndpointOK) SetPayload Uses

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

SetPayload sets the payload to the get endpoint o k response

func (*GetEndpointOK) WithPayload Uses

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

WithPayload adds the payload to the get endpoint o k response

func (*GetEndpointOK) WriteResponse Uses

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

WriteResponse to the client

type GetEndpointParams Uses

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 Uses

func NewGetEndpointParams() GetEndpointParams

NewGetEndpointParams creates a new GetEndpointParams object no default values defined in spec.

func (*GetEndpointParams) BindRequest Uses

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 GetEndpointURL Uses

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

GetEndpointURL generates an URL for the get endpoint operation

func (*GetEndpointURL) Build Uses

func (o *GetEndpointURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetEndpointURL) BuildFull Uses

func (o *GetEndpointURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetEndpointURL) Must Uses

func (o *GetEndpointURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetEndpointURL) SetBasePath Uses

func (o *GetEndpointURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetEndpointURL) String Uses

func (o *GetEndpointURL) String() string

String returns the string representation of the path with query string

func (*GetEndpointURL) StringFull Uses

func (o *GetEndpointURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetEndpointURL) WithBasePath Uses

func (o *GetEndpointURL) WithBasePath(bp string) *GetEndpointURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PatchEndpointID Uses

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 Uses

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

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

func (*PatchEndpointID) ServeHTTP Uses

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

type PatchEndpointIDConfig Uses

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 Uses

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

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

func (*PatchEndpointIDConfig) ServeHTTP Uses

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

type PatchEndpointIDConfigFailed Uses

type PatchEndpointIDConfigFailed struct {

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

PatchEndpointIDConfigFailed Update failed. Details in message.

swagger:response patchEndpointIdConfigFailed

func NewPatchEndpointIDConfigFailed Uses

func NewPatchEndpointIDConfigFailed() *PatchEndpointIDConfigFailed

NewPatchEndpointIDConfigFailed creates PatchEndpointIDConfigFailed with default headers values

func (*PatchEndpointIDConfigFailed) SetPayload Uses

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

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

func (*PatchEndpointIDConfigFailed) WithPayload Uses

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

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

func (*PatchEndpointIDConfigFailed) WriteResponse Uses

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

WriteResponse to the client

type PatchEndpointIDConfigHandler Uses

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

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

type PatchEndpointIDConfigHandlerFunc Uses

type PatchEndpointIDConfigHandlerFunc func(PatchEndpointIDConfigParams) middleware.Responder

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

func (PatchEndpointIDConfigHandlerFunc) Handle Uses

func (fn PatchEndpointIDConfigHandlerFunc) Handle(params PatchEndpointIDConfigParams) middleware.Responder

Handle executing the request and returning a response

type PatchEndpointIDConfigInvalid Uses

type PatchEndpointIDConfigInvalid struct {
}

PatchEndpointIDConfigInvalid Invalid configuration request

swagger:response patchEndpointIdConfigInvalid

func NewPatchEndpointIDConfigInvalid Uses

func NewPatchEndpointIDConfigInvalid() *PatchEndpointIDConfigInvalid

NewPatchEndpointIDConfigInvalid creates PatchEndpointIDConfigInvalid with default headers values

func (*PatchEndpointIDConfigInvalid) WriteResponse Uses

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

WriteResponse to the client

type PatchEndpointIDConfigNotFound Uses

type PatchEndpointIDConfigNotFound struct {
}

PatchEndpointIDConfigNotFound Endpoint not found

swagger:response patchEndpointIdConfigNotFound

func NewPatchEndpointIDConfigNotFound Uses

func NewPatchEndpointIDConfigNotFound() *PatchEndpointIDConfigNotFound

NewPatchEndpointIDConfigNotFound creates PatchEndpointIDConfigNotFound with default headers values

func (*PatchEndpointIDConfigNotFound) WriteResponse Uses

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

WriteResponse to the client

type PatchEndpointIDConfigOK Uses

type PatchEndpointIDConfigOK struct {
}

PatchEndpointIDConfigOK Success

swagger:response patchEndpointIdConfigOK

func NewPatchEndpointIDConfigOK Uses

func NewPatchEndpointIDConfigOK() *PatchEndpointIDConfigOK

NewPatchEndpointIDConfigOK creates PatchEndpointIDConfigOK with default headers values

func (*PatchEndpointIDConfigOK) WriteResponse Uses

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

WriteResponse to the client

type PatchEndpointIDConfigParams Uses

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 Uses

func NewPatchEndpointIDConfigParams() PatchEndpointIDConfigParams

NewPatchEndpointIDConfigParams creates a new PatchEndpointIDConfigParams object no default values defined in spec.

func (*PatchEndpointIDConfigParams) BindRequest Uses

func (o *PatchEndpointIDConfigParams) 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 NewPatchEndpointIDConfigParams() beforehand.

type PatchEndpointIDConfigURL Uses

type PatchEndpointIDConfigURL struct {
    ID string
    // contains filtered or unexported fields
}

PatchEndpointIDConfigURL generates an URL for the patch endpoint ID config operation

func (*PatchEndpointIDConfigURL) Build Uses

func (o *PatchEndpointIDConfigURL) Build() (*url.URL, error)

Build a url path and query string

func (*PatchEndpointIDConfigURL) BuildFull Uses

func (o *PatchEndpointIDConfigURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PatchEndpointIDConfigURL) Must Uses

func (o *PatchEndpointIDConfigURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PatchEndpointIDConfigURL) SetBasePath Uses

func (o *PatchEndpointIDConfigURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PatchEndpointIDConfigURL) String Uses

func (o *PatchEndpointIDConfigURL) String() string

String returns the string representation of the path with query string

func (*PatchEndpointIDConfigURL) StringFull Uses

func (o *PatchEndpointIDConfigURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PatchEndpointIDConfigURL) WithBasePath Uses

func (o *PatchEndpointIDConfigURL) WithBasePath(bp string) *PatchEndpointIDConfigURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PatchEndpointIDFailed Uses

type PatchEndpointIDFailed struct {

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

PatchEndpointIDFailed Endpoint update failed

swagger:response patchEndpointIdFailed

func NewPatchEndpointIDFailed Uses

func NewPatchEndpointIDFailed() *PatchEndpointIDFailed

NewPatchEndpointIDFailed creates PatchEndpointIDFailed with default headers values

func (*PatchEndpointIDFailed) SetPayload Uses

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

SetPayload sets the payload to the patch endpoint Id failed response

func (*PatchEndpointIDFailed) WithPayload Uses

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

WithPayload adds the payload to the patch endpoint Id failed response

func (*PatchEndpointIDFailed) WriteResponse Uses

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

WriteResponse to the client

type PatchEndpointIDHandler Uses

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

PatchEndpointIDHandler interface for that can handle valid patch endpoint ID params

type PatchEndpointIDHandlerFunc Uses

type PatchEndpointIDHandlerFunc func(PatchEndpointIDParams) middleware.Responder

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

func (PatchEndpointIDHandlerFunc) Handle Uses

func (fn PatchEndpointIDHandlerFunc) Handle(params PatchEndpointIDParams) middleware.Responder

Handle executing the request and returning a response

type PatchEndpointIDInvalid Uses

type PatchEndpointIDInvalid struct {

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

PatchEndpointIDInvalid Invalid modify endpoint request

swagger:response patchEndpointIdInvalid

func NewPatchEndpointIDInvalid Uses

func NewPatchEndpointIDInvalid() *PatchEndpointIDInvalid

NewPatchEndpointIDInvalid creates PatchEndpointIDInvalid with default headers values

func (*PatchEndpointIDInvalid) SetPayload Uses

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

SetPayload sets the payload to the patch endpoint Id invalid response

func (*PatchEndpointIDInvalid) WithPayload Uses

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

WithPayload adds the payload to the patch endpoint Id invalid response

func (*PatchEndpointIDInvalid) WriteResponse Uses

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

WriteResponse to the client

type PatchEndpointIDLabels Uses

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 Uses

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

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

func (*PatchEndpointIDLabels) ServeHTTP Uses

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

type PatchEndpointIDLabelsHandler Uses

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

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

type PatchEndpointIDLabelsHandlerFunc Uses

type PatchEndpointIDLabelsHandlerFunc func(PatchEndpointIDLabelsParams) middleware.Responder

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

func (PatchEndpointIDLabelsHandlerFunc) Handle Uses

func (fn PatchEndpointIDLabelsHandlerFunc) Handle(params PatchEndpointIDLabelsParams) middleware.Responder

Handle executing the request and returning a response

type PatchEndpointIDLabelsNotFound Uses

type PatchEndpointIDLabelsNotFound struct {
}

PatchEndpointIDLabelsNotFound Endpoint not found

swagger:response patchEndpointIdLabelsNotFound

func NewPatchEndpointIDLabelsNotFound Uses

func NewPatchEndpointIDLabelsNotFound() *PatchEndpointIDLabelsNotFound

NewPatchEndpointIDLabelsNotFound creates PatchEndpointIDLabelsNotFound with default headers values

func (*PatchEndpointIDLabelsNotFound) WriteResponse Uses

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

WriteResponse to the client

type PatchEndpointIDLabelsOK Uses

type PatchEndpointIDLabelsOK struct {
}

PatchEndpointIDLabelsOK Success

swagger:response patchEndpointIdLabelsOK

func NewPatchEndpointIDLabelsOK Uses

func NewPatchEndpointIDLabelsOK() *PatchEndpointIDLabelsOK

NewPatchEndpointIDLabelsOK creates PatchEndpointIDLabelsOK with default headers values

func (*PatchEndpointIDLabelsOK) WriteResponse Uses

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

WriteResponse to the client

type PatchEndpointIDLabelsParams Uses

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 Uses

func NewPatchEndpointIDLabelsParams() PatchEndpointIDLabelsParams

NewPatchEndpointIDLabelsParams creates a new PatchEndpointIDLabelsParams object no default values defined in spec.

func (*PatchEndpointIDLabelsParams) BindRequest Uses

func (o *PatchEndpointIDLabelsParams) 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 NewPatchEndpointIDLabelsParams() beforehand.

type PatchEndpointIDLabelsURL Uses

type PatchEndpointIDLabelsURL struct {
    ID string
    // contains filtered or unexported fields
}

PatchEndpointIDLabelsURL generates an URL for the patch endpoint ID labels operation

func (*PatchEndpointIDLabelsURL) Build Uses

func (o *PatchEndpointIDLabelsURL) Build() (*url.URL, error)

Build a url path and query string

func (*PatchEndpointIDLabelsURL) BuildFull Uses

func (o *PatchEndpointIDLabelsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PatchEndpointIDLabelsURL) Must Uses

func (o *PatchEndpointIDLabelsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PatchEndpointIDLabelsURL) SetBasePath Uses

func (o *PatchEndpointIDLabelsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PatchEndpointIDLabelsURL) String Uses

func (o *PatchEndpointIDLabelsURL) String() string

String returns the string representation of the path with query string

func (*PatchEndpointIDLabelsURL) StringFull Uses

func (o *PatchEndpointIDLabelsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PatchEndpointIDLabelsURL) WithBasePath Uses

func (o *PatchEndpointIDLabelsURL) WithBasePath(bp string) *PatchEndpointIDLabelsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PatchEndpointIDLabelsUpdateFailed Uses

type PatchEndpointIDLabelsUpdateFailed struct {

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

PatchEndpointIDLabelsUpdateFailed Error while updating labels

swagger:response patchEndpointIdLabelsUpdateFailed

func NewPatchEndpointIDLabelsUpdateFailed Uses

func NewPatchEndpointIDLabelsUpdateFailed() *PatchEndpointIDLabelsUpdateFailed

NewPatchEndpointIDLabelsUpdateFailed creates PatchEndpointIDLabelsUpdateFailed with default headers values

func (*PatchEndpointIDLabelsUpdateFailed) SetPayload Uses

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

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

func (*PatchEndpointIDLabelsUpdateFailed) WithPayload Uses

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

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

func (*PatchEndpointIDLabelsUpdateFailed) WriteResponse Uses

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

WriteResponse to the client

type PatchEndpointIDNotFound Uses

type PatchEndpointIDNotFound struct {
}

PatchEndpointIDNotFound Endpoint does not exist

swagger:response patchEndpointIdNotFound

func NewPatchEndpointIDNotFound Uses

func NewPatchEndpointIDNotFound() *PatchEndpointIDNotFound

NewPatchEndpointIDNotFound creates PatchEndpointIDNotFound with default headers values

func (*PatchEndpointIDNotFound) WriteResponse Uses

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

WriteResponse to the client

type PatchEndpointIDOK Uses

type PatchEndpointIDOK struct {
}

PatchEndpointIDOK Success

swagger:response patchEndpointIdOK

func NewPatchEndpointIDOK Uses

func NewPatchEndpointIDOK() *PatchEndpointIDOK

NewPatchEndpointIDOK creates PatchEndpointIDOK with default headers values

func (*PatchEndpointIDOK) WriteResponse Uses

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

WriteResponse to the client

type PatchEndpointIDParams Uses

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 Uses

func NewPatchEndpointIDParams() PatchEndpointIDParams

NewPatchEndpointIDParams creates a new PatchEndpointIDParams object no default values defined in spec.

func (*PatchEndpointIDParams) BindRequest Uses

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 PatchEndpointIDURL Uses

type PatchEndpointIDURL struct {
    ID string
    // contains filtered or unexported fields
}

PatchEndpointIDURL generates an URL for the patch endpoint ID operation

func (*PatchEndpointIDURL) Build Uses

func (o *PatchEndpointIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*PatchEndpointIDURL) BuildFull Uses

func (o *PatchEndpointIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PatchEndpointIDURL) Must Uses

func (o *PatchEndpointIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PatchEndpointIDURL) SetBasePath Uses

func (o *PatchEndpointIDURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PatchEndpointIDURL) String Uses

func (o *PatchEndpointIDURL) String() string

String returns the string representation of the path with query string

func (*PatchEndpointIDURL) StringFull Uses

func (o *PatchEndpointIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PatchEndpointIDURL) WithBasePath Uses

func (o *PatchEndpointIDURL) WithBasePath(bp string) *PatchEndpointIDURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PutEndpointID Uses

type PutEndpointID struct {
    Context *middleware.Context
    Handler PutEndpointIDHandler
}

PutEndpointID swagger:route PUT /endpoint/{id} endpoint putEndpointId

Create endpoint

Creates a new endpoint

func NewPutEndpointID Uses

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

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

func (*PutEndpointID) ServeHTTP Uses

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

type PutEndpointIDCreated Uses

type PutEndpointIDCreated struct {
}

PutEndpointIDCreated Created

swagger:response putEndpointIdCreated

func NewPutEndpointIDCreated Uses

func NewPutEndpointIDCreated() *PutEndpointIDCreated

NewPutEndpointIDCreated creates PutEndpointIDCreated with default headers values

func (*PutEndpointIDCreated) WriteResponse Uses

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

WriteResponse to the client

type PutEndpointIDExists Uses

type PutEndpointIDExists struct {
}

PutEndpointIDExists Endpoint already exists

swagger:response putEndpointIdExists

func NewPutEndpointIDExists Uses

func NewPutEndpointIDExists() *PutEndpointIDExists

NewPutEndpointIDExists creates PutEndpointIDExists with default headers values

func (*PutEndpointIDExists) WriteResponse Uses

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

WriteResponse to the client

type PutEndpointIDFailed Uses

type PutEndpointIDFailed struct {

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

PutEndpointIDFailed Endpoint creation failed

swagger:response putEndpointIdFailed

func NewPutEndpointIDFailed Uses

func NewPutEndpointIDFailed() *PutEndpointIDFailed

NewPutEndpointIDFailed creates PutEndpointIDFailed with default headers values

func (*PutEndpointIDFailed) SetPayload Uses

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

SetPayload sets the payload to the put endpoint Id failed response

func (*PutEndpointIDFailed) WithPayload Uses

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

WithPayload adds the payload to the put endpoint Id failed response

func (*PutEndpointIDFailed) WriteResponse Uses

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

WriteResponse to the client

type PutEndpointIDHandler Uses

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

PutEndpointIDHandler interface for that can handle valid put endpoint ID params

type PutEndpointIDHandlerFunc Uses

type PutEndpointIDHandlerFunc func(PutEndpointIDParams) middleware.Responder

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

func (PutEndpointIDHandlerFunc) Handle Uses

func (fn PutEndpointIDHandlerFunc) Handle(params PutEndpointIDParams) middleware.Responder

Handle executing the request and returning a response

type PutEndpointIDInvalid Uses

type PutEndpointIDInvalid struct {

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

PutEndpointIDInvalid Invalid endpoint in request

swagger:response putEndpointIdInvalid

func NewPutEndpointIDInvalid Uses

func NewPutEndpointIDInvalid() *PutEndpointIDInvalid

NewPutEndpointIDInvalid creates PutEndpointIDInvalid with default headers values

func (*PutEndpointIDInvalid) SetPayload Uses

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

SetPayload sets the payload to the put endpoint Id invalid response

func (*PutEndpointIDInvalid) WithPayload Uses

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

WithPayload adds the payload to the put endpoint Id invalid response

func (*PutEndpointIDInvalid) WriteResponse Uses

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

WriteResponse to the client

type PutEndpointIDParams Uses

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 Uses

func NewPutEndpointIDParams() PutEndpointIDParams

NewPutEndpointIDParams creates a new PutEndpointIDParams object no default values defined in spec.

func (*PutEndpointIDParams) BindRequest Uses

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 PutEndpointIDURL Uses

type PutEndpointIDURL struct {
    ID string
    // contains filtered or unexported fields
}

PutEndpointIDURL generates an URL for the put endpoint ID operation

func (*PutEndpointIDURL) Build Uses

func (o *PutEndpointIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*PutEndpointIDURL) BuildFull Uses

func (o *PutEndpointIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PutEndpointIDURL) Must Uses

func (o *PutEndpointIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PutEndpointIDURL) SetBasePath Uses

func (o *PutEndpointIDURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PutEndpointIDURL) String Uses

func (o *PutEndpointIDURL) String() string

String returns the string representation of the path with query string

func (*PutEndpointIDURL) StringFull Uses

func (o *PutEndpointIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PutEndpointIDURL) WithBasePath Uses

func (o *PutEndpointIDURL) WithBasePath(bp string) *PutEndpointIDURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Package endpoint imports 11 packages (graph) and is imported by 20 packages. Updated 2019-06-05. Refresh now. Tools for package owners.