{"modulePath":"github.com/stackpointcloud/kubernetes","version":"v1.3.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package schedulercache\n\n## Types\n\n```go\ntype FakeCache struct {\n\tAssumeFunc func(*api.Pod)\n}\n```\nFakeCache is used for testing\n\n```go\nfunc (f *FakeCache) AddNode(node *api.Node) error\n```\n\n```go\nfunc (f *FakeCache) AddPod(pod *api.Pod) error\n```\n\n```go\nfunc (f *FakeCache) AssumePod(pod *api.Pod) error\n```\n\n```go\nfunc (f *FakeCache) GetNodeNameToInfoMap() (map[string]*schedulercache.NodeInfo, error)\n```\n\n```go\nfunc (f *FakeCache) List(s labels.Selector) ([]*api.Pod, error)\n```\n\n```go\nfunc (f *FakeCache) RemoveNode(node *api.Node) error\n```\n\n```go\nfunc (f *FakeCache) RemovePod(pod *api.Pod) error\n```\n\n```go\nfunc (f *FakeCache) UpdateNode(oldNode, newNode *api.Node) error\n```\n\n```go\nfunc (f *FakeCache) UpdatePod(oldPod, newPod *api.Pod) error\n```\n\n```go\ntype PodsToCache []*api.Pod\n```\nPodsToCache is used for testing\n\n```go\nfunc (p PodsToCache) AddNode(node *api.Node) error\n```\n\n```go\nfunc (p PodsToCache) AddPod(pod *api.Pod) error\n```\n\n```go\nfunc (p PodsToCache) AssumePod(pod *api.Pod) error\n```\n\n```go\nfunc (p PodsToCache) GetNodeNameToInfoMap() (map[string]*schedulercache.NodeInfo, error)\n```\n\n```go\nfunc (p PodsToCache) List(s labels.Selector) (selected []*api.Pod, err error)\n```\n\n```go\nfunc (p PodsToCache) RemoveNode(node *api.Node) error\n```\n\n```go\nfunc (p PodsToCache) RemovePod(pod *api.Pod) error\n```\n\n```go\nfunc (p PodsToCache) UpdateNode(oldNode, newNode *api.Node) error\n```\n\n```go\nfunc (p PodsToCache) UpdatePod(oldPod, newPod *api.Pod) error\n```\n\n","path":"github.com/stackpointcloud/kubernetes/plugin/pkg/scheduler/testing","name":"schedulercache","synopsis":"","isRedistributable":true}
