Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteEndpointID(params *DeleteEndpointIDParams, opts ...ClientOption) (*DeleteEndpointIDOK, *DeleteEndpointIDErrors, error)
- func (a *Client) GetEndpoint(params *GetEndpointParams, opts ...ClientOption) (*GetEndpointOK, error)
- func (a *Client) GetEndpointID(params *GetEndpointIDParams, opts ...ClientOption) (*GetEndpointIDOK, error)
- func (a *Client) GetEndpointIDConfig(params *GetEndpointIDConfigParams, opts ...ClientOption) (*GetEndpointIDConfigOK, error)
- func (a *Client) GetEndpointIDHealthz(params *GetEndpointIDHealthzParams, opts ...ClientOption) (*GetEndpointIDHealthzOK, error)
- func (a *Client) GetEndpointIDLabels(params *GetEndpointIDLabelsParams, opts ...ClientOption) (*GetEndpointIDLabelsOK, error)
- func (a *Client) GetEndpointIDLog(params *GetEndpointIDLogParams, opts ...ClientOption) (*GetEndpointIDLogOK, error)
- func (a *Client) PatchEndpointID(params *PatchEndpointIDParams, opts ...ClientOption) (*PatchEndpointIDOK, error)
- func (a *Client) PatchEndpointIDConfig(params *PatchEndpointIDConfigParams, opts ...ClientOption) (*PatchEndpointIDConfigOK, error)
- func (a *Client) PatchEndpointIDLabels(params *PatchEndpointIDLabelsParams, opts ...ClientOption) (*PatchEndpointIDLabelsOK, error)
- func (a *Client) PutEndpointID(params *PutEndpointIDParams, opts ...ClientOption) (*PutEndpointIDCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteEndpointIDErrors
- func (o *DeleteEndpointIDErrors) Error() string
- func (o *DeleteEndpointIDErrors) GetPayload() int64
- func (o *DeleteEndpointIDErrors) IsClientError() bool
- func (o *DeleteEndpointIDErrors) IsCode(code int) bool
- func (o *DeleteEndpointIDErrors) IsRedirect() bool
- func (o *DeleteEndpointIDErrors) IsServerError() bool
- func (o *DeleteEndpointIDErrors) IsSuccess() bool
- func (o *DeleteEndpointIDErrors) String() string
- type DeleteEndpointIDInvalid
- func (o *DeleteEndpointIDInvalid) Error() string
- func (o *DeleteEndpointIDInvalid) GetPayload() models.Error
- func (o *DeleteEndpointIDInvalid) IsClientError() bool
- func (o *DeleteEndpointIDInvalid) IsCode(code int) bool
- func (o *DeleteEndpointIDInvalid) IsRedirect() bool
- func (o *DeleteEndpointIDInvalid) IsServerError() bool
- func (o *DeleteEndpointIDInvalid) IsSuccess() bool
- func (o *DeleteEndpointIDInvalid) String() string
- type DeleteEndpointIDNotFound
- func (o *DeleteEndpointIDNotFound) Error() string
- func (o *DeleteEndpointIDNotFound) IsClientError() bool
- func (o *DeleteEndpointIDNotFound) IsCode(code int) bool
- func (o *DeleteEndpointIDNotFound) IsRedirect() bool
- func (o *DeleteEndpointIDNotFound) IsServerError() bool
- func (o *DeleteEndpointIDNotFound) IsSuccess() bool
- func (o *DeleteEndpointIDNotFound) String() string
- type DeleteEndpointIDOK
- func (o *DeleteEndpointIDOK) Error() string
- func (o *DeleteEndpointIDOK) IsClientError() bool
- func (o *DeleteEndpointIDOK) IsCode(code int) bool
- func (o *DeleteEndpointIDOK) IsRedirect() bool
- func (o *DeleteEndpointIDOK) IsServerError() bool
- func (o *DeleteEndpointIDOK) IsSuccess() bool
- func (o *DeleteEndpointIDOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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 DeleteEndpointIDTooManyRequests
- func (o *DeleteEndpointIDTooManyRequests) Error() string
- func (o *DeleteEndpointIDTooManyRequests) IsClientError() bool
- func (o *DeleteEndpointIDTooManyRequests) IsCode(code int) bool
- func (o *DeleteEndpointIDTooManyRequests) IsRedirect() bool
- func (o *DeleteEndpointIDTooManyRequests) IsServerError() bool
- func (o *DeleteEndpointIDTooManyRequests) IsSuccess() bool
- func (o *DeleteEndpointIDTooManyRequests) String() string
- type GetEndpointIDConfigNotFound
- func (o *GetEndpointIDConfigNotFound) Error() string
- func (o *GetEndpointIDConfigNotFound) IsClientError() bool
- func (o *GetEndpointIDConfigNotFound) IsCode(code int) bool
- func (o *GetEndpointIDConfigNotFound) IsRedirect() bool
- func (o *GetEndpointIDConfigNotFound) IsServerError() bool
- func (o *GetEndpointIDConfigNotFound) IsSuccess() bool
- func (o *GetEndpointIDConfigNotFound) String() string
- type GetEndpointIDConfigOK
- func (o *GetEndpointIDConfigOK) Error() string
- func (o *GetEndpointIDConfigOK) GetPayload() *models.EndpointConfigurationStatus
- func (o *GetEndpointIDConfigOK) IsClientError() bool
- func (o *GetEndpointIDConfigOK) IsCode(code int) bool
- func (o *GetEndpointIDConfigOK) IsRedirect() bool
- func (o *GetEndpointIDConfigOK) IsServerError() bool
- func (o *GetEndpointIDConfigOK) IsSuccess() bool
- func (o *GetEndpointIDConfigOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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 GetEndpointIDConfigTooManyRequests
- func (o *GetEndpointIDConfigTooManyRequests) Error() string
- func (o *GetEndpointIDConfigTooManyRequests) IsClientError() bool
- func (o *GetEndpointIDConfigTooManyRequests) IsCode(code int) bool
- func (o *GetEndpointIDConfigTooManyRequests) IsRedirect() bool
- func (o *GetEndpointIDConfigTooManyRequests) IsServerError() bool
- func (o *GetEndpointIDConfigTooManyRequests) IsSuccess() bool
- func (o *GetEndpointIDConfigTooManyRequests) String() string
- type GetEndpointIDHealthzInvalid
- func (o *GetEndpointIDHealthzInvalid) Error() string
- func (o *GetEndpointIDHealthzInvalid) IsClientError() bool
- func (o *GetEndpointIDHealthzInvalid) IsCode(code int) bool
- func (o *GetEndpointIDHealthzInvalid) IsRedirect() bool
- func (o *GetEndpointIDHealthzInvalid) IsServerError() bool
- func (o *GetEndpointIDHealthzInvalid) IsSuccess() bool
- func (o *GetEndpointIDHealthzInvalid) String() string
- type GetEndpointIDHealthzNotFound
- func (o *GetEndpointIDHealthzNotFound) Error() string
- func (o *GetEndpointIDHealthzNotFound) IsClientError() bool
- func (o *GetEndpointIDHealthzNotFound) IsCode(code int) bool
- func (o *GetEndpointIDHealthzNotFound) IsRedirect() bool
- func (o *GetEndpointIDHealthzNotFound) IsServerError() bool
- func (o *GetEndpointIDHealthzNotFound) IsSuccess() bool
- func (o *GetEndpointIDHealthzNotFound) String() string
- type GetEndpointIDHealthzOK
- func (o *GetEndpointIDHealthzOK) Error() string
- func (o *GetEndpointIDHealthzOK) GetPayload() *models.EndpointHealth
- func (o *GetEndpointIDHealthzOK) IsClientError() bool
- func (o *GetEndpointIDHealthzOK) IsCode(code int) bool
- func (o *GetEndpointIDHealthzOK) IsRedirect() bool
- func (o *GetEndpointIDHealthzOK) IsServerError() bool
- func (o *GetEndpointIDHealthzOK) IsSuccess() bool
- func (o *GetEndpointIDHealthzOK) String() string
- type GetEndpointIDHealthzParams
- func NewGetEndpointIDHealthzParams() *GetEndpointIDHealthzParams
- func NewGetEndpointIDHealthzParamsWithContext(ctx context.Context) *GetEndpointIDHealthzParams
- func NewGetEndpointIDHealthzParamsWithHTTPClient(client *http.Client) *GetEndpointIDHealthzParams
- func NewGetEndpointIDHealthzParamsWithTimeout(timeout time.Duration) *GetEndpointIDHealthzParams
- func (o *GetEndpointIDHealthzParams) SetContext(ctx context.Context)
- func (o *GetEndpointIDHealthzParams) SetDefaults()
- func (o *GetEndpointIDHealthzParams) SetHTTPClient(client *http.Client)
- func (o *GetEndpointIDHealthzParams) SetID(id string)
- func (o *GetEndpointIDHealthzParams) SetTimeout(timeout time.Duration)
- func (o *GetEndpointIDHealthzParams) WithContext(ctx context.Context) *GetEndpointIDHealthzParams
- func (o *GetEndpointIDHealthzParams) WithDefaults() *GetEndpointIDHealthzParams
- func (o *GetEndpointIDHealthzParams) WithHTTPClient(client *http.Client) *GetEndpointIDHealthzParams
- func (o *GetEndpointIDHealthzParams) WithID(id string) *GetEndpointIDHealthzParams
- func (o *GetEndpointIDHealthzParams) WithTimeout(timeout time.Duration) *GetEndpointIDHealthzParams
- func (o *GetEndpointIDHealthzParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEndpointIDHealthzReader
- type GetEndpointIDHealthzTooManyRequests
- func (o *GetEndpointIDHealthzTooManyRequests) Error() string
- func (o *GetEndpointIDHealthzTooManyRequests) IsClientError() bool
- func (o *GetEndpointIDHealthzTooManyRequests) IsCode(code int) bool
- func (o *GetEndpointIDHealthzTooManyRequests) IsRedirect() bool
- func (o *GetEndpointIDHealthzTooManyRequests) IsServerError() bool
- func (o *GetEndpointIDHealthzTooManyRequests) IsSuccess() bool
- func (o *GetEndpointIDHealthzTooManyRequests) String() string
- type GetEndpointIDInvalid
- func (o *GetEndpointIDInvalid) Error() string
- func (o *GetEndpointIDInvalid) GetPayload() models.Error
- func (o *GetEndpointIDInvalid) IsClientError() bool
- func (o *GetEndpointIDInvalid) IsCode(code int) bool
- func (o *GetEndpointIDInvalid) IsRedirect() bool
- func (o *GetEndpointIDInvalid) IsServerError() bool
- func (o *GetEndpointIDInvalid) IsSuccess() bool
- func (o *GetEndpointIDInvalid) String() string
- type GetEndpointIDLabelsNotFound
- func (o *GetEndpointIDLabelsNotFound) Error() string
- func (o *GetEndpointIDLabelsNotFound) IsClientError() bool
- func (o *GetEndpointIDLabelsNotFound) IsCode(code int) bool
- func (o *GetEndpointIDLabelsNotFound) IsRedirect() bool
- func (o *GetEndpointIDLabelsNotFound) IsServerError() bool
- func (o *GetEndpointIDLabelsNotFound) IsSuccess() bool
- func (o *GetEndpointIDLabelsNotFound) String() string
- type GetEndpointIDLabelsOK
- func (o *GetEndpointIDLabelsOK) Error() string
- func (o *GetEndpointIDLabelsOK) GetPayload() *models.LabelConfiguration
- func (o *GetEndpointIDLabelsOK) IsClientError() bool
- func (o *GetEndpointIDLabelsOK) IsCode(code int) bool
- func (o *GetEndpointIDLabelsOK) IsRedirect() bool
- func (o *GetEndpointIDLabelsOK) IsServerError() bool
- func (o *GetEndpointIDLabelsOK) IsSuccess() bool
- func (o *GetEndpointIDLabelsOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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 GetEndpointIDLabelsTooManyRequests
- func (o *GetEndpointIDLabelsTooManyRequests) Error() string
- func (o *GetEndpointIDLabelsTooManyRequests) IsClientError() bool
- func (o *GetEndpointIDLabelsTooManyRequests) IsCode(code int) bool
- func (o *GetEndpointIDLabelsTooManyRequests) IsRedirect() bool
- func (o *GetEndpointIDLabelsTooManyRequests) IsServerError() bool
- func (o *GetEndpointIDLabelsTooManyRequests) IsSuccess() bool
- func (o *GetEndpointIDLabelsTooManyRequests) String() string
- type GetEndpointIDLogInvalid
- func (o *GetEndpointIDLogInvalid) Error() string
- func (o *GetEndpointIDLogInvalid) IsClientError() bool
- func (o *GetEndpointIDLogInvalid) IsCode(code int) bool
- func (o *GetEndpointIDLogInvalid) IsRedirect() bool
- func (o *GetEndpointIDLogInvalid) IsServerError() bool
- func (o *GetEndpointIDLogInvalid) IsSuccess() bool
- func (o *GetEndpointIDLogInvalid) String() string
- type GetEndpointIDLogNotFound
- func (o *GetEndpointIDLogNotFound) Error() string
- func (o *GetEndpointIDLogNotFound) IsClientError() bool
- func (o *GetEndpointIDLogNotFound) IsCode(code int) bool
- func (o *GetEndpointIDLogNotFound) IsRedirect() bool
- func (o *GetEndpointIDLogNotFound) IsServerError() bool
- func (o *GetEndpointIDLogNotFound) IsSuccess() bool
- func (o *GetEndpointIDLogNotFound) String() string
- type GetEndpointIDLogOK
- func (o *GetEndpointIDLogOK) Error() string
- func (o *GetEndpointIDLogOK) GetPayload() models.EndpointStatusLog
- func (o *GetEndpointIDLogOK) IsClientError() bool
- func (o *GetEndpointIDLogOK) IsCode(code int) bool
- func (o *GetEndpointIDLogOK) IsRedirect() bool
- func (o *GetEndpointIDLogOK) IsServerError() bool
- func (o *GetEndpointIDLogOK) IsSuccess() bool
- func (o *GetEndpointIDLogOK) String() string
- type GetEndpointIDLogParams
- func NewGetEndpointIDLogParams() *GetEndpointIDLogParams
- func NewGetEndpointIDLogParamsWithContext(ctx context.Context) *GetEndpointIDLogParams
- func NewGetEndpointIDLogParamsWithHTTPClient(client *http.Client) *GetEndpointIDLogParams
- func NewGetEndpointIDLogParamsWithTimeout(timeout time.Duration) *GetEndpointIDLogParams
- func (o *GetEndpointIDLogParams) SetContext(ctx context.Context)
- func (o *GetEndpointIDLogParams) SetDefaults()
- func (o *GetEndpointIDLogParams) SetHTTPClient(client *http.Client)
- func (o *GetEndpointIDLogParams) SetID(id string)
- func (o *GetEndpointIDLogParams) SetTimeout(timeout time.Duration)
- func (o *GetEndpointIDLogParams) WithContext(ctx context.Context) *GetEndpointIDLogParams
- func (o *GetEndpointIDLogParams) WithDefaults() *GetEndpointIDLogParams
- func (o *GetEndpointIDLogParams) WithHTTPClient(client *http.Client) *GetEndpointIDLogParams
- func (o *GetEndpointIDLogParams) WithID(id string) *GetEndpointIDLogParams
- func (o *GetEndpointIDLogParams) WithTimeout(timeout time.Duration) *GetEndpointIDLogParams
- func (o *GetEndpointIDLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEndpointIDLogReader
- type GetEndpointIDLogTooManyRequests
- func (o *GetEndpointIDLogTooManyRequests) Error() string
- func (o *GetEndpointIDLogTooManyRequests) IsClientError() bool
- func (o *GetEndpointIDLogTooManyRequests) IsCode(code int) bool
- func (o *GetEndpointIDLogTooManyRequests) IsRedirect() bool
- func (o *GetEndpointIDLogTooManyRequests) IsServerError() bool
- func (o *GetEndpointIDLogTooManyRequests) IsSuccess() bool
- func (o *GetEndpointIDLogTooManyRequests) String() string
- type GetEndpointIDNotFound
- func (o *GetEndpointIDNotFound) Error() string
- func (o *GetEndpointIDNotFound) IsClientError() bool
- func (o *GetEndpointIDNotFound) IsCode(code int) bool
- func (o *GetEndpointIDNotFound) IsRedirect() bool
- func (o *GetEndpointIDNotFound) IsServerError() bool
- func (o *GetEndpointIDNotFound) IsSuccess() bool
- func (o *GetEndpointIDNotFound) String() string
- type GetEndpointIDOK
- func (o *GetEndpointIDOK) Error() string
- func (o *GetEndpointIDOK) GetPayload() *models.Endpoint
- func (o *GetEndpointIDOK) IsClientError() bool
- func (o *GetEndpointIDOK) IsCode(code int) bool
- func (o *GetEndpointIDOK) IsRedirect() bool
- func (o *GetEndpointIDOK) IsServerError() bool
- func (o *GetEndpointIDOK) IsSuccess() bool
- func (o *GetEndpointIDOK) String() string
- type GetEndpointIDParams
- func (o *GetEndpointIDParams) SetContext(ctx context.Context)
- func (o *GetEndpointIDParams) SetDefaults()
- 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) WithDefaults() *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 GetEndpointIDTooManyRequests
- func (o *GetEndpointIDTooManyRequests) Error() string
- func (o *GetEndpointIDTooManyRequests) IsClientError() bool
- func (o *GetEndpointIDTooManyRequests) IsCode(code int) bool
- func (o *GetEndpointIDTooManyRequests) IsRedirect() bool
- func (o *GetEndpointIDTooManyRequests) IsServerError() bool
- func (o *GetEndpointIDTooManyRequests) IsSuccess() bool
- func (o *GetEndpointIDTooManyRequests) String() string
- type GetEndpointNotFound
- func (o *GetEndpointNotFound) Error() string
- func (o *GetEndpointNotFound) IsClientError() bool
- func (o *GetEndpointNotFound) IsCode(code int) bool
- func (o *GetEndpointNotFound) IsRedirect() bool
- func (o *GetEndpointNotFound) IsServerError() bool
- func (o *GetEndpointNotFound) IsSuccess() bool
- func (o *GetEndpointNotFound) String() string
- type GetEndpointOK
- func (o *GetEndpointOK) Error() string
- func (o *GetEndpointOK) GetPayload() []*models.Endpoint
- func (o *GetEndpointOK) IsClientError() bool
- func (o *GetEndpointOK) IsCode(code int) bool
- func (o *GetEndpointOK) IsRedirect() bool
- func (o *GetEndpointOK) IsServerError() bool
- func (o *GetEndpointOK) IsSuccess() bool
- func (o *GetEndpointOK) String() string
- type GetEndpointParams
- func (o *GetEndpointParams) SetContext(ctx context.Context)
- func (o *GetEndpointParams) SetDefaults()
- func (o *GetEndpointParams) SetHTTPClient(client *http.Client)
- func (o *GetEndpointParams) SetLabels(labels models.Labels)
- func (o *GetEndpointParams) SetTimeout(timeout time.Duration)
- func (o *GetEndpointParams) WithContext(ctx context.Context) *GetEndpointParams
- func (o *GetEndpointParams) WithDefaults() *GetEndpointParams
- func (o *GetEndpointParams) WithHTTPClient(client *http.Client) *GetEndpointParams
- func (o *GetEndpointParams) WithLabels(labels models.Labels) *GetEndpointParams
- func (o *GetEndpointParams) WithTimeout(timeout time.Duration) *GetEndpointParams
- func (o *GetEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEndpointReader
- type GetEndpointTooManyRequests
- func (o *GetEndpointTooManyRequests) Error() string
- func (o *GetEndpointTooManyRequests) IsClientError() bool
- func (o *GetEndpointTooManyRequests) IsCode(code int) bool
- func (o *GetEndpointTooManyRequests) IsRedirect() bool
- func (o *GetEndpointTooManyRequests) IsServerError() bool
- func (o *GetEndpointTooManyRequests) IsSuccess() bool
- func (o *GetEndpointTooManyRequests) String() string
- type PatchEndpointIDConfigFailed
- func (o *PatchEndpointIDConfigFailed) Error() string
- func (o *PatchEndpointIDConfigFailed) GetPayload() models.Error
- func (o *PatchEndpointIDConfigFailed) IsClientError() bool
- func (o *PatchEndpointIDConfigFailed) IsCode(code int) bool
- func (o *PatchEndpointIDConfigFailed) IsRedirect() bool
- func (o *PatchEndpointIDConfigFailed) IsServerError() bool
- func (o *PatchEndpointIDConfigFailed) IsSuccess() bool
- func (o *PatchEndpointIDConfigFailed) String() string
- type PatchEndpointIDConfigInvalid
- func (o *PatchEndpointIDConfigInvalid) Error() string
- func (o *PatchEndpointIDConfigInvalid) IsClientError() bool
- func (o *PatchEndpointIDConfigInvalid) IsCode(code int) bool
- func (o *PatchEndpointIDConfigInvalid) IsRedirect() bool
- func (o *PatchEndpointIDConfigInvalid) IsServerError() bool
- func (o *PatchEndpointIDConfigInvalid) IsSuccess() bool
- func (o *PatchEndpointIDConfigInvalid) String() string
- type PatchEndpointIDConfigNotFound
- func (o *PatchEndpointIDConfigNotFound) Error() string
- func (o *PatchEndpointIDConfigNotFound) IsClientError() bool
- func (o *PatchEndpointIDConfigNotFound) IsCode(code int) bool
- func (o *PatchEndpointIDConfigNotFound) IsRedirect() bool
- func (o *PatchEndpointIDConfigNotFound) IsServerError() bool
- func (o *PatchEndpointIDConfigNotFound) IsSuccess() bool
- func (o *PatchEndpointIDConfigNotFound) String() string
- type PatchEndpointIDConfigOK
- func (o *PatchEndpointIDConfigOK) Error() string
- func (o *PatchEndpointIDConfigOK) IsClientError() bool
- func (o *PatchEndpointIDConfigOK) IsCode(code int) bool
- func (o *PatchEndpointIDConfigOK) IsRedirect() bool
- func (o *PatchEndpointIDConfigOK) IsServerError() bool
- func (o *PatchEndpointIDConfigOK) IsSuccess() bool
- func (o *PatchEndpointIDConfigOK) String() string
- 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) SetContext(ctx context.Context)
- func (o *PatchEndpointIDConfigParams) SetDefaults()
- func (o *PatchEndpointIDConfigParams) SetEndpointConfiguration(endpointConfiguration *models.EndpointConfigurationSpec)
- func (o *PatchEndpointIDConfigParams) SetHTTPClient(client *http.Client)
- func (o *PatchEndpointIDConfigParams) SetID(id string)
- func (o *PatchEndpointIDConfigParams) SetTimeout(timeout time.Duration)
- func (o *PatchEndpointIDConfigParams) WithContext(ctx context.Context) *PatchEndpointIDConfigParams
- func (o *PatchEndpointIDConfigParams) WithDefaults() *PatchEndpointIDConfigParams
- func (o *PatchEndpointIDConfigParams) WithEndpointConfiguration(endpointConfiguration *models.EndpointConfigurationSpec) *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 PatchEndpointIDConfigTooManyRequests
- func (o *PatchEndpointIDConfigTooManyRequests) Error() string
- func (o *PatchEndpointIDConfigTooManyRequests) IsClientError() bool
- func (o *PatchEndpointIDConfigTooManyRequests) IsCode(code int) bool
- func (o *PatchEndpointIDConfigTooManyRequests) IsRedirect() bool
- func (o *PatchEndpointIDConfigTooManyRequests) IsServerError() bool
- func (o *PatchEndpointIDConfigTooManyRequests) IsSuccess() bool
- func (o *PatchEndpointIDConfigTooManyRequests) String() string
- type PatchEndpointIDFailed
- func (o *PatchEndpointIDFailed) Error() string
- func (o *PatchEndpointIDFailed) GetPayload() models.Error
- func (o *PatchEndpointIDFailed) IsClientError() bool
- func (o *PatchEndpointIDFailed) IsCode(code int) bool
- func (o *PatchEndpointIDFailed) IsRedirect() bool
- func (o *PatchEndpointIDFailed) IsServerError() bool
- func (o *PatchEndpointIDFailed) IsSuccess() bool
- func (o *PatchEndpointIDFailed) String() string
- type PatchEndpointIDInvalid
- func (o *PatchEndpointIDInvalid) Error() string
- func (o *PatchEndpointIDInvalid) GetPayload() models.Error
- func (o *PatchEndpointIDInvalid) IsClientError() bool
- func (o *PatchEndpointIDInvalid) IsCode(code int) bool
- func (o *PatchEndpointIDInvalid) IsRedirect() bool
- func (o *PatchEndpointIDInvalid) IsServerError() bool
- func (o *PatchEndpointIDInvalid) IsSuccess() bool
- func (o *PatchEndpointIDInvalid) String() string
- type PatchEndpointIDLabelsNotFound
- func (o *PatchEndpointIDLabelsNotFound) Error() string
- func (o *PatchEndpointIDLabelsNotFound) IsClientError() bool
- func (o *PatchEndpointIDLabelsNotFound) IsCode(code int) bool
- func (o *PatchEndpointIDLabelsNotFound) IsRedirect() bool
- func (o *PatchEndpointIDLabelsNotFound) IsServerError() bool
- func (o *PatchEndpointIDLabelsNotFound) IsSuccess() bool
- func (o *PatchEndpointIDLabelsNotFound) String() string
- type PatchEndpointIDLabelsOK
- func (o *PatchEndpointIDLabelsOK) Error() string
- func (o *PatchEndpointIDLabelsOK) IsClientError() bool
- func (o *PatchEndpointIDLabelsOK) IsCode(code int) bool
- func (o *PatchEndpointIDLabelsOK) IsRedirect() bool
- func (o *PatchEndpointIDLabelsOK) IsServerError() bool
- func (o *PatchEndpointIDLabelsOK) IsSuccess() bool
- func (o *PatchEndpointIDLabelsOK) String() string
- type PatchEndpointIDLabelsParams
- func NewPatchEndpointIDLabelsParams() *PatchEndpointIDLabelsParams
- func NewPatchEndpointIDLabelsParamsWithContext(ctx context.Context) *PatchEndpointIDLabelsParams
- func NewPatchEndpointIDLabelsParamsWithHTTPClient(client *http.Client) *PatchEndpointIDLabelsParams
- func NewPatchEndpointIDLabelsParamsWithTimeout(timeout time.Duration) *PatchEndpointIDLabelsParams
- func (o *PatchEndpointIDLabelsParams) SetConfiguration(configuration *models.LabelConfigurationSpec)
- func (o *PatchEndpointIDLabelsParams) SetContext(ctx context.Context)
- func (o *PatchEndpointIDLabelsParams) SetDefaults()
- func (o *PatchEndpointIDLabelsParams) SetHTTPClient(client *http.Client)
- func (o *PatchEndpointIDLabelsParams) SetID(id string)
- func (o *PatchEndpointIDLabelsParams) SetTimeout(timeout time.Duration)
- func (o *PatchEndpointIDLabelsParams) WithConfiguration(configuration *models.LabelConfigurationSpec) *PatchEndpointIDLabelsParams
- func (o *PatchEndpointIDLabelsParams) WithContext(ctx context.Context) *PatchEndpointIDLabelsParams
- func (o *PatchEndpointIDLabelsParams) WithDefaults() *PatchEndpointIDLabelsParams
- func (o *PatchEndpointIDLabelsParams) WithHTTPClient(client *http.Client) *PatchEndpointIDLabelsParams
- func (o *PatchEndpointIDLabelsParams) WithID(id string) *PatchEndpointIDLabelsParams
- func (o *PatchEndpointIDLabelsParams) WithTimeout(timeout time.Duration) *PatchEndpointIDLabelsParams
- func (o *PatchEndpointIDLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchEndpointIDLabelsReader
- type PatchEndpointIDLabelsTooManyRequests
- func (o *PatchEndpointIDLabelsTooManyRequests) Error() string
- func (o *PatchEndpointIDLabelsTooManyRequests) IsClientError() bool
- func (o *PatchEndpointIDLabelsTooManyRequests) IsCode(code int) bool
- func (o *PatchEndpointIDLabelsTooManyRequests) IsRedirect() bool
- func (o *PatchEndpointIDLabelsTooManyRequests) IsServerError() bool
- func (o *PatchEndpointIDLabelsTooManyRequests) IsSuccess() bool
- func (o *PatchEndpointIDLabelsTooManyRequests) String() string
- type PatchEndpointIDLabelsUpdateFailed
- func (o *PatchEndpointIDLabelsUpdateFailed) Error() string
- func (o *PatchEndpointIDLabelsUpdateFailed) GetPayload() models.Error
- func (o *PatchEndpointIDLabelsUpdateFailed) IsClientError() bool
- func (o *PatchEndpointIDLabelsUpdateFailed) IsCode(code int) bool
- func (o *PatchEndpointIDLabelsUpdateFailed) IsRedirect() bool
- func (o *PatchEndpointIDLabelsUpdateFailed) IsServerError() bool
- func (o *PatchEndpointIDLabelsUpdateFailed) IsSuccess() bool
- func (o *PatchEndpointIDLabelsUpdateFailed) String() string
- type PatchEndpointIDNotFound
- func (o *PatchEndpointIDNotFound) Error() string
- func (o *PatchEndpointIDNotFound) IsClientError() bool
- func (o *PatchEndpointIDNotFound) IsCode(code int) bool
- func (o *PatchEndpointIDNotFound) IsRedirect() bool
- func (o *PatchEndpointIDNotFound) IsServerError() bool
- func (o *PatchEndpointIDNotFound) IsSuccess() bool
- func (o *PatchEndpointIDNotFound) String() string
- type PatchEndpointIDOK
- func (o *PatchEndpointIDOK) Error() string
- func (o *PatchEndpointIDOK) IsClientError() bool
- func (o *PatchEndpointIDOK) IsCode(code int) bool
- func (o *PatchEndpointIDOK) IsRedirect() bool
- func (o *PatchEndpointIDOK) IsServerError() bool
- func (o *PatchEndpointIDOK) IsSuccess() bool
- func (o *PatchEndpointIDOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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 PatchEndpointIDTooManyRequests
- func (o *PatchEndpointIDTooManyRequests) Error() string
- func (o *PatchEndpointIDTooManyRequests) IsClientError() bool
- func (o *PatchEndpointIDTooManyRequests) IsCode(code int) bool
- func (o *PatchEndpointIDTooManyRequests) IsRedirect() bool
- func (o *PatchEndpointIDTooManyRequests) IsServerError() bool
- func (o *PatchEndpointIDTooManyRequests) IsSuccess() bool
- func (o *PatchEndpointIDTooManyRequests) String() string
- type PutEndpointIDCreated
- func (o *PutEndpointIDCreated) Error() string
- func (o *PutEndpointIDCreated) IsClientError() bool
- func (o *PutEndpointIDCreated) IsCode(code int) bool
- func (o *PutEndpointIDCreated) IsRedirect() bool
- func (o *PutEndpointIDCreated) IsServerError() bool
- func (o *PutEndpointIDCreated) IsSuccess() bool
- func (o *PutEndpointIDCreated) String() string
- type PutEndpointIDExists
- func (o *PutEndpointIDExists) Error() string
- func (o *PutEndpointIDExists) IsClientError() bool
- func (o *PutEndpointIDExists) IsCode(code int) bool
- func (o *PutEndpointIDExists) IsRedirect() bool
- func (o *PutEndpointIDExists) IsServerError() bool
- func (o *PutEndpointIDExists) IsSuccess() bool
- func (o *PutEndpointIDExists) String() string
- type PutEndpointIDFailed
- func (o *PutEndpointIDFailed) Error() string
- func (o *PutEndpointIDFailed) GetPayload() models.Error
- func (o *PutEndpointIDFailed) IsClientError() bool
- func (o *PutEndpointIDFailed) IsCode(code int) bool
- func (o *PutEndpointIDFailed) IsRedirect() bool
- func (o *PutEndpointIDFailed) IsServerError() bool
- func (o *PutEndpointIDFailed) IsSuccess() bool
- func (o *PutEndpointIDFailed) String() string
- type PutEndpointIDInvalid
- func (o *PutEndpointIDInvalid) Error() string
- func (o *PutEndpointIDInvalid) GetPayload() models.Error
- func (o *PutEndpointIDInvalid) IsClientError() bool
- func (o *PutEndpointIDInvalid) IsCode(code int) bool
- func (o *PutEndpointIDInvalid) IsRedirect() bool
- func (o *PutEndpointIDInvalid) IsServerError() bool
- func (o *PutEndpointIDInvalid) IsSuccess() bool
- func (o *PutEndpointIDInvalid) String() string
- type PutEndpointIDParams
- func (o *PutEndpointIDParams) SetContext(ctx context.Context)
- func (o *PutEndpointIDParams) SetDefaults()
- 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) WithDefaults() *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
- type PutEndpointIDTooManyRequests
- func (o *PutEndpointIDTooManyRequests) Error() string
- func (o *PutEndpointIDTooManyRequests) IsClientError() bool
- func (o *PutEndpointIDTooManyRequests) IsCode(code int) bool
- func (o *PutEndpointIDTooManyRequests) IsRedirect() bool
- func (o *PutEndpointIDTooManyRequests) IsServerError() bool
- func (o *PutEndpointIDTooManyRequests) IsSuccess() bool
- func (o *PutEndpointIDTooManyRequests) String() string
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 (*Client) DeleteEndpointID ¶
func (a *Client) DeleteEndpointID(params *DeleteEndpointIDParams, opts ...ClientOption) (*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, opts ...ClientOption) (*GetEndpointOK, error)
GetEndpoint retrieves a list of endpoints that have metadata matching the provided parameters
Retrieves a list of endpoints that have metadata matching the provided parameters, or all endpoints if no parameters provided.
func (*Client) GetEndpointID ¶
func (a *Client) GetEndpointID(params *GetEndpointIDParams, opts ...ClientOption) (*GetEndpointIDOK, error)
GetEndpointID gets endpoint by endpoint ID
Returns endpoint information
func (*Client) GetEndpointIDConfig ¶
func (a *Client) GetEndpointIDConfig(params *GetEndpointIDConfigParams, opts ...ClientOption) (*GetEndpointIDConfigOK, error)
GetEndpointIDConfig retrieves endpoint configuration
Retrieves the configuration of the specified endpoint.
func (*Client) GetEndpointIDHealthz ¶ added in v1.5.0
func (a *Client) GetEndpointIDHealthz(params *GetEndpointIDHealthzParams, opts ...ClientOption) (*GetEndpointIDHealthzOK, error)
GetEndpointIDHealthz retrieves the status logs associated with this endpoint
func (*Client) GetEndpointIDLabels ¶
func (a *Client) GetEndpointIDLabels(params *GetEndpointIDLabelsParams, opts ...ClientOption) (*GetEndpointIDLabelsOK, error)
GetEndpointIDLabels retrieves the list of labels associated with an endpoint
func (*Client) GetEndpointIDLog ¶ added in v1.5.0
func (a *Client) GetEndpointIDLog(params *GetEndpointIDLogParams, opts ...ClientOption) (*GetEndpointIDLogOK, error)
GetEndpointIDLog retrieves the status logs associated with this endpoint
func (*Client) PatchEndpointID ¶
func (a *Client) PatchEndpointID(params *PatchEndpointIDParams, opts ...ClientOption) (*PatchEndpointIDOK, error)
PatchEndpointID modifies existing endpoint
Applies the endpoint change request to an existing endpoint
func (*Client) PatchEndpointIDConfig ¶
func (a *Client) PatchEndpointIDConfig(params *PatchEndpointIDConfigParams, opts ...ClientOption) (*PatchEndpointIDConfigOK, error)
PatchEndpointIDConfig modifies mutable endpoint configuration Update the configuration of an existing endpoint and regenerates &
recompiles the corresponding programs automatically.
func (*Client) PatchEndpointIDLabels ¶ added in v1.5.0
func (a *Client) PatchEndpointIDLabels(params *PatchEndpointIDLabelsParams, opts ...ClientOption) (*PatchEndpointIDLabelsOK, error)
PatchEndpointIDLabels sets label configuration of endpoint Sets labels associated with an endpoint. These can be user provided or
derived from the orchestration system.
func (*Client) PutEndpointID ¶
func (a *Client) PutEndpointID(params *PutEndpointIDParams, opts ...ClientOption) (*PutEndpointIDCreated, error)
PutEndpointID creates endpoint
Creates a new endpoint
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.14.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v1.14.0
type ClientService interface { DeleteEndpointID(params *DeleteEndpointIDParams, opts ...ClientOption) (*DeleteEndpointIDOK, *DeleteEndpointIDErrors, error) GetEndpoint(params *GetEndpointParams, opts ...ClientOption) (*GetEndpointOK, error) GetEndpointID(params *GetEndpointIDParams, opts ...ClientOption) (*GetEndpointIDOK, error) GetEndpointIDConfig(params *GetEndpointIDConfigParams, opts ...ClientOption) (*GetEndpointIDConfigOK, error) GetEndpointIDHealthz(params *GetEndpointIDHealthzParams, opts ...ClientOption) (*GetEndpointIDHealthzOK, error) GetEndpointIDLabels(params *GetEndpointIDLabelsParams, opts ...ClientOption) (*GetEndpointIDLabelsOK, error) GetEndpointIDLog(params *GetEndpointIDLogParams, opts ...ClientOption) (*GetEndpointIDLogOK, error) PatchEndpointID(params *PatchEndpointIDParams, opts ...ClientOption) (*PatchEndpointIDOK, error) PatchEndpointIDConfig(params *PatchEndpointIDConfigParams, opts ...ClientOption) (*PatchEndpointIDConfigOK, error) PatchEndpointIDLabels(params *PatchEndpointIDLabelsParams, opts ...ClientOption) (*PatchEndpointIDLabelsOK, error) PutEndpointID(params *PutEndpointIDParams, opts ...ClientOption) (*PutEndpointIDCreated, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new endpoint API client.
type DeleteEndpointIDErrors ¶
type DeleteEndpointIDErrors struct {
Payload int64
}
DeleteEndpointIDErrors describes a response with status code 206, 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
func (*DeleteEndpointIDErrors) GetPayload ¶ added in v1.14.0
func (o *DeleteEndpointIDErrors) GetPayload() int64
func (*DeleteEndpointIDErrors) IsClientError ¶ added in v1.14.0
func (o *DeleteEndpointIDErrors) IsClientError() bool
IsClientError returns true when this delete endpoint Id errors response has a 4xx status code
func (*DeleteEndpointIDErrors) IsCode ¶ added in v1.14.0
func (o *DeleteEndpointIDErrors) IsCode(code int) bool
IsCode returns true when this delete endpoint Id errors response a status code equal to that given
func (*DeleteEndpointIDErrors) IsRedirect ¶ added in v1.14.0
func (o *DeleteEndpointIDErrors) IsRedirect() bool
IsRedirect returns true when this delete endpoint Id errors response has a 3xx status code
func (*DeleteEndpointIDErrors) IsServerError ¶ added in v1.14.0
func (o *DeleteEndpointIDErrors) IsServerError() bool
IsServerError returns true when this delete endpoint Id errors response has a 5xx status code
func (*DeleteEndpointIDErrors) IsSuccess ¶ added in v1.14.0
func (o *DeleteEndpointIDErrors) IsSuccess() bool
IsSuccess returns true when this delete endpoint Id errors response has a 2xx status code
func (*DeleteEndpointIDErrors) String ¶ added in v1.14.0
func (o *DeleteEndpointIDErrors) String() string
type DeleteEndpointIDInvalid ¶
DeleteEndpointIDInvalid describes a response with status code 400, 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
func (*DeleteEndpointIDInvalid) GetPayload ¶ added in v1.14.0
func (o *DeleteEndpointIDInvalid) GetPayload() models.Error
func (*DeleteEndpointIDInvalid) IsClientError ¶ added in v1.14.0
func (o *DeleteEndpointIDInvalid) IsClientError() bool
IsClientError returns true when this delete endpoint Id invalid response has a 4xx status code
func (*DeleteEndpointIDInvalid) IsCode ¶ added in v1.14.0
func (o *DeleteEndpointIDInvalid) IsCode(code int) bool
IsCode returns true when this delete endpoint Id invalid response a status code equal to that given
func (*DeleteEndpointIDInvalid) IsRedirect ¶ added in v1.14.0
func (o *DeleteEndpointIDInvalid) IsRedirect() bool
IsRedirect returns true when this delete endpoint Id invalid response has a 3xx status code
func (*DeleteEndpointIDInvalid) IsServerError ¶ added in v1.14.0
func (o *DeleteEndpointIDInvalid) IsServerError() bool
IsServerError returns true when this delete endpoint Id invalid response has a 5xx status code
func (*DeleteEndpointIDInvalid) IsSuccess ¶ added in v1.14.0
func (o *DeleteEndpointIDInvalid) IsSuccess() bool
IsSuccess returns true when this delete endpoint Id invalid response has a 2xx status code
func (*DeleteEndpointIDInvalid) String ¶ added in v1.14.0
func (o *DeleteEndpointIDInvalid) String() string
type DeleteEndpointIDNotFound ¶
type DeleteEndpointIDNotFound struct { }
DeleteEndpointIDNotFound describes a response with status code 404, 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
func (*DeleteEndpointIDNotFound) IsClientError ¶ added in v1.14.0
func (o *DeleteEndpointIDNotFound) IsClientError() bool
IsClientError returns true when this delete endpoint Id not found response has a 4xx status code
func (*DeleteEndpointIDNotFound) IsCode ¶ added in v1.14.0
func (o *DeleteEndpointIDNotFound) IsCode(code int) bool
IsCode returns true when this delete endpoint Id not found response a status code equal to that given
func (*DeleteEndpointIDNotFound) IsRedirect ¶ added in v1.14.0
func (o *DeleteEndpointIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete endpoint Id not found response has a 3xx status code
func (*DeleteEndpointIDNotFound) IsServerError ¶ added in v1.14.0
func (o *DeleteEndpointIDNotFound) IsServerError() bool
IsServerError returns true when this delete endpoint Id not found response has a 5xx status code
func (*DeleteEndpointIDNotFound) IsSuccess ¶ added in v1.14.0
func (o *DeleteEndpointIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete endpoint Id not found response has a 2xx status code
func (*DeleteEndpointIDNotFound) String ¶ added in v1.14.0
func (o *DeleteEndpointIDNotFound) String() string
type DeleteEndpointIDOK ¶
type DeleteEndpointIDOK struct { }
DeleteEndpointIDOK describes a response with status code 200, 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
func (*DeleteEndpointIDOK) IsClientError ¶ added in v1.14.0
func (o *DeleteEndpointIDOK) IsClientError() bool
IsClientError returns true when this delete endpoint Id o k response has a 4xx status code
func (*DeleteEndpointIDOK) IsCode ¶ added in v1.14.0
func (o *DeleteEndpointIDOK) IsCode(code int) bool
IsCode returns true when this delete endpoint Id o k response a status code equal to that given
func (*DeleteEndpointIDOK) IsRedirect ¶ added in v1.14.0
func (o *DeleteEndpointIDOK) IsRedirect() bool
IsRedirect returns true when this delete endpoint Id o k response has a 3xx status code
func (*DeleteEndpointIDOK) IsServerError ¶ added in v1.14.0
func (o *DeleteEndpointIDOK) IsServerError() bool
IsServerError returns true when this delete endpoint Id o k response has a 5xx status code
func (*DeleteEndpointIDOK) IsSuccess ¶ added in v1.14.0
func (o *DeleteEndpointIDOK) IsSuccess() bool
IsSuccess returns true when this delete endpoint Id o k response has a 2xx status code
func (*DeleteEndpointIDOK) String ¶ added in v1.14.0
func (o *DeleteEndpointIDOK) String() string
type DeleteEndpointIDParams ¶
type DeleteEndpointIDParams struct { /* ID. String describing an endpoint with the format “[prefix:]id“. If no prefix is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteEndpointIDParamsWithContext ¶
func NewDeleteEndpointIDParamsWithContext(ctx context.Context) *DeleteEndpointIDParams
NewDeleteEndpointIDParamsWithContext creates a new DeleteEndpointIDParams object with 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 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 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) SetDefaults ¶ added in v1.14.0
func (o *DeleteEndpointIDParams) SetDefaults()
SetDefaults hydrates default values in the delete endpoint ID params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.14.0
func (o *DeleteEndpointIDParams) WithDefaults() *DeleteEndpointIDParams
WithDefaults hydrates default values in the delete endpoint ID params (not the query body).
All values with no default are reset to their zero value.
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 DeleteEndpointIDTooManyRequests ¶ added in v1.14.0
type DeleteEndpointIDTooManyRequests struct { }
DeleteEndpointIDTooManyRequests describes a response with status code 429, with default header values.
Rate-limiting too many requests in the given time frame
func NewDeleteEndpointIDTooManyRequests ¶ added in v1.14.0
func NewDeleteEndpointIDTooManyRequests() *DeleteEndpointIDTooManyRequests
NewDeleteEndpointIDTooManyRequests creates a DeleteEndpointIDTooManyRequests with default headers values
func (*DeleteEndpointIDTooManyRequests) Error ¶ added in v1.14.0
func (o *DeleteEndpointIDTooManyRequests) Error() string
func (*DeleteEndpointIDTooManyRequests) IsClientError ¶ added in v1.14.0
func (o *DeleteEndpointIDTooManyRequests) IsClientError() bool
IsClientError returns true when this delete endpoint Id too many requests response has a 4xx status code
func (*DeleteEndpointIDTooManyRequests) IsCode ¶ added in v1.14.0
func (o *DeleteEndpointIDTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete endpoint Id too many requests response a status code equal to that given
func (*DeleteEndpointIDTooManyRequests) IsRedirect ¶ added in v1.14.0
func (o *DeleteEndpointIDTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete endpoint Id too many requests response has a 3xx status code
func (*DeleteEndpointIDTooManyRequests) IsServerError ¶ added in v1.14.0
func (o *DeleteEndpointIDTooManyRequests) IsServerError() bool
IsServerError returns true when this delete endpoint Id too many requests response has a 5xx status code
func (*DeleteEndpointIDTooManyRequests) IsSuccess ¶ added in v1.14.0
func (o *DeleteEndpointIDTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete endpoint Id too many requests response has a 2xx status code
func (*DeleteEndpointIDTooManyRequests) String ¶ added in v1.14.0
func (o *DeleteEndpointIDTooManyRequests) String() string
type GetEndpointIDConfigNotFound ¶
type GetEndpointIDConfigNotFound struct { }
GetEndpointIDConfigNotFound describes a response with status code 404, 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
func (*GetEndpointIDConfigNotFound) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDConfigNotFound) IsClientError() bool
IsClientError returns true when this get endpoint Id config not found response has a 4xx status code
func (*GetEndpointIDConfigNotFound) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDConfigNotFound) IsCode(code int) bool
IsCode returns true when this get endpoint Id config not found response a status code equal to that given
func (*GetEndpointIDConfigNotFound) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDConfigNotFound) IsRedirect() bool
IsRedirect returns true when this get endpoint Id config not found response has a 3xx status code
func (*GetEndpointIDConfigNotFound) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDConfigNotFound) IsServerError() bool
IsServerError returns true when this get endpoint Id config not found response has a 5xx status code
func (*GetEndpointIDConfigNotFound) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDConfigNotFound) IsSuccess() bool
IsSuccess returns true when this get endpoint Id config not found response has a 2xx status code
func (*GetEndpointIDConfigNotFound) String ¶ added in v1.14.0
func (o *GetEndpointIDConfigNotFound) String() string
type GetEndpointIDConfigOK ¶
type GetEndpointIDConfigOK struct {
Payload *models.EndpointConfigurationStatus
}
GetEndpointIDConfigOK describes a response with status code 200, 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
func (*GetEndpointIDConfigOK) GetPayload ¶ added in v1.14.0
func (o *GetEndpointIDConfigOK) GetPayload() *models.EndpointConfigurationStatus
func (*GetEndpointIDConfigOK) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDConfigOK) IsClientError() bool
IsClientError returns true when this get endpoint Id config o k response has a 4xx status code
func (*GetEndpointIDConfigOK) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDConfigOK) IsCode(code int) bool
IsCode returns true when this get endpoint Id config o k response a status code equal to that given
func (*GetEndpointIDConfigOK) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDConfigOK) IsRedirect() bool
IsRedirect returns true when this get endpoint Id config o k response has a 3xx status code
func (*GetEndpointIDConfigOK) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDConfigOK) IsServerError() bool
IsServerError returns true when this get endpoint Id config o k response has a 5xx status code
func (*GetEndpointIDConfigOK) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDConfigOK) IsSuccess() bool
IsSuccess returns true when this get endpoint Id config o k response has a 2xx status code
func (*GetEndpointIDConfigOK) String ¶ added in v1.14.0
func (o *GetEndpointIDConfigOK) String() string
type GetEndpointIDConfigParams ¶
type GetEndpointIDConfigParams struct { /* ID. String describing an endpoint with the format “[prefix:]id“. If no prefix is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetEndpointIDConfigParamsWithContext ¶
func NewGetEndpointIDConfigParamsWithContext(ctx context.Context) *GetEndpointIDConfigParams
NewGetEndpointIDConfigParamsWithContext creates a new GetEndpointIDConfigParams object with 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 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 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) SetDefaults ¶ added in v1.14.0
func (o *GetEndpointIDConfigParams) SetDefaults()
SetDefaults hydrates default values in the get endpoint ID config params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.14.0
func (o *GetEndpointIDConfigParams) WithDefaults() *GetEndpointIDConfigParams
WithDefaults hydrates default values in the get endpoint ID config params (not the query body).
All values with no default are reset to their zero value.
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 GetEndpointIDConfigTooManyRequests ¶ added in v1.14.0
type GetEndpointIDConfigTooManyRequests struct { }
GetEndpointIDConfigTooManyRequests describes a response with status code 429, with default header values.
Rate-limiting too many requests in the given time frame
func NewGetEndpointIDConfigTooManyRequests ¶ added in v1.14.0
func NewGetEndpointIDConfigTooManyRequests() *GetEndpointIDConfigTooManyRequests
NewGetEndpointIDConfigTooManyRequests creates a GetEndpointIDConfigTooManyRequests with default headers values
func (*GetEndpointIDConfigTooManyRequests) Error ¶ added in v1.14.0
func (o *GetEndpointIDConfigTooManyRequests) Error() string
func (*GetEndpointIDConfigTooManyRequests) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDConfigTooManyRequests) IsClientError() bool
IsClientError returns true when this get endpoint Id config too many requests response has a 4xx status code
func (*GetEndpointIDConfigTooManyRequests) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDConfigTooManyRequests) IsCode(code int) bool
IsCode returns true when this get endpoint Id config too many requests response a status code equal to that given
func (*GetEndpointIDConfigTooManyRequests) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDConfigTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get endpoint Id config too many requests response has a 3xx status code
func (*GetEndpointIDConfigTooManyRequests) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDConfigTooManyRequests) IsServerError() bool
IsServerError returns true when this get endpoint Id config too many requests response has a 5xx status code
func (*GetEndpointIDConfigTooManyRequests) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDConfigTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get endpoint Id config too many requests response has a 2xx status code
func (*GetEndpointIDConfigTooManyRequests) String ¶ added in v1.14.0
func (o *GetEndpointIDConfigTooManyRequests) String() string
type GetEndpointIDHealthzInvalid ¶ added in v1.5.0
type GetEndpointIDHealthzInvalid struct { }
GetEndpointIDHealthzInvalid describes a response with status code 400, with default header values.
Invalid identity provided
func NewGetEndpointIDHealthzInvalid ¶ added in v1.5.0
func NewGetEndpointIDHealthzInvalid() *GetEndpointIDHealthzInvalid
NewGetEndpointIDHealthzInvalid creates a GetEndpointIDHealthzInvalid with default headers values
func (*GetEndpointIDHealthzInvalid) Error ¶ added in v1.5.0
func (o *GetEndpointIDHealthzInvalid) Error() string
func (*GetEndpointIDHealthzInvalid) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDHealthzInvalid) IsClientError() bool
IsClientError returns true when this get endpoint Id healthz invalid response has a 4xx status code
func (*GetEndpointIDHealthzInvalid) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDHealthzInvalid) IsCode(code int) bool
IsCode returns true when this get endpoint Id healthz invalid response a status code equal to that given
func (*GetEndpointIDHealthzInvalid) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDHealthzInvalid) IsRedirect() bool
IsRedirect returns true when this get endpoint Id healthz invalid response has a 3xx status code
func (*GetEndpointIDHealthzInvalid) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDHealthzInvalid) IsServerError() bool
IsServerError returns true when this get endpoint Id healthz invalid response has a 5xx status code
func (*GetEndpointIDHealthzInvalid) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDHealthzInvalid) IsSuccess() bool
IsSuccess returns true when this get endpoint Id healthz invalid response has a 2xx status code
func (*GetEndpointIDHealthzInvalid) String ¶ added in v1.14.0
func (o *GetEndpointIDHealthzInvalid) String() string
type GetEndpointIDHealthzNotFound ¶ added in v1.5.0
type GetEndpointIDHealthzNotFound struct { }
GetEndpointIDHealthzNotFound describes a response with status code 404, with default header values.
Endpoint not found
func NewGetEndpointIDHealthzNotFound ¶ added in v1.5.0
func NewGetEndpointIDHealthzNotFound() *GetEndpointIDHealthzNotFound
NewGetEndpointIDHealthzNotFound creates a GetEndpointIDHealthzNotFound with default headers values
func (*GetEndpointIDHealthzNotFound) Error ¶ added in v1.5.0
func (o *GetEndpointIDHealthzNotFound) Error() string
func (*GetEndpointIDHealthzNotFound) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDHealthzNotFound) IsClientError() bool
IsClientError returns true when this get endpoint Id healthz not found response has a 4xx status code
func (*GetEndpointIDHealthzNotFound) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDHealthzNotFound) IsCode(code int) bool
IsCode returns true when this get endpoint Id healthz not found response a status code equal to that given
func (*GetEndpointIDHealthzNotFound) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDHealthzNotFound) IsRedirect() bool
IsRedirect returns true when this get endpoint Id healthz not found response has a 3xx status code
func (*GetEndpointIDHealthzNotFound) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDHealthzNotFound) IsServerError() bool
IsServerError returns true when this get endpoint Id healthz not found response has a 5xx status code
func (*GetEndpointIDHealthzNotFound) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDHealthzNotFound) IsSuccess() bool
IsSuccess returns true when this get endpoint Id healthz not found response has a 2xx status code
func (*GetEndpointIDHealthzNotFound) String ¶ added in v1.14.0
func (o *GetEndpointIDHealthzNotFound) String() string
type GetEndpointIDHealthzOK ¶ added in v1.5.0
type GetEndpointIDHealthzOK struct {
Payload *models.EndpointHealth
}
GetEndpointIDHealthzOK describes a response with status code 200, with default header values.
Success
func NewGetEndpointIDHealthzOK ¶ added in v1.5.0
func NewGetEndpointIDHealthzOK() *GetEndpointIDHealthzOK
NewGetEndpointIDHealthzOK creates a GetEndpointIDHealthzOK with default headers values
func (*GetEndpointIDHealthzOK) Error ¶ added in v1.5.0
func (o *GetEndpointIDHealthzOK) Error() string
func (*GetEndpointIDHealthzOK) GetPayload ¶ added in v1.14.0
func (o *GetEndpointIDHealthzOK) GetPayload() *models.EndpointHealth
func (*GetEndpointIDHealthzOK) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDHealthzOK) IsClientError() bool
IsClientError returns true when this get endpoint Id healthz o k response has a 4xx status code
func (*GetEndpointIDHealthzOK) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDHealthzOK) IsCode(code int) bool
IsCode returns true when this get endpoint Id healthz o k response a status code equal to that given
func (*GetEndpointIDHealthzOK) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDHealthzOK) IsRedirect() bool
IsRedirect returns true when this get endpoint Id healthz o k response has a 3xx status code
func (*GetEndpointIDHealthzOK) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDHealthzOK) IsServerError() bool
IsServerError returns true when this get endpoint Id healthz o k response has a 5xx status code
func (*GetEndpointIDHealthzOK) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDHealthzOK) IsSuccess() bool
IsSuccess returns true when this get endpoint Id healthz o k response has a 2xx status code
func (*GetEndpointIDHealthzOK) String ¶ added in v1.14.0
func (o *GetEndpointIDHealthzOK) String() string
type GetEndpointIDHealthzParams ¶ added in v1.5.0
type GetEndpointIDHealthzParams struct { /* ID. String describing an endpoint with the format “[prefix:]id“. If no prefix is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444 */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEndpointIDHealthzParams contains all the parameters to send to the API endpoint
for the get endpoint ID healthz operation. Typically these are written to a http.Request.
func NewGetEndpointIDHealthzParams ¶ added in v1.5.0
func NewGetEndpointIDHealthzParams() *GetEndpointIDHealthzParams
NewGetEndpointIDHealthzParams creates a new GetEndpointIDHealthzParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetEndpointIDHealthzParamsWithContext ¶ added in v1.5.0
func NewGetEndpointIDHealthzParamsWithContext(ctx context.Context) *GetEndpointIDHealthzParams
NewGetEndpointIDHealthzParamsWithContext creates a new GetEndpointIDHealthzParams object with the ability to set a context for a request.
func NewGetEndpointIDHealthzParamsWithHTTPClient ¶ added in v1.5.0
func NewGetEndpointIDHealthzParamsWithHTTPClient(client *http.Client) *GetEndpointIDHealthzParams
NewGetEndpointIDHealthzParamsWithHTTPClient creates a new GetEndpointIDHealthzParams object with the ability to set a custom HTTPClient for a request.
func NewGetEndpointIDHealthzParamsWithTimeout ¶ added in v1.5.0
func NewGetEndpointIDHealthzParamsWithTimeout(timeout time.Duration) *GetEndpointIDHealthzParams
NewGetEndpointIDHealthzParamsWithTimeout creates a new GetEndpointIDHealthzParams object with the ability to set a timeout on a request.
func (*GetEndpointIDHealthzParams) SetContext ¶ added in v1.5.0
func (o *GetEndpointIDHealthzParams) SetContext(ctx context.Context)
SetContext adds the context to the get endpoint ID healthz params
func (*GetEndpointIDHealthzParams) SetDefaults ¶ added in v1.14.0
func (o *GetEndpointIDHealthzParams) SetDefaults()
SetDefaults hydrates default values in the get endpoint ID healthz params (not the query body).
All values with no default are reset to their zero value.
func (*GetEndpointIDHealthzParams) SetHTTPClient ¶ added in v1.5.0
func (o *GetEndpointIDHealthzParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get endpoint ID healthz params
func (*GetEndpointIDHealthzParams) SetID ¶ added in v1.5.0
func (o *GetEndpointIDHealthzParams) SetID(id string)
SetID adds the id to the get endpoint ID healthz params
func (*GetEndpointIDHealthzParams) SetTimeout ¶ added in v1.5.0
func (o *GetEndpointIDHealthzParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get endpoint ID healthz params
func (*GetEndpointIDHealthzParams) WithContext ¶ added in v1.5.0
func (o *GetEndpointIDHealthzParams) WithContext(ctx context.Context) *GetEndpointIDHealthzParams
WithContext adds the context to the get endpoint ID healthz params
func (*GetEndpointIDHealthzParams) WithDefaults ¶ added in v1.14.0
func (o *GetEndpointIDHealthzParams) WithDefaults() *GetEndpointIDHealthzParams
WithDefaults hydrates default values in the get endpoint ID healthz params (not the query body).
All values with no default are reset to their zero value.
func (*GetEndpointIDHealthzParams) WithHTTPClient ¶ added in v1.5.0
func (o *GetEndpointIDHealthzParams) WithHTTPClient(client *http.Client) *GetEndpointIDHealthzParams
WithHTTPClient adds the HTTPClient to the get endpoint ID healthz params
func (*GetEndpointIDHealthzParams) WithID ¶ added in v1.5.0
func (o *GetEndpointIDHealthzParams) WithID(id string) *GetEndpointIDHealthzParams
WithID adds the id to the get endpoint ID healthz params
func (*GetEndpointIDHealthzParams) WithTimeout ¶ added in v1.5.0
func (o *GetEndpointIDHealthzParams) WithTimeout(timeout time.Duration) *GetEndpointIDHealthzParams
WithTimeout adds the timeout to the get endpoint ID healthz params
func (*GetEndpointIDHealthzParams) WriteToRequest ¶ added in v1.5.0
func (o *GetEndpointIDHealthzParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEndpointIDHealthzReader ¶ added in v1.5.0
type GetEndpointIDHealthzReader struct {
// contains filtered or unexported fields
}
GetEndpointIDHealthzReader is a Reader for the GetEndpointIDHealthz structure.
func (*GetEndpointIDHealthzReader) ReadResponse ¶ added in v1.5.0
func (o *GetEndpointIDHealthzReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEndpointIDHealthzTooManyRequests ¶ added in v1.14.0
type GetEndpointIDHealthzTooManyRequests struct { }
GetEndpointIDHealthzTooManyRequests describes a response with status code 429, with default header values.
Rate-limiting too many requests in the given time frame
func NewGetEndpointIDHealthzTooManyRequests ¶ added in v1.14.0
func NewGetEndpointIDHealthzTooManyRequests() *GetEndpointIDHealthzTooManyRequests
NewGetEndpointIDHealthzTooManyRequests creates a GetEndpointIDHealthzTooManyRequests with default headers values
func (*GetEndpointIDHealthzTooManyRequests) Error ¶ added in v1.14.0
func (o *GetEndpointIDHealthzTooManyRequests) Error() string
func (*GetEndpointIDHealthzTooManyRequests) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDHealthzTooManyRequests) IsClientError() bool
IsClientError returns true when this get endpoint Id healthz too many requests response has a 4xx status code
func (*GetEndpointIDHealthzTooManyRequests) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDHealthzTooManyRequests) IsCode(code int) bool
IsCode returns true when this get endpoint Id healthz too many requests response a status code equal to that given
func (*GetEndpointIDHealthzTooManyRequests) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDHealthzTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get endpoint Id healthz too many requests response has a 3xx status code
func (*GetEndpointIDHealthzTooManyRequests) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDHealthzTooManyRequests) IsServerError() bool
IsServerError returns true when this get endpoint Id healthz too many requests response has a 5xx status code
func (*GetEndpointIDHealthzTooManyRequests) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDHealthzTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get endpoint Id healthz too many requests response has a 2xx status code
func (*GetEndpointIDHealthzTooManyRequests) String ¶ added in v1.14.0
func (o *GetEndpointIDHealthzTooManyRequests) String() string
type GetEndpointIDInvalid ¶
GetEndpointIDInvalid describes a response with status code 400, 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
func (*GetEndpointIDInvalid) GetPayload ¶ added in v1.14.0
func (o *GetEndpointIDInvalid) GetPayload() models.Error
func (*GetEndpointIDInvalid) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDInvalid) IsClientError() bool
IsClientError returns true when this get endpoint Id invalid response has a 4xx status code
func (*GetEndpointIDInvalid) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDInvalid) IsCode(code int) bool
IsCode returns true when this get endpoint Id invalid response a status code equal to that given
func (*GetEndpointIDInvalid) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDInvalid) IsRedirect() bool
IsRedirect returns true when this get endpoint Id invalid response has a 3xx status code
func (*GetEndpointIDInvalid) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDInvalid) IsServerError() bool
IsServerError returns true when this get endpoint Id invalid response has a 5xx status code
func (*GetEndpointIDInvalid) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDInvalid) IsSuccess() bool
IsSuccess returns true when this get endpoint Id invalid response has a 2xx status code
func (*GetEndpointIDInvalid) String ¶ added in v1.14.0
func (o *GetEndpointIDInvalid) String() string
type GetEndpointIDLabelsNotFound ¶
type GetEndpointIDLabelsNotFound struct { }
GetEndpointIDLabelsNotFound describes a response with status code 404, 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
func (*GetEndpointIDLabelsNotFound) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDLabelsNotFound) IsClientError() bool
IsClientError returns true when this get endpoint Id labels not found response has a 4xx status code
func (*GetEndpointIDLabelsNotFound) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDLabelsNotFound) IsCode(code int) bool
IsCode returns true when this get endpoint Id labels not found response a status code equal to that given
func (*GetEndpointIDLabelsNotFound) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDLabelsNotFound) IsRedirect() bool
IsRedirect returns true when this get endpoint Id labels not found response has a 3xx status code
func (*GetEndpointIDLabelsNotFound) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDLabelsNotFound) IsServerError() bool
IsServerError returns true when this get endpoint Id labels not found response has a 5xx status code
func (*GetEndpointIDLabelsNotFound) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDLabelsNotFound) IsSuccess() bool
IsSuccess returns true when this get endpoint Id labels not found response has a 2xx status code
func (*GetEndpointIDLabelsNotFound) String ¶ added in v1.14.0
func (o *GetEndpointIDLabelsNotFound) String() string
type GetEndpointIDLabelsOK ¶
type GetEndpointIDLabelsOK struct {
Payload *models.LabelConfiguration
}
GetEndpointIDLabelsOK describes a response with status code 200, 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
func (*GetEndpointIDLabelsOK) GetPayload ¶ added in v1.14.0
func (o *GetEndpointIDLabelsOK) GetPayload() *models.LabelConfiguration
func (*GetEndpointIDLabelsOK) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDLabelsOK) IsClientError() bool
IsClientError returns true when this get endpoint Id labels o k response has a 4xx status code
func (*GetEndpointIDLabelsOK) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDLabelsOK) IsCode(code int) bool
IsCode returns true when this get endpoint Id labels o k response a status code equal to that given
func (*GetEndpointIDLabelsOK) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDLabelsOK) IsRedirect() bool
IsRedirect returns true when this get endpoint Id labels o k response has a 3xx status code
func (*GetEndpointIDLabelsOK) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDLabelsOK) IsServerError() bool
IsServerError returns true when this get endpoint Id labels o k response has a 5xx status code
func (*GetEndpointIDLabelsOK) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDLabelsOK) IsSuccess() bool
IsSuccess returns true when this get endpoint Id labels o k response has a 2xx status code
func (*GetEndpointIDLabelsOK) String ¶ added in v1.14.0
func (o *GetEndpointIDLabelsOK) String() string
type GetEndpointIDLabelsParams ¶
type GetEndpointIDLabelsParams struct { /* ID. String describing an endpoint with the format “[prefix:]id“. If no prefix is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetEndpointIDLabelsParamsWithContext ¶
func NewGetEndpointIDLabelsParamsWithContext(ctx context.Context) *GetEndpointIDLabelsParams
NewGetEndpointIDLabelsParamsWithContext creates a new GetEndpointIDLabelsParams object with 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 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 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) SetDefaults ¶ added in v1.14.0
func (o *GetEndpointIDLabelsParams) SetDefaults()
SetDefaults hydrates default values in the get endpoint ID labels params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.14.0
func (o *GetEndpointIDLabelsParams) WithDefaults() *GetEndpointIDLabelsParams
WithDefaults hydrates default values in the get endpoint ID labels params (not the query body).
All values with no default are reset to their zero value.
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 GetEndpointIDLabelsTooManyRequests ¶ added in v1.14.0
type GetEndpointIDLabelsTooManyRequests struct { }
GetEndpointIDLabelsTooManyRequests describes a response with status code 429, with default header values.
Rate-limiting too many requests in the given time frame
func NewGetEndpointIDLabelsTooManyRequests ¶ added in v1.14.0
func NewGetEndpointIDLabelsTooManyRequests() *GetEndpointIDLabelsTooManyRequests
NewGetEndpointIDLabelsTooManyRequests creates a GetEndpointIDLabelsTooManyRequests with default headers values
func (*GetEndpointIDLabelsTooManyRequests) Error ¶ added in v1.14.0
func (o *GetEndpointIDLabelsTooManyRequests) Error() string
func (*GetEndpointIDLabelsTooManyRequests) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDLabelsTooManyRequests) IsClientError() bool
IsClientError returns true when this get endpoint Id labels too many requests response has a 4xx status code
func (*GetEndpointIDLabelsTooManyRequests) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDLabelsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get endpoint Id labels too many requests response a status code equal to that given
func (*GetEndpointIDLabelsTooManyRequests) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDLabelsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get endpoint Id labels too many requests response has a 3xx status code
func (*GetEndpointIDLabelsTooManyRequests) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDLabelsTooManyRequests) IsServerError() bool
IsServerError returns true when this get endpoint Id labels too many requests response has a 5xx status code
func (*GetEndpointIDLabelsTooManyRequests) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDLabelsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get endpoint Id labels too many requests response has a 2xx status code
func (*GetEndpointIDLabelsTooManyRequests) String ¶ added in v1.14.0
func (o *GetEndpointIDLabelsTooManyRequests) String() string
type GetEndpointIDLogInvalid ¶ added in v1.5.0
type GetEndpointIDLogInvalid struct { }
GetEndpointIDLogInvalid describes a response with status code 400, with default header values.
Invalid identity provided
func NewGetEndpointIDLogInvalid ¶ added in v1.5.0
func NewGetEndpointIDLogInvalid() *GetEndpointIDLogInvalid
NewGetEndpointIDLogInvalid creates a GetEndpointIDLogInvalid with default headers values
func (*GetEndpointIDLogInvalid) Error ¶ added in v1.5.0
func (o *GetEndpointIDLogInvalid) Error() string
func (*GetEndpointIDLogInvalid) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDLogInvalid) IsClientError() bool
IsClientError returns true when this get endpoint Id log invalid response has a 4xx status code
func (*GetEndpointIDLogInvalid) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDLogInvalid) IsCode(code int) bool
IsCode returns true when this get endpoint Id log invalid response a status code equal to that given
func (*GetEndpointIDLogInvalid) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDLogInvalid) IsRedirect() bool
IsRedirect returns true when this get endpoint Id log invalid response has a 3xx status code
func (*GetEndpointIDLogInvalid) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDLogInvalid) IsServerError() bool
IsServerError returns true when this get endpoint Id log invalid response has a 5xx status code
func (*GetEndpointIDLogInvalid) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDLogInvalid) IsSuccess() bool
IsSuccess returns true when this get endpoint Id log invalid response has a 2xx status code
func (*GetEndpointIDLogInvalid) String ¶ added in v1.14.0
func (o *GetEndpointIDLogInvalid) String() string
type GetEndpointIDLogNotFound ¶ added in v1.5.0
type GetEndpointIDLogNotFound struct { }
GetEndpointIDLogNotFound describes a response with status code 404, with default header values.
Endpoint not found
func NewGetEndpointIDLogNotFound ¶ added in v1.5.0
func NewGetEndpointIDLogNotFound() *GetEndpointIDLogNotFound
NewGetEndpointIDLogNotFound creates a GetEndpointIDLogNotFound with default headers values
func (*GetEndpointIDLogNotFound) Error ¶ added in v1.5.0
func (o *GetEndpointIDLogNotFound) Error() string
func (*GetEndpointIDLogNotFound) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDLogNotFound) IsClientError() bool
IsClientError returns true when this get endpoint Id log not found response has a 4xx status code
func (*GetEndpointIDLogNotFound) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDLogNotFound) IsCode(code int) bool
IsCode returns true when this get endpoint Id log not found response a status code equal to that given
func (*GetEndpointIDLogNotFound) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDLogNotFound) IsRedirect() bool
IsRedirect returns true when this get endpoint Id log not found response has a 3xx status code
func (*GetEndpointIDLogNotFound) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDLogNotFound) IsServerError() bool
IsServerError returns true when this get endpoint Id log not found response has a 5xx status code
func (*GetEndpointIDLogNotFound) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDLogNotFound) IsSuccess() bool
IsSuccess returns true when this get endpoint Id log not found response has a 2xx status code
func (*GetEndpointIDLogNotFound) String ¶ added in v1.14.0
func (o *GetEndpointIDLogNotFound) String() string
type GetEndpointIDLogOK ¶ added in v1.5.0
type GetEndpointIDLogOK struct {
Payload models.EndpointStatusLog
}
GetEndpointIDLogOK describes a response with status code 200, with default header values.
Success
func NewGetEndpointIDLogOK ¶ added in v1.5.0
func NewGetEndpointIDLogOK() *GetEndpointIDLogOK
NewGetEndpointIDLogOK creates a GetEndpointIDLogOK with default headers values
func (*GetEndpointIDLogOK) Error ¶ added in v1.5.0
func (o *GetEndpointIDLogOK) Error() string
func (*GetEndpointIDLogOK) GetPayload ¶ added in v1.14.0
func (o *GetEndpointIDLogOK) GetPayload() models.EndpointStatusLog
func (*GetEndpointIDLogOK) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDLogOK) IsClientError() bool
IsClientError returns true when this get endpoint Id log o k response has a 4xx status code
func (*GetEndpointIDLogOK) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDLogOK) IsCode(code int) bool
IsCode returns true when this get endpoint Id log o k response a status code equal to that given
func (*GetEndpointIDLogOK) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDLogOK) IsRedirect() bool
IsRedirect returns true when this get endpoint Id log o k response has a 3xx status code
func (*GetEndpointIDLogOK) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDLogOK) IsServerError() bool
IsServerError returns true when this get endpoint Id log o k response has a 5xx status code
func (*GetEndpointIDLogOK) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDLogOK) IsSuccess() bool
IsSuccess returns true when this get endpoint Id log o k response has a 2xx status code
func (*GetEndpointIDLogOK) String ¶ added in v1.14.0
func (o *GetEndpointIDLogOK) String() string
type GetEndpointIDLogParams ¶ added in v1.5.0
type GetEndpointIDLogParams struct { /* ID. String describing an endpoint with the format “[prefix:]id“. If no prefix is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444 */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEndpointIDLogParams contains all the parameters to send to the API endpoint
for the get endpoint ID log operation. Typically these are written to a http.Request.
func NewGetEndpointIDLogParams ¶ added in v1.5.0
func NewGetEndpointIDLogParams() *GetEndpointIDLogParams
NewGetEndpointIDLogParams creates a new GetEndpointIDLogParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetEndpointIDLogParamsWithContext ¶ added in v1.5.0
func NewGetEndpointIDLogParamsWithContext(ctx context.Context) *GetEndpointIDLogParams
NewGetEndpointIDLogParamsWithContext creates a new GetEndpointIDLogParams object with the ability to set a context for a request.
func NewGetEndpointIDLogParamsWithHTTPClient ¶ added in v1.5.0
func NewGetEndpointIDLogParamsWithHTTPClient(client *http.Client) *GetEndpointIDLogParams
NewGetEndpointIDLogParamsWithHTTPClient creates a new GetEndpointIDLogParams object with the ability to set a custom HTTPClient for a request.
func NewGetEndpointIDLogParamsWithTimeout ¶ added in v1.5.0
func NewGetEndpointIDLogParamsWithTimeout(timeout time.Duration) *GetEndpointIDLogParams
NewGetEndpointIDLogParamsWithTimeout creates a new GetEndpointIDLogParams object with the ability to set a timeout on a request.
func (*GetEndpointIDLogParams) SetContext ¶ added in v1.5.0
func (o *GetEndpointIDLogParams) SetContext(ctx context.Context)
SetContext adds the context to the get endpoint ID log params
func (*GetEndpointIDLogParams) SetDefaults ¶ added in v1.14.0
func (o *GetEndpointIDLogParams) SetDefaults()
SetDefaults hydrates default values in the get endpoint ID log params (not the query body).
All values with no default are reset to their zero value.
func (*GetEndpointIDLogParams) SetHTTPClient ¶ added in v1.5.0
func (o *GetEndpointIDLogParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get endpoint ID log params
func (*GetEndpointIDLogParams) SetID ¶ added in v1.5.0
func (o *GetEndpointIDLogParams) SetID(id string)
SetID adds the id to the get endpoint ID log params
func (*GetEndpointIDLogParams) SetTimeout ¶ added in v1.5.0
func (o *GetEndpointIDLogParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get endpoint ID log params
func (*GetEndpointIDLogParams) WithContext ¶ added in v1.5.0
func (o *GetEndpointIDLogParams) WithContext(ctx context.Context) *GetEndpointIDLogParams
WithContext adds the context to the get endpoint ID log params
func (*GetEndpointIDLogParams) WithDefaults ¶ added in v1.14.0
func (o *GetEndpointIDLogParams) WithDefaults() *GetEndpointIDLogParams
WithDefaults hydrates default values in the get endpoint ID log params (not the query body).
All values with no default are reset to their zero value.
func (*GetEndpointIDLogParams) WithHTTPClient ¶ added in v1.5.0
func (o *GetEndpointIDLogParams) WithHTTPClient(client *http.Client) *GetEndpointIDLogParams
WithHTTPClient adds the HTTPClient to the get endpoint ID log params
func (*GetEndpointIDLogParams) WithID ¶ added in v1.5.0
func (o *GetEndpointIDLogParams) WithID(id string) *GetEndpointIDLogParams
WithID adds the id to the get endpoint ID log params
func (*GetEndpointIDLogParams) WithTimeout ¶ added in v1.5.0
func (o *GetEndpointIDLogParams) WithTimeout(timeout time.Duration) *GetEndpointIDLogParams
WithTimeout adds the timeout to the get endpoint ID log params
func (*GetEndpointIDLogParams) WriteToRequest ¶ added in v1.5.0
func (o *GetEndpointIDLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEndpointIDLogReader ¶ added in v1.5.0
type GetEndpointIDLogReader struct {
// contains filtered or unexported fields
}
GetEndpointIDLogReader is a Reader for the GetEndpointIDLog structure.
func (*GetEndpointIDLogReader) ReadResponse ¶ added in v1.5.0
func (o *GetEndpointIDLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEndpointIDLogTooManyRequests ¶ added in v1.14.0
type GetEndpointIDLogTooManyRequests struct { }
GetEndpointIDLogTooManyRequests describes a response with status code 429, with default header values.
Rate-limiting too many requests in the given time frame
func NewGetEndpointIDLogTooManyRequests ¶ added in v1.14.0
func NewGetEndpointIDLogTooManyRequests() *GetEndpointIDLogTooManyRequests
NewGetEndpointIDLogTooManyRequests creates a GetEndpointIDLogTooManyRequests with default headers values
func (*GetEndpointIDLogTooManyRequests) Error ¶ added in v1.14.0
func (o *GetEndpointIDLogTooManyRequests) Error() string
func (*GetEndpointIDLogTooManyRequests) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDLogTooManyRequests) IsClientError() bool
IsClientError returns true when this get endpoint Id log too many requests response has a 4xx status code
func (*GetEndpointIDLogTooManyRequests) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDLogTooManyRequests) IsCode(code int) bool
IsCode returns true when this get endpoint Id log too many requests response a status code equal to that given
func (*GetEndpointIDLogTooManyRequests) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDLogTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get endpoint Id log too many requests response has a 3xx status code
func (*GetEndpointIDLogTooManyRequests) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDLogTooManyRequests) IsServerError() bool
IsServerError returns true when this get endpoint Id log too many requests response has a 5xx status code
func (*GetEndpointIDLogTooManyRequests) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDLogTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get endpoint Id log too many requests response has a 2xx status code
func (*GetEndpointIDLogTooManyRequests) String ¶ added in v1.14.0
func (o *GetEndpointIDLogTooManyRequests) String() string
type GetEndpointIDNotFound ¶
type GetEndpointIDNotFound struct { }
GetEndpointIDNotFound describes a response with status code 404, 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
func (*GetEndpointIDNotFound) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDNotFound) IsClientError() bool
IsClientError returns true when this get endpoint Id not found response has a 4xx status code
func (*GetEndpointIDNotFound) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDNotFound) IsCode(code int) bool
IsCode returns true when this get endpoint Id not found response a status code equal to that given
func (*GetEndpointIDNotFound) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDNotFound) IsRedirect() bool
IsRedirect returns true when this get endpoint Id not found response has a 3xx status code
func (*GetEndpointIDNotFound) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDNotFound) IsServerError() bool
IsServerError returns true when this get endpoint Id not found response has a 5xx status code
func (*GetEndpointIDNotFound) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDNotFound) IsSuccess() bool
IsSuccess returns true when this get endpoint Id not found response has a 2xx status code
func (*GetEndpointIDNotFound) String ¶ added in v1.14.0
func (o *GetEndpointIDNotFound) String() string
type GetEndpointIDOK ¶
GetEndpointIDOK describes a response with status code 200, 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
func (*GetEndpointIDOK) GetPayload ¶ added in v1.14.0
func (o *GetEndpointIDOK) GetPayload() *models.Endpoint
func (*GetEndpointIDOK) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDOK) IsClientError() bool
IsClientError returns true when this get endpoint Id o k response has a 4xx status code
func (*GetEndpointIDOK) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDOK) IsCode(code int) bool
IsCode returns true when this get endpoint Id o k response a status code equal to that given
func (*GetEndpointIDOK) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDOK) IsRedirect() bool
IsRedirect returns true when this get endpoint Id o k response has a 3xx status code
func (*GetEndpointIDOK) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDOK) IsServerError() bool
IsServerError returns true when this get endpoint Id o k response has a 5xx status code
func (*GetEndpointIDOK) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDOK) IsSuccess() bool
IsSuccess returns true when this get endpoint Id o k response has a 2xx status code
func (*GetEndpointIDOK) String ¶ added in v1.14.0
func (o *GetEndpointIDOK) String() string
type GetEndpointIDParams ¶
type GetEndpointIDParams struct { /* ID. String describing an endpoint with the format “[prefix:]id“. If no prefix is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetEndpointIDParamsWithContext ¶
func NewGetEndpointIDParamsWithContext(ctx context.Context) *GetEndpointIDParams
NewGetEndpointIDParamsWithContext creates a new GetEndpointIDParams object with 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 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 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) SetDefaults ¶ added in v1.14.0
func (o *GetEndpointIDParams) SetDefaults()
SetDefaults hydrates default values in the get endpoint ID params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.14.0
func (o *GetEndpointIDParams) WithDefaults() *GetEndpointIDParams
WithDefaults hydrates default values in the get endpoint ID params (not the query body).
All values with no default are reset to their zero value.
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 GetEndpointIDTooManyRequests ¶ added in v1.14.0
type GetEndpointIDTooManyRequests struct { }
GetEndpointIDTooManyRequests describes a response with status code 429, with default header values.
Rate-limiting too many requests in the given time frame
func NewGetEndpointIDTooManyRequests ¶ added in v1.14.0
func NewGetEndpointIDTooManyRequests() *GetEndpointIDTooManyRequests
NewGetEndpointIDTooManyRequests creates a GetEndpointIDTooManyRequests with default headers values
func (*GetEndpointIDTooManyRequests) Error ¶ added in v1.14.0
func (o *GetEndpointIDTooManyRequests) Error() string
func (*GetEndpointIDTooManyRequests) IsClientError ¶ added in v1.14.0
func (o *GetEndpointIDTooManyRequests) IsClientError() bool
IsClientError returns true when this get endpoint Id too many requests response has a 4xx status code
func (*GetEndpointIDTooManyRequests) IsCode ¶ added in v1.14.0
func (o *GetEndpointIDTooManyRequests) IsCode(code int) bool
IsCode returns true when this get endpoint Id too many requests response a status code equal to that given
func (*GetEndpointIDTooManyRequests) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointIDTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get endpoint Id too many requests response has a 3xx status code
func (*GetEndpointIDTooManyRequests) IsServerError ¶ added in v1.14.0
func (o *GetEndpointIDTooManyRequests) IsServerError() bool
IsServerError returns true when this get endpoint Id too many requests response has a 5xx status code
func (*GetEndpointIDTooManyRequests) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointIDTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get endpoint Id too many requests response has a 2xx status code
func (*GetEndpointIDTooManyRequests) String ¶ added in v1.14.0
func (o *GetEndpointIDTooManyRequests) String() string
type GetEndpointNotFound ¶ added in v0.10.0
type GetEndpointNotFound struct { }
GetEndpointNotFound describes a response with status code 404, with default header values.
Endpoints with provided parameters not found
func NewGetEndpointNotFound ¶ added in v0.10.0
func NewGetEndpointNotFound() *GetEndpointNotFound
NewGetEndpointNotFound creates a GetEndpointNotFound with default headers values
func (*GetEndpointNotFound) Error ¶ added in v0.10.0
func (o *GetEndpointNotFound) Error() string
func (*GetEndpointNotFound) IsClientError ¶ added in v1.14.0
func (o *GetEndpointNotFound) IsClientError() bool
IsClientError returns true when this get endpoint not found response has a 4xx status code
func (*GetEndpointNotFound) IsCode ¶ added in v1.14.0
func (o *GetEndpointNotFound) IsCode(code int) bool
IsCode returns true when this get endpoint not found response a status code equal to that given
func (*GetEndpointNotFound) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointNotFound) IsRedirect() bool
IsRedirect returns true when this get endpoint not found response has a 3xx status code
func (*GetEndpointNotFound) IsServerError ¶ added in v1.14.0
func (o *GetEndpointNotFound) IsServerError() bool
IsServerError returns true when this get endpoint not found response has a 5xx status code
func (*GetEndpointNotFound) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointNotFound) IsSuccess() bool
IsSuccess returns true when this get endpoint not found response has a 2xx status code
func (*GetEndpointNotFound) String ¶ added in v1.14.0
func (o *GetEndpointNotFound) String() string
type GetEndpointOK ¶
GetEndpointOK describes a response with status code 200, 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
func (*GetEndpointOK) GetPayload ¶ added in v1.14.0
func (o *GetEndpointOK) GetPayload() []*models.Endpoint
func (*GetEndpointOK) IsClientError ¶ added in v1.14.0
func (o *GetEndpointOK) IsClientError() bool
IsClientError returns true when this get endpoint o k response has a 4xx status code
func (*GetEndpointOK) IsCode ¶ added in v1.14.0
func (o *GetEndpointOK) IsCode(code int) bool
IsCode returns true when this get endpoint o k response a status code equal to that given
func (*GetEndpointOK) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointOK) IsRedirect() bool
IsRedirect returns true when this get endpoint o k response has a 3xx status code
func (*GetEndpointOK) IsServerError ¶ added in v1.14.0
func (o *GetEndpointOK) IsServerError() bool
IsServerError returns true when this get endpoint o k response has a 5xx status code
func (*GetEndpointOK) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointOK) IsSuccess() bool
IsSuccess returns true when this get endpoint o k response has a 2xx status code
func (*GetEndpointOK) String ¶ added in v1.14.0
func (o *GetEndpointOK) String() string
type GetEndpointParams ¶
type GetEndpointParams struct { /* Labels. List of labels */ Labels models.Labels Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEndpointParams contains all the parameters to send to the API endpoint
for the get endpoint operation. Typically these are written to a http.Request.
func NewGetEndpointParams ¶
func NewGetEndpointParams() *GetEndpointParams
NewGetEndpointParams creates a new GetEndpointParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetEndpointParamsWithContext ¶
func NewGetEndpointParamsWithContext(ctx context.Context) *GetEndpointParams
NewGetEndpointParamsWithContext creates a new GetEndpointParams object with 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 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 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) SetDefaults ¶ added in v1.14.0
func (o *GetEndpointParams) SetDefaults()
SetDefaults hydrates default values in the get endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*GetEndpointParams) SetHTTPClient ¶
func (o *GetEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get endpoint params
func (*GetEndpointParams) SetLabels ¶ added in v0.10.0
func (o *GetEndpointParams) SetLabels(labels models.Labels)
SetLabels adds the labels to the get endpoint params
func (*GetEndpointParams) SetTimeout ¶
func (o *GetEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get endpoint params
func (*GetEndpointParams) WithContext ¶
func (o *GetEndpointParams) WithContext(ctx context.Context) *GetEndpointParams
WithContext adds the context to the get endpoint params
func (*GetEndpointParams) WithDefaults ¶ added in v1.14.0
func (o *GetEndpointParams) WithDefaults() *GetEndpointParams
WithDefaults hydrates default values in the get endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*GetEndpointParams) WithHTTPClient ¶
func (o *GetEndpointParams) WithHTTPClient(client *http.Client) *GetEndpointParams
WithHTTPClient adds the HTTPClient to the get endpoint params
func (*GetEndpointParams) WithLabels ¶ added in v0.10.0
func (o *GetEndpointParams) WithLabels(labels models.Labels) *GetEndpointParams
WithLabels adds the labels to the get endpoint params
func (*GetEndpointParams) WithTimeout ¶
func (o *GetEndpointParams) WithTimeout(timeout time.Duration) *GetEndpointParams
WithTimeout adds the timeout to the get endpoint params
func (*GetEndpointParams) WriteToRequest ¶
func (o *GetEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEndpointReader ¶
type GetEndpointReader struct {
// contains filtered or unexported fields
}
GetEndpointReader is a Reader for the GetEndpoint structure.
func (*GetEndpointReader) ReadResponse ¶
func (o *GetEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEndpointTooManyRequests ¶ added in v1.14.0
type GetEndpointTooManyRequests struct { }
GetEndpointTooManyRequests describes a response with status code 429, with default header values.
Rate-limiting too many requests in the given time frame
func NewGetEndpointTooManyRequests ¶ added in v1.14.0
func NewGetEndpointTooManyRequests() *GetEndpointTooManyRequests
NewGetEndpointTooManyRequests creates a GetEndpointTooManyRequests with default headers values
func (*GetEndpointTooManyRequests) Error ¶ added in v1.14.0
func (o *GetEndpointTooManyRequests) Error() string
func (*GetEndpointTooManyRequests) IsClientError ¶ added in v1.14.0
func (o *GetEndpointTooManyRequests) IsClientError() bool
IsClientError returns true when this get endpoint too many requests response has a 4xx status code
func (*GetEndpointTooManyRequests) IsCode ¶ added in v1.14.0
func (o *GetEndpointTooManyRequests) IsCode(code int) bool
IsCode returns true when this get endpoint too many requests response a status code equal to that given
func (*GetEndpointTooManyRequests) IsRedirect ¶ added in v1.14.0
func (o *GetEndpointTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get endpoint too many requests response has a 3xx status code
func (*GetEndpointTooManyRequests) IsServerError ¶ added in v1.14.0
func (o *GetEndpointTooManyRequests) IsServerError() bool
IsServerError returns true when this get endpoint too many requests response has a 5xx status code
func (*GetEndpointTooManyRequests) IsSuccess ¶ added in v1.14.0
func (o *GetEndpointTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get endpoint too many requests response has a 2xx status code
func (*GetEndpointTooManyRequests) String ¶ added in v1.14.0
func (o *GetEndpointTooManyRequests) String() string
type PatchEndpointIDConfigFailed ¶
PatchEndpointIDConfigFailed describes a response with status code 500, 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
func (*PatchEndpointIDConfigFailed) GetPayload ¶ added in v1.14.0
func (o *PatchEndpointIDConfigFailed) GetPayload() models.Error
func (*PatchEndpointIDConfigFailed) IsClientError ¶ added in v1.14.0
func (o *PatchEndpointIDConfigFailed) IsClientError() bool
IsClientError returns true when this patch endpoint Id config failed response has a 4xx status code
func (*PatchEndpointIDConfigFailed) IsCode ¶ added in v1.14.0
func (o *PatchEndpointIDConfigFailed) IsCode(code int) bool
IsCode returns true when this patch endpoint Id config failed response a status code equal to that given
func (*PatchEndpointIDConfigFailed) IsRedirect ¶ added in v1.14.0
func (o *PatchEndpointIDConfigFailed) IsRedirect() bool
IsRedirect returns true when this patch endpoint Id config failed response has a 3xx status code
func (*PatchEndpointIDConfigFailed) IsServerError ¶ added in v1.14.0
func (o *PatchEndpointIDConfigFailed) IsServerError() bool
IsServerError returns true when this patch endpoint Id config failed response has a 5xx status code
func (*PatchEndpointIDConfigFailed) IsSuccess ¶ added in v1.14.0
func (o *PatchEndpointIDConfigFailed) IsSuccess() bool
IsSuccess returns true when this patch endpoint Id config failed response has a 2xx status code
func (*PatchEndpointIDConfigFailed) String ¶ added in v1.14.0
func (o *PatchEndpointIDConfigFailed) String() string
type PatchEndpointIDConfigInvalid ¶
type PatchEndpointIDConfigInvalid struct { }
PatchEndpointIDConfigInvalid describes a response with status code 400, 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
func (*PatchEndpointIDConfigInvalid) IsClientError ¶ added in v1.14.0
func (o *PatchEndpointIDConfigInvalid) IsClientError() bool
IsClientError returns true when this patch endpoint Id config invalid response has a 4xx status code
func (*PatchEndpointIDConfigInvalid) IsCode ¶ added in v1.14.0
func (o *PatchEndpointIDConfigInvalid) IsCode(code int) bool
IsCode returns true when this patch endpoint Id config invalid response a status code equal to that given
func (*PatchEndpointIDConfigInvalid) IsRedirect ¶ added in v1.14.0
func (o *PatchEndpointIDConfigInvalid) IsRedirect() bool
IsRedirect returns true when this patch endpoint Id config invalid response has a 3xx status code
func (*PatchEndpointIDConfigInvalid) IsServerError ¶ added in v1.14.0
func (o *PatchEndpointIDConfigInvalid) IsServerError() bool
IsServerError returns true when this patch endpoint Id config invalid response has a 5xx status code
func (*PatchEndpointIDConfigInvalid) IsSuccess ¶ added in v1.14.0
func (o *PatchEndpointIDConfigInvalid) IsSuccess() bool
IsSuccess returns true when this patch endpoint Id config invalid response has a 2xx status code
func (*PatchEndpointIDConfigInvalid) String ¶ added in v1.14.0
func (o *PatchEndpointIDConfigInvalid) String() string
type PatchEndpointIDConfigNotFound ¶
type PatchEndpointIDConfigNotFound struct { }
PatchEndpointIDConfigNotFound describes a response with status code 404, 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
func (*PatchEndpointIDConfigNotFound) IsClientError ¶ added in v1.14.0
func (o *PatchEndpointIDConfigNotFound) IsClientError() bool
IsClientError returns true when this patch endpoint Id config not found response has a 4xx status code
func (*PatchEndpointIDConfigNotFound) IsCode ¶ added in v1.14.0
func (o *PatchEndpointIDConfigNotFound) IsCode(code int) bool
IsCode returns true when this patch endpoint Id config not found response a status code equal to that given
func (*PatchEndpointIDConfigNotFound) IsRedirect ¶ added in v1.14.0
func (o *PatchEndpointIDConfigNotFound) IsRedirect() bool
IsRedirect returns true when this patch endpoint Id config not found response has a 3xx status code
func (*PatchEndpointIDConfigNotFound) IsServerError ¶ added in v1.14.0
func (o *PatchEndpointIDConfigNotFound) IsServerError() bool
IsServerError returns true when this patch endpoint Id config not found response has a 5xx status code
func (*PatchEndpointIDConfigNotFound) IsSuccess ¶ added in v1.14.0
func (o *PatchEndpointIDConfigNotFound) IsSuccess() bool
IsSuccess returns true when this patch endpoint Id config not found response has a 2xx status code
func (*PatchEndpointIDConfigNotFound) String ¶ added in v1.14.0
func (o *PatchEndpointIDConfigNotFound) String() string
type PatchEndpointIDConfigOK ¶
type PatchEndpointIDConfigOK struct { }
PatchEndpointIDConfigOK describes a response with status code 200, 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
func (*PatchEndpointIDConfigOK) IsClientError ¶ added in v1.14.0
func (o *PatchEndpointIDConfigOK) IsClientError() bool
IsClientError returns true when this patch endpoint Id config o k response has a 4xx status code
func (*PatchEndpointIDConfigOK) IsCode ¶ added in v1.14.0
func (o *PatchEndpointIDConfigOK) IsCode(code int) bool
IsCode returns true when this patch endpoint Id config o k response a status code equal to that given
func (*PatchEndpointIDConfigOK) IsRedirect ¶ added in v1.14.0
func (o *PatchEndpointIDConfigOK) IsRedirect() bool
IsRedirect returns true when this patch endpoint Id config o k response has a 3xx status code
func (*PatchEndpointIDConfigOK) IsServerError ¶ added in v1.14.0
func (o *PatchEndpointIDConfigOK) IsServerError() bool
IsServerError returns true when this patch endpoint Id config o k response has a 5xx status code
func (*PatchEndpointIDConfigOK) IsSuccess ¶ added in v1.14.0
func (o *PatchEndpointIDConfigOK) IsSuccess() bool
IsSuccess returns true when this patch endpoint Id config o k response has a 2xx status code
func (*PatchEndpointIDConfigOK) String ¶ added in v1.14.0
func (o *PatchEndpointIDConfigOK) String() string
type PatchEndpointIDConfigParams ¶
type PatchEndpointIDConfigParams struct { // EndpointConfiguration. EndpointConfiguration *models.EndpointConfigurationSpec /* ID. String describing an endpoint with the format “[prefix:]id“. If no prefix is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchEndpointIDConfigParamsWithContext ¶
func NewPatchEndpointIDConfigParamsWithContext(ctx context.Context) *PatchEndpointIDConfigParams
NewPatchEndpointIDConfigParamsWithContext creates a new PatchEndpointIDConfigParams object with 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 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 ability to set a timeout on a request.
func (*PatchEndpointIDConfigParams) SetContext ¶
func (o *PatchEndpointIDConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the patch endpoint ID config params
func (*PatchEndpointIDConfigParams) SetDefaults ¶ added in v1.14.0
func (o *PatchEndpointIDConfigParams) SetDefaults()
SetDefaults hydrates default values in the patch endpoint ID config params (not the query body).
All values with no default are reset to their zero value.
func (*PatchEndpointIDConfigParams) SetEndpointConfiguration ¶ added in v1.5.0
func (o *PatchEndpointIDConfigParams) SetEndpointConfiguration(endpointConfiguration *models.EndpointConfigurationSpec)
SetEndpointConfiguration adds the endpointConfiguration 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) WithContext ¶
func (o *PatchEndpointIDConfigParams) WithContext(ctx context.Context) *PatchEndpointIDConfigParams
WithContext adds the context to the patch endpoint ID config params
func (*PatchEndpointIDConfigParams) WithDefaults ¶ added in v1.14.0
func (o *PatchEndpointIDConfigParams) WithDefaults() *PatchEndpointIDConfigParams
WithDefaults hydrates default values in the patch endpoint ID config params (not the query body).
All values with no default are reset to their zero value.
func (*PatchEndpointIDConfigParams) WithEndpointConfiguration ¶ added in v1.5.0
func (o *PatchEndpointIDConfigParams) WithEndpointConfiguration(endpointConfiguration *models.EndpointConfigurationSpec) *PatchEndpointIDConfigParams
WithEndpointConfiguration adds the endpointConfiguration 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 PatchEndpointIDConfigTooManyRequests ¶ added in v1.14.0
type PatchEndpointIDConfigTooManyRequests struct { }
PatchEndpointIDConfigTooManyRequests describes a response with status code 429, with default header values.
Rate-limiting too many requests in the given time frame
func NewPatchEndpointIDConfigTooManyRequests ¶ added in v1.14.0
func NewPatchEndpointIDConfigTooManyRequests() *PatchEndpointIDConfigTooManyRequests
NewPatchEndpointIDConfigTooManyRequests creates a PatchEndpointIDConfigTooManyRequests with default headers values
func (*PatchEndpointIDConfigTooManyRequests) Error ¶ added in v1.14.0
func (o *PatchEndpointIDConfigTooManyRequests) Error() string
func (*PatchEndpointIDConfigTooManyRequests) IsClientError ¶ added in v1.14.0
func (o *PatchEndpointIDConfigTooManyRequests) IsClientError() bool
IsClientError returns true when this patch endpoint Id config too many requests response has a 4xx status code
func (*PatchEndpointIDConfigTooManyRequests) IsCode ¶ added in v1.14.0
func (o *PatchEndpointIDConfigTooManyRequests) IsCode(code int) bool
IsCode returns true when this patch endpoint Id config too many requests response a status code equal to that given
func (*PatchEndpointIDConfigTooManyRequests) IsRedirect ¶ added in v1.14.0
func (o *PatchEndpointIDConfigTooManyRequests) IsRedirect() bool
IsRedirect returns true when this patch endpoint Id config too many requests response has a 3xx status code
func (*PatchEndpointIDConfigTooManyRequests) IsServerError ¶ added in v1.14.0
func (o *PatchEndpointIDConfigTooManyRequests) IsServerError() bool
IsServerError returns true when this patch endpoint Id config too many requests response has a 5xx status code
func (*PatchEndpointIDConfigTooManyRequests) IsSuccess ¶ added in v1.14.0
func (o *PatchEndpointIDConfigTooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch endpoint Id config too many requests response has a 2xx status code
func (*PatchEndpointIDConfigTooManyRequests) String ¶ added in v1.14.0
func (o *PatchEndpointIDConfigTooManyRequests) String() string
type PatchEndpointIDFailed ¶
PatchEndpointIDFailed describes a response with status code 500, 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
func (*PatchEndpointIDFailed) GetPayload ¶ added in v1.14.0
func (o *PatchEndpointIDFailed) GetPayload() models.Error
func (*PatchEndpointIDFailed) IsClientError ¶ added in v1.14.0
func (o *PatchEndpointIDFailed) IsClientError() bool
IsClientError returns true when this patch endpoint Id failed response has a 4xx status code
func (*PatchEndpointIDFailed) IsCode ¶ added in v1.14.0
func (o *PatchEndpointIDFailed) IsCode(code int) bool
IsCode returns true when this patch endpoint Id failed response a status code equal to that given
func (*PatchEndpointIDFailed) IsRedirect ¶ added in v1.14.0
func (o *PatchEndpointIDFailed) IsRedirect() bool
IsRedirect returns true when this patch endpoint Id failed response has a 3xx status code
func (*PatchEndpointIDFailed) IsServerError ¶ added in v1.14.0
func (o *PatchEndpointIDFailed) IsServerError() bool
IsServerError returns true when this patch endpoint Id failed response has a 5xx status code
func (*PatchEndpointIDFailed) IsSuccess ¶ added in v1.14.0
func (o *PatchEndpointIDFailed) IsSuccess() bool
IsSuccess returns true when this patch endpoint Id failed response has a 2xx status code
func (*PatchEndpointIDFailed) String ¶ added in v1.14.0
func (o *PatchEndpointIDFailed) String() string
type PatchEndpointIDInvalid ¶
PatchEndpointIDInvalid describes a response with status code 400, 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
func (*PatchEndpointIDInvalid) GetPayload ¶ added in v1.14.0
func (o *PatchEndpointIDInvalid) GetPayload() models.Error
func (*PatchEndpointIDInvalid) IsClientError ¶ added in v1.14.0
func (o *PatchEndpointIDInvalid) IsClientError() bool
IsClientError returns true when this patch endpoint Id invalid response has a 4xx status code
func (*PatchEndpointIDInvalid) IsCode ¶ added in v1.14.0
func (o *PatchEndpointIDInvalid) IsCode(code int) bool
IsCode returns true when this patch endpoint Id invalid response a status code equal to that given
func (*PatchEndpointIDInvalid) IsRedirect ¶ added in v1.14.0
func (o *PatchEndpointIDInvalid) IsRedirect() bool
IsRedirect returns true when this patch endpoint Id invalid response has a 3xx status code
func (*PatchEndpointIDInvalid) IsServerError ¶ added in v1.14.0
func (o *PatchEndpointIDInvalid) IsServerError() bool
IsServerError returns true when this patch endpoint Id invalid response has a 5xx status code
func (*PatchEndpointIDInvalid) IsSuccess ¶ added in v1.14.0
func (o *PatchEndpointIDInvalid) IsSuccess() bool
IsSuccess returns true when this patch endpoint Id invalid response has a 2xx status code
func (*PatchEndpointIDInvalid) String ¶ added in v1.14.0
func (o *PatchEndpointIDInvalid) String() string
type PatchEndpointIDLabelsNotFound ¶ added in v1.5.0
type PatchEndpointIDLabelsNotFound struct { }
PatchEndpointIDLabelsNotFound describes a response with status code 404, with default header values.
Endpoint not found
func NewPatchEndpointIDLabelsNotFound ¶ added in v1.5.0
func NewPatchEndpointIDLabelsNotFound() *PatchEndpointIDLabelsNotFound
NewPatchEndpointIDLabelsNotFound creates a PatchEndpointIDLabelsNotFound with default headers values
func (*PatchEndpointIDLabelsNotFound) Error ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsNotFound) Error() string
func (*PatchEndpointIDLabelsNotFound) IsClientError ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsNotFound) IsClientError() bool
IsClientError returns true when this patch endpoint Id labels not found response has a 4xx status code
func (*PatchEndpointIDLabelsNotFound) IsCode ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsNotFound) IsCode(code int) bool
IsCode returns true when this patch endpoint Id labels not found response a status code equal to that given
func (*PatchEndpointIDLabelsNotFound) IsRedirect ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsNotFound) IsRedirect() bool
IsRedirect returns true when this patch endpoint Id labels not found response has a 3xx status code
func (*PatchEndpointIDLabelsNotFound) IsServerError ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsNotFound) IsServerError() bool
IsServerError returns true when this patch endpoint Id labels not found response has a 5xx status code
func (*PatchEndpointIDLabelsNotFound) IsSuccess ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsNotFound) IsSuccess() bool
IsSuccess returns true when this patch endpoint Id labels not found response has a 2xx status code
func (*PatchEndpointIDLabelsNotFound) String ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsNotFound) String() string
type PatchEndpointIDLabelsOK ¶ added in v1.5.0
type PatchEndpointIDLabelsOK struct { }
PatchEndpointIDLabelsOK describes a response with status code 200, with default header values.
Success
func NewPatchEndpointIDLabelsOK ¶ added in v1.5.0
func NewPatchEndpointIDLabelsOK() *PatchEndpointIDLabelsOK
NewPatchEndpointIDLabelsOK creates a PatchEndpointIDLabelsOK with default headers values
func (*PatchEndpointIDLabelsOK) Error ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsOK) Error() string
func (*PatchEndpointIDLabelsOK) IsClientError ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsOK) IsClientError() bool
IsClientError returns true when this patch endpoint Id labels o k response has a 4xx status code
func (*PatchEndpointIDLabelsOK) IsCode ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsOK) IsCode(code int) bool
IsCode returns true when this patch endpoint Id labels o k response a status code equal to that given
func (*PatchEndpointIDLabelsOK) IsRedirect ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsOK) IsRedirect() bool
IsRedirect returns true when this patch endpoint Id labels o k response has a 3xx status code
func (*PatchEndpointIDLabelsOK) IsServerError ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsOK) IsServerError() bool
IsServerError returns true when this patch endpoint Id labels o k response has a 5xx status code
func (*PatchEndpointIDLabelsOK) IsSuccess ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsOK) IsSuccess() bool
IsSuccess returns true when this patch endpoint Id labels o k response has a 2xx status code
func (*PatchEndpointIDLabelsOK) String ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsOK) String() string
type PatchEndpointIDLabelsParams ¶ added in v1.5.0
type PatchEndpointIDLabelsParams struct { // Configuration. Configuration *models.LabelConfigurationSpec /* ID. String describing an endpoint with the format “[prefix:]id“. If no prefix is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444 */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchEndpointIDLabelsParams contains all the parameters to send to the API endpoint
for the patch endpoint ID labels operation. Typically these are written to a http.Request.
func NewPatchEndpointIDLabelsParams ¶ added in v1.5.0
func NewPatchEndpointIDLabelsParams() *PatchEndpointIDLabelsParams
NewPatchEndpointIDLabelsParams creates a new PatchEndpointIDLabelsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchEndpointIDLabelsParamsWithContext ¶ added in v1.5.0
func NewPatchEndpointIDLabelsParamsWithContext(ctx context.Context) *PatchEndpointIDLabelsParams
NewPatchEndpointIDLabelsParamsWithContext creates a new PatchEndpointIDLabelsParams object with the ability to set a context for a request.
func NewPatchEndpointIDLabelsParamsWithHTTPClient ¶ added in v1.5.0
func NewPatchEndpointIDLabelsParamsWithHTTPClient(client *http.Client) *PatchEndpointIDLabelsParams
NewPatchEndpointIDLabelsParamsWithHTTPClient creates a new PatchEndpointIDLabelsParams object with the ability to set a custom HTTPClient for a request.
func NewPatchEndpointIDLabelsParamsWithTimeout ¶ added in v1.5.0
func NewPatchEndpointIDLabelsParamsWithTimeout(timeout time.Duration) *PatchEndpointIDLabelsParams
NewPatchEndpointIDLabelsParamsWithTimeout creates a new PatchEndpointIDLabelsParams object with the ability to set a timeout on a request.
func (*PatchEndpointIDLabelsParams) SetConfiguration ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsParams) SetConfiguration(configuration *models.LabelConfigurationSpec)
SetConfiguration adds the configuration to the patch endpoint ID labels params
func (*PatchEndpointIDLabelsParams) SetContext ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsParams) SetContext(ctx context.Context)
SetContext adds the context to the patch endpoint ID labels params
func (*PatchEndpointIDLabelsParams) SetDefaults ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsParams) SetDefaults()
SetDefaults hydrates default values in the patch endpoint ID labels params (not the query body).
All values with no default are reset to their zero value.
func (*PatchEndpointIDLabelsParams) SetHTTPClient ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch endpoint ID labels params
func (*PatchEndpointIDLabelsParams) SetID ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsParams) SetID(id string)
SetID adds the id to the patch endpoint ID labels params
func (*PatchEndpointIDLabelsParams) SetTimeout ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch endpoint ID labels params
func (*PatchEndpointIDLabelsParams) WithConfiguration ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsParams) WithConfiguration(configuration *models.LabelConfigurationSpec) *PatchEndpointIDLabelsParams
WithConfiguration adds the configuration to the patch endpoint ID labels params
func (*PatchEndpointIDLabelsParams) WithContext ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsParams) WithContext(ctx context.Context) *PatchEndpointIDLabelsParams
WithContext adds the context to the patch endpoint ID labels params
func (*PatchEndpointIDLabelsParams) WithDefaults ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsParams) WithDefaults() *PatchEndpointIDLabelsParams
WithDefaults hydrates default values in the patch endpoint ID labels params (not the query body).
All values with no default are reset to their zero value.
func (*PatchEndpointIDLabelsParams) WithHTTPClient ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsParams) WithHTTPClient(client *http.Client) *PatchEndpointIDLabelsParams
WithHTTPClient adds the HTTPClient to the patch endpoint ID labels params
func (*PatchEndpointIDLabelsParams) WithID ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsParams) WithID(id string) *PatchEndpointIDLabelsParams
WithID adds the id to the patch endpoint ID labels params
func (*PatchEndpointIDLabelsParams) WithTimeout ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsParams) WithTimeout(timeout time.Duration) *PatchEndpointIDLabelsParams
WithTimeout adds the timeout to the patch endpoint ID labels params
func (*PatchEndpointIDLabelsParams) WriteToRequest ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchEndpointIDLabelsReader ¶ added in v1.5.0
type PatchEndpointIDLabelsReader struct {
// contains filtered or unexported fields
}
PatchEndpointIDLabelsReader is a Reader for the PatchEndpointIDLabels structure.
func (*PatchEndpointIDLabelsReader) ReadResponse ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchEndpointIDLabelsTooManyRequests ¶ added in v1.14.0
type PatchEndpointIDLabelsTooManyRequests struct { }
PatchEndpointIDLabelsTooManyRequests describes a response with status code 429, with default header values.
Rate-limiting too many requests in the given time frame
func NewPatchEndpointIDLabelsTooManyRequests ¶ added in v1.14.0
func NewPatchEndpointIDLabelsTooManyRequests() *PatchEndpointIDLabelsTooManyRequests
NewPatchEndpointIDLabelsTooManyRequests creates a PatchEndpointIDLabelsTooManyRequests with default headers values
func (*PatchEndpointIDLabelsTooManyRequests) Error ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsTooManyRequests) Error() string
func (*PatchEndpointIDLabelsTooManyRequests) IsClientError ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsTooManyRequests) IsClientError() bool
IsClientError returns true when this patch endpoint Id labels too many requests response has a 4xx status code
func (*PatchEndpointIDLabelsTooManyRequests) IsCode ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsTooManyRequests) IsCode(code int) bool
IsCode returns true when this patch endpoint Id labels too many requests response a status code equal to that given
func (*PatchEndpointIDLabelsTooManyRequests) IsRedirect ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this patch endpoint Id labels too many requests response has a 3xx status code
func (*PatchEndpointIDLabelsTooManyRequests) IsServerError ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsTooManyRequests) IsServerError() bool
IsServerError returns true when this patch endpoint Id labels too many requests response has a 5xx status code
func (*PatchEndpointIDLabelsTooManyRequests) IsSuccess ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch endpoint Id labels too many requests response has a 2xx status code
func (*PatchEndpointIDLabelsTooManyRequests) String ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsTooManyRequests) String() string
type PatchEndpointIDLabelsUpdateFailed ¶ added in v1.5.0
PatchEndpointIDLabelsUpdateFailed describes a response with status code 500, with default header values.
Error while updating labels
func NewPatchEndpointIDLabelsUpdateFailed ¶ added in v1.5.0
func NewPatchEndpointIDLabelsUpdateFailed() *PatchEndpointIDLabelsUpdateFailed
NewPatchEndpointIDLabelsUpdateFailed creates a PatchEndpointIDLabelsUpdateFailed with default headers values
func (*PatchEndpointIDLabelsUpdateFailed) Error ¶ added in v1.5.0
func (o *PatchEndpointIDLabelsUpdateFailed) Error() string
func (*PatchEndpointIDLabelsUpdateFailed) GetPayload ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsUpdateFailed) GetPayload() models.Error
func (*PatchEndpointIDLabelsUpdateFailed) IsClientError ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsUpdateFailed) IsClientError() bool
IsClientError returns true when this patch endpoint Id labels update failed response has a 4xx status code
func (*PatchEndpointIDLabelsUpdateFailed) IsCode ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsUpdateFailed) IsCode(code int) bool
IsCode returns true when this patch endpoint Id labels update failed response a status code equal to that given
func (*PatchEndpointIDLabelsUpdateFailed) IsRedirect ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsUpdateFailed) IsRedirect() bool
IsRedirect returns true when this patch endpoint Id labels update failed response has a 3xx status code
func (*PatchEndpointIDLabelsUpdateFailed) IsServerError ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsUpdateFailed) IsServerError() bool
IsServerError returns true when this patch endpoint Id labels update failed response has a 5xx status code
func (*PatchEndpointIDLabelsUpdateFailed) IsSuccess ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsUpdateFailed) IsSuccess() bool
IsSuccess returns true when this patch endpoint Id labels update failed response has a 2xx status code
func (*PatchEndpointIDLabelsUpdateFailed) String ¶ added in v1.14.0
func (o *PatchEndpointIDLabelsUpdateFailed) String() string
type PatchEndpointIDNotFound ¶
type PatchEndpointIDNotFound struct { }
PatchEndpointIDNotFound describes a response with status code 404, 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
func (*PatchEndpointIDNotFound) IsClientError ¶ added in v1.14.0
func (o *PatchEndpointIDNotFound) IsClientError() bool
IsClientError returns true when this patch endpoint Id not found response has a 4xx status code
func (*PatchEndpointIDNotFound) IsCode ¶ added in v1.14.0
func (o *PatchEndpointIDNotFound) IsCode(code int) bool
IsCode returns true when this patch endpoint Id not found response a status code equal to that given
func (*PatchEndpointIDNotFound) IsRedirect ¶ added in v1.14.0
func (o *PatchEndpointIDNotFound) IsRedirect() bool
IsRedirect returns true when this patch endpoint Id not found response has a 3xx status code
func (*PatchEndpointIDNotFound) IsServerError ¶ added in v1.14.0
func (o *PatchEndpointIDNotFound) IsServerError() bool
IsServerError returns true when this patch endpoint Id not found response has a 5xx status code
func (*PatchEndpointIDNotFound) IsSuccess ¶ added in v1.14.0
func (o *PatchEndpointIDNotFound) IsSuccess() bool
IsSuccess returns true when this patch endpoint Id not found response has a 2xx status code
func (*PatchEndpointIDNotFound) String ¶ added in v1.14.0
func (o *PatchEndpointIDNotFound) String() string
type PatchEndpointIDOK ¶
type PatchEndpointIDOK struct { }
PatchEndpointIDOK describes a response with status code 200, 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
func (*PatchEndpointIDOK) IsClientError ¶ added in v1.14.0
func (o *PatchEndpointIDOK) IsClientError() bool
IsClientError returns true when this patch endpoint Id o k response has a 4xx status code
func (*PatchEndpointIDOK) IsCode ¶ added in v1.14.0
func (o *PatchEndpointIDOK) IsCode(code int) bool
IsCode returns true when this patch endpoint Id o k response a status code equal to that given
func (*PatchEndpointIDOK) IsRedirect ¶ added in v1.14.0
func (o *PatchEndpointIDOK) IsRedirect() bool
IsRedirect returns true when this patch endpoint Id o k response has a 3xx status code
func (*PatchEndpointIDOK) IsServerError ¶ added in v1.14.0
func (o *PatchEndpointIDOK) IsServerError() bool
IsServerError returns true when this patch endpoint Id o k response has a 5xx status code
func (*PatchEndpointIDOK) IsSuccess ¶ added in v1.14.0
func (o *PatchEndpointIDOK) IsSuccess() bool
IsSuccess returns true when this patch endpoint Id o k response has a 2xx status code
func (*PatchEndpointIDOK) String ¶ added in v1.14.0
func (o *PatchEndpointIDOK) String() string
type PatchEndpointIDParams ¶
type PatchEndpointIDParams struct { // Endpoint. Endpoint *models.EndpointChangeRequest /* ID. String describing an endpoint with the format “[prefix:]id“. If no prefix is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchEndpointIDParamsWithContext ¶
func NewPatchEndpointIDParamsWithContext(ctx context.Context) *PatchEndpointIDParams
NewPatchEndpointIDParamsWithContext creates a new PatchEndpointIDParams object with 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 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 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) SetDefaults ¶ added in v1.14.0
func (o *PatchEndpointIDParams) SetDefaults()
SetDefaults hydrates default values in the patch endpoint ID params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.14.0
func (o *PatchEndpointIDParams) WithDefaults() *PatchEndpointIDParams
WithDefaults hydrates default values in the patch endpoint ID params (not the query body).
All values with no default are reset to their zero value.
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 PatchEndpointIDTooManyRequests ¶ added in v1.14.0
type PatchEndpointIDTooManyRequests struct { }
PatchEndpointIDTooManyRequests describes a response with status code 429, with default header values.
Rate-limiting too many requests in the given time frame
func NewPatchEndpointIDTooManyRequests ¶ added in v1.14.0
func NewPatchEndpointIDTooManyRequests() *PatchEndpointIDTooManyRequests
NewPatchEndpointIDTooManyRequests creates a PatchEndpointIDTooManyRequests with default headers values
func (*PatchEndpointIDTooManyRequests) Error ¶ added in v1.14.0
func (o *PatchEndpointIDTooManyRequests) Error() string
func (*PatchEndpointIDTooManyRequests) IsClientError ¶ added in v1.14.0
func (o *PatchEndpointIDTooManyRequests) IsClientError() bool
IsClientError returns true when this patch endpoint Id too many requests response has a 4xx status code
func (*PatchEndpointIDTooManyRequests) IsCode ¶ added in v1.14.0
func (o *PatchEndpointIDTooManyRequests) IsCode(code int) bool
IsCode returns true when this patch endpoint Id too many requests response a status code equal to that given
func (*PatchEndpointIDTooManyRequests) IsRedirect ¶ added in v1.14.0
func (o *PatchEndpointIDTooManyRequests) IsRedirect() bool
IsRedirect returns true when this patch endpoint Id too many requests response has a 3xx status code
func (*PatchEndpointIDTooManyRequests) IsServerError ¶ added in v1.14.0
func (o *PatchEndpointIDTooManyRequests) IsServerError() bool
IsServerError returns true when this patch endpoint Id too many requests response has a 5xx status code
func (*PatchEndpointIDTooManyRequests) IsSuccess ¶ added in v1.14.0
func (o *PatchEndpointIDTooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch endpoint Id too many requests response has a 2xx status code
func (*PatchEndpointIDTooManyRequests) String ¶ added in v1.14.0
func (o *PatchEndpointIDTooManyRequests) String() string
type PutEndpointIDCreated ¶
type PutEndpointIDCreated struct { }
PutEndpointIDCreated describes a response with status code 201, 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
func (*PutEndpointIDCreated) IsClientError ¶ added in v1.14.0
func (o *PutEndpointIDCreated) IsClientError() bool
IsClientError returns true when this put endpoint Id created response has a 4xx status code
func (*PutEndpointIDCreated) IsCode ¶ added in v1.14.0
func (o *PutEndpointIDCreated) IsCode(code int) bool
IsCode returns true when this put endpoint Id created response a status code equal to that given
func (*PutEndpointIDCreated) IsRedirect ¶ added in v1.14.0
func (o *PutEndpointIDCreated) IsRedirect() bool
IsRedirect returns true when this put endpoint Id created response has a 3xx status code
func (*PutEndpointIDCreated) IsServerError ¶ added in v1.14.0
func (o *PutEndpointIDCreated) IsServerError() bool
IsServerError returns true when this put endpoint Id created response has a 5xx status code
func (*PutEndpointIDCreated) IsSuccess ¶ added in v1.14.0
func (o *PutEndpointIDCreated) IsSuccess() bool
IsSuccess returns true when this put endpoint Id created response has a 2xx status code
func (*PutEndpointIDCreated) String ¶ added in v1.14.0
func (o *PutEndpointIDCreated) String() string
type PutEndpointIDExists ¶
type PutEndpointIDExists struct { }
PutEndpointIDExists describes a response with status code 409, 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
func (*PutEndpointIDExists) IsClientError ¶ added in v1.14.0
func (o *PutEndpointIDExists) IsClientError() bool
IsClientError returns true when this put endpoint Id exists response has a 4xx status code
func (*PutEndpointIDExists) IsCode ¶ added in v1.14.0
func (o *PutEndpointIDExists) IsCode(code int) bool
IsCode returns true when this put endpoint Id exists response a status code equal to that given
func (*PutEndpointIDExists) IsRedirect ¶ added in v1.14.0
func (o *PutEndpointIDExists) IsRedirect() bool
IsRedirect returns true when this put endpoint Id exists response has a 3xx status code
func (*PutEndpointIDExists) IsServerError ¶ added in v1.14.0
func (o *PutEndpointIDExists) IsServerError() bool
IsServerError returns true when this put endpoint Id exists response has a 5xx status code
func (*PutEndpointIDExists) IsSuccess ¶ added in v1.14.0
func (o *PutEndpointIDExists) IsSuccess() bool
IsSuccess returns true when this put endpoint Id exists response has a 2xx status code
func (*PutEndpointIDExists) String ¶ added in v1.14.0
func (o *PutEndpointIDExists) String() string
type PutEndpointIDFailed ¶
PutEndpointIDFailed describes a response with status code 500, 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
func (*PutEndpointIDFailed) GetPayload ¶ added in v1.14.0
func (o *PutEndpointIDFailed) GetPayload() models.Error
func (*PutEndpointIDFailed) IsClientError ¶ added in v1.14.0
func (o *PutEndpointIDFailed) IsClientError() bool
IsClientError returns true when this put endpoint Id failed response has a 4xx status code
func (*PutEndpointIDFailed) IsCode ¶ added in v1.14.0
func (o *PutEndpointIDFailed) IsCode(code int) bool
IsCode returns true when this put endpoint Id failed response a status code equal to that given
func (*PutEndpointIDFailed) IsRedirect ¶ added in v1.14.0
func (o *PutEndpointIDFailed) IsRedirect() bool
IsRedirect returns true when this put endpoint Id failed response has a 3xx status code
func (*PutEndpointIDFailed) IsServerError ¶ added in v1.14.0
func (o *PutEndpointIDFailed) IsServerError() bool
IsServerError returns true when this put endpoint Id failed response has a 5xx status code
func (*PutEndpointIDFailed) IsSuccess ¶ added in v1.14.0
func (o *PutEndpointIDFailed) IsSuccess() bool
IsSuccess returns true when this put endpoint Id failed response has a 2xx status code
func (*PutEndpointIDFailed) String ¶ added in v1.14.0
func (o *PutEndpointIDFailed) String() string
type PutEndpointIDInvalid ¶
PutEndpointIDInvalid describes a response with status code 400, 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
func (*PutEndpointIDInvalid) GetPayload ¶ added in v1.14.0
func (o *PutEndpointIDInvalid) GetPayload() models.Error
func (*PutEndpointIDInvalid) IsClientError ¶ added in v1.14.0
func (o *PutEndpointIDInvalid) IsClientError() bool
IsClientError returns true when this put endpoint Id invalid response has a 4xx status code
func (*PutEndpointIDInvalid) IsCode ¶ added in v1.14.0
func (o *PutEndpointIDInvalid) IsCode(code int) bool
IsCode returns true when this put endpoint Id invalid response a status code equal to that given
func (*PutEndpointIDInvalid) IsRedirect ¶ added in v1.14.0
func (o *PutEndpointIDInvalid) IsRedirect() bool
IsRedirect returns true when this put endpoint Id invalid response has a 3xx status code
func (*PutEndpointIDInvalid) IsServerError ¶ added in v1.14.0
func (o *PutEndpointIDInvalid) IsServerError() bool
IsServerError returns true when this put endpoint Id invalid response has a 5xx status code
func (*PutEndpointIDInvalid) IsSuccess ¶ added in v1.14.0
func (o *PutEndpointIDInvalid) IsSuccess() bool
IsSuccess returns true when this put endpoint Id invalid response has a 2xx status code
func (*PutEndpointIDInvalid) String ¶ added in v1.14.0
func (o *PutEndpointIDInvalid) String() 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 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutEndpointIDParamsWithContext ¶
func NewPutEndpointIDParamsWithContext(ctx context.Context) *PutEndpointIDParams
NewPutEndpointIDParamsWithContext creates a new PutEndpointIDParams object with 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 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 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) SetDefaults ¶ added in v1.14.0
func (o *PutEndpointIDParams) SetDefaults()
SetDefaults hydrates default values in the put endpoint ID params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.14.0
func (o *PutEndpointIDParams) WithDefaults() *PutEndpointIDParams
WithDefaults hydrates default values in the put endpoint ID params (not the query body).
All values with no default are reset to their zero value.
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.
type PutEndpointIDTooManyRequests ¶ added in v1.14.0
type PutEndpointIDTooManyRequests struct { }
PutEndpointIDTooManyRequests describes a response with status code 429, with default header values.
Rate-limiting too many requests in the given time frame
func NewPutEndpointIDTooManyRequests ¶ added in v1.14.0
func NewPutEndpointIDTooManyRequests() *PutEndpointIDTooManyRequests
NewPutEndpointIDTooManyRequests creates a PutEndpointIDTooManyRequests with default headers values
func (*PutEndpointIDTooManyRequests) Error ¶ added in v1.14.0
func (o *PutEndpointIDTooManyRequests) Error() string
func (*PutEndpointIDTooManyRequests) IsClientError ¶ added in v1.14.0
func (o *PutEndpointIDTooManyRequests) IsClientError() bool
IsClientError returns true when this put endpoint Id too many requests response has a 4xx status code
func (*PutEndpointIDTooManyRequests) IsCode ¶ added in v1.14.0
func (o *PutEndpointIDTooManyRequests) IsCode(code int) bool
IsCode returns true when this put endpoint Id too many requests response a status code equal to that given
func (*PutEndpointIDTooManyRequests) IsRedirect ¶ added in v1.14.0
func (o *PutEndpointIDTooManyRequests) IsRedirect() bool
IsRedirect returns true when this put endpoint Id too many requests response has a 3xx status code
func (*PutEndpointIDTooManyRequests) IsServerError ¶ added in v1.14.0
func (o *PutEndpointIDTooManyRequests) IsServerError() bool
IsServerError returns true when this put endpoint Id too many requests response has a 5xx status code
func (*PutEndpointIDTooManyRequests) IsSuccess ¶ added in v1.14.0
func (o *PutEndpointIDTooManyRequests) IsSuccess() bool
IsSuccess returns true when this put endpoint Id too many requests response has a 2xx status code
func (*PutEndpointIDTooManyRequests) String ¶ added in v1.14.0
func (o *PutEndpointIDTooManyRequests) String() string
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_healthz_parameters.go
- get_endpoint_id_healthz_responses.go
- get_endpoint_id_labels_parameters.go
- get_endpoint_id_labels_responses.go
- get_endpoint_id_log_parameters.go
- get_endpoint_id_log_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_labels_parameters.go
- patch_endpoint_id_labels_responses.go
- patch_endpoint_id_parameters.go
- patch_endpoint_id_responses.go
- put_endpoint_id_parameters.go
- put_endpoint_id_responses.go