17 lines
533 B
Go
17 lines
533 B
Go
package jobs
|
|
|
|
const TypeProxmoxTaskPoll = "proxmox.task.poll"
|
|
const TypeProxmoxReconcileAll = "proxmox.reconcile.all"
|
|
|
|
type ProxmoxTaskPollPayload struct {
|
|
ClusterID string `json:"cluster_id"`
|
|
Node string `json:"node"`
|
|
UPID string `json:"upid"`
|
|
TargetType string `json:"target_type"`
|
|
TargetID string `json:"target_id"`
|
|
TenantID string `json:"tenant_id"`
|
|
ProfileID string `json:"profile_id,omitempty"`
|
|
Action string `json:"action"`
|
|
SuccessStatus string `json:"success_status"`
|
|
}
|