search

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

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