Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for lien (0.21 sec)

  1. istioctl/pkg/tag/tag.go

      kubectl rollout restart deployments -n test-ns
    `,
    		SuggestFor: []string{"create"},
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) == 0 {
    				return fmt.Errorf("must provide a tag for modification")
    			}
    			if len(args) > 1 {
    				return fmt.Errorf("must provide a single tag for creation")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    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)
  2. istioctl/pkg/writer/compare/testdata/configdump_diff.json

                                  "prefix_len": 32
                                },
                                {
                                  "address_prefix": "192.168.195.211",
                                  "prefix_len": 32
                                },
                                {
                                  "address_prefix": "192.168.252.206",
                                  "prefix_len": 32
                                },
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 51.6K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/util.go

    	whs, err := GetWebhooksWithRevision(ctx, client, DefaultRevisionName)
    	if err != nil {
    		return err
    	}
    	if len(whs) == 0 {
    		// no revision with default, no action required.
    		return nil
    	}
    	if len(whs) > 1 {
    		return fmt.Errorf("expected a single webhook for default revision")
    	}
    	webhook := whs[0]
    	for i := range webhook.Webhooks {
    		wh := webhook.Webhooks[i]
    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)
  4. cni/pkg/plugin/kubernetes.go

    // The sidecar can be a normal container or init in Kubernetes 1.28+
    func containers(pod *v1.Pod) []v1.Container {
    	res := make([]v1.Container, 0, len(pod.Spec.Containers)+len(pod.Spec.InitContainers))
    	res = append(res, pod.Spec.InitContainers...)
    	res = append(res, pod.Spec.Containers...)
    	return res
    }
    
    func (pi PodInfo) String() string {
    	var b strings.Builder
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. cni/pkg/log/uds_test.go

    	gotLogs := strings.Split(
    		strings.TrimSuffix(string(out), "\n"), "\n")
    	if want, got := len(wantLevels), len(gotLogs); want != got {
    		t.Fatalf("Number of logs want %v, got %v logs: %v", want, got, gotLogs)
    	}
    
    	for i, l := range gotLogs {
    		// For each line, there should be two level string, e.g.
    		// "2021-07-09T03:26:08.984951Z	debug	debug log"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Mar 16 00:20:01 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    			err := cw.Prime(cd)
    			if cw.configDump == nil {
    				if tt.wantConfigs != 0 {
    					t.Errorf("wanted some configs loaded but config dump was nil")
    				}
    			} else if len(cw.configDump.Configs) != tt.wantConfigs {
    				t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.configDump.Configs))
    			}
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    		})
    	}
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jan 03 23:08:06 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. cni/pkg/install/install_test.go

    			in.cniConfigFilepath = cniConfigFilepath
    
    			if err := file.AtomicCopy(filepath.Join("testdata", c.saFilename), tempDir, c.saFilename); err != nil {
    				t.Fatal(err)
    			}
    
    			if len(c.invalidConfigFilename) > 0 {
    				// Copy an invalid config file into tempDir
    				if err := file.AtomicCopy(filepath.Join("testdata", c.invalidConfigFilename), tempDir, c.cniConfigFilename); err != nil {
    					t.Fatal(err)
    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)
  8. manifests/charts/istio-control/istio-discovery/templates/NOTES.txt

    }}
    {{- range $dep, $replace := $deps }}
    {{- /* Complex logic to turn the string above into a null-safe traversal like ((.Values.global).certificates */}}
    {{- $res := tpl (print "{{" (repeat (split "." $dep | len) "(")  ".Values." (replace "." ")." $dep) ")}}") $}}
    {{- if not (eq $res "")}}
    WARNING: {{$dep|quote}} is deprecated; use {{$replace|quote}} instead.
    {{- end }}
    {{- end }}
    {{-
      $failDeps := dict
    Plain Text
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Dec 13 03:23:36 GMT 2023
    - 4K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint.go

      istioctl x waypoint delete --all --namespace default`,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if deleteAll && len(args) > 0 {
    				return fmt.Errorf("cannot specify waypoint names when deleting all waypoints")
    			}
    			if !deleteAll && len(args) == 0 {
    				return fmt.Errorf("must either specify a waypoint name or delete all using --all")
    			}
    			return nil
    		},
    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)
  10. common/Makefile.common.mk

    lint-go:
    	@${FINDFILES} -name '*.go' \( ! \( -name '*.gen.go' -o -name '*.pb.go' \) \) -print0 | ${XARGS} common/scripts/lint_go.sh
    
    lint-python:
    	@${FINDFILES} -name '*.py' \( ! \( -name '*_pb2.py' \) \) -print0 | ${XARGS} autopep8 --max-line-length 160 --exit-code -d
    
    lint-markdown:
    	@${FINDFILES} -name '*.md' -print0 | ${XARGS} mdl --ignore-front-matter --style common/config/mdl.rb
    
    lint-links:
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Mar 02 20:07:36 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top