Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Issued (0.18 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    }
    
    // Prime loads the config dump into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	cd := ZtunnelDump{}
    	// TODO(fisherxu): migrate this to jsonpb when issue fixed in golang
    	// Issue to track -> https://github.com/golang/protobuf/issues/632
    	err := json.Unmarshal(b, &cd)
    	if err != nil {
    		return fmt.Errorf("error unmarshalling config dump response from ztunnel: %v", err)
    	}
    	c.ztunnelDump = &cd
    	return nil
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/comparator.go

    type nonstrictResolver struct{}
    
    var envoyResolver nonstrictResolver
    
    func (m *nonstrictResolver) Resolve(typeURL string) (legacyproto.Message, error) {
    	// See https://github.com/golang/protobuf/issues/747#issuecomment-437463120
    	mname := typeURL
    	if slash := strings.LastIndex(typeURL, "/"); slash >= 0 {
    		mname = mname[slash+1:]
    	}
    	mt, err := protoregistry.GlobalTypes.FindMessageByName(protoreflect.FullName(mname))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  3. istioctl/cmd/sysexits.go

    	ExitDataError      = 65 // some format error with input data
    
    	// below here are non-zero exit codes that don't indicate an error with istioctl itself
    	ExitAnalyzerFoundIssues = 79 // istioctl analyze found issues, for CI/CD
    )
    
    func GetExitCode(e error) int {
    	if strings.Contains(e.Error(), "unknown command") {
    		e = util.CommandParseError{Err: e}
    	}
    
    	switch e.(type) {
    	case util.CommandParseError:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/ecds_test.go

    	cd, _ := os.ReadFile("testdata/ecds/configdump.json")
    	cw.Prime(cd)
    	err := cw.PrintEcds("json")
    	assert.NoError(t, err)
    
    	// protojson opt out of whitespace randomization, see more details: https://github.com/golang/protobuf/issues/1082
    	var rm json.RawMessage = gotOut.Bytes()
    	jsonOutput, err := json.MarshalIndent(rm, "", "    ")
    	if err != nil {
    		assert.NoError(t, err)
    	}
    	jsonOutput = append(jsonOutput, '\n')
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 13 01:08:07 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  5. istioctl/pkg/xds/client.go

    	}
    	if isMCP {
    		return mcpDialOptions(ctx, opts.GCPProject, k8sCreds)
    	}
    	return []grpc.DialOption{
    		// nolint: gosec
    		// Only runs over istioctl experimental
    		// TODO: https://github.com/istio/istio/issues/41937
    		grpc.WithTransportCredentials(credentials.NewTLS(
    			&tls.Config{
    				// Always skip verifying, because without it we always get "certificate signed by unknown authority".
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. operator/cmd/mesh/operator-remove.go

    	"istio.io/istio/pkg/kube"
    )
    
    type operatorRemoveArgs struct {
    	// skipConfirmation determines whether the user is prompted for confirmation.
    	// If set to true, the user is not prompted and a Yes response is assumed in all cases.
    	skipConfirmation bool
    	// force proceeds even if there are validation errors
    	force bool
    	// operatorNamespace is the namespace the operator controller is installed into.
    	operatorNamespace string
    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)
  7. istioctl/pkg/proxyconfig/proxyconfig.go

    	if err != nil {
    		return nil, err
    	}
    	return setupClustersEnvoyConfigWriter(data, out)
    }
    
    // TODO(fisherxu): migrate this to config dump when implemented in Envoy
    // Issue to track -> https://github.com/envoyproxy/envoy/issues/3362
    func setupClustersEnvoyConfigWriter(debug []byte, out io.Writer) (*clusters.ConfigWriter, error) {
    	cw := &clusters.ConfigWriter{Stdout: out}
    	err := cw.Prime(debug)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  8. operator/cmd/mesh/install.go

    	// to take effect.
    	ReadinessTimeout time.Duration
    	// SkipConfirmation determines whether the user is prompted for confirmation.
    	// If set to true, the user is not prompted and a Yes response is assumed in all cases.
    	SkipConfirmation bool
    	// Force proceeds even if there are validation errors
    	Force bool
    	// Verify after installation
    	Verify bool
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  9. cni/pkg/install/install_test.go

    					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
    					t.Fatal(err)
    				}
    				assert.Equal(t, isReady.Load(), false)
    			case <-time.After(5 * time.Second):
    				t.Fatal("timed out waiting for invalid configuration to be detected")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/tag.go

    const (
    
    	// help strings and long formatted user outputs
    	skipConfirmationFlagHelpStr = `The skipConfirmation determines whether the user is prompted for confirmation.
    If set to true, the user is not prompted and a Yes response is assumed in all cases.`
    	overrideHelpStr = `If true, allow revision tags to be overwritten, otherwise reject revision tag updates that
    overwrite existing revision tags.`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
Back to top