Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for neil (0.18 sec)

  1. istioctl/pkg/xds/google.go

    		"x-goog-user-project": c.project,
    	}
    	if err := updateAuthHdrs(ctx, uri, "k8s", c.k8sCreds, ret, "x-mesh-authorization"); err != nil {
    		return nil, err
    	}
    	if err := updateAuthHdrs(ctx, uri, "gcp", c.gcpCreds, ret, "authorization"); err != nil {
    		return nil, err
    	}
    	return ret, nil
    }
    
    func (*meshAuthCredentials) RequireTransportSecurity() bool {
    	return true
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Nov 14 20:23:34 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/util.go

    	webhooks, err := client.AdmissionregistrationV1().MutatingWebhookConfigurations().List(ctx, metav1.ListOptions{
    		LabelSelector: label.IoIstioRev.Name,
    	})
    	if err != nil {
    		return nil, err
    	}
    	return webhooks.Items, nil
    }
    
    // GetWebhooksWithTag returns webhooks tagged with istio.io/tag=<tag>.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  3. istioctl/pkg/writer/envoy/configdump/ecds.go

    	if c.configDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    
    	dump, err := c.configDump.GetEcdsConfigDump()
    	if err != nil {
    		return err
    	}
    
    	out, err := protomarshal.MarshalIndentWithGlobalTypesResolver(dump, "    ")
    	if err != nil {
    		return err
    	}
    	if outputFormat == "yaml" {
    		if out, err = yaml.JSONToYAML(out); err != nil {
    			return err
    		}
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Jan 14 02:41:27 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. istioctl/pkg/util/configdump/listener.go

    }
    
    // GetListenerConfigDump retrieves the listener config dump from the ConfigDump
    func (w *Wrapper) GetListenerConfigDump() (*admin.ListenersConfigDump, error) {
    	listenerDumpAny, err := w.getSection(listeners)
    	if err != nil {
    		return nil, err
    	}
    	listenerDump := &admin.ListenersConfigDump{}
    	err = listenerDumpAny.UnmarshalTo(listenerDump)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  5. istioctl/pkg/waypoint/waypoint.go

    func deleteWaypoints(cmd *cobra.Command, kubeClient kube.CLIClient, namespace string, names []string) error {
    	var multiErr *multierror.Error
    	if names == nil {
    		// If names is nil, delete all waypoints
    		waypoints, err := kubeClient.GatewayAPI().GatewayV1().Gateways(namespace).
    			List(context.Background(), metav1.ListOptions{})
    		if err != nil {
    			return err
    		}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 16:16:40 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  6. cni/pkg/install/install_test.go

    					t.Fatal(err)
    				}
    			} else {
    				if err := os.Remove(cniConfigFilepath); err != nil {
    					t.Fatal(err)
    				}
    			}
    
    			select {
    			case err := <-errChan:
    				if err != nil {
    					// An invalid configuration should return nil
    					// Either an invalid config did not return nil (which is an issue) or an unexpected error occurred
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/sds/util.go

    		meta, err = secretMetaFromCert([]byte(s.data))
    		if err != nil {
    			log.Debugf("failed to parse secret resource %s from source %s: %v",
    				s.name, s.source, err)
    			result.Valid = false
    			return result, nil
    		}
    		result.SecretMeta = meta
    		result.Valid = meta.Valid
    		return result, nil
    	}
    	result.Valid = false
    	return result, nil
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/tag.go

    			if !generate {
    				if !util.Confirm("Apply anyways? [y/N]", w) {
    					return nil
    				}
    			}
    		}
    	}
    
    	if generate {
    		_, err := w.Write([]byte(tagWhYAML))
    		if err != nil {
    			return err
    		}
    		return nil
    	}
    
    	if err := Create(kubeClient, tagWhYAML, istioNS); err != nil {
    		return fmt.Errorf("failed to apply tag webhook MutatingWebhookConfiguration to cluster: %v", err)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/generate_test.go

    				// this is nil since we've already have one with failed FailurePolicy in the fake client
    				if webhook.FailurePolicy != nil {
    					t.Fatalf("expected FailurePolicy to be nil, got %v", *webhook.FailurePolicy)
    				}
    
    				if tc.whSVC != "" {
    					if validationWhConf.Service == nil {
    						t.Fatalf("expected validation service %s, got nil", tc.whSVC)
    					}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  10. cni/pkg/repair/repaircontroller.go

    	return c, nil
    }
    
    func (c *Controller) Run(stop <-chan struct{}) {
    	kube.WaitForCacheSync("repair controller", stop, c.pods.HasSynced)
    	c.queue.Run(stop)
    	c.pods.ShutdownHandlers()
    }
    
    func (c *Controller) Reconcile(key types.NamespacedName) error {
    	pod := c.pods.Get(key.Name, key.Namespace)
    	if pod == nil {
    		delete(c.repairedPods, key) // Ensure we do not leak
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top