Prefix ACI container groups with namespace name, also fix for container ports in ACI provider

This commit is contained in:
Erik St. Martin
2017-12-05 11:35:42 -06:00
parent 0075e5b0f3
commit 0dadbd7898
5 changed files with 25 additions and 14 deletions

View File

@@ -22,10 +22,10 @@ type Provider interface {
DeletePod(pod *v1.Pod) error
// GetPod retrieves a pod by name from the provider (can be cached).
GetPod(name string) (*v1.Pod, error)
GetPod(namespace, name string) (*v1.Pod, error)
// GetPodStatus retrievesthe status of a pod by name from the provider.
GetPodStatus(name string) (*v1.PodStatus, error)
GetPodStatus(namespace, name string) (*v1.PodStatus, error)
// GetPods retrieves a list of all pods running on the provider (can be cached).
GetPods() ([]*v1.Pod, error)