Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteEndpointID(params *DeleteEndpointIDParams) (*DeleteEndpointIDOK, *DeleteEndpointIDErrors, error)
- func (a *Client) GetEndpoint(params *GetEndpointParams) (*GetEndpointOK, error)
- func (a *Client) GetEndpointID(params *GetEndpointIDParams) (*GetEndpointIDOK, error)
- func (a *Client) GetEndpointIDConfig(params *GetEndpointIDConfigParams) (*GetEndpointIDConfigOK, error)
- func (a *Client) GetEndpointIDLabels(params *GetEndpointIDLabelsParams) (*GetEndpointIDLabelsOK, error)
- func (a *Client) PatchEndpointID(params *PatchEndpointIDParams) (*PatchEndpointIDOK, error)
- func (a *Client) PatchEndpointIDConfig(params *PatchEndpointIDConfigParams) (*PatchEndpointIDConfigOK, error)
- func (a *Client) PutEndpointID(params *PutEndpointIDParams) (*PutEndpointIDCreated, error)
- func (a *Client) PutEndpointIDLabels(params *PutEndpointIDLabelsParams) (*PutEndpointIDLabelsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteEndpointIDErrors
- type DeleteEndpointIDInvalid
- type DeleteEndpointIDNotFound
- type DeleteEndpointIDOK
- type DeleteEndpointIDParams
- func NewDeleteEndpointIDParams() *DeleteEndpointIDParams
- func NewDeleteEndpointIDParamsWithContext(ctx context.Context) *DeleteEndpointIDParams
- func NewDeleteEndpointIDParamsWithHTTPClient(client *http.Client) *DeleteEndpointIDParams
- func NewDeleteEndpointIDParamsWithTimeout(timeout time.Duration) *DeleteEndpointIDParams
- func (o *DeleteEndpointIDParams) SetContext(ctx context.Context)
- func (o *DeleteEndpointIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEndpointIDParams) SetID(id string)
- func (o *DeleteEndpointIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEndpointIDParams) WithContext(ctx context.Context) *DeleteEndpointIDParams
- func (o *DeleteEndpointIDParams) WithHTTPClient(client *http.Client) *DeleteEndpointIDParams
- func (o *DeleteEndpointIDParams) WithID(id string) *DeleteEndpointIDParams
- func (o *DeleteEndpointIDParams) WithTimeout(timeout time.Duration) *DeleteEndpointIDParams
- func (o *DeleteEndpointIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEndpointIDReader
- type GetEndpointIDConfigNotFound
- type GetEndpointIDConfigOK
- type GetEndpointIDConfigParams
- func NewGetEndpointIDConfigParams() *GetEndpointIDConfigParams
- func NewGetEndpointIDConfigParamsWithContext(ctx context.Context) *GetEndpointIDConfigParams
- func NewGetEndpointIDConfigParamsWithHTTPClient(client *http.Client) *GetEndpointIDConfigParams
- func NewGetEndpointIDConfigParamsWithTimeout(timeout time.Duration) *GetEndpointIDConfigParams
- func (o *GetEndpointIDConfigParams) SetContext(ctx context.Context)
- func (o *GetEndpointIDConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetEndpointIDConfigParams) SetID(id string)
- func (o *GetEndpointIDConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetEndpointIDConfigParams) WithContext(ctx context.Context) *GetEndpointIDConfigParams
- func (o *GetEndpointIDConfigParams) WithHTTPClient(client *http.Client) *GetEndpointIDConfigParams
- func (o *GetEndpointIDConfigParams) WithID(id string) *GetEndpointIDConfigParams
- func (o *GetEndpointIDConfigParams) WithTimeout(timeout time.Duration) *GetEndpointIDConfigParams
- func (o *GetEndpointIDConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEndpointIDConfigReader
- type GetEndpointIDInvalid
- type GetEndpointIDLabelsNotFound
- type GetEndpointIDLabelsOK
- type GetEndpointIDLabelsParams
- func NewGetEndpointIDLabelsParams() *GetEndpointIDLabelsParams
- func NewGetEndpointIDLabelsParamsWithContext(ctx context.Context) *GetEndpointIDLabelsParams
- func NewGetEndpointIDLabelsParamsWithHTTPClient(client *http.Client) *GetEndpointIDLabelsParams
- func NewGetEndpointIDLabelsParamsWithTimeout(timeout time.Duration) *GetEndpointIDLabelsParams
- func (o *GetEndpointIDLabelsParams) SetContext(ctx context.Context)
- func (o *GetEndpointIDLabelsParams) SetHTTPClient(client *http.Client)
- func (o *GetEndpointIDLabelsParams) SetID(id string)
- func (o *GetEndpointIDLabelsParams) SetTimeout(timeout time.Duration)
- func (o *GetEndpointIDLabelsParams) WithContext(ctx context.Context) *GetEndpointIDLabelsParams
- func (o *GetEndpointIDLabelsParams) WithHTTPClient(client *http.Client) *GetEndpointIDLabelsParams
- func (o *GetEndpointIDLabelsParams) WithID(id string) *GetEndpointIDLabelsParams
- func (o *GetEndpointIDLabelsParams) WithTimeout(timeout time.Duration) *GetEndpointIDLabelsParams
- func (o *GetEndpointIDLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEndpointIDLabelsReader
- type GetEndpointIDNotFound
- type GetEndpointIDOK
- type GetEndpointIDParams
- func (o *GetEndpointIDParams) SetContext(ctx context.Context)
- func (o *GetEndpointIDParams) SetHTTPClient(client *http.Client)
- func (o *GetEndpointIDParams) SetID(id string)
- func (o *GetEndpointIDParams) SetTimeout(timeout time.Duration)
- func (o *GetEndpointIDParams) WithContext(ctx context.Context) *GetEndpointIDParams
- func (o *GetEndpointIDParams) WithHTTPClient(client *http.Client) *GetEndpointIDParams
- func (o *GetEndpointIDParams) WithID(id string) *GetEndpointIDParams
- func (o *GetEndpointIDParams) WithTimeout(timeout time.Duration) *GetEndpointIDParams
- func (o *GetEndpointIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEndpointIDReader
- type GetEndpointOK
- type GetEndpointParams
- func (o *GetEndpointParams) SetContext(ctx context.Context)
- func (o *GetEndpointParams) SetHTTPClient(client *http.Client)
- func (o *GetEndpointParams) SetTimeout(timeout time.Duration)
- func (o *GetEndpointParams) WithContext(ctx context.Context) *GetEndpointParams
- func (o *GetEndpointParams) WithHTTPClient(client *http.Client) *GetEndpointParams
- func (o *GetEndpointParams) WithTimeout(timeout time.Duration) *GetEndpointParams
- func (o *GetEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEndpointReader
- type PatchEndpointIDConfigFailed
- type PatchEndpointIDConfigInvalid
- type PatchEndpointIDConfigNotFound
- type PatchEndpointIDConfigOK
- type PatchEndpointIDConfigParams
- func NewPatchEndpointIDConfigParams() *PatchEndpointIDConfigParams
- func NewPatchEndpointIDConfigParamsWithContext(ctx context.Context) *PatchEndpointIDConfigParams
- func NewPatchEndpointIDConfigParamsWithHTTPClient(client *http.Client) *PatchEndpointIDConfigParams
- func NewPatchEndpointIDConfigParamsWithTimeout(timeout time.Duration) *PatchEndpointIDConfigParams
- func (o *PatchEndpointIDConfigParams) SetConfiguration(configuration models.ConfigurationMap)
- func (o *PatchEndpointIDConfigParams) SetContext(ctx context.Context)
- func (o *PatchEndpointIDConfigParams) SetHTTPClient(client *http.Client)
- func (o *PatchEndpointIDConfigParams) SetID(id string)
- func (o *PatchEndpointIDConfigParams) SetTimeout(timeout time.Duration)
- func (o *PatchEndpointIDConfigParams) WithConfiguration(configuration models.ConfigurationMap) *PatchEndpointIDConfigParams
- func (o *PatchEndpointIDConfigParams) WithContext(ctx context.Context) *PatchEndpointIDConfigParams
- func (o *PatchEndpointIDConfigParams) WithHTTPClient(client *http.Client) *PatchEndpointIDConfigParams
- func (o *PatchEndpointIDConfigParams) WithID(id string) *PatchEndpointIDConfigParams
- func (o *PatchEndpointIDConfigParams) WithTimeout(timeout time.Duration) *PatchEndpointIDConfigParams
- func (o *PatchEndpointIDConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchEndpointIDConfigReader
- type PatchEndpointIDFailed
- type PatchEndpointIDInvalid
- type PatchEndpointIDNotFound
- type PatchEndpointIDOK
- type PatchEndpointIDParams
- func NewPatchEndpointIDParams() *PatchEndpointIDParams
- func NewPatchEndpointIDParamsWithContext(ctx context.Context) *PatchEndpointIDParams
- func NewPatchEndpointIDParamsWithHTTPClient(client *http.Client) *PatchEndpointIDParams
- func NewPatchEndpointIDParamsWithTimeout(timeout time.Duration) *PatchEndpointIDParams
- func (o *PatchEndpointIDParams) SetContext(ctx context.Context)
- func (o *PatchEndpointIDParams) SetEndpoint(endpoint *models.EndpointChangeRequest)
- func (o *PatchEndpointIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchEndpointIDParams) SetID(id string)
- func (o *PatchEndpointIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchEndpointIDParams) WithContext(ctx context.Context) *PatchEndpointIDParams
- func (o *PatchEndpointIDParams) WithEndpoint(endpoint *models.EndpointChangeRequest) *PatchEndpointIDParams
- func (o *PatchEndpointIDParams) WithHTTPClient(client *http.Client) *PatchEndpointIDParams
- func (o *PatchEndpointIDParams) WithID(id string) *PatchEndpointIDParams
- func (o *PatchEndpointIDParams) WithTimeout(timeout time.Duration) *PatchEndpointIDParams
- func (o *PatchEndpointIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchEndpointIDReader
- type PutEndpointIDCreated
- type PutEndpointIDExists
- type PutEndpointIDFailed
- type PutEndpointIDInvalid
- type PutEndpointIDLabelsLabelNotFound
- type PutEndpointIDLabelsNotFound
- type PutEndpointIDLabelsOK
- type PutEndpointIDLabelsParams
- func NewPutEndpointIDLabelsParams() *PutEndpointIDLabelsParams
- func NewPutEndpointIDLabelsParamsWithContext(ctx context.Context) *PutEndpointIDLabelsParams
- func NewPutEndpointIDLabelsParamsWithHTTPClient(client *http.Client) *PutEndpointIDLabelsParams
- func NewPutEndpointIDLabelsParamsWithTimeout(timeout time.Duration) *PutEndpointIDLabelsParams
- func (o *PutEndpointIDLabelsParams) SetConfiguration(configuration *models.LabelConfigurationModifier)
- func (o *PutEndpointIDLabelsParams) SetContext(ctx context.Context)
- func (o *PutEndpointIDLabelsParams) SetHTTPClient(client *http.Client)
- func (o *PutEndpointIDLabelsParams) SetID(id string)
- func (o *PutEndpointIDLabelsParams) SetTimeout(timeout time.Duration)
- func (o *PutEndpointIDLabelsParams) WithConfiguration(configuration *models.LabelConfigurationModifier) *PutEndpointIDLabelsParams
- func (o *PutEndpointIDLabelsParams) WithContext(ctx context.Context) *PutEndpointIDLabelsParams
- func (o *PutEndpointIDLabelsParams) WithHTTPClient(client *http.Client) *PutEndpointIDLabelsParams
- func (o *PutEndpointIDLabelsParams) WithID(id string) *PutEndpointIDLabelsParams
- func (o *PutEndpointIDLabelsParams) WithTimeout(timeout time.Duration) *PutEndpointIDLabelsParams
- func (o *PutEndpointIDLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutEndpointIDLabelsReader
- type PutEndpointIDLabelsUpdateFailed
- type PutEndpointIDParams
- func (o *PutEndpointIDParams) SetContext(ctx context.Context)
- func (o *PutEndpointIDParams) SetEndpoint(endpoint *models.EndpointChangeRequest)
- func (o *PutEndpointIDParams) SetHTTPClient(client *http.Client)
- func (o *PutEndpointIDParams) SetID(id string)
- func (o *PutEndpointIDParams) SetTimeout(timeout time.Duration)
- func (o *PutEndpointIDParams) WithContext(ctx context.Context) *PutEndpointIDParams
- func (o *PutEndpointIDParams) WithEndpoint(endpoint *models.EndpointChangeRequest) *PutEndpointIDParams
- func (o *PutEndpointIDParams) WithHTTPClient(client *http.Client) *PutEndpointIDParams
- func (o *PutEndpointIDParams) WithID(id string) *PutEndpointIDParams
- func (o *PutEndpointIDParams) WithTimeout(timeout time.Duration) *PutEndpointIDParams
- func (o *PutEndpointIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutEndpointIDReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for endpoint API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new endpoint API client.
func (*Client) DeleteEndpointID ¶
func (a *Client) DeleteEndpointID(params *DeleteEndpointIDParams) (*DeleteEndpointIDOK, *DeleteEndpointIDErrors, error)
DeleteEndpointID deletes endpoint
Deletes the endpoint specified by the ID. Deletion is imminent and atomic, if the deletion request is valid and the endpoint exists, deletion will occur even if errors are encountered in the process. If errors have been encountered, the code 202 will be returned, otherwise 200 on success.
All resources associated with the endpoint will be freed and the workload represented by the endpoint will be disconnected.It will no longer be able to initiate or receive communications of any sort.
func (*Client) GetEndpoint ¶
func (a *Client) GetEndpoint(params *GetEndpointParams) (*GetEndpointOK, error)
GetEndpoint gets list of all endpoints
Returns an array of all local endpoints.
func (*Client) GetEndpointID ¶
func (a *Client) GetEndpointID(params *GetEndpointIDParams) (*GetEndpointIDOK, error)
GetEndpointID gets endpoint by endpoint ID
Returns endpoint information
func (*Client) GetEndpointIDConfig ¶
func (a *Client) GetEndpointIDConfig(params *GetEndpointIDConfigParams) (*GetEndpointIDConfigOK, error)
GetEndpointIDConfig retrieves endpoint configuration
Retrieves the configuration of the specified endpoint.
func (*Client) GetEndpointIDLabels ¶
func (a *Client) GetEndpointIDLabels(params *GetEndpointIDLabelsParams) (*GetEndpointIDLabelsOK, error)
GetEndpointIDLabels retrieves the list of labels associated with an endpoint
func (*Client) PatchEndpointID ¶
func (a *Client) PatchEndpointID(params *PatchEndpointIDParams) (*PatchEndpointIDOK, error)
PatchEndpointID modifies existing endpoint
Applies the endpoint change request to an existing endpoint
func (*Client) PatchEndpointIDConfig ¶
func (a *Client) PatchEndpointIDConfig(params *PatchEndpointIDConfigParams) (*PatchEndpointIDConfigOK, error)
PatchEndpointIDConfig modifies mutable endpoint configuration
Update the configuration of an existing endpoint and regenerates & recompiles the corresponding programs automatically.
func (*Client) PutEndpointID ¶
func (a *Client) PutEndpointID(params *PutEndpointIDParams) (*PutEndpointIDCreated, error)
PutEndpointID creates endpoint
Updates an existing endpoint
func (*Client) PutEndpointIDLabels ¶
func (a *Client) PutEndpointIDLabels(params *PutEndpointIDLabelsParams) (*PutEndpointIDLabelsOK, error)
PutEndpointIDLabels modifies label configuration of endpoint
Updates the list of labels associated with an endpoint by applying a label modificator structure to the label configuration of an endpoint.
The label configuration mutation is only executed as a whole, i.e. if any of the labels to be deleted are not either on the list of orchestration system labels, custom labels, or already disabled, then the request will fail. Labels to be added which already exist on either the orchestration list or custom list will be ignored.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteEndpointIDErrors ¶
type DeleteEndpointIDErrors struct {
Payload int64
}
DeleteEndpointIDErrors handles this case with default header values.
Deleted with a number of errors encountered
func NewDeleteEndpointIDErrors ¶
func NewDeleteEndpointIDErrors() *DeleteEndpointIDErrors
NewDeleteEndpointIDErrors creates a DeleteEndpointIDErrors with default headers values
func (*DeleteEndpointIDErrors) Error ¶
func (o *DeleteEndpointIDErrors) Error() string
type DeleteEndpointIDInvalid ¶
DeleteEndpointIDInvalid handles this case with default header values.
Invalid endpoint ID format for specified type. Details in error message
func NewDeleteEndpointIDInvalid ¶
func NewDeleteEndpointIDInvalid() *DeleteEndpointIDInvalid
NewDeleteEndpointIDInvalid creates a DeleteEndpointIDInvalid with default headers values
func (*DeleteEndpointIDInvalid) Error ¶
func (o *DeleteEndpointIDInvalid) Error() string
type DeleteEndpointIDNotFound ¶
type DeleteEndpointIDNotFound struct { }
DeleteEndpointIDNotFound handles this case with default header values.
Endpoint not found
func NewDeleteEndpointIDNotFound ¶
func NewDeleteEndpointIDNotFound() *DeleteEndpointIDNotFound
NewDeleteEndpointIDNotFound creates a DeleteEndpointIDNotFound with default headers values
func (*DeleteEndpointIDNotFound) Error ¶
func (o *DeleteEndpointIDNotFound) Error() string
type DeleteEndpointIDOK ¶
type DeleteEndpointIDOK struct { }
DeleteEndpointIDOK handles this case with default header values.
Success
func NewDeleteEndpointIDOK ¶
func NewDeleteEndpointIDOK() *DeleteEndpointIDOK
NewDeleteEndpointIDOK creates a DeleteEndpointIDOK with default headers values
func (*DeleteEndpointIDOK) Error ¶
func (o *DeleteEndpointIDOK) Error() string
type DeleteEndpointIDParams ¶
type DeleteEndpointIDParams struct { /*ID String describing an endpoint with the format `[prefix:]id`. If no prefix is specified, a prefix of `cilium-local:` is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - docker-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444 */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteEndpointIDParams contains all the parameters to send to the API endpoint for the delete endpoint ID operation typically these are written to a http.Request
func NewDeleteEndpointIDParams ¶
func NewDeleteEndpointIDParams() *DeleteEndpointIDParams
NewDeleteEndpointIDParams creates a new DeleteEndpointIDParams object with the default values initialized.
func NewDeleteEndpointIDParamsWithContext ¶
func NewDeleteEndpointIDParamsWithContext(ctx context.Context) *DeleteEndpointIDParams
NewDeleteEndpointIDParamsWithContext creates a new DeleteEndpointIDParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteEndpointIDParamsWithHTTPClient ¶
func NewDeleteEndpointIDParamsWithHTTPClient(client *http.Client) *DeleteEndpointIDParams
NewDeleteEndpointIDParamsWithHTTPClient creates a new DeleteEndpointIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteEndpointIDParamsWithTimeout ¶
func NewDeleteEndpointIDParamsWithTimeout(timeout time.Duration) *DeleteEndpointIDParams
NewDeleteEndpointIDParamsWithTimeout creates a new DeleteEndpointIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteEndpointIDParams) SetContext ¶
func (o *DeleteEndpointIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete endpoint ID params
func (*DeleteEndpointIDParams) SetHTTPClient ¶
func (o *DeleteEndpointIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete endpoint ID params
func (*DeleteEndpointIDParams) SetID ¶
func (o *DeleteEndpointIDParams) SetID(id string)
SetID adds the id to the delete endpoint ID params
func (*DeleteEndpointIDParams) SetTimeout ¶
func (o *DeleteEndpointIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete endpoint ID params
func (*DeleteEndpointIDParams) WithContext ¶
func (o *DeleteEndpointIDParams) WithContext(ctx context.Context) *DeleteEndpointIDParams
WithContext adds the context to the delete endpoint ID params
func (*DeleteEndpointIDParams) WithHTTPClient ¶
func (o *DeleteEndpointIDParams) WithHTTPClient(client *http.Client) *DeleteEndpointIDParams
WithHTTPClient adds the HTTPClient to the delete endpoint ID params
func (*DeleteEndpointIDParams) WithID ¶
func (o *DeleteEndpointIDParams) WithID(id string) *DeleteEndpointIDParams
WithID adds the id to the delete endpoint ID params
func (*DeleteEndpointIDParams) WithTimeout ¶
func (o *DeleteEndpointIDParams) WithTimeout(timeout time.Duration) *DeleteEndpointIDParams
WithTimeout adds the timeout to the delete endpoint ID params
func (*DeleteEndpointIDParams) WriteToRequest ¶
func (o *DeleteEndpointIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteEndpointIDReader ¶
type DeleteEndpointIDReader struct {
// contains filtered or unexported fields
}
DeleteEndpointIDReader is a Reader for the DeleteEndpointID structure.
func (*DeleteEndpointIDReader) ReadResponse ¶
func (o *DeleteEndpointIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEndpointIDConfigNotFound ¶
type GetEndpointIDConfigNotFound struct { }
GetEndpointIDConfigNotFound handles this case with default header values.
Endpoint not found
func NewGetEndpointIDConfigNotFound ¶
func NewGetEndpointIDConfigNotFound() *GetEndpointIDConfigNotFound
NewGetEndpointIDConfigNotFound creates a GetEndpointIDConfigNotFound with default headers values
func (*GetEndpointIDConfigNotFound) Error ¶
func (o *GetEndpointIDConfigNotFound) Error() string
type GetEndpointIDConfigOK ¶
type GetEndpointIDConfigOK struct {
Payload *models.Configuration
}
GetEndpointIDConfigOK handles this case with default header values.
Success
func NewGetEndpointIDConfigOK ¶
func NewGetEndpointIDConfigOK() *GetEndpointIDConfigOK
NewGetEndpointIDConfigOK creates a GetEndpointIDConfigOK with default headers values
func (*GetEndpointIDConfigOK) Error ¶
func (o *GetEndpointIDConfigOK) Error() string
type GetEndpointIDConfigParams ¶
type GetEndpointIDConfigParams struct { /*ID String describing an endpoint with the format `[prefix:]id`. If no prefix is specified, a prefix of `cilium-local:` is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - docker-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444 */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEndpointIDConfigParams contains all the parameters to send to the API endpoint for the get endpoint ID config operation typically these are written to a http.Request
func NewGetEndpointIDConfigParams ¶
func NewGetEndpointIDConfigParams() *GetEndpointIDConfigParams
NewGetEndpointIDConfigParams creates a new GetEndpointIDConfigParams object with the default values initialized.
func NewGetEndpointIDConfigParamsWithContext ¶
func NewGetEndpointIDConfigParamsWithContext(ctx context.Context) *GetEndpointIDConfigParams
NewGetEndpointIDConfigParamsWithContext creates a new GetEndpointIDConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetEndpointIDConfigParamsWithHTTPClient ¶
func NewGetEndpointIDConfigParamsWithHTTPClient(client *http.Client) *GetEndpointIDConfigParams
NewGetEndpointIDConfigParamsWithHTTPClient creates a new GetEndpointIDConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEndpointIDConfigParamsWithTimeout ¶
func NewGetEndpointIDConfigParamsWithTimeout(timeout time.Duration) *GetEndpointIDConfigParams
NewGetEndpointIDConfigParamsWithTimeout creates a new GetEndpointIDConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEndpointIDConfigParams) SetContext ¶
func (o *GetEndpointIDConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get endpoint ID config params
func (*GetEndpointIDConfigParams) SetHTTPClient ¶
func (o *GetEndpointIDConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get endpoint ID config params
func (*GetEndpointIDConfigParams) SetID ¶
func (o *GetEndpointIDConfigParams) SetID(id string)
SetID adds the id to the get endpoint ID config params
func (*GetEndpointIDConfigParams) SetTimeout ¶
func (o *GetEndpointIDConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get endpoint ID config params
func (*GetEndpointIDConfigParams) WithContext ¶
func (o *GetEndpointIDConfigParams) WithContext(ctx context.Context) *GetEndpointIDConfigParams
WithContext adds the context to the get endpoint ID config params
func (*GetEndpointIDConfigParams) WithHTTPClient ¶
func (o *GetEndpointIDConfigParams) WithHTTPClient(client *http.Client) *GetEndpointIDConfigParams
WithHTTPClient adds the HTTPClient to the get endpoint ID config params
func (*GetEndpointIDConfigParams) WithID ¶
func (o *GetEndpointIDConfigParams) WithID(id string) *GetEndpointIDConfigParams
WithID adds the id to the get endpoint ID config params
func (*GetEndpointIDConfigParams) WithTimeout ¶
func (o *GetEndpointIDConfigParams) WithTimeout(timeout time.Duration) *GetEndpointIDConfigParams
WithTimeout adds the timeout to the get endpoint ID config params
func (*GetEndpointIDConfigParams) WriteToRequest ¶
func (o *GetEndpointIDConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEndpointIDConfigReader ¶
type GetEndpointIDConfigReader struct {
// contains filtered or unexported fields
}
GetEndpointIDConfigReader is a Reader for the GetEndpointIDConfig structure.
func (*GetEndpointIDConfigReader) ReadResponse ¶
func (o *GetEndpointIDConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEndpointIDInvalid ¶
GetEndpointIDInvalid handles this case with default header values.
Invalid endpoint ID format for specified type
func NewGetEndpointIDInvalid ¶
func NewGetEndpointIDInvalid() *GetEndpointIDInvalid
NewGetEndpointIDInvalid creates a GetEndpointIDInvalid with default headers values
func (*GetEndpointIDInvalid) Error ¶
func (o *GetEndpointIDInvalid) Error() string
type GetEndpointIDLabelsNotFound ¶
type GetEndpointIDLabelsNotFound struct { }
GetEndpointIDLabelsNotFound handles this case with default header values.
Endpoint not found
func NewGetEndpointIDLabelsNotFound ¶
func NewGetEndpointIDLabelsNotFound() *GetEndpointIDLabelsNotFound
NewGetEndpointIDLabelsNotFound creates a GetEndpointIDLabelsNotFound with default headers values
func (*GetEndpointIDLabelsNotFound) Error ¶
func (o *GetEndpointIDLabelsNotFound) Error() string
type GetEndpointIDLabelsOK ¶
type GetEndpointIDLabelsOK struct {
Payload *models.LabelConfiguration
}
GetEndpointIDLabelsOK handles this case with default header values.
Success
func NewGetEndpointIDLabelsOK ¶
func NewGetEndpointIDLabelsOK() *GetEndpointIDLabelsOK
NewGetEndpointIDLabelsOK creates a GetEndpointIDLabelsOK with default headers values
func (*GetEndpointIDLabelsOK) Error ¶
func (o *GetEndpointIDLabelsOK) Error() string
type GetEndpointIDLabelsParams ¶
type GetEndpointIDLabelsParams struct { /*ID String describing an endpoint with the format `[prefix:]id`. If no prefix is specified, a prefix of `cilium-local:` is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - docker-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444 */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEndpointIDLabelsParams contains all the parameters to send to the API endpoint for the get endpoint ID labels operation typically these are written to a http.Request
func NewGetEndpointIDLabelsParams ¶
func NewGetEndpointIDLabelsParams() *GetEndpointIDLabelsParams
NewGetEndpointIDLabelsParams creates a new GetEndpointIDLabelsParams object with the default values initialized.
func NewGetEndpointIDLabelsParamsWithContext ¶
func NewGetEndpointIDLabelsParamsWithContext(ctx context.Context) *GetEndpointIDLabelsParams
NewGetEndpointIDLabelsParamsWithContext creates a new GetEndpointIDLabelsParams object with the default values initialized, and the ability to set a context for a request
func NewGetEndpointIDLabelsParamsWithHTTPClient ¶
func NewGetEndpointIDLabelsParamsWithHTTPClient(client *http.Client) *GetEndpointIDLabelsParams
NewGetEndpointIDLabelsParamsWithHTTPClient creates a new GetEndpointIDLabelsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEndpointIDLabelsParamsWithTimeout ¶
func NewGetEndpointIDLabelsParamsWithTimeout(timeout time.Duration) *GetEndpointIDLabelsParams
NewGetEndpointIDLabelsParamsWithTimeout creates a new GetEndpointIDLabelsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEndpointIDLabelsParams) SetContext ¶
func (o *GetEndpointIDLabelsParams) SetContext(ctx context.Context)
SetContext adds the context to the get endpoint ID labels params
func (*GetEndpointIDLabelsParams) SetHTTPClient ¶
func (o *GetEndpointIDLabelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get endpoint ID labels params
func (*GetEndpointIDLabelsParams) SetID ¶
func (o *GetEndpointIDLabelsParams) SetID(id string)
SetID adds the id to the get endpoint ID labels params
func (*GetEndpointIDLabelsParams) SetTimeout ¶
func (o *GetEndpointIDLabelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get endpoint ID labels params
func (*GetEndpointIDLabelsParams) WithContext ¶
func (o *GetEndpointIDLabelsParams) WithContext(ctx context.Context) *GetEndpointIDLabelsParams
WithContext adds the context to the get endpoint ID labels params
func (*GetEndpointIDLabelsParams) WithHTTPClient ¶
func (o *GetEndpointIDLabelsParams) WithHTTPClient(client *http.Client) *GetEndpointIDLabelsParams
WithHTTPClient adds the HTTPClient to the get endpoint ID labels params
func (*GetEndpointIDLabelsParams) WithID ¶
func (o *GetEndpointIDLabelsParams) WithID(id string) *GetEndpointIDLabelsParams
WithID adds the id to the get endpoint ID labels params
func (*GetEndpointIDLabelsParams) WithTimeout ¶
func (o *GetEndpointIDLabelsParams) WithTimeout(timeout time.Duration) *GetEndpointIDLabelsParams
WithTimeout adds the timeout to the get endpoint ID labels params
func (*GetEndpointIDLabelsParams) WriteToRequest ¶
func (o *GetEndpointIDLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEndpointIDLabelsReader ¶
type GetEndpointIDLabelsReader struct {
// contains filtered or unexported fields
}
GetEndpointIDLabelsReader is a Reader for the GetEndpointIDLabels structure.
func (*GetEndpointIDLabelsReader) ReadResponse ¶
func (o *GetEndpointIDLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEndpointIDNotFound ¶
type GetEndpointIDNotFound struct { }
GetEndpointIDNotFound handles this case with default header values.
Endpoint not found
func NewGetEndpointIDNotFound ¶
func NewGetEndpointIDNotFound() *GetEndpointIDNotFound
NewGetEndpointIDNotFound creates a GetEndpointIDNotFound with default headers values
func (*GetEndpointIDNotFound) Error ¶
func (o *GetEndpointIDNotFound) Error() string
type GetEndpointIDOK ¶
GetEndpointIDOK handles this case with default header values.
Success
func NewGetEndpointIDOK ¶
func NewGetEndpointIDOK() *GetEndpointIDOK
NewGetEndpointIDOK creates a GetEndpointIDOK with default headers values
func (*GetEndpointIDOK) Error ¶
func (o *GetEndpointIDOK) Error() string
type GetEndpointIDParams ¶
type GetEndpointIDParams struct { /*ID String describing an endpoint with the format `[prefix:]id`. If no prefix is specified, a prefix of `cilium-local:` is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - docker-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444 */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEndpointIDParams contains all the parameters to send to the API endpoint for the get endpoint ID operation typically these are written to a http.Request
func NewGetEndpointIDParams ¶
func NewGetEndpointIDParams() *GetEndpointIDParams
NewGetEndpointIDParams creates a new GetEndpointIDParams object with the default values initialized.
func NewGetEndpointIDParamsWithContext ¶
func NewGetEndpointIDParamsWithContext(ctx context.Context) *GetEndpointIDParams
NewGetEndpointIDParamsWithContext creates a new GetEndpointIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetEndpointIDParamsWithHTTPClient ¶
func NewGetEndpointIDParamsWithHTTPClient(client *http.Client) *GetEndpointIDParams
NewGetEndpointIDParamsWithHTTPClient creates a new GetEndpointIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEndpointIDParamsWithTimeout ¶
func NewGetEndpointIDParamsWithTimeout(timeout time.Duration) *GetEndpointIDParams
NewGetEndpointIDParamsWithTimeout creates a new GetEndpointIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEndpointIDParams) SetContext ¶
func (o *GetEndpointIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get endpoint ID params
func (*GetEndpointIDParams) SetHTTPClient ¶
func (o *GetEndpointIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get endpoint ID params
func (*GetEndpointIDParams) SetID ¶
func (o *GetEndpointIDParams) SetID(id string)
SetID adds the id to the get endpoint ID params
func (*GetEndpointIDParams) SetTimeout ¶
func (o *GetEndpointIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get endpoint ID params
func (*GetEndpointIDParams) WithContext ¶
func (o *GetEndpointIDParams) WithContext(ctx context.Context) *GetEndpointIDParams
WithContext adds the context to the get endpoint ID params
func (*GetEndpointIDParams) WithHTTPClient ¶
func (o *GetEndpointIDParams) WithHTTPClient(client *http.Client) *GetEndpointIDParams
WithHTTPClient adds the HTTPClient to the get endpoint ID params
func (*GetEndpointIDParams) WithID ¶
func (o *GetEndpointIDParams) WithID(id string) *GetEndpointIDParams
WithID adds the id to the get endpoint ID params
func (*GetEndpointIDParams) WithTimeout ¶
func (o *GetEndpointIDParams) WithTimeout(timeout time.Duration) *GetEndpointIDParams
WithTimeout adds the timeout to the get endpoint ID params
func (*GetEndpointIDParams) WriteToRequest ¶
func (o *GetEndpointIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEndpointIDReader ¶
type GetEndpointIDReader struct {
// contains filtered or unexported fields
}
GetEndpointIDReader is a Reader for the GetEndpointID structure.
func (*GetEndpointIDReader) ReadResponse ¶
func (o *GetEndpointIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEndpointOK ¶
GetEndpointOK handles this case with default header values.
Success
func NewGetEndpointOK ¶
func NewGetEndpointOK() *GetEndpointOK
NewGetEndpointOK creates a GetEndpointOK with default headers values
func (*GetEndpointOK) Error ¶
func (o *GetEndpointOK) Error() string
type GetEndpointParams ¶
type GetEndpointParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEndpointParams contains all the parameters to send to the API endpoint for the get endpoint operation typically these are written to a http.Request
func NewGetEndpointParams ¶
func NewGetEndpointParams() *GetEndpointParams
NewGetEndpointParams creates a new GetEndpointParams object with the default values initialized.
func NewGetEndpointParamsWithContext ¶
func NewGetEndpointParamsWithContext(ctx context.Context) *GetEndpointParams
NewGetEndpointParamsWithContext creates a new GetEndpointParams object with the default values initialized, and the ability to set a context for a request
func NewGetEndpointParamsWithHTTPClient ¶
func NewGetEndpointParamsWithHTTPClient(client *http.Client) *GetEndpointParams
NewGetEndpointParamsWithHTTPClient creates a new GetEndpointParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEndpointParamsWithTimeout ¶
func NewGetEndpointParamsWithTimeout(timeout time.Duration) *GetEndpointParams
NewGetEndpointParamsWithTimeout creates a new GetEndpointParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEndpointParams) SetContext ¶
func (o *GetEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the get endpoint params
func (*GetEndpointParams) SetHTTPClient ¶
func (o *GetEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get endpoint params
func (*GetEndpointParams) SetTimeout ¶
func (o *GetEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get endpoint params
func (*GetEndpointParams) WithContext ¶
func (o *GetEndpointParams) WithContext(ctx context.Context) *GetEndpointParams
WithContext adds the context to the get endpoint params
func (*GetEndpointParams) WithHTTPClient ¶
func (o *GetEndpointParams) WithHTTPClient(client *http.Client) *GetEndpointParams
WithHTTPClient adds the HTTPClient to the get endpoint params
func (*GetEndpointParams) WithTimeout ¶
func (o *GetEndpointParams) WithTimeout(timeout time.Duration) *GetEndpointParams
WithTimeout adds the timeout to the get endpoint params
func (*GetEndpointParams) WriteToRequest ¶
func (o *GetEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEndpointReader ¶
type GetEndpointReader struct {
// contains filtered or unexported fields
}
GetEndpointReader is a Reader for the GetEndpoint structure.
func (*GetEndpointReader) ReadResponse ¶
func (o *GetEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchEndpointIDConfigFailed ¶
PatchEndpointIDConfigFailed handles this case with default header values.
Update failed. Details in message.
func NewPatchEndpointIDConfigFailed ¶
func NewPatchEndpointIDConfigFailed() *PatchEndpointIDConfigFailed
NewPatchEndpointIDConfigFailed creates a PatchEndpointIDConfigFailed with default headers values
func (*PatchEndpointIDConfigFailed) Error ¶
func (o *PatchEndpointIDConfigFailed) Error() string
type PatchEndpointIDConfigInvalid ¶
type PatchEndpointIDConfigInvalid struct { }
PatchEndpointIDConfigInvalid handles this case with default header values.
Invalid configuration request
func NewPatchEndpointIDConfigInvalid ¶
func NewPatchEndpointIDConfigInvalid() *PatchEndpointIDConfigInvalid
NewPatchEndpointIDConfigInvalid creates a PatchEndpointIDConfigInvalid with default headers values
func (*PatchEndpointIDConfigInvalid) Error ¶
func (o *PatchEndpointIDConfigInvalid) Error() string
type PatchEndpointIDConfigNotFound ¶
type PatchEndpointIDConfigNotFound struct { }
PatchEndpointIDConfigNotFound handles this case with default header values.
Endpoint not found
func NewPatchEndpointIDConfigNotFound ¶
func NewPatchEndpointIDConfigNotFound() *PatchEndpointIDConfigNotFound
NewPatchEndpointIDConfigNotFound creates a PatchEndpointIDConfigNotFound with default headers values
func (*PatchEndpointIDConfigNotFound) Error ¶
func (o *PatchEndpointIDConfigNotFound) Error() string
type PatchEndpointIDConfigOK ¶
type PatchEndpointIDConfigOK struct { }
PatchEndpointIDConfigOK handles this case with default header values.
Success
func NewPatchEndpointIDConfigOK ¶
func NewPatchEndpointIDConfigOK() *PatchEndpointIDConfigOK
NewPatchEndpointIDConfigOK creates a PatchEndpointIDConfigOK with default headers values
func (*PatchEndpointIDConfigOK) Error ¶
func (o *PatchEndpointIDConfigOK) Error() string
type PatchEndpointIDConfigParams ¶
type PatchEndpointIDConfigParams struct { /*Configuration*/ Configuration models.ConfigurationMap /*ID String describing an endpoint with the format `[prefix:]id`. If no prefix is specified, a prefix of `cilium-local:` is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - docker-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444 */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchEndpointIDConfigParams contains all the parameters to send to the API endpoint for the patch endpoint ID config operation typically these are written to a http.Request
func NewPatchEndpointIDConfigParams ¶
func NewPatchEndpointIDConfigParams() *PatchEndpointIDConfigParams
NewPatchEndpointIDConfigParams creates a new PatchEndpointIDConfigParams object with the default values initialized.
func NewPatchEndpointIDConfigParamsWithContext ¶
func NewPatchEndpointIDConfigParamsWithContext(ctx context.Context) *PatchEndpointIDConfigParams
NewPatchEndpointIDConfigParamsWithContext creates a new PatchEndpointIDConfigParams object with the default values initialized, and the ability to set a context for a request
func NewPatchEndpointIDConfigParamsWithHTTPClient ¶
func NewPatchEndpointIDConfigParamsWithHTTPClient(client *http.Client) *PatchEndpointIDConfigParams
NewPatchEndpointIDConfigParamsWithHTTPClient creates a new PatchEndpointIDConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchEndpointIDConfigParamsWithTimeout ¶
func NewPatchEndpointIDConfigParamsWithTimeout(timeout time.Duration) *PatchEndpointIDConfigParams
NewPatchEndpointIDConfigParamsWithTimeout creates a new PatchEndpointIDConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchEndpointIDConfigParams) SetConfiguration ¶
func (o *PatchEndpointIDConfigParams) SetConfiguration(configuration models.ConfigurationMap)
SetConfiguration adds the configuration to the patch endpoint ID config params
func (*PatchEndpointIDConfigParams) SetContext ¶
func (o *PatchEndpointIDConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the patch endpoint ID config params
func (*PatchEndpointIDConfigParams) SetHTTPClient ¶
func (o *PatchEndpointIDConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch endpoint ID config params
func (*PatchEndpointIDConfigParams) SetID ¶
func (o *PatchEndpointIDConfigParams) SetID(id string)
SetID adds the id to the patch endpoint ID config params
func (*PatchEndpointIDConfigParams) SetTimeout ¶
func (o *PatchEndpointIDConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch endpoint ID config params
func (*PatchEndpointIDConfigParams) WithConfiguration ¶
func (o *PatchEndpointIDConfigParams) WithConfiguration(configuration models.ConfigurationMap) *PatchEndpointIDConfigParams
WithConfiguration adds the configuration to the patch endpoint ID config params
func (*PatchEndpointIDConfigParams) WithContext ¶
func (o *PatchEndpointIDConfigParams) WithContext(ctx context.Context) *PatchEndpointIDConfigParams
WithContext adds the context to the patch endpoint ID config params
func (*PatchEndpointIDConfigParams) WithHTTPClient ¶
func (o *PatchEndpointIDConfigParams) WithHTTPClient(client *http.Client) *PatchEndpointIDConfigParams
WithHTTPClient adds the HTTPClient to the patch endpoint ID config params
func (*PatchEndpointIDConfigParams) WithID ¶
func (o *PatchEndpointIDConfigParams) WithID(id string) *PatchEndpointIDConfigParams
WithID adds the id to the patch endpoint ID config params
func (*PatchEndpointIDConfigParams) WithTimeout ¶
func (o *PatchEndpointIDConfigParams) WithTimeout(timeout time.Duration) *PatchEndpointIDConfigParams
WithTimeout adds the timeout to the patch endpoint ID config params
func (*PatchEndpointIDConfigParams) WriteToRequest ¶
func (o *PatchEndpointIDConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchEndpointIDConfigReader ¶
type PatchEndpointIDConfigReader struct {
// contains filtered or unexported fields
}
PatchEndpointIDConfigReader is a Reader for the PatchEndpointIDConfig structure.
func (*PatchEndpointIDConfigReader) ReadResponse ¶
func (o *PatchEndpointIDConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchEndpointIDFailed ¶
PatchEndpointIDFailed handles this case with default header values.
Endpoint update failed
func NewPatchEndpointIDFailed ¶
func NewPatchEndpointIDFailed() *PatchEndpointIDFailed
NewPatchEndpointIDFailed creates a PatchEndpointIDFailed with default headers values
func (*PatchEndpointIDFailed) Error ¶
func (o *PatchEndpointIDFailed) Error() string
type PatchEndpointIDInvalid ¶
PatchEndpointIDInvalid handles this case with default header values.
Invalid modify endpoint request
func NewPatchEndpointIDInvalid ¶
func NewPatchEndpointIDInvalid() *PatchEndpointIDInvalid
NewPatchEndpointIDInvalid creates a PatchEndpointIDInvalid with default headers values
func (*PatchEndpointIDInvalid) Error ¶
func (o *PatchEndpointIDInvalid) Error() string
type PatchEndpointIDNotFound ¶
type PatchEndpointIDNotFound struct { }
PatchEndpointIDNotFound handles this case with default header values.
Endpoint does not exist
func NewPatchEndpointIDNotFound ¶
func NewPatchEndpointIDNotFound() *PatchEndpointIDNotFound
NewPatchEndpointIDNotFound creates a PatchEndpointIDNotFound with default headers values
func (*PatchEndpointIDNotFound) Error ¶
func (o *PatchEndpointIDNotFound) Error() string
type PatchEndpointIDOK ¶
type PatchEndpointIDOK struct { }
PatchEndpointIDOK handles this case with default header values.
Success
func NewPatchEndpointIDOK ¶
func NewPatchEndpointIDOK() *PatchEndpointIDOK
NewPatchEndpointIDOK creates a PatchEndpointIDOK with default headers values
func (*PatchEndpointIDOK) Error ¶
func (o *PatchEndpointIDOK) Error() string
type PatchEndpointIDParams ¶
type PatchEndpointIDParams struct { /*Endpoint*/ Endpoint *models.EndpointChangeRequest /*ID String describing an endpoint with the format `[prefix:]id`. If no prefix is specified, a prefix of `cilium-local:` is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - docker-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444 */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchEndpointIDParams contains all the parameters to send to the API endpoint for the patch endpoint ID operation typically these are written to a http.Request
func NewPatchEndpointIDParams ¶
func NewPatchEndpointIDParams() *PatchEndpointIDParams
NewPatchEndpointIDParams creates a new PatchEndpointIDParams object with the default values initialized.
func NewPatchEndpointIDParamsWithContext ¶
func NewPatchEndpointIDParamsWithContext(ctx context.Context) *PatchEndpointIDParams
NewPatchEndpointIDParamsWithContext creates a new PatchEndpointIDParams object with the default values initialized, and the ability to set a context for a request
func NewPatchEndpointIDParamsWithHTTPClient ¶
func NewPatchEndpointIDParamsWithHTTPClient(client *http.Client) *PatchEndpointIDParams
NewPatchEndpointIDParamsWithHTTPClient creates a new PatchEndpointIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchEndpointIDParamsWithTimeout ¶
func NewPatchEndpointIDParamsWithTimeout(timeout time.Duration) *PatchEndpointIDParams
NewPatchEndpointIDParamsWithTimeout creates a new PatchEndpointIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchEndpointIDParams) SetContext ¶
func (o *PatchEndpointIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch endpoint ID params
func (*PatchEndpointIDParams) SetEndpoint ¶
func (o *PatchEndpointIDParams) SetEndpoint(endpoint *models.EndpointChangeRequest)
SetEndpoint adds the endpoint to the patch endpoint ID params
func (*PatchEndpointIDParams) SetHTTPClient ¶
func (o *PatchEndpointIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch endpoint ID params
func (*PatchEndpointIDParams) SetID ¶
func (o *PatchEndpointIDParams) SetID(id string)
SetID adds the id to the patch endpoint ID params
func (*PatchEndpointIDParams) SetTimeout ¶
func (o *PatchEndpointIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch endpoint ID params
func (*PatchEndpointIDParams) WithContext ¶
func (o *PatchEndpointIDParams) WithContext(ctx context.Context) *PatchEndpointIDParams
WithContext adds the context to the patch endpoint ID params
func (*PatchEndpointIDParams) WithEndpoint ¶
func (o *PatchEndpointIDParams) WithEndpoint(endpoint *models.EndpointChangeRequest) *PatchEndpointIDParams
WithEndpoint adds the endpoint to the patch endpoint ID params
func (*PatchEndpointIDParams) WithHTTPClient ¶
func (o *PatchEndpointIDParams) WithHTTPClient(client *http.Client) *PatchEndpointIDParams
WithHTTPClient adds the HTTPClient to the patch endpoint ID params
func (*PatchEndpointIDParams) WithID ¶
func (o *PatchEndpointIDParams) WithID(id string) *PatchEndpointIDParams
WithID adds the id to the patch endpoint ID params
func (*PatchEndpointIDParams) WithTimeout ¶
func (o *PatchEndpointIDParams) WithTimeout(timeout time.Duration) *PatchEndpointIDParams
WithTimeout adds the timeout to the patch endpoint ID params
func (*PatchEndpointIDParams) WriteToRequest ¶
func (o *PatchEndpointIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchEndpointIDReader ¶
type PatchEndpointIDReader struct {
// contains filtered or unexported fields
}
PatchEndpointIDReader is a Reader for the PatchEndpointID structure.
func (*PatchEndpointIDReader) ReadResponse ¶
func (o *PatchEndpointIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutEndpointIDCreated ¶
type PutEndpointIDCreated struct { }
PutEndpointIDCreated handles this case with default header values.
Created
func NewPutEndpointIDCreated ¶
func NewPutEndpointIDCreated() *PutEndpointIDCreated
NewPutEndpointIDCreated creates a PutEndpointIDCreated with default headers values
func (*PutEndpointIDCreated) Error ¶
func (o *PutEndpointIDCreated) Error() string
type PutEndpointIDExists ¶
type PutEndpointIDExists struct { }
PutEndpointIDExists handles this case with default header values.
Endpoint already exists
func NewPutEndpointIDExists ¶
func NewPutEndpointIDExists() *PutEndpointIDExists
NewPutEndpointIDExists creates a PutEndpointIDExists with default headers values
func (*PutEndpointIDExists) Error ¶
func (o *PutEndpointIDExists) Error() string
type PutEndpointIDFailed ¶
PutEndpointIDFailed handles this case with default header values.
Endpoint creation failed
func NewPutEndpointIDFailed ¶
func NewPutEndpointIDFailed() *PutEndpointIDFailed
NewPutEndpointIDFailed creates a PutEndpointIDFailed with default headers values
func (*PutEndpointIDFailed) Error ¶
func (o *PutEndpointIDFailed) Error() string
type PutEndpointIDInvalid ¶
PutEndpointIDInvalid handles this case with default header values.
Invalid endpoint in request
func NewPutEndpointIDInvalid ¶
func NewPutEndpointIDInvalid() *PutEndpointIDInvalid
NewPutEndpointIDInvalid creates a PutEndpointIDInvalid with default headers values
func (*PutEndpointIDInvalid) Error ¶
func (o *PutEndpointIDInvalid) Error() string
type PutEndpointIDLabelsLabelNotFound ¶
PutEndpointIDLabelsLabelNotFound handles this case with default header values.
Label to be deleted not found
func NewPutEndpointIDLabelsLabelNotFound ¶
func NewPutEndpointIDLabelsLabelNotFound() *PutEndpointIDLabelsLabelNotFound
NewPutEndpointIDLabelsLabelNotFound creates a PutEndpointIDLabelsLabelNotFound with default headers values
func (*PutEndpointIDLabelsLabelNotFound) Error ¶
func (o *PutEndpointIDLabelsLabelNotFound) Error() string
type PutEndpointIDLabelsNotFound ¶
type PutEndpointIDLabelsNotFound struct { }
PutEndpointIDLabelsNotFound handles this case with default header values.
Endpoint not found
func NewPutEndpointIDLabelsNotFound ¶
func NewPutEndpointIDLabelsNotFound() *PutEndpointIDLabelsNotFound
NewPutEndpointIDLabelsNotFound creates a PutEndpointIDLabelsNotFound with default headers values
func (*PutEndpointIDLabelsNotFound) Error ¶
func (o *PutEndpointIDLabelsNotFound) Error() string
type PutEndpointIDLabelsOK ¶
type PutEndpointIDLabelsOK struct { }
PutEndpointIDLabelsOK handles this case with default header values.
Success
func NewPutEndpointIDLabelsOK ¶
func NewPutEndpointIDLabelsOK() *PutEndpointIDLabelsOK
NewPutEndpointIDLabelsOK creates a PutEndpointIDLabelsOK with default headers values
func (*PutEndpointIDLabelsOK) Error ¶
func (o *PutEndpointIDLabelsOK) Error() string
type PutEndpointIDLabelsParams ¶
type PutEndpointIDLabelsParams struct { /*Configuration*/ Configuration *models.LabelConfigurationModifier /*ID String describing an endpoint with the format `[prefix:]id`. If no prefix is specified, a prefix of `cilium-local:` is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - docker-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444 */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutEndpointIDLabelsParams contains all the parameters to send to the API endpoint for the put endpoint ID labels operation typically these are written to a http.Request
func NewPutEndpointIDLabelsParams ¶
func NewPutEndpointIDLabelsParams() *PutEndpointIDLabelsParams
NewPutEndpointIDLabelsParams creates a new PutEndpointIDLabelsParams object with the default values initialized.
func NewPutEndpointIDLabelsParamsWithContext ¶
func NewPutEndpointIDLabelsParamsWithContext(ctx context.Context) *PutEndpointIDLabelsParams
NewPutEndpointIDLabelsParamsWithContext creates a new PutEndpointIDLabelsParams object with the default values initialized, and the ability to set a context for a request
func NewPutEndpointIDLabelsParamsWithHTTPClient ¶
func NewPutEndpointIDLabelsParamsWithHTTPClient(client *http.Client) *PutEndpointIDLabelsParams
NewPutEndpointIDLabelsParamsWithHTTPClient creates a new PutEndpointIDLabelsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutEndpointIDLabelsParamsWithTimeout ¶
func NewPutEndpointIDLabelsParamsWithTimeout(timeout time.Duration) *PutEndpointIDLabelsParams
NewPutEndpointIDLabelsParamsWithTimeout creates a new PutEndpointIDLabelsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutEndpointIDLabelsParams) SetConfiguration ¶
func (o *PutEndpointIDLabelsParams) SetConfiguration(configuration *models.LabelConfigurationModifier)
SetConfiguration adds the configuration to the put endpoint ID labels params
func (*PutEndpointIDLabelsParams) SetContext ¶
func (o *PutEndpointIDLabelsParams) SetContext(ctx context.Context)
SetContext adds the context to the put endpoint ID labels params
func (*PutEndpointIDLabelsParams) SetHTTPClient ¶
func (o *PutEndpointIDLabelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put endpoint ID labels params
func (*PutEndpointIDLabelsParams) SetID ¶
func (o *PutEndpointIDLabelsParams) SetID(id string)
SetID adds the id to the put endpoint ID labels params
func (*PutEndpointIDLabelsParams) SetTimeout ¶
func (o *PutEndpointIDLabelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put endpoint ID labels params
func (*PutEndpointIDLabelsParams) WithConfiguration ¶
func (o *PutEndpointIDLabelsParams) WithConfiguration(configuration *models.LabelConfigurationModifier) *PutEndpointIDLabelsParams
WithConfiguration adds the configuration to the put endpoint ID labels params
func (*PutEndpointIDLabelsParams) WithContext ¶
func (o *PutEndpointIDLabelsParams) WithContext(ctx context.Context) *PutEndpointIDLabelsParams
WithContext adds the context to the put endpoint ID labels params
func (*PutEndpointIDLabelsParams) WithHTTPClient ¶
func (o *PutEndpointIDLabelsParams) WithHTTPClient(client *http.Client) *PutEndpointIDLabelsParams
WithHTTPClient adds the HTTPClient to the put endpoint ID labels params
func (*PutEndpointIDLabelsParams) WithID ¶
func (o *PutEndpointIDLabelsParams) WithID(id string) *PutEndpointIDLabelsParams
WithID adds the id to the put endpoint ID labels params
func (*PutEndpointIDLabelsParams) WithTimeout ¶
func (o *PutEndpointIDLabelsParams) WithTimeout(timeout time.Duration) *PutEndpointIDLabelsParams
WithTimeout adds the timeout to the put endpoint ID labels params
func (*PutEndpointIDLabelsParams) WriteToRequest ¶
func (o *PutEndpointIDLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutEndpointIDLabelsReader ¶
type PutEndpointIDLabelsReader struct {
// contains filtered or unexported fields
}
PutEndpointIDLabelsReader is a Reader for the PutEndpointIDLabels structure.
func (*PutEndpointIDLabelsReader) ReadResponse ¶
func (o *PutEndpointIDLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutEndpointIDLabelsUpdateFailed ¶
PutEndpointIDLabelsUpdateFailed handles this case with default header values.
Error while updating labels
func NewPutEndpointIDLabelsUpdateFailed ¶
func NewPutEndpointIDLabelsUpdateFailed() *PutEndpointIDLabelsUpdateFailed
NewPutEndpointIDLabelsUpdateFailed creates a PutEndpointIDLabelsUpdateFailed with default headers values
func (*PutEndpointIDLabelsUpdateFailed) Error ¶
func (o *PutEndpointIDLabelsUpdateFailed) Error() string
type PutEndpointIDParams ¶
type PutEndpointIDParams struct { /*Endpoint*/ Endpoint *models.EndpointChangeRequest /*ID String describing an endpoint with the format `[prefix:]id`. If no prefix is specified, a prefix of `cilium-local:` is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - docker-net-endpoint: Docker libnetwork endpoint ID, e.g. docker-net-endpoint:4444 */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutEndpointIDParams contains all the parameters to send to the API endpoint for the put endpoint ID operation typically these are written to a http.Request
func NewPutEndpointIDParams ¶
func NewPutEndpointIDParams() *PutEndpointIDParams
NewPutEndpointIDParams creates a new PutEndpointIDParams object with the default values initialized.
func NewPutEndpointIDParamsWithContext ¶
func NewPutEndpointIDParamsWithContext(ctx context.Context) *PutEndpointIDParams
NewPutEndpointIDParamsWithContext creates a new PutEndpointIDParams object with the default values initialized, and the ability to set a context for a request
func NewPutEndpointIDParamsWithHTTPClient ¶
func NewPutEndpointIDParamsWithHTTPClient(client *http.Client) *PutEndpointIDParams
NewPutEndpointIDParamsWithHTTPClient creates a new PutEndpointIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutEndpointIDParamsWithTimeout ¶
func NewPutEndpointIDParamsWithTimeout(timeout time.Duration) *PutEndpointIDParams
NewPutEndpointIDParamsWithTimeout creates a new PutEndpointIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutEndpointIDParams) SetContext ¶
func (o *PutEndpointIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put endpoint ID params
func (*PutEndpointIDParams) SetEndpoint ¶
func (o *PutEndpointIDParams) SetEndpoint(endpoint *models.EndpointChangeRequest)
SetEndpoint adds the endpoint to the put endpoint ID params
func (*PutEndpointIDParams) SetHTTPClient ¶
func (o *PutEndpointIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put endpoint ID params
func (*PutEndpointIDParams) SetID ¶
func (o *PutEndpointIDParams) SetID(id string)
SetID adds the id to the put endpoint ID params
func (*PutEndpointIDParams) SetTimeout ¶
func (o *PutEndpointIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put endpoint ID params
func (*PutEndpointIDParams) WithContext ¶
func (o *PutEndpointIDParams) WithContext(ctx context.Context) *PutEndpointIDParams
WithContext adds the context to the put endpoint ID params
func (*PutEndpointIDParams) WithEndpoint ¶
func (o *PutEndpointIDParams) WithEndpoint(endpoint *models.EndpointChangeRequest) *PutEndpointIDParams
WithEndpoint adds the endpoint to the put endpoint ID params
func (*PutEndpointIDParams) WithHTTPClient ¶
func (o *PutEndpointIDParams) WithHTTPClient(client *http.Client) *PutEndpointIDParams
WithHTTPClient adds the HTTPClient to the put endpoint ID params
func (*PutEndpointIDParams) WithID ¶
func (o *PutEndpointIDParams) WithID(id string) *PutEndpointIDParams
WithID adds the id to the put endpoint ID params
func (*PutEndpointIDParams) WithTimeout ¶
func (o *PutEndpointIDParams) WithTimeout(timeout time.Duration) *PutEndpointIDParams
WithTimeout adds the timeout to the put endpoint ID params
func (*PutEndpointIDParams) WriteToRequest ¶
func (o *PutEndpointIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutEndpointIDReader ¶
type PutEndpointIDReader struct {
// contains filtered or unexported fields
}
PutEndpointIDReader is a Reader for the PutEndpointID structure.
func (*PutEndpointIDReader) ReadResponse ¶
func (o *PutEndpointIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_endpoint_id_parameters.go
- delete_endpoint_id_responses.go
- endpoint_client.go
- get_endpoint_id_config_parameters.go
- get_endpoint_id_config_responses.go
- get_endpoint_id_labels_parameters.go
- get_endpoint_id_labels_responses.go
- get_endpoint_id_parameters.go
- get_endpoint_id_responses.go
- get_endpoint_parameters.go
- get_endpoint_responses.go
- patch_endpoint_id_config_parameters.go
- patch_endpoint_id_config_responses.go
- patch_endpoint_id_parameters.go
- patch_endpoint_id_responses.go
- put_endpoint_id_labels_parameters.go
- put_endpoint_id_labels_responses.go
- put_endpoint_id_parameters.go
- put_endpoint_id_responses.go