Rename [label] query to selector
This commit is contained in:
@@ -22,8 +22,8 @@ import (
|
||||
|
||||
// PodRegistry is an interface implemented by things that know how to store Pod objects.
|
||||
type PodRegistry interface {
|
||||
// ListPods obtains a list of pods that match query.
|
||||
ListPods(query labels.Query) ([]api.Pod, error)
|
||||
// ListPods obtains a list of pods that match selector.
|
||||
ListPods(selector labels.Selector) ([]api.Pod, error)
|
||||
// Get a specific pod
|
||||
GetPod(podID string) (*api.Pod, error)
|
||||
// Create a pod based on a specification, schedule it onto a specific machine.
|
||||
|
Reference in New Issue
Block a user