Skip to content

Commit

Permalink
Add notes for listall
Browse files Browse the repository at this point in the history
  • Loading branch information
piroux-sg committed Mar 11, 2024
1 parent efddeb7 commit d61cb77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/provider/api_object.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ func (obj *api_object) read_object_from_listall() error {
return err
}

// NOTE: If another resource beyond Secret need to use the listall path for read purposes,
// a type switch deriving the resource type from the get_path shall be added here.

type secretListAllResponse struct {
Msg []struct {
ResourceName string `json:"ResourceName"`
Expand Down

0 comments on commit d61cb77

Please sign in to comment.