Rename root, api and sdk module paths (imports, go.mod, go_package, ldflags, build scripts, buf configs) and regenerate protobuf/gateway code with the project's pinned toolchain. Wire identifiers unchanged. api gets a local replace for sdk; root/api/sdk require v0.1.0. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
22 lines
698 B
Go
22 lines
698 B
Go
// Copyright IBM Corp. 2020, 2026
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
package clientcache
|
|
|
|
import "repo.anhonesthost.net/CyberCoveLLC/threshold/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
|