This is an automated email from the ASF dual-hosted git repository.
mani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-core.git
The following commit(s) were added to refs/heads/master by this push:
new 3c49d390 [YUNIKORN-2122] removed QueueDAOInfo and QueueCapacity (#695)
3c49d390 is described below
commit 3c49d390e590ff50aaec8c9c7b78674c6608177d
Author: Vinayak Hegde <[email protected]>
AuthorDate: Mon Nov 6 15:01:37 2023 +0530
[YUNIKORN-2122] removed QueueDAOInfo and QueueCapacity (#695)
Closes: #695
Signed-off-by: Manikandan R <[email protected]>
---
pkg/webservice/dao/queue_info.go | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/pkg/webservice/dao/queue_info.go b/pkg/webservice/dao/queue_info.go
index 515d801e..fba15ef0 100644
--- a/pkg/webservice/dao/queue_info.go
+++ b/pkg/webservice/dao/queue_info.go
@@ -17,21 +17,6 @@ limitations under the License.
*/
package dao
-type QueueDAOInfo struct {
- QueueName string `json:"queuename,omitempty"`
- Status string `json:"status,omitempty"`
- Capacities QueueCapacity `json:"capacities"` // no omitempty,
omitempty doesn't work on a structure value
- ChildQueues []QueueDAOInfo `json:"queues,omitempty"`
- Properties map[string]string `json:"properties,omitempty"`
-}
-
-type QueueCapacity struct {
- Capacity map[string]int64 `json:"capacity,omitempty"`
- MaxCapacity map[string]int64 `json:"maxCapacity,omitempty"`
- UsedCapacity map[string]int64 `json:"usedCapacity,omitempty"`
- AbsUsedCapacity map[string]int64 `json:"absUsedCapacity,omitempty"`
-}
-
type TemplateInfo struct {
MaxResource map[string]int64 `json:"maxResource,omitempty"`
GuaranteedResource map[string]int64
`json:"guaranteedResource,omitempty"`
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]