Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 199 for dump (0.03 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json

    John Howard <******@****.***> 1713238116 -0700
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/endpoint.go

    	if c.configDump == nil {
    		return nil, fmt.Errorf("config writer has not been primed")
    	}
    	dump, err := c.configDump.GetEndpointsConfigDump()
    	if err != nil {
    		return nil, err
    	}
    	if dump == nil {
    		return nil, nil
    	}
    	endpoints := make([]*endpoint.ClusterLoadAssignment, 0, len(dump.DynamicEndpointConfigs))
    	for _, e := range dump.GetDynamicEndpointConfigs() {
    		cla, epCount := retrieveEndpoint(e.EndpointConfig, filter)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 09:57:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/configdump.go

    }
    
    // Prime loads the config dump into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	w := &configdump.Wrapper{}
    	err := w.UnmarshalJSON(b)
    	if err != nil {
    		return fmt.Errorf("error unmarshalling config dump response from Envoy: %v", err)
    	}
    	c.configDump = w
    	return nil
    }
    
    // PrintBootstrapDump prints just the bootstrap config dump to the ConfigWriter stdout
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/ecds.go

    	if c.configDump == nil {
    		return nil, fmt.Errorf("config writer has not been primed")
    	}
    
    	dump, err := c.configDump.GetEcdsConfigDump()
    	if err != nil {
    		return nil, err
    	}
    
    	ecds := make([]*core.TypedExtensionConfig, 0, len(dump.EcdsFilters))
    	for _, config := range dump.GetEcdsFilters() {
    		c := &core.TypedExtensionConfig{}
    		err := config.GetEcdsFilter().UnmarshalTo(c)
    		if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. istioctl/pkg/util/configdump/secret.go

    	extapi "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    	anypb "google.golang.org/protobuf/types/known/anypb"
    )
    
    // GetSecretConfigDump retrieves a secret dump from a config dump wrapper
    func (w *Wrapper) GetSecretConfigDump() (*admin.SecretsConfigDump, error) {
    	secretDumpAny, err := w.getSection(secrets)
    	if err != nil {
    		return nil, err
    	}
    	secretDump := &admin.SecretsConfigDump{}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 25 04:09:53 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    		return fmt.Errorf("error unmarshalling config dump response from ztunnel: %v", err)
    	}
    	// ensure that data gets unmarshalled into the right data type
    	if err := unmarshalListOrMap(rawDump.Services, &zDump.Services); err != nil {
    		return err
    	}
    	if err := unmarshalListOrMap(rawDump.Workloads, &zDump.Workloads); err != nil {
    		return err
    	}
    	if err := unmarshalListOrMap(rawDump.Certificates, &zDump.Certificates); err != nil {
    		return err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. istioctl/pkg/util/configdump/util.go

    )
    
    // getSection takes a TypeURL and returns the types.Any from the config dump corresponding to that URL
    func (w *Wrapper) getSection(sectionTypeURL configTypeURL) (*anypb.Any, error) {
    	var dumpAny *anypb.Any
    	for _, conf := range w.Configs {
    		if conf.TypeUrl == string(sectionTypeURL) {
    			dumpAny = conf
    		}
    	}
    	if dumpAny == nil {
    		return nil, fmt.Errorf("config dump has no configuration type %s", sectionTypeURL)
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Dec 24 08:16:26 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/proxyconfig.go

    			case jsonOutput, yamlOutput:
    				var dump []byte
    				var err error
    				if len(args) == 1 {
    					podName, podNamespace, err := getPodName(ctx, args[0])
    					if err != nil {
    						return err
    					}
    					dump, err = extractConfigDump(kubeClient, podName, podNamespace, true)
    					if err != nil {
    						return err
    					}
    				} else {
    					dump, err = readFile(configDumpFile)
    					if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  9. .github/workflows/publish.yml

    jobs:
      publish:
        runs-on: ubuntu-latest
        strategy:
          matrix:
            package:
              - fastapi
              - fastapi-slim
        permissions:
          id-token: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
          - name: Set up Python
            uses: actions/setup-python@v5
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:19:50 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. istioctl/pkg/util/configdump/ecds.go

    )
    
    // GetEcdsConfigDump retrieves the extension config dump from the ConfigDump
    func (w *Wrapper) GetEcdsConfigDump() (*admin.EcdsConfigDump, error) {
    	ecdsDumpAny, err := w.getSections(ecds)
    	if err != nil {
    		return nil, err
    	}
    
    	ecdsDump := &admin.EcdsConfigDump{}
    	for _, dump := range ecdsDumpAny {
    		ecds := &admin.EcdsConfigDump{}
    		err = dump.UnmarshalTo(ecds)
    		if err != nil {
    			return nil, err
    		}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Dec 24 08:16:26 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top