Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Crooks (0.23 sec)

  1. istioctl/pkg/checkinject/checkinject.go

    	return cmd
    }
    
    func printCheckInjectorResults(writer io.Writer, was []webhookAnalysis) error {
    	if len(was) == 0 {
    		fmt.Fprintf(writer, "ERROR: no Istio injection hooks present.\n")
    		return nil
    	}
    	w := table.NewStyleWriter(writer)
    	w.SetAddRowFunc(func(obj interface{}) table.Row {
    		wa := obj.(webhookAnalysis)
    		row := table.Row{
    			Cells: make([]table.Cell, 0),
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/revision.go

    }
    
    func Webhooks(ctx context.Context, client kube.CLIClient) ([]admitv1.MutatingWebhookConfiguration, error) {
    	hooks, err := client.Kube().AdmissionregistrationV1().MutatingWebhookConfigurations().List(ctx, metav1.ListOptions{})
    	if err != nil {
    		return []admitv1.MutatingWebhookConfiguration{}, err
    	}
    	return hooks.Items, nil
    }
    
    func renderWithDefault(s, def string) string {
    	if s != "" {
    		return s
    	}
    	return def
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Jan 28 13:16:05 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  3. istioctl/pkg/injector/injector-list.go

    			if err != nil {
    				return err
    			}
    
    			sort.Slice(hooks, func(i, j int) bool {
    				return hooks[i].Name < hooks[j].Name
    			})
    			return printHooks(cmd.OutOrStdout(), nslist, hooks, injectedImages)
    		},
    	}
    
    	return cmd
    }
    
    func filterSystemNamespaces(nss []corev1.Namespace, istioNamespace string) []corev1.Namespace {
    	filtered := make([]corev1.Namespace, 0)
    	for _, ns := range nss {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top