Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for containerName (0.15 sec)

  1. operator/cmd/mesh/manifest-generate_test.go

    		for _, os := range objs {
    			containerName := tt.deploymentName
    			if tt.containerName != "" {
    				containerName = tt.containerName
    			}
    			container := mustGetContainer(g, os, tt.deploymentName, containerName)
    			g.Expect(container).Should(HavePathValueEqual(PathValue{"image", tt.want}))
    		}
    	}
    }
    
    func TestManifestGenerateGateways(t *testing.T) {
    	g := NewWithT(t)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  2. operator/cmd/mesh/test-util_test.go

    func mustGetContainer(g *WithT, objs *ObjectSet, deploymentName, containerName string) map[string]any {
    	obj := mustGetDeployment(g, objs, deploymentName)
    	container := obj.Container(containerName)
    	g.Expect(container).Should(Not(BeNil()), fmt.Sprintf("Expected to get container %s in deployment %s", containerName, deploymentName))
    	return container
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe.go

    	return nil
    }
    
    func containerReady(pod *corev1.Pod, containerName string) (bool, error) {
    	for _, containerStatus := range pod.Status.ContainerStatuses {
    		if containerStatus.Name == containerName {
    			return containerStatus.Ready, nil
    		}
    	}
    	for _, containerStatus := range pod.Status.InitContainerStatuses {
    		if containerStatus.Name == containerName {
    			return containerStatus.Ready, nil
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top