- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for Wrapper (0.17 sec)
-
istioctl/pkg/util/configdump/cluster.go
cluster "github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3" v3 "istio.io/istio/pilot/pkg/xds/v3" ) // GetDynamicClusterDump retrieves a cluster dump with just dynamic active clusters in it func (w *Wrapper) GetDynamicClusterDump(stripVersions bool) (*admin.ClustersConfigDump, error) { clusterDump, err := w.GetClusterConfigDump() if err != nil { return nil, err } dac := clusterDump.GetDynamicActiveClusters()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 2.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump.go
Stdout io.Writer configDump *configdump.Wrapper } // includeConfigType is a flag to indicate whether to include the config type in the output var includeConfigType bool func SetPrintConfigTypeInSummary(p bool) { includeConfigType = p } // 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 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 29 20:46:41 GMT 2024 - 7.4K bytes - Viewed (0) -
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{}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 25 04:09:53 GMT 2023 - 2.2K bytes - Viewed (0) -
istioctl/pkg/authz/analyzer.go
type Analyzer struct { listenerDump *envoy_admin.ListenersConfigDump } // NewAnalyzer creates a new analyzer for a given pod based on its envoy config. func NewAnalyzer(envoyConfig *configdump.Wrapper) (*Analyzer, error) { listeners, err := envoyConfig.GetDynamicListenerDump(true) if err != nil { return nil, fmt.Errorf("failed to get dynamic listener dump: %s", err) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jul 13 01:59:17 GMT 2022 - 2.1K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
func getConfigDumpFromFile(filename string) (*configdump.Wrapper, error) { file, err := os.Open(filename) if err != nil { return nil, err } defer func() { if err := file.Close(); err != nil { log.Errorf("failed to close %s: %s", filename, err) } }() data, err := io.ReadAll(file) if err != nil { return nil, err } envoyConfig := &configdump.Wrapper{}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 5K bytes - Viewed (0) -
istioctl/pkg/util/formatting/msg_threshold.go
// limitations under the License. package formatting import ( "errors" "strings" "istio.io/istio/pkg/config/analysis/diag" ) // MessageThreshold is a wrapper around Level to be used as a cobra command line argument. // It should satisfy the pflag.Value interface. type MessageThreshold struct { diag.Level } // String is a function declared in the pflag.Value interface
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 17 12:28:05 GMT 2021 - 1.4K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
StructValue: s, }, }, } } func (v *myProtoValue) keyAsString(key string) string { s := v.keyAsStruct(key) return s.GetStringValue() } func getIstioRBACPolicies(cd *configdump.Wrapper, port int32) ([]string, error) { hcm, err := getInboundHTTPConnectionManager(cd, port) if err != nil || hcm == nil { return []string{}, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
}, } for _, test := range tests { t.Run(test.name, func(t *testing.T) { ic := util.ReadFile(t, test.inputConfig) cd := configdump.Wrapper{} err := cd.UnmarshalJSON(ic) if err != nil { t.Fatal(err) } out, err := getIstioVirtualServicePathForSvcFromRoute(&cd, test.inputService, test.inputPort) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
architecture/networking/controllers.md
ic["Istio kube.Client"] ikc["Istio kclient.Client"] ikrt["Istio krt.Collection"] ikrt--"Builds on"-->ikc--"Builds on"-->ic--"Builds on"-->kcg ``` **`kube.Client`** is a fairly light wrapper around Kubernetes clients, but offers quite a few benefits. Istio consumes _many_ different types of clients (at the time of writing, 7), as well as informers for each of these.
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Feb 09 17:41:25 GMT 2024 - 4.9K bytes - Viewed (0) -
common/config/license-lint.yml
- Artistic-1.0 - Artistic-2.0 - Apache-1.1 - BSD-1-Clause - BSD-2-Clause - BSD-3-Clause - 0BSD - FTL - LPL-1.02 - MS-PL - MIT - NCSA - OpenSSL - PHP-3.0 - TCP-wrappers - W3C - Xnet - Zlib reciprocal_licenses: - CC0-1.0 - APSL-2.0 - CDDL-1.0 - CDDL-1.1 - CPL-1.0 - EPL-1.0 - IPL-1.0 - MPL-1.0 - MPL-1.1 - MPL-2.0
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 25 19:26:20 GMT 2023 - 3.2K bytes - Viewed (1)