Skip to content

Commit

Permalink
chore: rename SetClusterStatus to SetStatusInCluster
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Nenciarini <[email protected]>
  • Loading branch information
mnencia committed Aug 20, 2024
1 parent bdfefbd commit 5844b83
Show file tree
Hide file tree
Showing 5 changed files with 123 additions and 122 deletions.
6 changes: 3 additions & 3 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ RPC
rpc
RPCs
ScheduledBackup
SetClusterStatus
SetClusterStatusRequest
SetClusterStatusResponse
SetStatusInCluster
SetStatusInClusterRequest
SetStatusInClusterResponse
SetFirstRequired
SetFirstRequiredRequest
SetFirstRequiredResult
Expand Down
16 changes: 8 additions & 8 deletions docs/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
- [OperatorValidateClusterChangeResult](#cnpgi-operator-v1-OperatorValidateClusterChangeResult)
- [OperatorValidateClusterCreateRequest](#cnpgi-operator-v1-OperatorValidateClusterCreateRequest)
- [OperatorValidateClusterCreateResult](#cnpgi-operator-v1-OperatorValidateClusterCreateResult)
- [SetClusterStatusRequest](#cnpgi-operator-v1-SetClusterStatusRequest)
- [SetClusterStatusResponse](#cnpgi-operator-v1-SetClusterStatusResponse)
- [SetStatusInClusterRequest](#cnpgi-operator-v1-SetStatusInClusterRequest)
- [SetStatusInClusterResponse](#cnpgi-operator-v1-SetStatusInClusterResponse)
- [ValidationError](#cnpgi-operator-v1-ValidationError)

- [OperatorCapability.RPC.Type](#cnpgi-operator-v1-OperatorCapability-RPC-Type)
Expand Down Expand Up @@ -625,9 +625,9 @@ Intentionally empty.



<a name="cnpgi-operator-v1-SetClusterStatusRequest"></a>
<a name="cnpgi-operator-v1-SetStatusInClusterRequest"></a>

### SetClusterStatusRequest
### SetStatusInClusterRequest



Expand All @@ -640,9 +640,9 @@ Intentionally empty.



<a name="cnpgi-operator-v1-SetClusterStatusResponse"></a>
<a name="cnpgi-operator-v1-SetStatusInClusterResponse"></a>

### SetClusterStatusResponse
### SetStatusInClusterResponse



Expand Down Expand Up @@ -685,7 +685,7 @@ Intentionally empty.
| TYPE_VALIDATE_CLUSTER_CREATE | 1 | TYPE_VALIDATE_CLUSTER_CREATE indicates that the Plugin is able to reply to the ValidateClusterCreate RPC request |
| TYPE_VALIDATE_CLUSTER_CHANGE | 2 | TYPE_VALIDATE_CLUSTER_CHANGE indicates that the Plugin is able to reply to the ValidateClusterChange RPC request |
| TYPE_MUTATE_CLUSTER | 3 | TYPE_MUTATE_CLUSTER indicates that the Plugin is able to reply to the MutateCluster RPC request |
| TYPE_SET_CLUSTER_STATUS | 5 | TYPE_SET_CLUSTER_STATUS indicates that the Plugin is able to set cluster status |
| TYPE_SET_STATUS_IN_CLUSTER | 5 | TYPE_SET_STATUS_IN_CLUSTER indicates that the Plugin is able to reply to the SetStatusInCluster RPC request |
| TYPE_DEREGISTER | 6 | TYPE_DEREGISTER indicates that the Plugin is able to execute the cleanup logic once it is removed from the cluster definition |


Expand All @@ -705,7 +705,7 @@ Intentionally empty.
| ValidateClusterCreate | [OperatorValidateClusterCreateRequest](#cnpgi-operator-v1-OperatorValidateClusterCreateRequest) | [OperatorValidateClusterCreateResult](#cnpgi-operator-v1-OperatorValidateClusterCreateResult) | ValidateCreate improves the behavior of the validating webhook that is called on creation of the Cluster resources |
| ValidateClusterChange | [OperatorValidateClusterChangeRequest](#cnpgi-operator-v1-OperatorValidateClusterChangeRequest) | [OperatorValidateClusterChangeResult](#cnpgi-operator-v1-OperatorValidateClusterChangeResult) | ValidateClusterChange improves the behavior of the validating webhook of is called on updates of the Cluster resources |
| MutateCluster | [OperatorMutateClusterRequest](#cnpgi-operator-v1-OperatorMutateClusterRequest) | [OperatorMutateClusterResult](#cnpgi-operator-v1-OperatorMutateClusterResult) | MutateCluster fills in the defaults inside a Cluster resource |
| SetClusterStatus | [SetClusterStatusRequest](#cnpgi-operator-v1-SetClusterStatusRequest) | [SetClusterStatusResponse](#cnpgi-operator-v1-SetClusterStatusResponse) | SetClusterStatus is invoked at the end of the reconciliation loop and it is used to set the plugin status inside the .status.plugins[pluginName] map key |
| SetStatusInCluster | [SetStatusInClusterRequest](#cnpgi-operator-v1-SetStatusInClusterRequest) | [SetStatusInClusterResponse](#cnpgi-operator-v1-SetStatusInClusterResponse) | SetStatusInCluster is invoked at the end of the reconciliation loop and it is used to set the plugin status inside the .status.plugins[pluginName] map key |
| Deregister | [DeregisterRequest](#cnpgi-operator-v1-DeregisterRequest) | [DeregisterResponse](#cnpgi-operator-v1-DeregisterResponse) | Deregister is invoked when the plugin is removed from the cluster definition. It is expected that the plugin executes its cleanup logic when this method is invoked. |


Expand Down
Loading

0 comments on commit 5844b83

Please sign in to comment.