- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 131 for dump (0.04 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
.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) -
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) -
istioctl/pkg/writer/envoy/configdump/configdump_test.go
wantOutputFile string callPrime bool wantErr bool }{ { name: "returns expected bootstrap dump from Envoy onto Stdout", callPrime: true, wantOutputFile: "testdata/bootstrapdump.json", }, { name: "errors if config dump is not primed", wantErr: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { gotOut := &bytes.Buffer{}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jan 03 23:08:06 UTC 2024 - 3.5K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
The command also supports reading from a standalone config dump file with flag -f.`, Example: ` # Check AuthorizationPolicy applied to pod httpbin-88ddbcfdd-nt5jb: istioctl x authz check httpbin-88ddbcfdd-nt5jb # Check AuthorizationPolicy applied to one pod under a deployment istioctl x authz check deployment/productpage-v1 # Check AuthorizationPolicy from Envoy config dump file: istioctl x authz check -f httpbin_config_dump.json`,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 5K bytes - Viewed (0)