Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 70 for metodo (0.37 sec)

  1. cni/pkg/util/podutil.go

    		)
    	return err
    }
    
    func AnnotateUnenrollPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error {
    	if pod.Annotations[constants.AmbientRedirection] != constants.AmbientRedirectionEnabled {
    		return nil
    	}
    	// TODO: do not overwrite if already none
    	_, err := client.CoreV1().
    		Pods(pod.Namespace).
    		Patch(
    			context.Background(),
    			pod.Name,
    			types.MergePatchType,
    			annotationRemovePatch,
    			metav1.PatchOptions{},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. istioctl/pkg/analyze/analyze.go

    				if selectedNamespace != "" {
    					client, err := ctx.CLIClient()
    					if err != nil {
    						return err
    					}
    					_, err = client.Kube().CoreV1().Namespaces().Get(context.TODO(), selectedNamespace, metav1.GetOptions{})
    					if errors.IsNotFound(err) {
    						fmt.Fprintf(cmd.ErrOrStderr(), "namespace %q not found\n", ctx.Namespace())
    						return nil
    					} else if err != nil {
    						return err
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/apps/v1/generated.proto

      // +optional
      optional string type = 1;
    
      // Rolling update config params. Present only if type = "RollingUpdate".
      // ---
      // TODO: Update this to follow our convention for oneOf, whatever we decide it
      // to be. Same as Deployment `strategy.rollingUpdate`.
      // See https://github.com/kubernetes/kubernetes/issues/35345
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin_dryrun_test.go

    			customGID: &customGID,
    			golden:    filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/custom-uid-tproxy.txt.golden"),
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			// TODO(bianpengyuan): How do we test ipv6 rules?
    			getNs = generateMockGetNsFunc(testSandboxDirectory)
    			tmpDir := t.TempDir()
    			outputFilePath := filepath.Join(tmpDir, "output.txt")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. istioctl/pkg/metrics/metrics.go

    	client, err := ctx.CLIClientWithRevision(metricsOpts.Revision)
    	if err != nil {
    		return fmt.Errorf("failed to create k8s client: %v", err)
    	}
    
    	pl, err := client.PodsForSelector(context.TODO(), ctx.IstioNamespace(), "app.kubernetes.io/name=prometheus")
    	if err != nil {
    		return fmt.Errorf("not able to locate Prometheus pod: %v", err)
    	}
    
    	if len(pl.Items) < 1 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. manifests/charts/istiod-remote/values.yaml

        # value.
        meshID: ""
        # Configure the mesh networks to be used by the Split Horizon EDS.
        #
        # The following example defines two networks with different endpoints association methods.
        # For `network1` all endpoints that their IP belongs to the provided CIDR range will be
        # mapped to network1. The gateway for this network example is specified by its public IP
        # address and port.
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // Default is OnDelete.
      // +optional
      optional string type = 1;
    
      // Rolling update config params. Present only if type = "RollingUpdate".
      // ---
      // TODO: Update this to follow our convention for oneOf, whatever we decide it
      // to be. Same as Deployment `strategy.rollingUpdate`.
      // See https://github.com/kubernetes/kubernetes/issues/35345
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  8. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      optional string includeObject = 1;
    }
    
    // Time is a wrapper around time.Time which supports correct
    // marshaling to YAML and JSON.  Wrappers are provided for many
    // of the factory methods that the time package offers.
    //
    // +protobuf.options.marshal=false
    // +protobuf.as=Timestamp
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    message Time {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  9. istioctl/pkg/multicluster/remote_secret.go

    		secretNamespace = opt.Namespace
    	}
    	return client.Kube().CoreV1().Secrets(secretNamespace).Get(context.TODO(), secretName, metav1.GetOptions{})
    }
    
    func getOrCreateServiceAccount(client kube.CLIClient, opt RemoteSecretOptions) (*v1.ServiceAccount, error) {
    	if sa, err := client.Kube().CoreV1().ServiceAccounts(opt.Namespace).Get(
    		context.TODO(), opt.ServiceAccountName, metav1.GetOptions{}); err == nil {
    		return sa, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  10. istioctl/pkg/cli/mock_client.go

    }
    
    func (c MockClient) EnvoyDo(ctx context.Context, podName, podNamespace, method, path string) ([]byte, error) {
    	results, ok := c.Results[podName]
    	if !ok {
    		return nil, fmt.Errorf("unable to retrieve Pod: pods %q not found", podName)
    	}
    	return results, nil
    }
    
    func (c MockClient) EnvoyDoWithPort(ctx context.Context, podName, podNamespace, method, path string, port int) ([]byte, error) {
    	results, ok := c.Results[podName]
    	if !ok {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top