|
|
@@ -25,15 +25,15 @@ type MockClusterCache struct {
|
|
|
func (m *MockClusterCache) Run() {}
|
|
|
func (m *MockClusterCache) Stop() {}
|
|
|
|
|
|
-func (m *MockClusterCache) GetAllNodes() []*Node { return m.Nodes }
|
|
|
-func (m *MockClusterCache) GetAllPods() []*Pod { return m.Pods }
|
|
|
-func (m *MockClusterCache) GetAllNamespaces() []*Namespace { return m.Namespaces }
|
|
|
-func (m *MockClusterCache) GetAllServices() []*Service { return m.Services }
|
|
|
-func (m *MockClusterCache) GetAllDaemonSets() []*DaemonSet { return m.DaemonSets }
|
|
|
-func (m *MockClusterCache) GetAllDeployments() []*Deployment { return m.Deployments }
|
|
|
-func (m *MockClusterCache) GetAllStatefulSets() []*StatefulSet { return m.StatefulSets }
|
|
|
-func (m *MockClusterCache) GetAllReplicaSets() []*ReplicaSet { return m.ReplicaSets }
|
|
|
-func (m *MockClusterCache) GetAllPersistentVolumes() []*PersistentVolume { return m.PersistentVolumes }
|
|
|
+func (m *MockClusterCache) GetAllNodes() []*Node { return m.Nodes }
|
|
|
+func (m *MockClusterCache) GetAllPods() []*Pod { return m.Pods }
|
|
|
+func (m *MockClusterCache) GetAllNamespaces() []*Namespace { return m.Namespaces }
|
|
|
+func (m *MockClusterCache) GetAllServices() []*Service { return m.Services }
|
|
|
+func (m *MockClusterCache) GetAllDaemonSets() []*DaemonSet { return m.DaemonSets }
|
|
|
+func (m *MockClusterCache) GetAllDeployments() []*Deployment { return m.Deployments }
|
|
|
+func (m *MockClusterCache) GetAllStatefulSets() []*StatefulSet { return m.StatefulSets }
|
|
|
+func (m *MockClusterCache) GetAllReplicaSets() []*ReplicaSet { return m.ReplicaSets }
|
|
|
+func (m *MockClusterCache) GetAllPersistentVolumes() []*PersistentVolume { return m.PersistentVolumes }
|
|
|
func (m *MockClusterCache) GetAllPersistentVolumeClaims() []*PersistentVolumeClaim {
|
|
|
return m.PersistentVolumeClaims
|
|
|
}
|
|
|
@@ -46,4 +46,4 @@ func (m *MockClusterCache) GetAllPodDisruptionBudgets() []*PodDisruptionBudget {
|
|
|
func (m *MockClusterCache) GetAllReplicationControllers() []*ReplicationController {
|
|
|
return m.ReplicationControllers
|
|
|
}
|
|
|
-func (m *MockClusterCache) GetAllResourceQuotas() []*ResourceQuota { return m.ResourceQuotas }
|
|
|
+func (m *MockClusterCache) GetAllResourceQuotas() []*ResourceQuota { return m.ResourceQuotas }
|