test(e2e): Add test for search (#4196)

* test(e2e): Add test for search

* CR

* CR
This commit is contained in:
Michael Li authored and Johan Brandhorst-Satzkorn committed 2024-01-05 07:43:21 -08:00
1 parent f38c79a5ce
commit 3a0c1b8e9f
2 files changed
+247

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package clientcache
import "github.com/hashicorp/boundary/internal/clientcache/internal/daemon"
// SearchResult describes the output from a search query when using the CLI
type SearchResult struct {
StatusCode int `json:"status_code"`
Item daemon.SearchResult `json:"item"`
}
// StatusResult describes the output from a status query when using the CLI
type StatusResult struct {
StatusCode int `json:"status_code"`
Item daemon.StatusResult `json:"item"`
}
// ResourceStatus describes a field in daemon.StatusResult
type ResourceStatus = daemon.ResourceStatus