Skip to content

Commit

Permalink
volumegroup: add parameters to modifyvolumegroup
Browse files Browse the repository at this point in the history
adding optional parameters to pass to the
ModifyVolumeGroupMembershipRequest so that
plugin can use the parameters to modify the volume
group or to modify the volumes in the group.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
  • Loading branch information
Madhu-1 authored and mergify[bot] committed Jul 30, 2024
1 parent dc98b45 commit 3958a5b
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 33 deletions.
89 changes: 56 additions & 33 deletions lib/go/volumegroup/volumegroup.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions volumegroup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ message ModifyVolumeGroupMembershipRequest {
// This field is OPTIONAL. Refer to the `Secrets Requirements`
// section on how to use this field.
map<string, string> secrets = 3 [(csi.v1.csi_secret) = true];
// parameters passed to the plugin to modify the volume group
// or to modify the volumes in the group.
// This field is OPTIONAL.
map<string, string> parameters = 4;
}
// ModifyVolumeGroupMembershipResponse holds the information to
// send when volumeGroup is successfully modified.
Expand Down
5 changes: 5 additions & 0 deletions volumegroup/volumegroup.proto
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ message ModifyVolumeGroupMembershipRequest {
// This field is OPTIONAL. Refer to the `Secrets Requirements`
// section on how to use this field.
map<string, string> secrets = 3 [(csi.v1.csi_secret) = true];

// parameters passed to the plugin to modify the volume group
// or to modify the volumes in the group.
// This field is OPTIONAL.
map<string, string> parameters = 4;
}
// ModifyVolumeGroupMembershipResponse holds the information to
// send when volumeGroup is successfully modified.
Expand Down

0 comments on commit 3958a5b

Please sign in to comment.