- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for getSection (0.11 sec)
-
istioctl/pkg/util/configdump/util.go
secrets configTypeURL = "type.googleapis.com/envoy.admin.v3.SecretsConfigDump" ecds configTypeURL = "type.googleapis.com/envoy.admin.v3.EcdsConfigDump" ) // 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) {
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/util/configdump/bootstrap.go
) // GetBootstrapConfigDump retrieves the bootstrap config dump from the ConfigDump func (w *Wrapper) GetBootstrapConfigDump() (*admin.BootstrapConfigDump, error) { bootstrapDumpAny, err := w.getSection(bootstrap) if err != nil { return nil, err } bootstrapDump := &admin.BootstrapConfigDump{} err = bootstrapDumpAny.UnmarshalTo(bootstrapDump) if err != nil { return nil, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 1.1K bytes - Viewed (0) -
istioctl/pkg/util/configdump/endpoint.go
) // GetEndpointsConfigDump retrieves the listener config dump from the ConfigDump func (w *Wrapper) GetEndpointsConfigDump() (*admin.EndpointsConfigDump, error) { endpointsDumpAny, err := w.getSection(endpoints) if err != nil { return nil, nil } endpointsDump := &admin.EndpointsConfigDump{} err = endpointsDumpAny.UnmarshalTo(endpointsDump) if err != nil { return nil, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 24 14:14:42 UTC 2023 - 1.1K bytes - Viewed (0) -
istioctl/pkg/util/configdump/listener.go
} // GetListenerConfigDump retrieves the listener config dump from the ConfigDump func (w *Wrapper) GetListenerConfigDump() (*admin.ListenersConfigDump, error) { listenerDumpAny, err := w.getSection(listeners) if err != nil { return nil, err } listenerDump := &admin.ListenersConfigDump{} err = listenerDumpAny.UnmarshalTo(listenerDump) if err != nil { return nil, err } return listenerDump, nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 2.5K bytes - Viewed (0) -
istioctl/pkg/util/configdump/route.go
} // GetRouteConfigDump retrieves the route config dump from the ConfigDump func (w *Wrapper) GetRouteConfigDump() (*admin.RoutesConfigDump, error) { routeDumpAny, err := w.getSection(routes) if err != nil { return nil, err } routeDump := &admin.RoutesConfigDump{} err = routeDumpAny.UnmarshalTo(routeDump) if err != nil { return nil, err } return routeDump, nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 3.2K bytes - Viewed (0) -
istioctl/pkg/util/configdump/cluster.go
} // GetClusterConfigDump retrieves the cluster config dump from the ConfigDump func (w *Wrapper) GetClusterConfigDump() (*admin.ClustersConfigDump, error) { clusterDumpAny, err := w.getSection(clusters) if err != nil { return nil, err } clusterDump := &admin.ClustersConfigDump{} err = clusterDumpAny.UnmarshalTo(clusterDump) if err != nil { return nil, err } return clusterDump, nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 2.1K bytes - Viewed (0) -
istioctl/pkg/util/configdump/secret.go
) // 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{} err = secretDumpAny.UnmarshalTo(secretDump) if err != nil { return nil, err } return secretDump, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Feb 25 04:09:53 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/leak-detect_test.go
"strings" "time" ) const ( // deadline (in seconds) up to which the go routine leak detection has to be retried. leakDetectDeadline = 5 // pause time (in milliseconds) between each snapshot at the end of the go routine leak detection. leakDetectPauseTimeMs = 50 ) // LeakDetect - type with methods for go routine leak detection. type LeakDetect struct { relevantRoutines map[string]bool }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
} }, /** * Disables cycle detection. This option causes the factory to return unmodified lock * implementations provided by the JDK, and is provided to allow applications to easily * parameterize when cycle detection is enabled. * * <p>Note that locks created by a factory with this policy will not participate the * cycle detection performed by locks created by other factories. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 35.9K bytes - Viewed (0) -
.github/workflows/codeql-analysis.yml
matrix: # Override automatic language detection by changing the below list # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] language: ['java', 'javascript'] # Learn more... # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection steps: - name: Checkout repository
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Dec 23 10:29:00 UTC 2023 - 2.9K bytes - Viewed (0)