diff --git a/pkg/command/commands.go b/pkg/command/commands.go index 0f532d8..3c5fd98 100644 --- a/pkg/command/commands.go +++ b/pkg/command/commands.go @@ -12,6 +12,7 @@ const ( OperatorCommandTypeCreateRegistry OperatorCommandType = "CreateRegistry" OperatorCommandTypeUpdateRegistry OperatorCommandType = "UpdateRegistry" OperatorCommandTypeDeleteRegistry OperatorCommandType = "DeleteRegistry" + OperatorCommandTypeCheckRegistry OperatorCommandType = "CheckRegistry" ) // ResponseCommand 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 {