Documentation
¶
Overview ¶
Package delete_dq_job implements the dq_delete_job MCP tool — permanently delete a Collibra data-quality job definition, along with every run, rule and result attached to it.
The flow is a two-call converge on the public delete:
Look up : GET /rest/dq/1.0/jobs/{jobName} -> on failure, relay a meaningful error;
on success, summarise the job (confirm_required) so the user can review it.
Delete : DELETE /rest/dq/1.0/jobs/{jobName} — only once the caller re-calls with confirm=true.
Deletion is irreversible, so — as in dq_delete_job_run — confirm=false (the default) is strictly READ-ONLY: it never reaches the DELETE. Permissions are enforced by the server; 400/401/403/404/409 and transport failures are surfaced as messages with actionable guidance rather than Go errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JobSummary ¶
type JobSummary struct {
JobName string `json:"jobName" jsonschema:"Re-call the tool with this jobName and confirm=true to delete this job."`
JobType string `json:"jobType,omitempty" jsonschema:"The job's execution type (PUSHDOWN/PULLUP), if known."`
EdgeSiteName string `json:"edgeSiteName,omitempty" jsonschema:"The edge site the job runs on."`
ConnectionName string `json:"connectionName,omitempty" jsonschema:"The edge connection the job reads through."`
SchemaName string `json:"schemaName,omitempty" jsonschema:"The schema the job reads from."`
TableName string `json:"tableName,omitempty" jsonschema:"The table the job reads from."`
SourceQuery string `json:"sourceQuery,omitempty" jsonschema:"The SQL the job runs against the source."`
ScheduleEnabled bool `` /* 137-byte string literal not displayed */
ScheduleMode string `json:"scheduleMode,omitempty" jsonschema:"The schedule's mode (HOURLY/DAILY/MONTHLY/...), when scheduled."`
RunDate string `json:"runDate,omitempty" jsonschema:"The job's configured run date, if any."`
}
JobSummary describes the job that is about to be deleted, so the user can check it is the right one.
type Output ¶
type Output struct {
Status Status `json:"status" jsonschema:"deleted | confirm_required | needs_input | error."`
Message string `json:"message" jsonschema:"Human-readable outcome and what to do next."`
JobName string `json:"jobName,omitempty" jsonschema:"The job that was deleted (or, on confirm_required, the one to confirm)."`
Job *JobSummary `` /* 135-byte string literal not displayed */
JobDetailsLink string `json:"jobDetailsLink,omitempty" jsonschema:"Job Details deep-link path (relative to the Collibra instance URL)."`
Guidance string `json:"guidance,omitempty" jsonschema:"On confirm_required/needs_input/error, what to do next."`
}
Click to show internal directories.
Click to hide internal directories.