Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for injectionDisabled (0.19 sec)

  1. istioctl/pkg/injector/injector-list.go

    		counts.pods++
    		if injectionDisabled(&pod) {
    			counts.disabled++
    		} else if revision != expectedRevision {
    			counts.needsRestart++
    		}
    		retval[revisionLabel] = counts
    	}
    	return retval
    }
    
    func extractRevisionFromPod(pod *corev1.Pod) string {
    	return describe.GetRevisionFromPodAnnotation(pod.GetAnnotations())
    }
    
    func injectionDisabled(pod *corev1.Pod) bool {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 18 11:39:52 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. istioctl/pkg/injector/injector-list_test.go

    					Labels:      nil,
    				},
    			},
    			expected: false,
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.name), func(t *testing.T) {
    			assert.Equal(t, c.expected, injectionDisabled(c.pod))
    		})
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top