Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 246 for errors (0.15 sec)

  1. manifests/charts/UPDATING-CHARTS.md

    ## Step 3. Update istioctl schema
    
    Istioctl uses a [schema](../../operator/pkg/apis/istio/v1alpha1/values_types.proto) to validate the values. Any changes to
    the schema must be added here, otherwise istioctl users will see errors.
    Once the schema file is updated, run:
    
    ```bash
    $ make operator-proto
    ```
    
    This will regenerate the Go structs used for schema validation.
    
    ## Step 4. Update the generated manifests
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jul 27 18:28:55 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. istioctl/pkg/admin/istiodconfig.go

    		return nil, fmt.Errorf("cannot deserialize response %s", err)
    	}
    	return scopeInfos, nil
    }
    
    func (c *ControlzClient) PutScope(scope *ScopeInfo) error {
    	var jsonScopeInfo bytes.Buffer
    	err := json.NewEncoder(&jsonScopeInfo).Encode(scope)
    	if err != nil {
    		return fmt.Errorf("cannot serialize scope %+v", *scope)
    	}
    	req, err := http.NewRequest(http.MethodPut, c.baseURL.String()+"/"+scope.Name, &jsonScopeInfo)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. cni/test/install_cni.go

    		if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
    			// Error was caused by interrupt/termination signal
    			t.Logf("installer complete: %v", err)
    		} else {
    			t.Errorf("installer failed: %v", err)
    		}
    	}
    
    	if cleanErr := installer.Cleanup(); cleanErr != nil {
    		t.Errorf("Error during test CNI installer cleanup, error was: %s", cleanErr)
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables.go

    		}
    	}
    	return errors.Join(execErrs...)
    }
    
    func (cfg *IptablesConfigurator) executeIptablesCommands(iptVer *dep.IptablesVersion, args [][]string) error {
    	var iptErrs []error
    	for _, argSet := range args {
    		iptErrs = append(iptErrs, cfg.ext.Run(iptablesconstants.IPTables, iptVer, nil, argSet...))
    	}
    	return errors.Join(iptErrs...)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  5. istioctl/pkg/validate/validate.go

    func checkFields(un *unstructured.Unstructured) error {
    	var errs error
    	for key := range un.Object {
    		if _, ok := validFields[key]; !ok {
    			errs = multierror.Append(errs, fmt.Errorf("unknown field %q", key))
    		}
    	}
    	return errs
    }
    
    func (v *validator) validateResource(istioNamespace, defaultNamespace string, un *unstructured.Unstructured, writer io.Writer) (validation.Warning, error) {
    	gvk := config.GroupVersionKind{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  6. istioctl/pkg/dashboard/dashboard.go

    				return fmt.Errorf("name cannot be provided when a selector is specified")
    			}
    
    			if err != nil {
    				return fmt.Errorf("failed to create k8s client: %v", err)
    			}
    
    			var podName, ns string
    			if labelSelector != "" {
    				pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector)
    				if err != nil {
    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)
  7. istioctl/pkg/checkinject/checkinject.go

    `,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) == 0 && labelPairs == "" || len(args) > 1 {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("check-inject requires only [<resource-type>/]<resource-name>[.<namespace>], or specify labels flag")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    			if err != nil {
    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)
  8. operator/cmd/mesh/operator-remove.go

    		Args: func(cmd *cobra.Command, args []string) error {
    			if orArgs.revision == "" && !orArgs.purge {
    				return fmt.Errorf("at least one of the --revision or --purge flags must be set")
    			}
    			if len(args) > 0 {
    				return fmt.Errorf("istioctl operator remove does not take arguments")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			client, err := ctx.CLIClient()
    			if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. cni/pkg/ipset/ipset.go

    	deleteIP(name string, ip netip.Addr, ipProto uint8) error
    	flush(name string) error
    	clearEntriesWithComment(name string, comment string) error
    	clearEntriesWithIP(name string, ip netip.Addr) error
    	listEntriesByIP(name string) ([]netip.Addr, error)
    }
    
    // TODO this should actually create v6 and v6 subsets of type `hash:ip`, add them both to a
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      //   2. If ALL matchConditions evaluate to TRUE, the webhook is called.
      //   3. If any matchCondition evaluates to an error (but none are FALSE):
      //      - If failurePolicy=Fail, reject the request
      //      - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
      //
      // This is an alpha feature and managed by the AdmissionWebhookMatchConditions feature gate.
      //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top