Skip to content

Commit

Permalink
Merge pull request #29 from kubescape/reg-check
Browse files Browse the repository at this point in the history
add check registry command type
  • Loading branch information
refaelm92 authored Nov 12, 2024
2 parents 2195e1b + 91cbeb3 commit 83fdb0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/command/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const (
OperatorCommandTypeCreateRegistry OperatorCommandType = "CreateRegistry"
OperatorCommandTypeUpdateRegistry OperatorCommandType = "UpdateRegistry"
OperatorCommandTypeDeleteRegistry OperatorCommandType = "DeleteRegistry"
OperatorCommandTypeCheckRegistry OperatorCommandType = "CheckRegistry"
)

// ResponseCommand
Expand Down
1 change: 1 addition & 0 deletions pkg/command/types/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 83fdb0f

Please sign in to comment.