Documentation ¶
Index ¶
- Constants
- type DeleteEndpointID
- type DeleteEndpointIDErrors
- type DeleteEndpointIDHandler
- type DeleteEndpointIDHandlerFunc
- type DeleteEndpointIDInvalid
- type DeleteEndpointIDNotFound
- type DeleteEndpointIDOK
- type DeleteEndpointIDParams
- type DeleteEndpointIDURL
- func (o *DeleteEndpointIDURL) Build() (*url.URL, error)
- func (o *DeleteEndpointIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteEndpointIDURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteEndpointIDURL) SetBasePath(bp string)
- func (o *DeleteEndpointIDURL) String() string
- func (o *DeleteEndpointIDURL) StringFull(scheme, host string) string
- func (o *DeleteEndpointIDURL) WithBasePath(bp string) *DeleteEndpointIDURL
- type GetEndpoint
- type GetEndpointHandler
- type GetEndpointHandlerFunc
- type GetEndpointID
- type GetEndpointIDConfig
- type GetEndpointIDConfigHandler
- type GetEndpointIDConfigHandlerFunc
- type GetEndpointIDConfigNotFound
- type GetEndpointIDConfigOK
- type GetEndpointIDConfigParams
- type GetEndpointIDConfigURL
- func (o *GetEndpointIDConfigURL) Build() (*url.URL, error)
- func (o *GetEndpointIDConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetEndpointIDConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *GetEndpointIDConfigURL) SetBasePath(bp string)
- func (o *GetEndpointIDConfigURL) String() string
- func (o *GetEndpointIDConfigURL) StringFull(scheme, host string) string
- func (o *GetEndpointIDConfigURL) WithBasePath(bp string) *GetEndpointIDConfigURL
- type GetEndpointIDHandler
- type GetEndpointIDHandlerFunc
- type GetEndpointIDInvalid
- type GetEndpointIDLabels
- type GetEndpointIDLabelsHandler
- type GetEndpointIDLabelsHandlerFunc
- type GetEndpointIDLabelsNotFound
- type GetEndpointIDLabelsOK
- type GetEndpointIDLabelsParams
- type GetEndpointIDLabelsURL
- func (o *GetEndpointIDLabelsURL) Build() (*url.URL, error)
- func (o *GetEndpointIDLabelsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetEndpointIDLabelsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetEndpointIDLabelsURL) SetBasePath(bp string)
- func (o *GetEndpointIDLabelsURL) String() string
- func (o *GetEndpointIDLabelsURL) StringFull(scheme, host string) string
- func (o *GetEndpointIDLabelsURL) WithBasePath(bp string) *GetEndpointIDLabelsURL
- type GetEndpointIDNotFound
- type GetEndpointIDOK
- type GetEndpointIDParams
- type GetEndpointIDURL
- func (o *GetEndpointIDURL) Build() (*url.URL, error)
- func (o *GetEndpointIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetEndpointIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetEndpointIDURL) SetBasePath(bp string)
- func (o *GetEndpointIDURL) String() string
- func (o *GetEndpointIDURL) StringFull(scheme, host string) string
- func (o *GetEndpointIDURL) WithBasePath(bp string) *GetEndpointIDURL
- type GetEndpointNotFound
- type GetEndpointOK
- type GetEndpointParams
- type GetEndpointURL
- func (o *GetEndpointURL) Build() (*url.URL, error)
- func (o *GetEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetEndpointURL) Must(u *url.URL, err error) *url.URL
- func (o *GetEndpointURL) SetBasePath(bp string)
- func (o *GetEndpointURL) String() string
- func (o *GetEndpointURL) StringFull(scheme, host string) string
- func (o *GetEndpointURL) WithBasePath(bp string) *GetEndpointURL
- type PatchEndpointID
- type PatchEndpointIDConfig
- type PatchEndpointIDConfigFailed
- type PatchEndpointIDConfigHandler
- type PatchEndpointIDConfigHandlerFunc
- type PatchEndpointIDConfigInvalid
- type PatchEndpointIDConfigNotFound
- type PatchEndpointIDConfigOK
- type PatchEndpointIDConfigParams
- type PatchEndpointIDConfigURL
- func (o *PatchEndpointIDConfigURL) Build() (*url.URL, error)
- func (o *PatchEndpointIDConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchEndpointIDConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchEndpointIDConfigURL) SetBasePath(bp string)
- func (o *PatchEndpointIDConfigURL) String() string
- func (o *PatchEndpointIDConfigURL) StringFull(scheme, host string) string
- func (o *PatchEndpointIDConfigURL) WithBasePath(bp string) *PatchEndpointIDConfigURL
- type PatchEndpointIDFailed
- type PatchEndpointIDHandler
- type PatchEndpointIDHandlerFunc
- type PatchEndpointIDInvalid
- type PatchEndpointIDNotFound
- type PatchEndpointIDOK
- type PatchEndpointIDParams
- type PatchEndpointIDURL
- func (o *PatchEndpointIDURL) Build() (*url.URL, error)
- func (o *PatchEndpointIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchEndpointIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchEndpointIDURL) SetBasePath(bp string)
- func (o *PatchEndpointIDURL) String() string
- func (o *PatchEndpointIDURL) StringFull(scheme, host string) string
- func (o *PatchEndpointIDURL) WithBasePath(bp string) *PatchEndpointIDURL
- type PutEndpointID
- type PutEndpointIDCreated
- type PutEndpointIDExists
- type PutEndpointIDFailed
- type PutEndpointIDHandler
- type PutEndpointIDHandlerFunc
- type PutEndpointIDInvalid
- type PutEndpointIDLabels
- type PutEndpointIDLabelsHandler
- type PutEndpointIDLabelsHandlerFunc
- type PutEndpointIDLabelsLabelNotFound
- type PutEndpointIDLabelsNotFound
- type PutEndpointIDLabelsOK
- type PutEndpointIDLabelsParams
- type PutEndpointIDLabelsURL
- func (o *PutEndpointIDLabelsURL) Build() (*url.URL, error)
- func (o *PutEndpointIDLabelsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutEndpointIDLabelsURL) Must(u *url.URL, err error) *url.URL
- func (o *PutEndpointIDLabelsURL) SetBasePath(bp string)
- func (o *PutEndpointIDLabelsURL) String() string
- func (o *PutEndpointIDLabelsURL) StringFull(scheme, host string) string
- func (o *PutEndpointIDLabelsURL) WithBasePath(bp string) *PutEndpointIDLabelsURL
- type PutEndpointIDLabelsUpdateFailed
- type PutEndpointIDParams
- type PutEndpointIDURL
- func (o *PutEndpointIDURL) Build() (*url.URL, error)
- func (o *PutEndpointIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutEndpointIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PutEndpointIDURL) SetBasePath(bp string)
- func (o *PutEndpointIDURL) String() string
- func (o *PutEndpointIDURL) StringFull(scheme, host string) string
- func (o *PutEndpointIDURL) WithBasePath(bp string) *PutEndpointIDURL
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 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 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 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
const PutEndpointIDLabelsLabelNotFoundCode int = 460
PutEndpointIDLabelsLabelNotFoundCode is the HTTP code returned for type PutEndpointIDLabelsLabelNotFound
const PutEndpointIDLabelsNotFoundCode int = 404
PutEndpointIDLabelsNotFoundCode is the HTTP code returned for type PutEndpointIDLabelsNotFound
const PutEndpointIDLabelsOKCode int = 200
PutEndpointIDLabelsOKCode is the HTTP code returned for type PutEndpointIDLabelsOK
const PutEndpointIDLabelsUpdateFailedCode int = 500
PutEndpointIDLabelsUpdateFailedCode is the HTTP code returned for type PutEndpointIDLabelsUpdateFailed
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 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 ¶
func (fn DeleteEndpointIDHandlerFunc) Handle(params DeleteEndpointIDParams) middleware.Responder
Handle executing the request and returning a response
type DeleteEndpointIDInvalid ¶
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 ¶
func (o *DeleteEndpointIDInvalid) WithPayload(payload models.Error) *DeleteEndpointIDInvalid
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 /*String describing an endpoint with the format `[prefix:]id`. If no prefix is specified, a prefix of `cilium-local:` is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444 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 with the default values initialized.
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
type DeleteEndpointIDURL ¶
type DeleteEndpointIDURL struct { ID string // contains filtered or unexported fields }
DeleteEndpointIDURL generates an URL for the delete endpoint ID operation
func (*DeleteEndpointIDURL) Build ¶
func (o *DeleteEndpointIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteEndpointIDURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteEndpointIDURL) SetBasePath ¶
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 ¶
func (o *DeleteEndpointIDURL) String() string
String returns the string representation of the path with query string
func (*DeleteEndpointIDURL) StringFull ¶
func (o *DeleteEndpointIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteEndpointIDURL) WithBasePath ¶
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 ¶
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 ¶
func (fn GetEndpointHandlerFunc) Handle(params GetEndpointParams) middleware.Responder
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 ¶
func (fn GetEndpointIDConfigHandlerFunc) Handle(params GetEndpointIDConfigParams) middleware.Responder
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.Configuration `json:"body,omitempty"` }
GetEndpointIDConfigOK Success
swagger:response getEndpointIdConfigOK
func NewGetEndpointIDConfigOK ¶
func NewGetEndpointIDConfigOK() *GetEndpointIDConfigOK
NewGetEndpointIDConfigOK creates GetEndpointIDConfigOK with default headers values
func (*GetEndpointIDConfigOK) SetPayload ¶
func (o *GetEndpointIDConfigOK) SetPayload(payload *models.Configuration)
SetPayload sets the payload to the get endpoint Id config o k response
func (*GetEndpointIDConfigOK) WithPayload ¶
func (o *GetEndpointIDConfigOK) WithPayload(payload *models.Configuration) *GetEndpointIDConfigOK
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 /*String describing an endpoint with the format `[prefix:]id`. If no prefix is specified, a prefix of `cilium-local:` is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444 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 with the default values initialized.
func (*GetEndpointIDConfigParams) BindRequest ¶
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
type GetEndpointIDConfigURL ¶
type GetEndpointIDConfigURL struct { ID string // contains filtered or unexported fields }
GetEndpointIDConfigURL generates an URL for the get endpoint ID config operation
func (*GetEndpointIDConfigURL) Build ¶
func (o *GetEndpointIDConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetEndpointIDConfigURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*GetEndpointIDConfigURL) SetBasePath ¶
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 ¶
func (o *GetEndpointIDConfigURL) String() string
String returns the string representation of the path with query string
func (*GetEndpointIDConfigURL) StringFull ¶
func (o *GetEndpointIDConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetEndpointIDConfigURL) WithBasePath ¶
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 ¶
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 ¶
func (fn GetEndpointIDHandlerFunc) Handle(params GetEndpointIDParams) middleware.Responder
Handle executing the request and returning a response
type GetEndpointIDInvalid ¶
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 ¶
func (fn GetEndpointIDLabelsHandlerFunc) Handle(params GetEndpointIDLabelsParams) middleware.Responder
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 ¶
func (o *GetEndpointIDLabelsOK) WithPayload(payload *models.LabelConfiguration) *GetEndpointIDLabelsOK
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 /*String describing an endpoint with the format `[prefix:]id`. If no prefix is specified, a prefix of `cilium-local:` is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444 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 with the default values initialized.
func (*GetEndpointIDLabelsParams) BindRequest ¶
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
type GetEndpointIDLabelsURL ¶
type GetEndpointIDLabelsURL struct { ID string // contains filtered or unexported fields }
GetEndpointIDLabelsURL generates an URL for the get endpoint ID labels operation
func (*GetEndpointIDLabelsURL) Build ¶
func (o *GetEndpointIDLabelsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetEndpointIDLabelsURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*GetEndpointIDLabelsURL) SetBasePath ¶
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 ¶
func (o *GetEndpointIDLabelsURL) String() string
String returns the string representation of the path with query string
func (*GetEndpointIDLabelsURL) StringFull ¶
func (o *GetEndpointIDLabelsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetEndpointIDLabelsURL) WithBasePath ¶
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 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 ¶
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 /*String describing an endpoint with the format `[prefix:]id`. If no prefix is specified, a prefix of `cilium-local:` is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444 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 with the default values initialized.
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
type GetEndpointIDURL ¶
type GetEndpointIDURL struct { ID string // contains filtered or unexported fields }
GetEndpointIDURL generates an URL for the get endpoint ID operation
func (*GetEndpointIDURL) Build ¶
func (o *GetEndpointIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetEndpointIDURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*GetEndpointIDURL) SetBasePath ¶
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 ¶
func (o *GetEndpointIDURL) String() string
String returns the string representation of the path with query string
func (*GetEndpointIDURL) StringFull ¶
func (o *GetEndpointIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetEndpointIDURL) WithBasePath ¶
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 ¶ 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 ¶
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 /*List of labels Required: true 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 with the default values initialized.
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
type GetEndpointURL ¶
type GetEndpointURL struct {
// contains filtered or unexported fields
}
GetEndpointURL generates an URL for the get endpoint operation
func (*GetEndpointURL) Build ¶
func (o *GetEndpointURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetEndpointURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*GetEndpointURL) SetBasePath ¶
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 ¶
func (o *GetEndpointURL) String() string
String returns the string representation of the path with query string
func (*GetEndpointURL) StringFull ¶
func (o *GetEndpointURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetEndpointURL) WithBasePath ¶
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 ¶
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 ¶
func (o *PatchEndpointIDConfigFailed) WithPayload(payload models.Error) *PatchEndpointIDConfigFailed
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 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 ¶
func (fn PatchEndpointIDConfigHandlerFunc) Handle(params PatchEndpointIDConfigParams) middleware.Responder
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 /* Required: true In: body */ Configuration models.ConfigurationMap /*String describing an endpoint with the format `[prefix:]id`. If no prefix is specified, a prefix of `cilium-local:` is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444 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 with the default values initialized.
func (*PatchEndpointIDConfigParams) BindRequest ¶
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
type PatchEndpointIDConfigURL ¶
type PatchEndpointIDConfigURL struct { ID string // contains filtered or unexported fields }
PatchEndpointIDConfigURL generates an URL for the patch endpoint ID config operation
func (*PatchEndpointIDConfigURL) Build ¶
func (o *PatchEndpointIDConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchEndpointIDConfigURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchEndpointIDConfigURL) SetBasePath ¶
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 ¶
func (o *PatchEndpointIDConfigURL) String() string
String returns the string representation of the path with query string
func (*PatchEndpointIDConfigURL) StringFull ¶
func (o *PatchEndpointIDConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchEndpointIDConfigURL) WithBasePath ¶
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 ¶
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 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 ¶
func (fn PatchEndpointIDHandlerFunc) Handle(params PatchEndpointIDParams) middleware.Responder
Handle executing the request and returning a response
type PatchEndpointIDInvalid ¶
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 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 /* 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-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-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 with the default values initialized.
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
type PatchEndpointIDURL ¶
type PatchEndpointIDURL struct { ID string // contains filtered or unexported fields }
PatchEndpointIDURL generates an URL for the patch endpoint ID operation
func (*PatchEndpointIDURL) Build ¶
func (o *PatchEndpointIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchEndpointIDURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchEndpointIDURL) SetBasePath ¶
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 ¶
func (o *PatchEndpointIDURL) String() string
String returns the string representation of the path with query string
func (*PatchEndpointIDURL) StringFull ¶
func (o *PatchEndpointIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchEndpointIDURL) WithBasePath ¶
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 ¶
type PutEndpointID struct { Context *middleware.Context Handler PutEndpointIDHandler }
PutEndpointID swagger:route PUT /endpoint/{id} endpoint putEndpointId
Create endpoint ¶
Updates an existing 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 ¶
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 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 ¶
func (fn PutEndpointIDHandlerFunc) Handle(params PutEndpointIDParams) middleware.Responder
Handle executing the request and returning a response
type PutEndpointIDInvalid ¶
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 PutEndpointIDLabels ¶
type PutEndpointIDLabels struct { Context *middleware.Context Handler PutEndpointIDLabelsHandler }
PutEndpointIDLabels swagger:route PUT /endpoint/{id}/labels endpoint putEndpointIdLabels
Modify label configuration of endpoint ¶
Updates the list of labels associated with an endpoint by applying a label modificator structure to the label configuration of an endpoint.
The label configuration mutation is only executed as a whole, i.e. if any of the labels to be deleted are not either on the list of orchestration system labels, custom labels, or already disabled, then the request will fail. Labels to be added which already exist on either the orchestration list or custom list will be ignored.
func NewPutEndpointIDLabels ¶
func NewPutEndpointIDLabels(ctx *middleware.Context, handler PutEndpointIDLabelsHandler) *PutEndpointIDLabels
NewPutEndpointIDLabels creates a new http.Handler for the put endpoint ID labels operation
func (*PutEndpointIDLabels) ServeHTTP ¶
func (o *PutEndpointIDLabels) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutEndpointIDLabelsHandler ¶
type PutEndpointIDLabelsHandler interface {
Handle(PutEndpointIDLabelsParams) middleware.Responder
}
PutEndpointIDLabelsHandler interface for that can handle valid put endpoint ID labels params
type PutEndpointIDLabelsHandlerFunc ¶
type PutEndpointIDLabelsHandlerFunc func(PutEndpointIDLabelsParams) middleware.Responder
PutEndpointIDLabelsHandlerFunc turns a function with the right signature into a put endpoint ID labels handler
func (PutEndpointIDLabelsHandlerFunc) Handle ¶
func (fn PutEndpointIDLabelsHandlerFunc) Handle(params PutEndpointIDLabelsParams) middleware.Responder
Handle executing the request and returning a response
type PutEndpointIDLabelsLabelNotFound ¶
type PutEndpointIDLabelsLabelNotFound struct { /* In: Body */ Payload models.Error `json:"body,omitempty"` }
PutEndpointIDLabelsLabelNotFound Label to be deleted not found
swagger:response putEndpointIdLabelsLabelNotFound
func NewPutEndpointIDLabelsLabelNotFound ¶
func NewPutEndpointIDLabelsLabelNotFound() *PutEndpointIDLabelsLabelNotFound
NewPutEndpointIDLabelsLabelNotFound creates PutEndpointIDLabelsLabelNotFound with default headers values
func (*PutEndpointIDLabelsLabelNotFound) SetPayload ¶
func (o *PutEndpointIDLabelsLabelNotFound) SetPayload(payload models.Error)
SetPayload sets the payload to the put endpoint Id labels label not found response
func (*PutEndpointIDLabelsLabelNotFound) WithPayload ¶
func (o *PutEndpointIDLabelsLabelNotFound) WithPayload(payload models.Error) *PutEndpointIDLabelsLabelNotFound
WithPayload adds the payload to the put endpoint Id labels label not found response
func (*PutEndpointIDLabelsLabelNotFound) WriteResponse ¶
func (o *PutEndpointIDLabelsLabelNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutEndpointIDLabelsNotFound ¶
type PutEndpointIDLabelsNotFound struct { }
PutEndpointIDLabelsNotFound Endpoint not found
swagger:response putEndpointIdLabelsNotFound
func NewPutEndpointIDLabelsNotFound ¶
func NewPutEndpointIDLabelsNotFound() *PutEndpointIDLabelsNotFound
NewPutEndpointIDLabelsNotFound creates PutEndpointIDLabelsNotFound with default headers values
func (*PutEndpointIDLabelsNotFound) WriteResponse ¶
func (o *PutEndpointIDLabelsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutEndpointIDLabelsOK ¶
type PutEndpointIDLabelsOK struct { }
PutEndpointIDLabelsOK Success
swagger:response putEndpointIdLabelsOK
func NewPutEndpointIDLabelsOK ¶
func NewPutEndpointIDLabelsOK() *PutEndpointIDLabelsOK
NewPutEndpointIDLabelsOK creates PutEndpointIDLabelsOK with default headers values
func (*PutEndpointIDLabelsOK) WriteResponse ¶
func (o *PutEndpointIDLabelsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutEndpointIDLabelsParams ¶
type PutEndpointIDLabelsParams struct { // HTTP Request Object HTTPRequest *http.Request /* Required: true In: body */ Configuration *models.LabelConfigurationModifier /*String describing an endpoint with the format `[prefix:]id`. If no prefix is specified, a prefix of `cilium-local:` is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444 Required: true In: path */ ID string }
PutEndpointIDLabelsParams contains all the bound params for the put endpoint ID labels operation typically these are obtained from a http.Request
swagger:parameters PutEndpointIDLabels
func NewPutEndpointIDLabelsParams ¶
func NewPutEndpointIDLabelsParams() PutEndpointIDLabelsParams
NewPutEndpointIDLabelsParams creates a new PutEndpointIDLabelsParams object with the default values initialized.
func (*PutEndpointIDLabelsParams) BindRequest ¶
func (o *PutEndpointIDLabelsParams) 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
type PutEndpointIDLabelsURL ¶
type PutEndpointIDLabelsURL struct { ID string // contains filtered or unexported fields }
PutEndpointIDLabelsURL generates an URL for the put endpoint ID labels operation
func (*PutEndpointIDLabelsURL) Build ¶
func (o *PutEndpointIDLabelsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutEndpointIDLabelsURL) BuildFull ¶
func (o *PutEndpointIDLabelsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutEndpointIDLabelsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutEndpointIDLabelsURL) SetBasePath ¶
func (o *PutEndpointIDLabelsURL) 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 (*PutEndpointIDLabelsURL) String ¶
func (o *PutEndpointIDLabelsURL) String() string
String returns the string representation of the path with query string
func (*PutEndpointIDLabelsURL) StringFull ¶
func (o *PutEndpointIDLabelsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutEndpointIDLabelsURL) WithBasePath ¶
func (o *PutEndpointIDLabelsURL) WithBasePath(bp string) *PutEndpointIDLabelsURL
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 PutEndpointIDLabelsUpdateFailed ¶
type PutEndpointIDLabelsUpdateFailed struct { /* In: Body */ Payload models.Error `json:"body,omitempty"` }
PutEndpointIDLabelsUpdateFailed Error while updating labels
swagger:response putEndpointIdLabelsUpdateFailed
func NewPutEndpointIDLabelsUpdateFailed ¶
func NewPutEndpointIDLabelsUpdateFailed() *PutEndpointIDLabelsUpdateFailed
NewPutEndpointIDLabelsUpdateFailed creates PutEndpointIDLabelsUpdateFailed with default headers values
func (*PutEndpointIDLabelsUpdateFailed) SetPayload ¶
func (o *PutEndpointIDLabelsUpdateFailed) SetPayload(payload models.Error)
SetPayload sets the payload to the put endpoint Id labels update failed response
func (*PutEndpointIDLabelsUpdateFailed) WithPayload ¶
func (o *PutEndpointIDLabelsUpdateFailed) WithPayload(payload models.Error) *PutEndpointIDLabelsUpdateFailed
WithPayload adds the payload to the put endpoint Id labels update failed response
func (*PutEndpointIDLabelsUpdateFailed) WriteResponse ¶
func (o *PutEndpointIDLabelsUpdateFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutEndpointIDParams ¶
type PutEndpointIDParams struct { // HTTP Request Object HTTPRequest *http.Request /* 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-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-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 with the default values initialized.
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
type PutEndpointIDURL ¶
type PutEndpointIDURL struct { ID string // contains filtered or unexported fields }
PutEndpointIDURL generates an URL for the put endpoint ID operation
func (*PutEndpointIDURL) Build ¶
func (o *PutEndpointIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutEndpointIDURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*PutEndpointIDURL) SetBasePath ¶
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 ¶
func (o *PutEndpointIDURL) String() string
String returns the string representation of the path with query string
func (*PutEndpointIDURL) StringFull ¶
func (o *PutEndpointIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutEndpointIDURL) WithBasePath ¶
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
Source 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_labels.go
- get_endpoint_id_labels_parameters.go
- get_endpoint_id_labels_responses.go
- get_endpoint_id_labels_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_parameters.go
- patch_endpoint_id_responses.go
- patch_endpoint_id_urlbuilder.go
- put_endpoint_id.go
- put_endpoint_id_labels.go
- put_endpoint_id_labels_parameters.go
- put_endpoint_id_labels_responses.go
- put_endpoint_id_labels_urlbuilder.go
- put_endpoint_id_parameters.go
- put_endpoint_id_responses.go
- put_endpoint_id_urlbuilder.go