Help us shape the future of Go! Take the 2026 Go Developer Survey

search

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2017 License: Apache-2.0 Imports: 25 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 {

	// Cluster.
	NamespaceList        namespace.NamespaceList               `json:"namespaceList"`
	NodeList             node.NodeList                         `json:"nodeList"`
	PersistentVolumeList persistentvolume.PersistentVolumeList `json:"persistentVolumeList"`
	RoleList             rbacroles.RbacRoleList                `json:"roleList"`
	StorageClassList     storageclass.StorageClassList         `json:"storageClassList"`

	// Config and storage.
	ConfigMapList             configmap.ConfigMapList       `json:"configMapList"`
	PersistentVolumeClaimList pvc.PersistentVolumeClaimList `json:"persistentVolumeClaimList"`
	SecretList                secret.SecretList             `json:"secretList"`

	// Discovery and load balancing.
	ServiceList service.ServiceList `json:"serviceList"`
	IngressList ingress.IngressList `json:"ingressList"`

	// Workloads.
	DeploymentList            deployment.DeploymentList    `json:"deploymentList"`
	ReplicaSetList            replicaset.ReplicaSetList    `json:"replicaSetList"`
	JobList                   job.JobList                  `json:"jobList"`
	ReplicationControllerList rc.ReplicationControllerList `json:"replicationControllerList"`
	PodList                   pod.PodList                  `json:"podList"`
	DaemonSetList             daemonset.DaemonSetList      `json:"daemonSetList"`
	StatefulSetList           statefulset.StatefulSetList  `json:"statefulSetList"`
}

SearchResult is a list of resources matching search criteria found in whole cluster.

func Search(client *kubernetes.Clientset, heapsterClient client.HeapsterClient, nsQuery *common.NamespaceQuery,
	dsQuery *dataselect.DataSelectQuery) (*SearchResult, error)

Jump to

Keyboard shortcuts

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