Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateCorrelation(params *CreateCorrelationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateCorrelationOK, error)
- func (a *Client) DeleteCorrelation(params *DeleteCorrelationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteCorrelationOK, error)
- func (a *Client) GetCorrelation(params *GetCorrelationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCorrelationOK, error)
- func (a *Client) GetCorrelations(params *GetCorrelationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCorrelationsOK, error)
- func (a *Client) GetCorrelationsBySourceUID(params *GetCorrelationsBySourceUIDParams, ...) (*GetCorrelationsBySourceUIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCorrelation(params *UpdateCorrelationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateCorrelationOK, error)
- type ClientOption
- type ClientService
- type CreateCorrelationBadRequest
- type CreateCorrelationForbidden
- type CreateCorrelationInternalServerError
- type CreateCorrelationNotFound
- type CreateCorrelationOK
- type CreateCorrelationParams
- func NewCreateCorrelationParams() *CreateCorrelationParams
- func NewCreateCorrelationParamsWithContext(ctx context.Context) *CreateCorrelationParams
- func NewCreateCorrelationParamsWithHTTPClient(client *http.Client) *CreateCorrelationParams
- func NewCreateCorrelationParamsWithTimeout(timeout time.Duration) *CreateCorrelationParams
- func (o *CreateCorrelationParams) SetBody(body *models.CreateCorrelationCommand)
- func (o *CreateCorrelationParams) SetContext(ctx context.Context)
- func (o *CreateCorrelationParams) SetDefaults()
- func (o *CreateCorrelationParams) SetHTTPClient(client *http.Client)
- func (o *CreateCorrelationParams) SetSourceUID(sourceUID string)
- func (o *CreateCorrelationParams) SetTimeout(timeout time.Duration)
- func (o *CreateCorrelationParams) WithBody(body *models.CreateCorrelationCommand) *CreateCorrelationParams
- func (o *CreateCorrelationParams) WithContext(ctx context.Context) *CreateCorrelationParams
- func (o *CreateCorrelationParams) WithDefaults() *CreateCorrelationParams
- func (o *CreateCorrelationParams) WithHTTPClient(client *http.Client) *CreateCorrelationParams
- func (o *CreateCorrelationParams) WithSourceUID(sourceUID string) *CreateCorrelationParams
- func (o *CreateCorrelationParams) WithTimeout(timeout time.Duration) *CreateCorrelationParams
- func (o *CreateCorrelationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCorrelationReader
- type CreateCorrelationUnauthorized
- type DeleteCorrelationForbidden
- type DeleteCorrelationInternalServerError
- type DeleteCorrelationNotFound
- type DeleteCorrelationOK
- type DeleteCorrelationParams
- func NewDeleteCorrelationParams() *DeleteCorrelationParams
- func NewDeleteCorrelationParamsWithContext(ctx context.Context) *DeleteCorrelationParams
- func NewDeleteCorrelationParamsWithHTTPClient(client *http.Client) *DeleteCorrelationParams
- func NewDeleteCorrelationParamsWithTimeout(timeout time.Duration) *DeleteCorrelationParams
- func (o *DeleteCorrelationParams) SetContext(ctx context.Context)
- func (o *DeleteCorrelationParams) SetCorrelationUID(correlationUID string)
- func (o *DeleteCorrelationParams) SetDefaults()
- func (o *DeleteCorrelationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCorrelationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCorrelationParams) SetUID(uid string)
- func (o *DeleteCorrelationParams) WithContext(ctx context.Context) *DeleteCorrelationParams
- func (o *DeleteCorrelationParams) WithCorrelationUID(correlationUID string) *DeleteCorrelationParams
- func (o *DeleteCorrelationParams) WithDefaults() *DeleteCorrelationParams
- func (o *DeleteCorrelationParams) WithHTTPClient(client *http.Client) *DeleteCorrelationParams
- func (o *DeleteCorrelationParams) WithTimeout(timeout time.Duration) *DeleteCorrelationParams
- func (o *DeleteCorrelationParams) WithUID(uid string) *DeleteCorrelationParams
- func (o *DeleteCorrelationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCorrelationReader
- type DeleteCorrelationUnauthorized
- type GetCorrelationInternalServerError
- type GetCorrelationNotFound
- type GetCorrelationOK
- type GetCorrelationParams
- func NewGetCorrelationParams() *GetCorrelationParams
- func NewGetCorrelationParamsWithContext(ctx context.Context) *GetCorrelationParams
- func NewGetCorrelationParamsWithHTTPClient(client *http.Client) *GetCorrelationParams
- func NewGetCorrelationParamsWithTimeout(timeout time.Duration) *GetCorrelationParams
- func (o *GetCorrelationParams) SetContext(ctx context.Context)
- func (o *GetCorrelationParams) SetCorrelationUID(correlationUID string)
- func (o *GetCorrelationParams) SetDefaults()
- func (o *GetCorrelationParams) SetHTTPClient(client *http.Client)
- func (o *GetCorrelationParams) SetSourceUID(sourceUID string)
- func (o *GetCorrelationParams) SetTimeout(timeout time.Duration)
- func (o *GetCorrelationParams) WithContext(ctx context.Context) *GetCorrelationParams
- func (o *GetCorrelationParams) WithCorrelationUID(correlationUID string) *GetCorrelationParams
- func (o *GetCorrelationParams) WithDefaults() *GetCorrelationParams
- func (o *GetCorrelationParams) WithHTTPClient(client *http.Client) *GetCorrelationParams
- func (o *GetCorrelationParams) WithSourceUID(sourceUID string) *GetCorrelationParams
- func (o *GetCorrelationParams) WithTimeout(timeout time.Duration) *GetCorrelationParams
- func (o *GetCorrelationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCorrelationReader
- type GetCorrelationUnauthorized
- type GetCorrelationsBySourceUIDInternalServerError
- type GetCorrelationsBySourceUIDNotFound
- type GetCorrelationsBySourceUIDOK
- type GetCorrelationsBySourceUIDParams
- func NewGetCorrelationsBySourceUIDParams() *GetCorrelationsBySourceUIDParams
- func NewGetCorrelationsBySourceUIDParamsWithContext(ctx context.Context) *GetCorrelationsBySourceUIDParams
- func NewGetCorrelationsBySourceUIDParamsWithHTTPClient(client *http.Client) *GetCorrelationsBySourceUIDParams
- func NewGetCorrelationsBySourceUIDParamsWithTimeout(timeout time.Duration) *GetCorrelationsBySourceUIDParams
- func (o *GetCorrelationsBySourceUIDParams) SetContext(ctx context.Context)
- func (o *GetCorrelationsBySourceUIDParams) SetDefaults()
- func (o *GetCorrelationsBySourceUIDParams) SetHTTPClient(client *http.Client)
- func (o *GetCorrelationsBySourceUIDParams) SetSourceUID(sourceUID string)
- func (o *GetCorrelationsBySourceUIDParams) SetTimeout(timeout time.Duration)
- func (o *GetCorrelationsBySourceUIDParams) WithContext(ctx context.Context) *GetCorrelationsBySourceUIDParams
- func (o *GetCorrelationsBySourceUIDParams) WithDefaults() *GetCorrelationsBySourceUIDParams
- func (o *GetCorrelationsBySourceUIDParams) WithHTTPClient(client *http.Client) *GetCorrelationsBySourceUIDParams
- func (o *GetCorrelationsBySourceUIDParams) WithSourceUID(sourceUID string) *GetCorrelationsBySourceUIDParams
- func (o *GetCorrelationsBySourceUIDParams) WithTimeout(timeout time.Duration) *GetCorrelationsBySourceUIDParams
- func (o *GetCorrelationsBySourceUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCorrelationsBySourceUIDReader
- type GetCorrelationsBySourceUIDUnauthorized
- type GetCorrelationsInternalServerError
- type GetCorrelationsNotFound
- type GetCorrelationsOK
- type GetCorrelationsParams
- func NewGetCorrelationsParams() *GetCorrelationsParams
- func NewGetCorrelationsParamsWithContext(ctx context.Context) *GetCorrelationsParams
- func NewGetCorrelationsParamsWithHTTPClient(client *http.Client) *GetCorrelationsParams
- func NewGetCorrelationsParamsWithTimeout(timeout time.Duration) *GetCorrelationsParams
- func (o *GetCorrelationsParams) SetContext(ctx context.Context)
- func (o *GetCorrelationsParams) SetDefaults()
- func (o *GetCorrelationsParams) SetHTTPClient(client *http.Client)
- func (o *GetCorrelationsParams) SetLimit(limit *int64)
- func (o *GetCorrelationsParams) SetPage(page *int64)
- func (o *GetCorrelationsParams) SetSourceUID(sourceUID []string)
- func (o *GetCorrelationsParams) SetTimeout(timeout time.Duration)
- func (o *GetCorrelationsParams) WithContext(ctx context.Context) *GetCorrelationsParams
- func (o *GetCorrelationsParams) WithDefaults() *GetCorrelationsParams
- func (o *GetCorrelationsParams) WithHTTPClient(client *http.Client) *GetCorrelationsParams
- func (o *GetCorrelationsParams) WithLimit(limit *int64) *GetCorrelationsParams
- func (o *GetCorrelationsParams) WithPage(page *int64) *GetCorrelationsParams
- func (o *GetCorrelationsParams) WithSourceUID(sourceUID []string) *GetCorrelationsParams
- func (o *GetCorrelationsParams) WithTimeout(timeout time.Duration) *GetCorrelationsParams
- func (o *GetCorrelationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCorrelationsReader
- type GetCorrelationsUnauthorized
- type UpdateCorrelationBadRequest
- type UpdateCorrelationForbidden
- type UpdateCorrelationInternalServerError
- type UpdateCorrelationNotFound
- type UpdateCorrelationOK
- type UpdateCorrelationParams
- func NewUpdateCorrelationParams() *UpdateCorrelationParams
- func NewUpdateCorrelationParamsWithContext(ctx context.Context) *UpdateCorrelationParams
- func NewUpdateCorrelationParamsWithHTTPClient(client *http.Client) *UpdateCorrelationParams
- func NewUpdateCorrelationParamsWithTimeout(timeout time.Duration) *UpdateCorrelationParams
- func (o *UpdateCorrelationParams) SetBody(body *models.UpdateCorrelationCommand)
- func (o *UpdateCorrelationParams) SetContext(ctx context.Context)
- func (o *UpdateCorrelationParams) SetCorrelationUID(correlationUID string)
- func (o *UpdateCorrelationParams) SetDefaults()
- func (o *UpdateCorrelationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCorrelationParams) SetSourceUID(sourceUID string)
- func (o *UpdateCorrelationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCorrelationParams) WithBody(body *models.UpdateCorrelationCommand) *UpdateCorrelationParams
- func (o *UpdateCorrelationParams) WithContext(ctx context.Context) *UpdateCorrelationParams
- func (o *UpdateCorrelationParams) WithCorrelationUID(correlationUID string) *UpdateCorrelationParams
- func (o *UpdateCorrelationParams) WithDefaults() *UpdateCorrelationParams
- func (o *UpdateCorrelationParams) WithHTTPClient(client *http.Client) *UpdateCorrelationParams
- func (o *UpdateCorrelationParams) WithSourceUID(sourceUID string) *UpdateCorrelationParams
- func (o *UpdateCorrelationParams) WithTimeout(timeout time.Duration) *UpdateCorrelationParams
- func (o *UpdateCorrelationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCorrelationReader
- type UpdateCorrelationUnauthorized
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 correlations API
func (*Client) CreateCorrelation ¶
func (a *Client) CreateCorrelation(params *CreateCorrelationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCorrelationOK, error)
CreateCorrelation adds correlation
func (*Client) DeleteCorrelation ¶
func (a *Client) DeleteCorrelation(params *DeleteCorrelationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCorrelationOK, error)
DeleteCorrelation deletes a correlation
func (*Client) GetCorrelation ¶
func (a *Client) GetCorrelation(params *GetCorrelationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCorrelationOK, error)
GetCorrelation gets a correlation
func (*Client) GetCorrelations ¶
func (a *Client) GetCorrelations(params *GetCorrelationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCorrelationsOK, error)
GetCorrelations gets all correlations
func (*Client) GetCorrelationsBySourceUID ¶
func (a *Client) GetCorrelationsBySourceUID(params *GetCorrelationsBySourceUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCorrelationsBySourceUIDOK, error)
GetCorrelationsBySourceUID gets all correlations originating from the given data source
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCorrelation ¶
func (a *Client) UpdateCorrelation(params *UpdateCorrelationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCorrelationOK, error)
UpdateCorrelation updates a correlation
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateCorrelation(params *CreateCorrelationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCorrelationOK, error) DeleteCorrelation(params *DeleteCorrelationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCorrelationOK, error) GetCorrelation(params *GetCorrelationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCorrelationOK, error) GetCorrelations(params *GetCorrelationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCorrelationsOK, error) GetCorrelationsBySourceUID(params *GetCorrelationsBySourceUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCorrelationsBySourceUIDOK, error) UpdateCorrelation(params *UpdateCorrelationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCorrelationOK, 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 correlations API client.
type CreateCorrelationBadRequest ¶
type CreateCorrelationBadRequest struct {
Payload *models.ErrorResponseBody
}
CreateCorrelationBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewCreateCorrelationBadRequest ¶
func NewCreateCorrelationBadRequest() *CreateCorrelationBadRequest
NewCreateCorrelationBadRequest creates a CreateCorrelationBadRequest with default headers values
func (*CreateCorrelationBadRequest) Error ¶
func (o *CreateCorrelationBadRequest) Error() string
func (*CreateCorrelationBadRequest) GetPayload ¶
func (o *CreateCorrelationBadRequest) GetPayload() *models.ErrorResponseBody
type CreateCorrelationForbidden ¶
type CreateCorrelationForbidden struct {
Payload *models.ErrorResponseBody
}
CreateCorrelationForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewCreateCorrelationForbidden ¶
func NewCreateCorrelationForbidden() *CreateCorrelationForbidden
NewCreateCorrelationForbidden creates a CreateCorrelationForbidden with default headers values
func (*CreateCorrelationForbidden) Error ¶
func (o *CreateCorrelationForbidden) Error() string
func (*CreateCorrelationForbidden) GetPayload ¶
func (o *CreateCorrelationForbidden) GetPayload() *models.ErrorResponseBody
type CreateCorrelationInternalServerError ¶
type CreateCorrelationInternalServerError struct {
Payload *models.ErrorResponseBody
}
CreateCorrelationInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewCreateCorrelationInternalServerError ¶
func NewCreateCorrelationInternalServerError() *CreateCorrelationInternalServerError
NewCreateCorrelationInternalServerError creates a CreateCorrelationInternalServerError with default headers values
func (*CreateCorrelationInternalServerError) Error ¶
func (o *CreateCorrelationInternalServerError) Error() string
func (*CreateCorrelationInternalServerError) GetPayload ¶
func (o *CreateCorrelationInternalServerError) GetPayload() *models.ErrorResponseBody
type CreateCorrelationNotFound ¶
type CreateCorrelationNotFound struct {
Payload *models.ErrorResponseBody
}
CreateCorrelationNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewCreateCorrelationNotFound ¶
func NewCreateCorrelationNotFound() *CreateCorrelationNotFound
NewCreateCorrelationNotFound creates a CreateCorrelationNotFound with default headers values
func (*CreateCorrelationNotFound) Error ¶
func (o *CreateCorrelationNotFound) Error() string
func (*CreateCorrelationNotFound) GetPayload ¶
func (o *CreateCorrelationNotFound) GetPayload() *models.ErrorResponseBody
type CreateCorrelationOK ¶
type CreateCorrelationOK struct {
Payload *models.CreateCorrelationResponseBody
}
CreateCorrelationOK describes a response with status code 200, with default header values.
(empty)
func NewCreateCorrelationOK ¶
func NewCreateCorrelationOK() *CreateCorrelationOK
NewCreateCorrelationOK creates a CreateCorrelationOK with default headers values
func (*CreateCorrelationOK) Error ¶
func (o *CreateCorrelationOK) Error() string
func (*CreateCorrelationOK) GetPayload ¶
func (o *CreateCorrelationOK) GetPayload() *models.CreateCorrelationResponseBody
type CreateCorrelationParams ¶
type CreateCorrelationParams struct { // Body. Body *models.CreateCorrelationCommand // SourceUID. SourceUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateCorrelationParams contains all the parameters to send to the API endpoint
for the create correlation operation. Typically these are written to a http.Request.
func NewCreateCorrelationParams ¶
func NewCreateCorrelationParams() *CreateCorrelationParams
NewCreateCorrelationParams creates a new CreateCorrelationParams 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 NewCreateCorrelationParamsWithContext ¶
func NewCreateCorrelationParamsWithContext(ctx context.Context) *CreateCorrelationParams
NewCreateCorrelationParamsWithContext creates a new CreateCorrelationParams object with the ability to set a context for a request.
func NewCreateCorrelationParamsWithHTTPClient ¶
func NewCreateCorrelationParamsWithHTTPClient(client *http.Client) *CreateCorrelationParams
NewCreateCorrelationParamsWithHTTPClient creates a new CreateCorrelationParams object with the ability to set a custom HTTPClient for a request.
func NewCreateCorrelationParamsWithTimeout ¶
func NewCreateCorrelationParamsWithTimeout(timeout time.Duration) *CreateCorrelationParams
NewCreateCorrelationParamsWithTimeout creates a new CreateCorrelationParams object with the ability to set a timeout on a request.
func (*CreateCorrelationParams) SetBody ¶
func (o *CreateCorrelationParams) SetBody(body *models.CreateCorrelationCommand)
SetBody adds the body to the create correlation params
func (*CreateCorrelationParams) SetContext ¶
func (o *CreateCorrelationParams) SetContext(ctx context.Context)
SetContext adds the context to the create correlation params
func (*CreateCorrelationParams) SetDefaults ¶
func (o *CreateCorrelationParams) SetDefaults()
SetDefaults hydrates default values in the create correlation params (not the query body).
All values with no default are reset to their zero value.
func (*CreateCorrelationParams) SetHTTPClient ¶
func (o *CreateCorrelationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create correlation params
func (*CreateCorrelationParams) SetSourceUID ¶
func (o *CreateCorrelationParams) SetSourceUID(sourceUID string)
SetSourceUID adds the sourceUid to the create correlation params
func (*CreateCorrelationParams) SetTimeout ¶
func (o *CreateCorrelationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create correlation params
func (*CreateCorrelationParams) WithBody ¶
func (o *CreateCorrelationParams) WithBody(body *models.CreateCorrelationCommand) *CreateCorrelationParams
WithBody adds the body to the create correlation params
func (*CreateCorrelationParams) WithContext ¶
func (o *CreateCorrelationParams) WithContext(ctx context.Context) *CreateCorrelationParams
WithContext adds the context to the create correlation params
func (*CreateCorrelationParams) WithDefaults ¶
func (o *CreateCorrelationParams) WithDefaults() *CreateCorrelationParams
WithDefaults hydrates default values in the create correlation params (not the query body).
All values with no default are reset to their zero value.
func (*CreateCorrelationParams) WithHTTPClient ¶
func (o *CreateCorrelationParams) WithHTTPClient(client *http.Client) *CreateCorrelationParams
WithHTTPClient adds the HTTPClient to the create correlation params
func (*CreateCorrelationParams) WithSourceUID ¶
func (o *CreateCorrelationParams) WithSourceUID(sourceUID string) *CreateCorrelationParams
WithSourceUID adds the sourceUID to the create correlation params
func (*CreateCorrelationParams) WithTimeout ¶
func (o *CreateCorrelationParams) WithTimeout(timeout time.Duration) *CreateCorrelationParams
WithTimeout adds the timeout to the create correlation params
func (*CreateCorrelationParams) WriteToRequest ¶
func (o *CreateCorrelationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateCorrelationReader ¶
type CreateCorrelationReader struct {
// contains filtered or unexported fields
}
CreateCorrelationReader is a Reader for the CreateCorrelation structure.
func (*CreateCorrelationReader) ReadResponse ¶
func (o *CreateCorrelationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateCorrelationUnauthorized ¶
type CreateCorrelationUnauthorized struct {
}CreateCorrelationUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewCreateCorrelationUnauthorized ¶
func NewCreateCorrelationUnauthorized() *CreateCorrelationUnauthorized
NewCreateCorrelationUnauthorized creates a CreateCorrelationUnauthorized with default headers values
func (*CreateCorrelationUnauthorized) Error ¶
func (o *CreateCorrelationUnauthorized) Error() string
func (*CreateCorrelationUnauthorized) GetPayload ¶
func (o *CreateCorrelationUnauthorized) GetPayload() *models.ErrorResponseBody
type DeleteCorrelationForbidden ¶
type DeleteCorrelationForbidden struct {
Payload *models.ErrorResponseBody
}
DeleteCorrelationForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewDeleteCorrelationForbidden ¶
func NewDeleteCorrelationForbidden() *DeleteCorrelationForbidden
NewDeleteCorrelationForbidden creates a DeleteCorrelationForbidden with default headers values
func (*DeleteCorrelationForbidden) Error ¶
func (o *DeleteCorrelationForbidden) Error() string
func (*DeleteCorrelationForbidden) GetPayload ¶
func (o *DeleteCorrelationForbidden) GetPayload() *models.ErrorResponseBody
type DeleteCorrelationInternalServerError ¶
type DeleteCorrelationInternalServerError struct {
Payload *models.ErrorResponseBody
}
DeleteCorrelationInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewDeleteCorrelationInternalServerError ¶
func NewDeleteCorrelationInternalServerError() *DeleteCorrelationInternalServerError
NewDeleteCorrelationInternalServerError creates a DeleteCorrelationInternalServerError with default headers values
func (*DeleteCorrelationInternalServerError) Error ¶
func (o *DeleteCorrelationInternalServerError) Error() string
func (*DeleteCorrelationInternalServerError) GetPayload ¶
func (o *DeleteCorrelationInternalServerError) GetPayload() *models.ErrorResponseBody
type DeleteCorrelationNotFound ¶
type DeleteCorrelationNotFound struct {
Payload *models.ErrorResponseBody
}
DeleteCorrelationNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewDeleteCorrelationNotFound ¶
func NewDeleteCorrelationNotFound() *DeleteCorrelationNotFound
NewDeleteCorrelationNotFound creates a DeleteCorrelationNotFound with default headers values
func (*DeleteCorrelationNotFound) Error ¶
func (o *DeleteCorrelationNotFound) Error() string
func (*DeleteCorrelationNotFound) GetPayload ¶
func (o *DeleteCorrelationNotFound) GetPayload() *models.ErrorResponseBody
type DeleteCorrelationOK ¶
type DeleteCorrelationOK struct {
Payload *models.DeleteCorrelationResponseBody
}
DeleteCorrelationOK describes a response with status code 200, with default header values.
(empty)
func NewDeleteCorrelationOK ¶
func NewDeleteCorrelationOK() *DeleteCorrelationOK
NewDeleteCorrelationOK creates a DeleteCorrelationOK with default headers values
func (*DeleteCorrelationOK) Error ¶
func (o *DeleteCorrelationOK) Error() string
func (*DeleteCorrelationOK) GetPayload ¶
func (o *DeleteCorrelationOK) GetPayload() *models.DeleteCorrelationResponseBody
type DeleteCorrelationParams ¶
type DeleteCorrelationParams struct { // CorrelationUID. CorrelationUID string // UID. UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCorrelationParams contains all the parameters to send to the API endpoint
for the delete correlation operation. Typically these are written to a http.Request.
func NewDeleteCorrelationParams ¶
func NewDeleteCorrelationParams() *DeleteCorrelationParams
NewDeleteCorrelationParams creates a new DeleteCorrelationParams 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 NewDeleteCorrelationParamsWithContext ¶
func NewDeleteCorrelationParamsWithContext(ctx context.Context) *DeleteCorrelationParams
NewDeleteCorrelationParamsWithContext creates a new DeleteCorrelationParams object with the ability to set a context for a request.
func NewDeleteCorrelationParamsWithHTTPClient ¶
func NewDeleteCorrelationParamsWithHTTPClient(client *http.Client) *DeleteCorrelationParams
NewDeleteCorrelationParamsWithHTTPClient creates a new DeleteCorrelationParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteCorrelationParamsWithTimeout ¶
func NewDeleteCorrelationParamsWithTimeout(timeout time.Duration) *DeleteCorrelationParams
NewDeleteCorrelationParamsWithTimeout creates a new DeleteCorrelationParams object with the ability to set a timeout on a request.
func (*DeleteCorrelationParams) SetContext ¶
func (o *DeleteCorrelationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete correlation params
func (*DeleteCorrelationParams) SetCorrelationUID ¶
func (o *DeleteCorrelationParams) SetCorrelationUID(correlationUID string)
SetCorrelationUID adds the correlationUid to the delete correlation params
func (*DeleteCorrelationParams) SetDefaults ¶
func (o *DeleteCorrelationParams) SetDefaults()
SetDefaults hydrates default values in the delete correlation params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCorrelationParams) SetHTTPClient ¶
func (o *DeleteCorrelationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete correlation params
func (*DeleteCorrelationParams) SetTimeout ¶
func (o *DeleteCorrelationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete correlation params
func (*DeleteCorrelationParams) SetUID ¶
func (o *DeleteCorrelationParams) SetUID(uid string)
SetUID adds the uid to the delete correlation params
func (*DeleteCorrelationParams) WithContext ¶
func (o *DeleteCorrelationParams) WithContext(ctx context.Context) *DeleteCorrelationParams
WithContext adds the context to the delete correlation params
func (*DeleteCorrelationParams) WithCorrelationUID ¶
func (o *DeleteCorrelationParams) WithCorrelationUID(correlationUID string) *DeleteCorrelationParams
WithCorrelationUID adds the correlationUID to the delete correlation params
func (*DeleteCorrelationParams) WithDefaults ¶
func (o *DeleteCorrelationParams) WithDefaults() *DeleteCorrelationParams
WithDefaults hydrates default values in the delete correlation params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCorrelationParams) WithHTTPClient ¶
func (o *DeleteCorrelationParams) WithHTTPClient(client *http.Client) *DeleteCorrelationParams
WithHTTPClient adds the HTTPClient to the delete correlation params
func (*DeleteCorrelationParams) WithTimeout ¶
func (o *DeleteCorrelationParams) WithTimeout(timeout time.Duration) *DeleteCorrelationParams
WithTimeout adds the timeout to the delete correlation params
func (*DeleteCorrelationParams) WithUID ¶
func (o *DeleteCorrelationParams) WithUID(uid string) *DeleteCorrelationParams
WithUID adds the uid to the delete correlation params
func (*DeleteCorrelationParams) WriteToRequest ¶
func (o *DeleteCorrelationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCorrelationReader ¶
type DeleteCorrelationReader struct {
// contains filtered or unexported fields
}
DeleteCorrelationReader is a Reader for the DeleteCorrelation structure.
func (*DeleteCorrelationReader) ReadResponse ¶
func (o *DeleteCorrelationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteCorrelationUnauthorized ¶
type DeleteCorrelationUnauthorized struct {
}DeleteCorrelationUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewDeleteCorrelationUnauthorized ¶
func NewDeleteCorrelationUnauthorized() *DeleteCorrelationUnauthorized
NewDeleteCorrelationUnauthorized creates a DeleteCorrelationUnauthorized with default headers values
func (*DeleteCorrelationUnauthorized) Error ¶
func (o *DeleteCorrelationUnauthorized) Error() string
func (*DeleteCorrelationUnauthorized) GetPayload ¶
func (o *DeleteCorrelationUnauthorized) GetPayload() *models.ErrorResponseBody
type GetCorrelationInternalServerError ¶
type GetCorrelationInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetCorrelationInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetCorrelationInternalServerError ¶
func NewGetCorrelationInternalServerError() *GetCorrelationInternalServerError
NewGetCorrelationInternalServerError creates a GetCorrelationInternalServerError with default headers values
func (*GetCorrelationInternalServerError) Error ¶
func (o *GetCorrelationInternalServerError) Error() string
func (*GetCorrelationInternalServerError) GetPayload ¶
func (o *GetCorrelationInternalServerError) GetPayload() *models.ErrorResponseBody
type GetCorrelationNotFound ¶
type GetCorrelationNotFound struct {
Payload *models.ErrorResponseBody
}
GetCorrelationNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetCorrelationNotFound ¶
func NewGetCorrelationNotFound() *GetCorrelationNotFound
NewGetCorrelationNotFound creates a GetCorrelationNotFound with default headers values
func (*GetCorrelationNotFound) Error ¶
func (o *GetCorrelationNotFound) Error() string
func (*GetCorrelationNotFound) GetPayload ¶
func (o *GetCorrelationNotFound) GetPayload() *models.ErrorResponseBody
type GetCorrelationOK ¶
type GetCorrelationOK struct {
Payload *models.Correlation
}
GetCorrelationOK describes a response with status code 200, with default header values.
(empty)
func NewGetCorrelationOK ¶
func NewGetCorrelationOK() *GetCorrelationOK
NewGetCorrelationOK creates a GetCorrelationOK with default headers values
func (*GetCorrelationOK) Error ¶
func (o *GetCorrelationOK) Error() string
func (*GetCorrelationOK) GetPayload ¶
func (o *GetCorrelationOK) GetPayload() *models.Correlation
type GetCorrelationParams ¶
type GetCorrelationParams struct { // CorrelationUID. CorrelationUID string // SourceUID. SourceUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCorrelationParams contains all the parameters to send to the API endpoint
for the get correlation operation. Typically these are written to a http.Request.
func NewGetCorrelationParams ¶
func NewGetCorrelationParams() *GetCorrelationParams
NewGetCorrelationParams creates a new GetCorrelationParams 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 NewGetCorrelationParamsWithContext ¶
func NewGetCorrelationParamsWithContext(ctx context.Context) *GetCorrelationParams
NewGetCorrelationParamsWithContext creates a new GetCorrelationParams object with the ability to set a context for a request.
func NewGetCorrelationParamsWithHTTPClient ¶
func NewGetCorrelationParamsWithHTTPClient(client *http.Client) *GetCorrelationParams
NewGetCorrelationParamsWithHTTPClient creates a new GetCorrelationParams object with the ability to set a custom HTTPClient for a request.
func NewGetCorrelationParamsWithTimeout ¶
func NewGetCorrelationParamsWithTimeout(timeout time.Duration) *GetCorrelationParams
NewGetCorrelationParamsWithTimeout creates a new GetCorrelationParams object with the ability to set a timeout on a request.
func (*GetCorrelationParams) SetContext ¶
func (o *GetCorrelationParams) SetContext(ctx context.Context)
SetContext adds the context to the get correlation params
func (*GetCorrelationParams) SetCorrelationUID ¶
func (o *GetCorrelationParams) SetCorrelationUID(correlationUID string)
SetCorrelationUID adds the correlationUid to the get correlation params
func (*GetCorrelationParams) SetDefaults ¶
func (o *GetCorrelationParams) SetDefaults()
SetDefaults hydrates default values in the get correlation params (not the query body).
All values with no default are reset to their zero value.
func (*GetCorrelationParams) SetHTTPClient ¶
func (o *GetCorrelationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get correlation params
func (*GetCorrelationParams) SetSourceUID ¶
func (o *GetCorrelationParams) SetSourceUID(sourceUID string)
SetSourceUID adds the sourceUid to the get correlation params
func (*GetCorrelationParams) SetTimeout ¶
func (o *GetCorrelationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get correlation params
func (*GetCorrelationParams) WithContext ¶
func (o *GetCorrelationParams) WithContext(ctx context.Context) *GetCorrelationParams
WithContext adds the context to the get correlation params
func (*GetCorrelationParams) WithCorrelationUID ¶
func (o *GetCorrelationParams) WithCorrelationUID(correlationUID string) *GetCorrelationParams
WithCorrelationUID adds the correlationUID to the get correlation params
func (*GetCorrelationParams) WithDefaults ¶
func (o *GetCorrelationParams) WithDefaults() *GetCorrelationParams
WithDefaults hydrates default values in the get correlation params (not the query body).
All values with no default are reset to their zero value.
func (*GetCorrelationParams) WithHTTPClient ¶
func (o *GetCorrelationParams) WithHTTPClient(client *http.Client) *GetCorrelationParams
WithHTTPClient adds the HTTPClient to the get correlation params
func (*GetCorrelationParams) WithSourceUID ¶
func (o *GetCorrelationParams) WithSourceUID(sourceUID string) *GetCorrelationParams
WithSourceUID adds the sourceUID to the get correlation params
func (*GetCorrelationParams) WithTimeout ¶
func (o *GetCorrelationParams) WithTimeout(timeout time.Duration) *GetCorrelationParams
WithTimeout adds the timeout to the get correlation params
func (*GetCorrelationParams) WriteToRequest ¶
func (o *GetCorrelationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCorrelationReader ¶
type GetCorrelationReader struct {
// contains filtered or unexported fields
}
GetCorrelationReader is a Reader for the GetCorrelation structure.
func (*GetCorrelationReader) ReadResponse ¶
func (o *GetCorrelationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCorrelationUnauthorized ¶
type GetCorrelationUnauthorized struct {
}GetCorrelationUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetCorrelationUnauthorized ¶
func NewGetCorrelationUnauthorized() *GetCorrelationUnauthorized
NewGetCorrelationUnauthorized creates a GetCorrelationUnauthorized with default headers values
func (*GetCorrelationUnauthorized) Error ¶
func (o *GetCorrelationUnauthorized) Error() string
func (*GetCorrelationUnauthorized) GetPayload ¶
func (o *GetCorrelationUnauthorized) GetPayload() *models.ErrorResponseBody
type GetCorrelationsBySourceUIDInternalServerError ¶
type GetCorrelationsBySourceUIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetCorrelationsBySourceUIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetCorrelationsBySourceUIDInternalServerError ¶
func NewGetCorrelationsBySourceUIDInternalServerError() *GetCorrelationsBySourceUIDInternalServerError
NewGetCorrelationsBySourceUIDInternalServerError creates a GetCorrelationsBySourceUIDInternalServerError with default headers values
func (*GetCorrelationsBySourceUIDInternalServerError) Error ¶
func (o *GetCorrelationsBySourceUIDInternalServerError) Error() string
func (*GetCorrelationsBySourceUIDInternalServerError) GetPayload ¶
func (o *GetCorrelationsBySourceUIDInternalServerError) GetPayload() *models.ErrorResponseBody
type GetCorrelationsBySourceUIDNotFound ¶
type GetCorrelationsBySourceUIDNotFound struct {
Payload *models.ErrorResponseBody
}
GetCorrelationsBySourceUIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetCorrelationsBySourceUIDNotFound ¶
func NewGetCorrelationsBySourceUIDNotFound() *GetCorrelationsBySourceUIDNotFound
NewGetCorrelationsBySourceUIDNotFound creates a GetCorrelationsBySourceUIDNotFound with default headers values
func (*GetCorrelationsBySourceUIDNotFound) Error ¶
func (o *GetCorrelationsBySourceUIDNotFound) Error() string
func (*GetCorrelationsBySourceUIDNotFound) GetPayload ¶
func (o *GetCorrelationsBySourceUIDNotFound) GetPayload() *models.ErrorResponseBody
type GetCorrelationsBySourceUIDOK ¶
type GetCorrelationsBySourceUIDOK struct {
Payload []*models.Correlation
}
GetCorrelationsBySourceUIDOK describes a response with status code 200, with default header values.
(empty)
func NewGetCorrelationsBySourceUIDOK ¶
func NewGetCorrelationsBySourceUIDOK() *GetCorrelationsBySourceUIDOK
NewGetCorrelationsBySourceUIDOK creates a GetCorrelationsBySourceUIDOK with default headers values
func (*GetCorrelationsBySourceUIDOK) Error ¶
func (o *GetCorrelationsBySourceUIDOK) Error() string
func (*GetCorrelationsBySourceUIDOK) GetPayload ¶
func (o *GetCorrelationsBySourceUIDOK) GetPayload() []*models.Correlation
type GetCorrelationsBySourceUIDParams ¶
type GetCorrelationsBySourceUIDParams struct { // SourceUID. SourceUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCorrelationsBySourceUIDParams contains all the parameters to send to the API endpoint
for the get correlations by source UID operation. Typically these are written to a http.Request.
func NewGetCorrelationsBySourceUIDParams ¶
func NewGetCorrelationsBySourceUIDParams() *GetCorrelationsBySourceUIDParams
NewGetCorrelationsBySourceUIDParams creates a new GetCorrelationsBySourceUIDParams 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 NewGetCorrelationsBySourceUIDParamsWithContext ¶
func NewGetCorrelationsBySourceUIDParamsWithContext(ctx context.Context) *GetCorrelationsBySourceUIDParams
NewGetCorrelationsBySourceUIDParamsWithContext creates a new GetCorrelationsBySourceUIDParams object with the ability to set a context for a request.
func NewGetCorrelationsBySourceUIDParamsWithHTTPClient ¶
func NewGetCorrelationsBySourceUIDParamsWithHTTPClient(client *http.Client) *GetCorrelationsBySourceUIDParams
NewGetCorrelationsBySourceUIDParamsWithHTTPClient creates a new GetCorrelationsBySourceUIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetCorrelationsBySourceUIDParamsWithTimeout ¶
func NewGetCorrelationsBySourceUIDParamsWithTimeout(timeout time.Duration) *GetCorrelationsBySourceUIDParams
NewGetCorrelationsBySourceUIDParamsWithTimeout creates a new GetCorrelationsBySourceUIDParams object with the ability to set a timeout on a request.
func (*GetCorrelationsBySourceUIDParams) SetContext ¶
func (o *GetCorrelationsBySourceUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get correlations by source UID params
func (*GetCorrelationsBySourceUIDParams) SetDefaults ¶
func (o *GetCorrelationsBySourceUIDParams) SetDefaults()
SetDefaults hydrates default values in the get correlations by source UID params (not the query body).
All values with no default are reset to their zero value.
func (*GetCorrelationsBySourceUIDParams) SetHTTPClient ¶
func (o *GetCorrelationsBySourceUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get correlations by source UID params
func (*GetCorrelationsBySourceUIDParams) SetSourceUID ¶
func (o *GetCorrelationsBySourceUIDParams) SetSourceUID(sourceUID string)
SetSourceUID adds the sourceUid to the get correlations by source UID params
func (*GetCorrelationsBySourceUIDParams) SetTimeout ¶
func (o *GetCorrelationsBySourceUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get correlations by source UID params
func (*GetCorrelationsBySourceUIDParams) WithContext ¶
func (o *GetCorrelationsBySourceUIDParams) WithContext(ctx context.Context) *GetCorrelationsBySourceUIDParams
WithContext adds the context to the get correlations by source UID params
func (*GetCorrelationsBySourceUIDParams) WithDefaults ¶
func (o *GetCorrelationsBySourceUIDParams) WithDefaults() *GetCorrelationsBySourceUIDParams
WithDefaults hydrates default values in the get correlations by source UID params (not the query body).
All values with no default are reset to their zero value.
func (*GetCorrelationsBySourceUIDParams) WithHTTPClient ¶
func (o *GetCorrelationsBySourceUIDParams) WithHTTPClient(client *http.Client) *GetCorrelationsBySourceUIDParams
WithHTTPClient adds the HTTPClient to the get correlations by source UID params
func (*GetCorrelationsBySourceUIDParams) WithSourceUID ¶
func (o *GetCorrelationsBySourceUIDParams) WithSourceUID(sourceUID string) *GetCorrelationsBySourceUIDParams
WithSourceUID adds the sourceUID to the get correlations by source UID params
func (*GetCorrelationsBySourceUIDParams) WithTimeout ¶
func (o *GetCorrelationsBySourceUIDParams) WithTimeout(timeout time.Duration) *GetCorrelationsBySourceUIDParams
WithTimeout adds the timeout to the get correlations by source UID params
func (*GetCorrelationsBySourceUIDParams) WriteToRequest ¶
func (o *GetCorrelationsBySourceUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCorrelationsBySourceUIDReader ¶
type GetCorrelationsBySourceUIDReader struct {
// contains filtered or unexported fields
}
GetCorrelationsBySourceUIDReader is a Reader for the GetCorrelationsBySourceUID structure.
func (*GetCorrelationsBySourceUIDReader) ReadResponse ¶
func (o *GetCorrelationsBySourceUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCorrelationsBySourceUIDUnauthorized ¶
type GetCorrelationsBySourceUIDUnauthorized struct {
}GetCorrelationsBySourceUIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetCorrelationsBySourceUIDUnauthorized ¶
func NewGetCorrelationsBySourceUIDUnauthorized() *GetCorrelationsBySourceUIDUnauthorized
NewGetCorrelationsBySourceUIDUnauthorized creates a GetCorrelationsBySourceUIDUnauthorized with default headers values
func (*GetCorrelationsBySourceUIDUnauthorized) Error ¶
func (o *GetCorrelationsBySourceUIDUnauthorized) Error() string
func (*GetCorrelationsBySourceUIDUnauthorized) GetPayload ¶
func (o *GetCorrelationsBySourceUIDUnauthorized) GetPayload() *models.ErrorResponseBody
type GetCorrelationsInternalServerError ¶
type GetCorrelationsInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetCorrelationsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetCorrelationsInternalServerError ¶
func NewGetCorrelationsInternalServerError() *GetCorrelationsInternalServerError
NewGetCorrelationsInternalServerError creates a GetCorrelationsInternalServerError with default headers values
func (*GetCorrelationsInternalServerError) Error ¶
func (o *GetCorrelationsInternalServerError) Error() string
func (*GetCorrelationsInternalServerError) GetPayload ¶
func (o *GetCorrelationsInternalServerError) GetPayload() *models.ErrorResponseBody
type GetCorrelationsNotFound ¶
type GetCorrelationsNotFound struct {
Payload *models.ErrorResponseBody
}
GetCorrelationsNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetCorrelationsNotFound ¶
func NewGetCorrelationsNotFound() *GetCorrelationsNotFound
NewGetCorrelationsNotFound creates a GetCorrelationsNotFound with default headers values
func (*GetCorrelationsNotFound) Error ¶
func (o *GetCorrelationsNotFound) Error() string
func (*GetCorrelationsNotFound) GetPayload ¶
func (o *GetCorrelationsNotFound) GetPayload() *models.ErrorResponseBody
type GetCorrelationsOK ¶
type GetCorrelationsOK struct {
Payload []*models.Correlation
}
GetCorrelationsOK describes a response with status code 200, with default header values.
(empty)
func NewGetCorrelationsOK ¶
func NewGetCorrelationsOK() *GetCorrelationsOK
NewGetCorrelationsOK creates a GetCorrelationsOK with default headers values
func (*GetCorrelationsOK) Error ¶
func (o *GetCorrelationsOK) Error() string
func (*GetCorrelationsOK) GetPayload ¶
func (o *GetCorrelationsOK) GetPayload() []*models.Correlation
type GetCorrelationsParams ¶
type GetCorrelationsParams struct { /* Limit. Limit the maximum number of correlations to return per page Format: int64 Default: 100 */ Limit *int64 /* Page. Page index for starting fetching correlations Format: int64 Default: 1 */ Page *int64 /* SourceUID. Source datasource UID filter to be applied to correlations */ SourceUID []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCorrelationsParams contains all the parameters to send to the API endpoint
for the get correlations operation. Typically these are written to a http.Request.
func NewGetCorrelationsParams ¶
func NewGetCorrelationsParams() *GetCorrelationsParams
NewGetCorrelationsParams creates a new GetCorrelationsParams 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 NewGetCorrelationsParamsWithContext ¶
func NewGetCorrelationsParamsWithContext(ctx context.Context) *GetCorrelationsParams
NewGetCorrelationsParamsWithContext creates a new GetCorrelationsParams object with the ability to set a context for a request.
func NewGetCorrelationsParamsWithHTTPClient ¶
func NewGetCorrelationsParamsWithHTTPClient(client *http.Client) *GetCorrelationsParams
NewGetCorrelationsParamsWithHTTPClient creates a new GetCorrelationsParams object with the ability to set a custom HTTPClient for a request.
func NewGetCorrelationsParamsWithTimeout ¶
func NewGetCorrelationsParamsWithTimeout(timeout time.Duration) *GetCorrelationsParams
NewGetCorrelationsParamsWithTimeout creates a new GetCorrelationsParams object with the ability to set a timeout on a request.
func (*GetCorrelationsParams) SetContext ¶
func (o *GetCorrelationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get correlations params
func (*GetCorrelationsParams) SetDefaults ¶
func (o *GetCorrelationsParams) SetDefaults()
SetDefaults hydrates default values in the get correlations params (not the query body).
All values with no default are reset to their zero value.
func (*GetCorrelationsParams) SetHTTPClient ¶
func (o *GetCorrelationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get correlations params
func (*GetCorrelationsParams) SetLimit ¶
func (o *GetCorrelationsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get correlations params
func (*GetCorrelationsParams) SetPage ¶
func (o *GetCorrelationsParams) SetPage(page *int64)
SetPage adds the page to the get correlations params
func (*GetCorrelationsParams) SetSourceUID ¶
func (o *GetCorrelationsParams) SetSourceUID(sourceUID []string)
SetSourceUID adds the sourceUid to the get correlations params
func (*GetCorrelationsParams) SetTimeout ¶
func (o *GetCorrelationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get correlations params
func (*GetCorrelationsParams) WithContext ¶
func (o *GetCorrelationsParams) WithContext(ctx context.Context) *GetCorrelationsParams
WithContext adds the context to the get correlations params
func (*GetCorrelationsParams) WithDefaults ¶
func (o *GetCorrelationsParams) WithDefaults() *GetCorrelationsParams
WithDefaults hydrates default values in the get correlations params (not the query body).
All values with no default are reset to their zero value.
func (*GetCorrelationsParams) WithHTTPClient ¶
func (o *GetCorrelationsParams) WithHTTPClient(client *http.Client) *GetCorrelationsParams
WithHTTPClient adds the HTTPClient to the get correlations params
func (*GetCorrelationsParams) WithLimit ¶
func (o *GetCorrelationsParams) WithLimit(limit *int64) *GetCorrelationsParams
WithLimit adds the limit to the get correlations params
func (*GetCorrelationsParams) WithPage ¶
func (o *GetCorrelationsParams) WithPage(page *int64) *GetCorrelationsParams
WithPage adds the page to the get correlations params
func (*GetCorrelationsParams) WithSourceUID ¶
func (o *GetCorrelationsParams) WithSourceUID(sourceUID []string) *GetCorrelationsParams
WithSourceUID adds the sourceUID to the get correlations params
func (*GetCorrelationsParams) WithTimeout ¶
func (o *GetCorrelationsParams) WithTimeout(timeout time.Duration) *GetCorrelationsParams
WithTimeout adds the timeout to the get correlations params
func (*GetCorrelationsParams) WriteToRequest ¶
func (o *GetCorrelationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCorrelationsReader ¶
type GetCorrelationsReader struct {
// contains filtered or unexported fields
}
GetCorrelationsReader is a Reader for the GetCorrelations structure.
func (*GetCorrelationsReader) ReadResponse ¶
func (o *GetCorrelationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCorrelationsUnauthorized ¶
type GetCorrelationsUnauthorized struct {
}GetCorrelationsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetCorrelationsUnauthorized ¶
func NewGetCorrelationsUnauthorized() *GetCorrelationsUnauthorized
NewGetCorrelationsUnauthorized creates a GetCorrelationsUnauthorized with default headers values
func (*GetCorrelationsUnauthorized) Error ¶
func (o *GetCorrelationsUnauthorized) Error() string
func (*GetCorrelationsUnauthorized) GetPayload ¶
func (o *GetCorrelationsUnauthorized) GetPayload() *models.ErrorResponseBody
type UpdateCorrelationBadRequest ¶
type UpdateCorrelationBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateCorrelationBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewUpdateCorrelationBadRequest ¶
func NewUpdateCorrelationBadRequest() *UpdateCorrelationBadRequest
NewUpdateCorrelationBadRequest creates a UpdateCorrelationBadRequest with default headers values
func (*UpdateCorrelationBadRequest) Error ¶
func (o *UpdateCorrelationBadRequest) Error() string
func (*UpdateCorrelationBadRequest) GetPayload ¶
func (o *UpdateCorrelationBadRequest) GetPayload() *models.ErrorResponseBody
type UpdateCorrelationForbidden ¶
type UpdateCorrelationForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateCorrelationForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewUpdateCorrelationForbidden ¶
func NewUpdateCorrelationForbidden() *UpdateCorrelationForbidden
NewUpdateCorrelationForbidden creates a UpdateCorrelationForbidden with default headers values
func (*UpdateCorrelationForbidden) Error ¶
func (o *UpdateCorrelationForbidden) Error() string
func (*UpdateCorrelationForbidden) GetPayload ¶
func (o *UpdateCorrelationForbidden) GetPayload() *models.ErrorResponseBody
type UpdateCorrelationInternalServerError ¶
type UpdateCorrelationInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateCorrelationInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateCorrelationInternalServerError ¶
func NewUpdateCorrelationInternalServerError() *UpdateCorrelationInternalServerError
NewUpdateCorrelationInternalServerError creates a UpdateCorrelationInternalServerError with default headers values
func (*UpdateCorrelationInternalServerError) Error ¶
func (o *UpdateCorrelationInternalServerError) Error() string
func (*UpdateCorrelationInternalServerError) GetPayload ¶
func (o *UpdateCorrelationInternalServerError) GetPayload() *models.ErrorResponseBody
type UpdateCorrelationNotFound ¶
type UpdateCorrelationNotFound struct {
Payload *models.ErrorResponseBody
}
UpdateCorrelationNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewUpdateCorrelationNotFound ¶
func NewUpdateCorrelationNotFound() *UpdateCorrelationNotFound
NewUpdateCorrelationNotFound creates a UpdateCorrelationNotFound with default headers values
func (*UpdateCorrelationNotFound) Error ¶
func (o *UpdateCorrelationNotFound) Error() string
func (*UpdateCorrelationNotFound) GetPayload ¶
func (o *UpdateCorrelationNotFound) GetPayload() *models.ErrorResponseBody
type UpdateCorrelationOK ¶
type UpdateCorrelationOK struct {
Payload *models.UpdateCorrelationResponseBody
}
UpdateCorrelationOK describes a response with status code 200, with default header values.
(empty)
func NewUpdateCorrelationOK ¶
func NewUpdateCorrelationOK() *UpdateCorrelationOK
NewUpdateCorrelationOK creates a UpdateCorrelationOK with default headers values
func (*UpdateCorrelationOK) Error ¶
func (o *UpdateCorrelationOK) Error() string
func (*UpdateCorrelationOK) GetPayload ¶
func (o *UpdateCorrelationOK) GetPayload() *models.UpdateCorrelationResponseBody
type UpdateCorrelationParams ¶
type UpdateCorrelationParams struct { // Body. Body *models.UpdateCorrelationCommand // CorrelationUID. CorrelationUID string // SourceUID. SourceUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCorrelationParams contains all the parameters to send to the API endpoint
for the update correlation operation. Typically these are written to a http.Request.
func NewUpdateCorrelationParams ¶
func NewUpdateCorrelationParams() *UpdateCorrelationParams
NewUpdateCorrelationParams creates a new UpdateCorrelationParams 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 NewUpdateCorrelationParamsWithContext ¶
func NewUpdateCorrelationParamsWithContext(ctx context.Context) *UpdateCorrelationParams
NewUpdateCorrelationParamsWithContext creates a new UpdateCorrelationParams object with the ability to set a context for a request.
func NewUpdateCorrelationParamsWithHTTPClient ¶
func NewUpdateCorrelationParamsWithHTTPClient(client *http.Client) *UpdateCorrelationParams
NewUpdateCorrelationParamsWithHTTPClient creates a new UpdateCorrelationParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateCorrelationParamsWithTimeout ¶
func NewUpdateCorrelationParamsWithTimeout(timeout time.Duration) *UpdateCorrelationParams
NewUpdateCorrelationParamsWithTimeout creates a new UpdateCorrelationParams object with the ability to set a timeout on a request.
func (*UpdateCorrelationParams) SetBody ¶
func (o *UpdateCorrelationParams) SetBody(body *models.UpdateCorrelationCommand)
SetBody adds the body to the update correlation params
func (*UpdateCorrelationParams) SetContext ¶
func (o *UpdateCorrelationParams) SetContext(ctx context.Context)
SetContext adds the context to the update correlation params
func (*UpdateCorrelationParams) SetCorrelationUID ¶
func (o *UpdateCorrelationParams) SetCorrelationUID(correlationUID string)
SetCorrelationUID adds the correlationUid to the update correlation params
func (*UpdateCorrelationParams) SetDefaults ¶
func (o *UpdateCorrelationParams) SetDefaults()
SetDefaults hydrates default values in the update correlation params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCorrelationParams) SetHTTPClient ¶
func (o *UpdateCorrelationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update correlation params
func (*UpdateCorrelationParams) SetSourceUID ¶
func (o *UpdateCorrelationParams) SetSourceUID(sourceUID string)
SetSourceUID adds the sourceUid to the update correlation params
func (*UpdateCorrelationParams) SetTimeout ¶
func (o *UpdateCorrelationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update correlation params
func (*UpdateCorrelationParams) WithBody ¶
func (o *UpdateCorrelationParams) WithBody(body *models.UpdateCorrelationCommand) *UpdateCorrelationParams
WithBody adds the body to the update correlation params
func (*UpdateCorrelationParams) WithContext ¶
func (o *UpdateCorrelationParams) WithContext(ctx context.Context) *UpdateCorrelationParams
WithContext adds the context to the update correlation params
func (*UpdateCorrelationParams) WithCorrelationUID ¶
func (o *UpdateCorrelationParams) WithCorrelationUID(correlationUID string) *UpdateCorrelationParams
WithCorrelationUID adds the correlationUID to the update correlation params
func (*UpdateCorrelationParams) WithDefaults ¶
func (o *UpdateCorrelationParams) WithDefaults() *UpdateCorrelationParams
WithDefaults hydrates default values in the update correlation params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCorrelationParams) WithHTTPClient ¶
func (o *UpdateCorrelationParams) WithHTTPClient(client *http.Client) *UpdateCorrelationParams
WithHTTPClient adds the HTTPClient to the update correlation params
func (*UpdateCorrelationParams) WithSourceUID ¶
func (o *UpdateCorrelationParams) WithSourceUID(sourceUID string) *UpdateCorrelationParams
WithSourceUID adds the sourceUID to the update correlation params
func (*UpdateCorrelationParams) WithTimeout ¶
func (o *UpdateCorrelationParams) WithTimeout(timeout time.Duration) *UpdateCorrelationParams
WithTimeout adds the timeout to the update correlation params
func (*UpdateCorrelationParams) WriteToRequest ¶
func (o *UpdateCorrelationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCorrelationReader ¶
type UpdateCorrelationReader struct {
// contains filtered or unexported fields
}
UpdateCorrelationReader is a Reader for the UpdateCorrelation structure.
func (*UpdateCorrelationReader) ReadResponse ¶
func (o *UpdateCorrelationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCorrelationUnauthorized ¶
type UpdateCorrelationUnauthorized struct {
}UpdateCorrelationUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateCorrelationUnauthorized ¶
func NewUpdateCorrelationUnauthorized() *UpdateCorrelationUnauthorized
NewUpdateCorrelationUnauthorized creates a UpdateCorrelationUnauthorized with default headers values
func (*UpdateCorrelationUnauthorized) Error ¶
func (o *UpdateCorrelationUnauthorized) Error() string
func (*UpdateCorrelationUnauthorized) GetPayload ¶
func (o *UpdateCorrelationUnauthorized) GetPayload() *models.ErrorResponseBody
Source Files ¶
- correlations_client.go
- create_correlation_parameters.go
- create_correlation_responses.go
- delete_correlation_parameters.go
- delete_correlation_responses.go
- get_correlation_parameters.go
- get_correlation_responses.go
- get_correlations_by_source_uid_parameters.go
- get_correlations_by_source_uid_responses.go
- get_correlations_parameters.go
- get_correlations_responses.go
- update_correlation_parameters.go
- update_correlation_responses.go