search

package
v1.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2018 License: Apache-2.0 Imports: 9 Imported by: 41

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(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).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL