Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SearchResult ¶
type SearchResult struct { // Inherits fields from the cluster, config, discovery, and workloads objects. cluster.Cluster `json:",inline"` config.Config `json:",inline"` discovery.Discovery `json:",inline"` workload.Workloads `json:",inline"` // List of non-critical errors, that occurred during resource retrieval. Errors []error `json:"errors"` }
SearchResult is a list of resources matching search criteria found in whole cluster.
func Search ¶
func Search(client kubernetes.Interface, metricClient metricapi.MetricClient, nsQuery *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*SearchResult, error)
Search returns a list of all objects matching search criteria (specified in namespace and data select queries).
Click to show internal directories.
Click to hide internal directories.