Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for babel (0.12 sec)

  1. istioctl/pkg/checkinject/checkinject.go

    		if nsMatched && podMatched {
    			if nsLabel != "" && podLabel != "" {
    				return fmt.Sprintf("Namespace label %s matches, and pod label %s matches", nsLabel, podLabel), true
    			} else if nsLabel != "" {
    				outMsg := fmt.Sprintf("Namespace label %s matches", nsLabel)
    				if strings.Contains(nsLabel, "kubernetes.io/metadata.name") {
    					outMsg += " (Automatic injection is enabled in all namespaces)."
    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/clioptions/central.go

    		"XDS Endpoint")
    	cmd.PersistentFlags().StringVar(&o.CertDir, "cert-dir", viper.GetString("CERT-DIR"),
    		"XDS Endpoint certificate directory")
    	cmd.PersistentFlags().StringVar(&o.XdsPodLabel, "xds-label", "",
    		"Istiod pod label selector")
    	cmd.PersistentFlags().IntVar(&o.XdsPodPort, "xds-port", viper.GetInt("XDS-PORT"),
    		"Istiod pod port")
    	cmd.PersistentFlags().DurationVar(&o.Timeout, "timeout", time.Second*30,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  3. istioctl/pkg/waypoint/waypoint_test.go

    package waypoint
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"os"
    	"strings"
    	"testing"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	gateway "sigs.k8s.io/gateway-api/apis/v1"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pilot/pkg/model/kstatus"
    	"istio.io/istio/pkg/config/constants"
    )
    
    func TestWaypointList(t *testing.T) {
    	cases := []struct {
    		name            string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. istioctl/pkg/multixds/gather.go

    	xdsstatus "github.com/envoyproxy/go-control-plane/envoy/service/status/v3"
    	"google.golang.org/grpc"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/xds"
    	pilotxds "istio.io/istio/pilot/pkg/xds"
    	"istio.io/istio/pkg/kube"
    	istioversion "istio.io/istio/pkg/version"
    )
    
    const (
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  5. istioctl/pkg/internaldebug/internal-debug.go

      # (Select a specific control plane in an in-cluster canary Istio configuration.)
      istioctl x internal-debug syncz --xds-label istio.io/rev=default
    `,
    		RunE: func(c *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClientWithRevision(opts.Revision)
    			if err != nil {
    				return err
    			}
    			if len(args) == 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. istioctl/pkg/proxystatus/proxystatus.go

      # Retrieve proxy status information via XDS from specific control plane in multi-control plane in-cluster configuration
      # (Select a specific control plane in an in-cluster canary Istio configuration.)
      istioctl ps --xds-label istio.io/rev=default
    `,
    		Aliases: []string{"ps"},
    		RunE: func(c *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClientWithRevision(opts.Revision)
    			if err != nil {
    				return err
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/tag_test.go

    							Labels: map[string]string{
    								label.IoIstioRev.Name: "revision",
    								IstioTagLabel:         "test",
    							},
    						},
    					},
    				},
    			},
    			namespaces: corev1.NamespaceList{
    				Items: []corev1.Namespace{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name:   "dependent",
    							Labels: map[string]string{label.IoIstioRev.Name: "test"},
    						},
    					},
    				},
    			},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/informers_test.go

    	// wait for an update events
    	// total 3 update at before unlabel point: 1. init ns reconcile 2. ns label reconcile 3. pod annotation update
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "update"}, monitortest.AtLeast(4))
    
    	waitForMockCalls()
    
    	assertPodNotAnnotated(t, client, pod)
    
    	// patch a test label to emulate a POD update event
    	_, err = client.Kube().CoreV1().Pods(pod.Namespace).Patch(ctx, pod.Name,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  9. istioctl/pkg/util/ambient/util.go

    // limitations under the License.
    
    package ambient
    
    import (
    	"context"
    	"strings"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/label"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    )
    
    func IsZtunnelPod(client kube.CLIClient, podName, podNamespace string) bool {
    	isZtunnel := strings.HasPrefix(podName, "ztunnel")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. istioctl/pkg/dashboard/dashboard.go

    	envoy.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector")
    	envoy.PersistentFlags().IntVar(&proxyAdminPort, "ui-port", util.DefaultProxyAdminPort, "The component dashboard UI port.")
    	dashboardCmd.AddCommand(envoy)
    
    	proxy := proxyDashCmd(cliContext)
    	proxy.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
Back to top