From 91cbeb3cab7dc1bb5e07336513d3a7996f7fbc9f Mon Sep 17 00:00:00 2001 From: refaelm Date: Tue, 12 Nov 2024 09:38:52 +0200 Subject: [PATCH] add payload to command status Signed-off-by: refaelm --- pkg/command/types/v1alpha1/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/command/types/v1alpha1/types.go b/pkg/command/types/v1alpha1/types.go index 6747f78..ac2071f 100644 --- a/pkg/command/types/v1alpha1/types.go +++ b/pkg/command/types/v1alpha1/types.go @@ -41,6 +41,7 @@ type OperatorCommandStatus struct { CompletedAt *metav1.Time `json:"completedAt,omitempty"` // CompletedAt is the time at which the command was completed Executer string `json:"executer,omitempty"` // Executer is the entity that executed the command Error *OperatorCommandStatusError `json:"error,omitempty"` // Error is the error that occurred during the execution of the command (if any) + Payload []byte `json:"payload,omitempty"` // Payload is the response payload from execution of the command (if any) } type OperatorCommandStatusError struct {